Skip to content

feat(service): webhook events wake the lanes of their jobs - #7587

Merged
dan-petty merged 3 commits into
mainfrom
feat/5555-webhook-lane-routing
Nov 28, 2026
Merged

dan-petty merged 3 commits into
mainfrom
feat/5555-webhook-lane-routing

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Route Service webhook deliveries only to the lanes whose batch_keys declare (source, event, action) (or downstream due-stamp targets on scoped wakes), never enqueueing triggers with lane=None, and execute TriggerBatch.subjects ahead of normal poll rows in run_due_jobs.

  • Add routed_lanes and key-filtered lanes_to_wake(..., key=...) in src/devops_cli/roadmap/run.py.
  • Route scoped and non-scoped webhook wakes in src/devops_cli/server/routes/webhooks.py via lanes_to_wake and routed_lanes (keeping explicit per-lane delivery for says_issue_left removals, and dropping unrouted deliveries with no lane wake).
  • Sort batch-matched due rows ahead of poll-only rows when TriggerBatch.subjects is non-empty and forward subjects to runners in run_due_jobs.

Closes #5555

Change: openspec/changes/archive/2026-11-28-5555-webhook-lane-routing/

@dan-petty dan-petty added type/feature Type feature: a new function scope/service The long-running devops Service and its lanes labels Nov 28, 2026
@dan-petty
dan-petty force-pushed the feat/5555-webhook-lane-routing branch from c4238c4 to a84114a Compare November 28, 2026 14:26
@dan-petty
dan-petty marked this pull request as ready for review November 28, 2026 14:34
@dan-petty

Copy link
Copy Markdown
Owner Author

Check results

Head commit: a84114a31b68ffb13dac8b852c0f95dda503c78d

Check Conclusion Link
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
Trivy neutral run
Changed-Test Independence success run
CodeQL success run
Plan Check skipped run
Dependency Freshness skipped run
Test Job Duration skipped run
Tests on Main skipped run
Fail-to-Pass Check skipped run
Tests & Coverage (shard 4 of 6) success run
Tests & Coverage (shard 6 of 6) success run
Tests & Coverage (shard 2 of 6) success run
Changed-Test Independence (run 3 of 3) success run
Changed-Test Independence (run 2 of 3) success run
Tests & Coverage (shard 5 of 6) success run
Tests & Coverage (shard 1 of 6) success run
Tests & Coverage (shard 3 of 6) success run
Changed-Test Independence (run 1 of 3) success run
Static Analysis success run
Design Tokens success run
Service Image success run
Runner Image success run
Semantic PR title success run
Analyze (actions) success run
Analyze (python) success run

Skipped check: Trivy
Skipped check: Plan Check
Skipped check: Dependency Freshness
Skipped check: Test Job Duration
Skipped check: Tests on Main
Skipped check: Fail-to-Pass Check

@dan-petty
dan-petty merged commit c656123 into main Nov 28, 2026
28 checks passed
@dan-petty
dan-petty deleted the feat/5555-webhook-lane-routing branch November 28, 2026 14:36
dan-petty-release Bot added a commit that referenced this pull request Nov 28, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.234.0](v0.233.0...v0.234.0)
(2026-11-28)


### Features

* **roadmap:** add pipeline dashboard and chart deferred Service metrics
([#7590](#7590))
([1b74e1b](1b74e1b))
* **roadmap:** measure the precision of the review unit
([#5522](#5522))
([#7588](#7588))
([d98fd36](d98fd36))
* **service:** webhook events wake the lanes of their jobs
([#7587](#7587))
([c656123](c656123)),
closes [#5555](#5555)


### Bug Fixes

* **roadmap:** remove cached issues when a repository becomes private
([#7581](#7581))
([88f9fcc](88f9fcc))


### Code Refactoring

* **review:** remove dead review conventions plumbing
([#7580](#7580))
([57f9f0e](57f9f0e))
* **roadmap:** split roadmap commands by kind
([#7586](#7586))
([1c232c7](1c232c7))
* **security:** remove unused fallback path from scanner base class
([#7583](#7583))
([d5acca8](d5acca8))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/service The long-running devops Service and its lanes type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(service): webhook events wake the lanes of their jobs

1 participant