Commit Graph
29 Commits
Author SHA1 Message Date
Alconety f4bc0f3086 Add step type label to step-level Prometheus metrics (#6824) 2026-07-10 15:54:29 +02:00
Eric Zhou 3d2d43bd4f fix(metrics): reduce step metric cardinality (#6777) 2026-06-24 12:52:54 +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
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
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 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 d0cda7b59b Cleanup e2e test setup (#6480) 2026-05-28 13:33:38 +02:00
6543 11f74a6291 format with gofumpt v0.10.0 (#6573) 2026-05-14 14:02:43 +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
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
6543 755fc2a14f Init minimal e2e tests (#6391) 2026-04-17 00:46:53 +02:00
6543 acc68e509b Init server/scheduler package and use it as proxy for queue&pubsub (#6418) 2026-04-10 11:03:40 +03:00
6543 7efe8bf510 sanitize agent should allow done updates to canceled pipelines (#6394) 2026-04-08 17:23:33 +02:00
6543 823843f384 Sanitize agent introduced pipeline/workflow/step state changes and log streaming (#6308) 2026-04-03 10:50:43 +02:00
6543 af471c5372 Fix pipeline cancel (#6320) 2026-03-30 19:33:54 +02:00
6543 662575630a Refactor server/pubsub into interface (#6318) 2026-03-30 19:32:44 +02:00
Sam Oliver 855eae1438 Set workflow services stuck in running state to finished (#6337) 2026-03-30 15:27:01 +02:00
qwerty287and6543 79cc07265e Unify import aliases (#6328)
Co-authored-by: 6543 <6543@obermui.de>
2026-03-28 15:45:23 +01:00
6543 1a94f05165 Fix report skipped status (#6300) 2026-03-22 22:35:59 +02:00
qwerty287 df6c97d452 Prevent registering as arbitrary agents with system token (#6283) 2026-03-21 11:19:13 +01:00
6543 9d32aaf558 If agent cancels a workflow we need to report that back to the queue too (#6262) 2026-03-20 19:30:19 +01:00
qwerty287 17dcc86942 Allow to cancel on failure (#6158) 2026-03-19 13:41:44 +01:00
6543 2bc56896f3 Refactor so storage detects if Insert fails because of unique constraint (#6259) 2026-03-19 13:17:56 +01:00
qwerty287 480f673ff7 Fix status merging with skipped pipelines (#6176) 2026-03-02 15:35:43 +01:00
qwerty287 e2d6c712ba Fully merge statuses (#6119) 2026-02-22 11:17:41 +00:00
8a8f9ad3aa Fix pipeline cancellation status handling and step state synchronization (#6011)
Co-authored-by: pnkcaht <samzoovsk19@gmail.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: Lauris B <lauris@nix.lv>
2026-02-05 21:41:05 +01:00
6543 3786077c07 Update Architecture: move pipeline/rpc => rpc & server/{grpc => rpc} (#6012) 2026-01-26 21:25:38 +01:00