Skip to content

fix(roadmap): make intake due when a new issue opens - #4615

Merged
dan-petty merged 2 commits into
mainfrom
fix/4540-intake-due-new-issue
Nov 11, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/4540-intake-due-new-issue

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The issue events report no opened issue, so a new issue whose scoped update was lost waited for the 29-minute intake interval.

The store now reads the newest issue that is no pull request from one conditional page of the issue listing, newest first. The intake record keeps the newest issue as each intake round starts, and the poll makes intake due when the repository has a newer issue. The rule reads the newest issue only when nothing else makes intake due. A scoped update keeps the number as it was, so a lost delivery of an older issue still makes intake due. A new pull request does not. The dry run of devops roadmap run lists the new read.

Closes #4540

Change: openspec/changes/archive/2026-11-11-4540-make-intake-due-when-a-new/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 11, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Fail-to-pass

Local run of uv run devops ci fail-to-pass --base origin/main (base 5f75d256):

  failed on base: tests.roadmap.stores.test_roadmap_store_contract::test_the_newest_issue_is_the_highest_number_that_is_no_pull_request[github] (AttributeError: 'GitHubRoadmapStore' object has no attr
  failed on base: tests.roadmap.test_roadmap_run_job_rows::test_the_dry_run_of_the_cli_lists_the_read_of_the_newest_issue (assert (True, False) == (True, True))
  failed on base: tests.roadmap.stores.test_roadmap_github_store_changes::test_the_newest_issue_is_read_from_one_page_newest_first_without_its_pulls[after-two-pulls] (AttributeError: 'GitHubRoadmapSto
  failed on base: tests.roadmap.stores.test_roadmap_github_store_changes::test_the_newest_issue_is_read_from_one_page_newest_first_without_its_pulls[empty] (AttributeError: 'GitHubRoadmapStore' object
  failed on base: tests.roadmap.stores.test_roadmap_github_store_changes::test_the_newest_issue_is_read_from_one_page_newest_first_without_its_pulls[ten-pulls] (AttributeError: 'GitHubRoadmapStore' ob
  failed on base: tests.roadmap.test_roadmap_run_scoped_update::test_a_new_issue_whose_delivery_was_lost_makes_intake_due_at_the_next_poll (AssertionError: assert ((), (), ['candidate 1']) == (('intak
  failed on base: tests.roadmap.test_roadmap_run_scoped_update::test_a_new_issue_that_its_scoped_update_decided_costs_the_next_intake_no_model_request (AssertionError: assert (['candidate ...candidate
7 failed on base (7 failed and 142 passed; 0 errored).

The [memory] variant of the new contract test passes on the base, because the in-memory fake in tests/support/ gets the method in this pull request. The fail-to-pass workflow check gives the CI result.

Other local results

  • pytest -n 6 tests/roadmap tests/server: 6567 passed, 1 skipped. The 1 failure in that run was the new dry-run test, which ran before its command change was written; it passes alone (17 passed in test_roadmap_run_job_rows.py and test_roadmap_run_scoped_update.py).
  • uv run devops ci typecheck: no issues in 788 source files.
  • uv run devops ci docs and uv run devops openspec check: passed.

Live steps

No ConfigMap, manifest or Secret changes. After the image rolls out, the intake record of each repository has no newest issue until the next intake round writes it (29 minutes at most). Until then intake keeps the old rule.

Measure after the merge

For an issue whose delivery failed, the time from the delivery to the intake decision is 5 minutes or less (today up to 30). The Service log of the triage lane shows the intake round that decides it.

The issue events report no opened issue, so a new issue whose scoped
update was lost waited for the 29-minute intake interval. The store now
reads the newest issue from one conditional page of the issue listing,
newest first. The intake record keeps the newest issue as each intake
round starts, and the poll makes intake due when the repository has a
newer issue. A scoped update keeps the number as it was, and a pull
request does not count.

Refs #4540
@dan-petty
dan-petty force-pushed the fix/4540-intake-due-new-issue branch from 5253334 to 1f5c856 Compare November 11, 2026 12:09
@dan-petty
dan-petty marked this pull request as ready for review November 11, 2026 12:48
@dan-petty

Copy link
Copy Markdown
Owner Author

CI result on head 1f5c856b: all 32 checks pass. The Fail-to-Pass Check passed: https://github.com/dan-petty/devops-cli/actions/runs/43017871602/job/130513379463

The first head failed test_the_tool_listing_matches_the_snapshot in Service Image Tests (shard 5 of 6): the MCP tool listing snapshot holds the help text of roadmap run, which this change edits. The snapshot is now updated in the first commit, before the archive commit.

@dan-petty
dan-petty merged commit a0c16db into main Nov 11, 2026
32 checks passed
@dan-petty
dan-petty deleted the fix/4540-intake-due-new-issue branch November 11, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): make intake due when a new issue opens

1 participant