Commit Graph
1551 Commits
Author SHA1 Message Date
6543 1fdd0554db migration: "update-pipeline-structure_tags-releases" should have stable order (#6796) 2026-06-29 03:09:05 +02:00
6543andqwerty287 8ff62b2f9e Rework pipeline data structure: Release & Tag (#6774)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2026-06-27 17:56:45 +02:00
6543 41181ab401 Server can move pipeline parsing into background on long creation times (#6781) 2026-06-26 15:16:56 +03:00
Weslley Rocha e3f827bd67 Add CI_COMMIT_PULL_REQUEST_DRAFT environment variable (#6778) 2026-06-26 11:16:54 +02:00
Robert Wolff 0f5819c023 Allow images for secrets to contain SHA256 for image pinning (#6784) 2026-06-25 17:35:14 +02:00
Eric Zhou 3d2d43bd4f fix(metrics): reduce step metric cardinality (#6777) 2026-06-24 12:52:54 +02:00
6543 98002ba6f6 server should drop stale queue tasks already missing in database (#6765) 2026-06-22 21:15:27 +03:00
6543 b28cdf2e51 server queue api should ignore missing agent (#6763) 2026-06-22 15:31:21 +02:00
6543 34ecbe904f Regenerate store mock and flake update (#6764) 2026-06-22 08:19:21 +02:00
6543 98ecce4bb1 Refactor to inject store and context into server scheduler (#6755) 2026-06-21 17:06:06 +03:00
6543 d31c27a0e1 Harden agent rpc to check agentID on workflow (#6759)
We now assign on Next, right when the agent that got the workflow, the agent ID to the workflow.
Later each call checks that this is still the same.

PS: shout-out to `Yaohui Wang` for finding this edgecase (it is not worth a CVE etc... as the security boundary's stay the same nontheless)
2026-06-21 15:03:19 +02:00
833d0374b3 Update module github.com/cenkalti/backoff/v5 to v6 (#6752)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2026-06-20 19:26:23 +02:00
6543 dea7d6a4c7 Refactor server scheduler by collect in new interface (#6753)
before the scheduler was just a proxy for queue and pubsub, now we move logic into it and combine calls that do result in queue and pubsub calls into one interface
2026-06-20 19:22:33 +02:00
dd7a5b6c48 Add workflow concurrency limit option (#6671)
Co-authored-by: Lauris B <lauris@nix.lv>
Co-authored-by: 6543 <6543@obermui.de>
2026-06-20 12:33:37 +02:00
Eric Zhou dc916185d7 Add Prometheus metrics for pipeline step duration and failures (#6738)
- Add `WOODPECKER_STEP_LEVEL_METRICS` server option.
- Move server metrics collection into the `server/metric`.
- Export step-level Prometheus metrics when enabled:
  - `woodpecker_step_failures_total{pipeline,repo,step}`
  - `woodpecker_step_duration_seconds{pipeline,repo,step}`
2026-06-18 22:28:17 +02:00
6543andClaude 9692f3fae4 More test coverage of server/api/... (#6712)
Co-authored-by: Claude <claude@anthropic.com>
2026-06-15 22:08:11 +02:00
6543andClaude 0fa872e276 Add more tests in areas not well covered (#6696)
Co-authored-by: Claude <claude@anthropic.com>
2026-06-05 14:49:38 +02:00
6543 72335fa890 github dont fail on force push (#6697) 2026-06-04 19:21:45 +02:00
6543 ede1fcd45b Trim white spaces for cron create/update (#6690) 2026-06-02 10:31:53 +02:00
guillaumemandGuillaumeMeurillon e630e0a394 Improve slow user authorization if many orgs/repos (#5665)
Co-authored-by: GuillaumeMeurillon <MeurillonGuillaume@users.noreply.github.com>
2026-06-01 11:37:31 +02:00
qwerty287andAkash Kumar 4df2e41150 Add commit timestamp env vars (#6670)
Co-authored-by: Akash Kumar <meakash7902@gmail.com>
2026-05-31 12:23:53 +02:00
qwerty287 f7f0a9b561 Show correct default paths in UI (#6665) 2026-05-28 14:08:36 +02:00
6543 d0cda7b59b Cleanup e2e test setup (#6480) 2026-05-28 13:33:38 +02:00
Simon Meyerand6543 64d7ed8952 Support optional flag in depends_on for workflows and steps (#6461)
Extends `depends_on` to accept objects with `name` and `optional` fields, at both workflow and step level. When `optional: true`, the dependency is silently dropped if the referenced workflow/step is not part of the pipeline (e.g. filtered out by `when` conditions). If present, it is enforced as usual.

Co-authored-by: 6543 <6543@obermui.de>
2026-05-28 09:23:42 +02:00
qwerty287 98faae778c Use Gitlab username (#6653) 2026-05-27 14:16:25 +02:00
qwerty287 1fbacac3a4 Fix org lookup panic (#6652)
Add a new org lookup func that returns an error if there's more than one org.
2026-05-27 13:18:21 +02:00
John Olheiser 23102152fb Add config to change default pipeline config paths and extensions (#6580)
Signed-off-by: jolheiser <git@jolheiser.com>
2026-05-26 19:57:39 +02:00
Akash Kumarand6543 32a7bf9748 Fix approved gated pipeline scheduling (#6627)
Closes #6619

Co-authored-by: 6543 <6543@obermui.de>
2026-05-26 14:43:05 +02:00
4d7f6eacd4 Update golang-packages (#6637)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
2026-05-25 10:59:43 +02:00
3993607409 Update module github.com/google/go-github/v86 to v88 (#6626)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
2026-05-23 17:07:54 +02:00
qwerty287 d05c597374 View warning if admin is configured at env level (#6600) 2026-05-19 10:27:44 +02:00
qwerty287 c64fa98b6e Add timezone support for crons (#6597) 2026-05-17 20:26:37 +02:00
Eric Zhou 8905b8fa53 Add CI_PIPELINE_RERUNS environment variable (#6588) 2026-05-17 19:13:23 +02:00
6543 11f74a6291 format with gofumpt v0.10.0 (#6573) 2026-05-14 14:02:43 +02:00
6543 c1adf2e8af saveWorkflowsFromPipelineBuilder: check for pre-loaded workflows (#6474) 2026-05-13 21:23:33 +02:00
e4dfbf86c6 Refactor server/.../step_builder into pipeline/.../builder (#3967)
Extract the `step_builder` from the server to the pipeline package.
This cleans the interfaces / structure and will allow us to re-use it in the cli to correctly support pipeline execution (things like `depends_on` support).

Co-authored-by: Anton Bracke <anton.bracke@fastleansmart.com>
Co-authored-by: 6543 <6543@obermui.de>
2026-05-13 19:08:38 +02:00
6543 908d793652 server: for grpc store extracted agentID in context (#6569)
long term fix for: #6541

simple backport is found at #6567
2026-05-12 13:22:45 +02:00
renovate[bot]andlnx01 d9c25cd601 Update module github.com/google/go-github/v85 to v86 (#6560)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-11 12:55:51 +02:00
Edward SalterandClaude Opus 4.7 97eae443c6 fix(gitlab): preserve private flag when webhook payload omits project visibility (#6544)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 00:25:30 +02:00
f3e3b83e37 Update golang-packages (#6524)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
2026-05-01 08:05:29 +02:00
6543 d34649de22 Refactor: remove Auth() from Forge interface (#6505) 2026-04-26 15:36:12 +02:00
renovate[bot]andlnx01 fb4301c0fd Update module github.com/google/go-github/v84 to v85 (#6500)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-26 08:10:37 +02:00
19190cf1ab fix(cli,server): fix trusted flags copy-paste bug and server nil pointer panic (#6501)
Co-authored-by: Bruno Clermont <bruno.clermont@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
2026-04-25 22:12:55 +02:00
6543andqwerty287 ae19a87b71 Handle re-created forge repos gracefully (#6370)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2026-04-23 10:02:09 +02:00
6543 e6a1a42da5 Cleanup server store step interface (#6476) 2026-04-22 17:00:24 +02:00
6543 fa0bfe9038 Add more test cases for rpc label filter (#6483) 2026-04-22 16:55:50 +02:00
6543 91c1b1cf72 Fix flaky TestJWTManager (#6478) 2026-04-22 16:49:28 +02:00
Lê Hoàng Phương 5ed9fc6b0e Add refname to bitbucket commit status (#6482) 2026-04-22 10:39:37 +02:00
Harri Avellanandutafrali 27ed7da7b0 Fix send on closed channel panic in SSE stream handlers (#6456)
Co-authored-by: utafrali <tafraliugur@gmail.com>
2026-04-21 00:31:33 +02:00
6543 950534751b Add WOODPECKER_FORCE_IGNORE_SERVICE_FAILURE config to preserve non breaking behavior by default (#6448) 2026-04-17 17:10:03 +02:00