Skip to content

feat(roadmap): a webhook event runs intake of its one issue - #2607

Merged
dan-petty merged 2 commits into
mainfrom
feat/2009-scoped-intake-update
Oct 29, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/2009-scoped-intake-update

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

A delivery of issues opened, edited or reopened runs intake of the one issue it names, on the model lane, with intake's own decision code (run_scoped_update, SCOPED_UPDATES in roadmap/run.py).

  • The scoped update writes no job's last success, so the poll still judges every change since each job's last round.
  • IntakeRecord.merged adds the decided issue to the intake record and keeps every other entry, so the poll does not decide it again.
  • When it sees another fresh candidate (IntakePlan.others_fresh), it keeps intake due, so the next poll decides the candidate of a lost delivery.

ADR 0017 supersedes the webhook clause of ADR 0003. No file under src/devops_cli/server/ changes; the roadmap consumer calls the scoped update in the second part of #1533.

Closes #2009

Change: openspec/changes/archive/2026-10-29-2009-scoped-intake-update/

A delivery of `issues` opened, edited or reopened runs intake of the
one issue it names, on the model lane, with intake's own decision code
(`run_scoped_update`, `SCOPED_UPDATES`). The scoped update writes no
job's last success, so the poll still judges every change since each
job's last round. It merges the issue it decided into the intake
record and keeps every other entry, so the poll does not decide that
issue again. When it sees another fresh candidate, it keeps intake
due, so the next poll decides the candidate of a lost delivery.

ADR 0017 supersedes the webhook clause of ADR 0003. No Service code
changes: the roadmap consumer calls the scoped update in the second
part of #1533.
@dan-petty

Copy link
Copy Markdown
Owner Author

Test evidence:

  • uv run devops ci fail-to-pass --base origin/main: tests/test_roadmap_run.py errors at collection on base, because SCOPED_UPDATES, WebhookDelivery and run_scoped_update do not exist there.
  • The 8 new tests pass on the branch: the table; one issue for each action (3); an edit of an Item and an event with no scoped update; a lost opened and a lost reopened delivery, then a poll (2); the record of a capped round.
  • Mutation checks: without others_fresh in IntakeRecord.merged, the lost-opened and capped-round tests fail. With a merge that drops the other entries, the capped-round test fails.
  • After the rebase onto 7d822567: 598 roadmap and service tests and 84 invariant tests pass. Ruff, mypy, devops docs check and devops openspec check pass.
  • No file under src/devops_cli/server/ changes (git diff --name-only origin/main...HEAD).

Pending a person: review the diff in tuicr (tuicr -r origin/main..HEAD).

@dan-petty
dan-petty marked this pull request as ready for review October 29, 2026 03:06
@dan-petty
dan-petty merged commit cf9f02c into main Oct 29, 2026
16 checks passed
@dan-petty
dan-petty deleted the feat/2009-scoped-intake-update branch October 29, 2026 03:11
dan-petty pushed a commit that referenced this pull request Oct 29, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.14.0](v0.13.2...v0.14.0)
(2026-10-29)


### Features

* **argo:** apps status checks each pinned image against its registry
([#2605](#2605))
([6933005](6933005)),
closes [#1997](#1997)
* **k8s:** push the Argo CD notifier App's IDs and key
([#2608](#2608))
([a408dee](a408dee))
* **release:** an urgent fix merges the release pull request
([#2596](#2596))
([20e8ac4](20e8ac4))
* **roadmap:** a webhook event runs intake of its one issue
([#2607](#2607))
([cf9f02c](cf9f02c)),
closes [#2009](#2009)
* **roadmap:** devops roadmap intake-eval scores duplicates
([#2601](#2601))
([22146d6](22146d6))


### Code Refactoring

* **ai:** three in-process caches use cachetools
([#2611](#2611))
([0c30d2a](0c30d2a)),
closes [#1993](#1993)

---
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

None yet

Projects

None yet

1 participant