Skip to content

fix(roadmap): board writes go to the card by node id and read only that card, so intake keeps the card it added and a write costs a few GraphQL points instead of about 320 #1361

Closed

Description

@dan-petty

Problem

The roadmap store finds a card by reading the whole board, and it writes board fields by name through gh. Between 2026-10-07 18:47Z and 2026-10-08 01:09Z that one design caused two failures:

  • Intake lost cards it had just added. Three placements failed because the read-back right after gh project item-add ran before the board listing showed the new card.
  • The roadmap Service spent the machine account's 5,000-point hourly GraphQL budget by itself, twice: at 22:43Z on 2026-10-07 on image v0.2.27, and at 01:08Z on 2026-10-08 on v0.2.28, deployed at about 23:48Z. Both times intake was refused partway through a placement, and reprioritize was refused later in the same round.

Most of the spend does not come from the paged board read #1125 built, which costs 1 point a page. It comes from board writes and the whole-board reads around them. The cited files (roadmap/intake.py, github_store.py, run.py, board_read.py) are identical at v0.2.27 and at 910b823, where the code was checked.

Sources:

  • the failures: the roadmap Service's log line "Roadmap job intake failed";
  • card times and field values: each issue's projectItems (GraphQL read, 2026-10-08 about 01:15Z);
  • query costs: GitHub's own estimate, rateLimit(dryRun: true), which spends nothing (2026-10-08);
  • spend and timing: the rate limiter's pacing lines in Loki, and Prometheus.

Five placements failed partway:

Issue Card created Failed Where it failed Left on the card
#1290 10-07 18:47:02Z 18:47:31Z read-back (intake.py:1164-1170) Status only; the next round placed it at 19:01–19:03Z
#1303 21:16:15Z 21:16:46Z read-back Status New only
#1336 22:40:25Z 22:43:30Z Effort write: _require_entry's board read refused, "88 points left" Status New, Value Medium, job record {Status, Value}
#1348 23:31:34Z 23:32:05Z read-back Status New only
#1352 10-08 01:05:48Z 01:08:22Z Priority write: refused, "51 points left" Status, Value, Effort

1. A board write costs about 320 points and reads the whole board

  • What a write does. GitHubRoadmapStore.set_field (roadmap/github_store.py:1321-1352) and set_marks (:1354-1369) both start with _require_entry (:1750-1762). That runs gh project field-list (_read_board_options, :1998-2010; argv field_list_args, :889-902). It then re-reads the whole board through _read_board_items: a budget probe plus 11 pages on board feat(release): v0.1.8 #2, about 1,080 items.
    • The read is there so that the Job record the write merges with is the one the card holds at write time (set_field docstring, :1329-1336). That needs one card, not the whole board.
  • The write itself. It is gh project item-edit <n> --owner --url --field (_edit_board_field, :1779-1784; argv item_edit_args, :927-942). It runs once for the Job record and once for the field.
  • What gh does with it. In gh 2.102.0, field-list calls ProjectFields(owner, number, …) (pkg/cmd/project/field-list/field_list.go:91, pkg/cmd/project/shared/queries/queries.go:1080). So does item-edit whenever --url or --field is given: it resolves those names first (pkg/cmd/project/item-edit/item_edit.go:225-235, resolveItemEditNames at :263-289).
    • ProjectFields always sets firstItems to 100.
    • So besides the fields, it fetches the first 100 board items with fieldValues(first: 100) and nested first: 10 connections (queries.go:218-225, :353-440).
  • Measured cost. GitHub's own estimate against board feat(release): v0.1.8 #2 on 2026-10-08:
    • 101 points for that query shape;
    • 1 point for a fields-only query;
    • 1 point for one page of the store's own board query.
  • Per call:
    • set_field on a board field costs about 101 (field-list) + 12 (board re-read) + 2 × ~103 (item-edit) ≈ 320 points.
    • set_field(Release) and set_marks cost about 215, because each sends one item-edit. The Release itself is a REST milestone write (:1772-1777).
  • A cheap write path already exists. set_card_field (:1577-1597) and set_run_record (:1376-1387) write by node ids through card_edit_args (:945-959). With --id/--project-id/--field-id, gh skips name resolution and sends only the mutation (item_edit.go:225-235, updateItemValues at :472-498).
  • The limiter can't see this spend.
    • gh project … prints no rateLimit, so run_gh charges an estimate of 2 per call (github/rate_limiter.py:1825-1831).
    • require_budget (roadmap/board_read.py:244-258) prices only the board read about to happen, at the 1-point page default (DEFAULT_GH_PROJECT_ITEM_PAGE_POINTS, config/defaults.py:784).
    • The writes between two reads use up the 250-point floor (:780) without the limiter noticing. The two refusals found 88 and 51 points left.
  • Why fix(github): GraphQL mutations and implicit-POST gh api writes get the rate limiter's mutation pacing, decided from the request gh sends #1125 didn't catch it. fix(github): GraphQL mutations and implicit-POST gh api writes get the rate limiter's mutation pacing, decided from the request gh sends #1125's criterion reads: "A gh command that can't report its cost (for example gh project …) is not used for reads that page." field-list and name-addressed item-edit don't page, but each one reads a 100-item page inside gh.

2. The read-back after an add races the board listing

_apply_placement calls store.add_item(number), then store.item(number) (intake.py:1162-1170).

So the read-back works only while the lag is shorter than one whole-board read.

3. A placement takes minutes and up to about 1,500 points, and one failure drops the rest of the plan

4. Measured in Loki, from the limiter's pacing lines

The pacing delay is the seconds left until the reset divided by the points left.

2026-10-07, v0.2.27. The window reset at 23:06Z.

  • Intake planned with the model from 22:06Z and made no GraphQL call. It began writing at 22:29Z with about 4,940 points left (delay 0.45 s).
  • The pacing lines repeat for each set_field: two writes at 1.00 s, then field-list, the probe and 11 pages.
    • Between consecutive board re-reads the delay rose 0.45 → 0.47 → 0.50 → 0.53 → 0.55 s (22:29:38–22:32:11Z).
    • That is about 290 points per cycle, of which the board read is 12.
  • At 22:43:30Z intake stopped inside set_field → _require_entry → require_budget with "GraphQL has 88 points left until 23:06 UTC". That is about 4,850 points in 14.5 minutes, across about 300 GraphQL gh calls.
  • From 22:44:41Z to 23:05:39Z, 34 rounds were refused. They were 10 s to 5 min apart, one every 37 s on average.
    • Points left fell from 85 to 52. The first round stopped before page 2; each later one stopped at the budget probe and spent one point.
    • Nothing else spent the machine account's GraphQL budget in that window.
  • Loki shows 40 GitHubRateLimitError lines that day:

2026-10-08, v0.2.28. The window reset at about 00:11Z.

  • The first round on the new pod started at 23:51Z. It planned intake with the model for about an hour; there were fewer than 25 GraphQL calls across all repositories from 00:00Z to 00:50Z.
  • It began writing at about 00:57Z with about 4,860 points left (delay 0.18 s).
  • At 01:08:22Z intake stopped inside set_field(Priority) → _require_entry → require_budget with 51 points left until 01:11 UTC. That is about 4,800 points in 11.5 minutes.
  • Reprioritize was refused at 01:08:54Z (49 left), and the next round at 01:09:14Z (48 left).

5. Reads multiply the cost

On board #2 a whole-board read is 12 points: the probe plus 11 pages. On another managed repository's smaller board it is 2.

  • Nothing is cached. The store says so (github_store.py:1-3). The Service opens a new store each round with the empty filter (run.py:870, CONST_ROADMAP_RUN_BOARD_FILTER = "", config/constants.py:2446). So every read is the whole board, closed items included.
  • Change detection reads the whole board whenever any event exists since the cutoff, to attach job records (changes_since → _with_job_records, github_store.py:1290-1305, :1720-1730). The Service's own events are dropped only after that read (_fetch_filtered_changes, run.py:687-689).
  • The cutoff stays pinned.
    • _oldest_cutoff (run.py:626-637) takes the oldest last success of intake (60-minute interval) and reprioritize (no interval).
    • While either is failing or not due, every poll re-reads the same foreign events and pays for the board read again.
    • In quiet hours (06:00–11:00Z on 2026-10-07) the Service logged exactly 158 GraphQL calls an hour. That is about one whole board feat(release): v0.1.8 #2 read per 5-minute poll, with no job due.
    • Across that day, hourly counts ranged from 144 to 711 calls.
  • The reprioritize trigger reads the whole board once per change it checks (store.item, run.py:278), until one change is in the current release. :290 and :297 do the same after close.
  • Other reads:
    • intake planning reads the board once (intake.py:1117), plus once per placement and once per set_field or set_marks;
    • reprioritize planning reads it twice (reprioritize.py:1181, :1197);
    • render_roadmap reads it once per kept release, plus once for the backlog (render.py:80-95).
  • Webhooks add rounds. devops-cli received 940 webhook triggers from 21:00 to 22:00Z, and 227 from 22:00 to 23:00Z (increase(devops_cli_service_triggers_total{source="webhook"}[1h])). Triggers coalesce while a round runs. The worker starts the next batch as soon as a round ends (server/service.py:93-105, :133-152).

6. Nothing reports the spend, and nothing waits for the reset

  • Prometheus has no GitHub quota or points series.
  • The spend line (GraphQLSpend.line, board_read.py:151) is printed only by the devops roadmap commands (commands/roadmap.py:138-150), never by a Service round.
  • The reset time is lost.
    • The floor's GitHubRateLimitError carries remaining and cost in its details, but the reset time only inside its message (board_read.py:244-258, exceptions/git.py:124-143).
    • _execute_due_rows wraps job failures in a RoadmapRunError that carries only job names (exceptions/roadmap.py:11-26).
    • So no worker can wait for the reset. Each one runs the next batch as soon as it arrives, and every repository worker spends from the same account.

Acceptance criteria

  • add_item returns the card it added. RoadmapStore.add_item(number) returns the Item, with the card's node id from gh project item-add --format json and its field values from one node read of that id (the --format json output carries no field values).
    • The protocol (store.py:726), GitHubRoadmapStore and the in-memory store (memory_store.py:603-614, or wherever test(infra): infrastructure tests run on edge fakes #1335 moves it) change together.
    • Adding an issue that is already on the board returns its existing card. GitHub's addProjectV2ItemById answers with the existing item in that case.
  • Item and BoardEntry carry the card's node id, from the add or from the listing (_BoardItemPayload.id).
  • _apply_placement writes to the card it already has: subject.item, or the Item that add_item returned. It never calls store.item(), and the "is not on the board after intake added it" error is deleted.
  • Board writes go by node id.
    • set_field and set_marks take field and option ids from board_fields(), a 1-point query read once per store. They write through card_edit_args, as set_card_field does.
    • field_list_args, item_edit_args and _read_board_options are deleted.
    • No argv the store sends contains field-list. Every item-edit argv uses --id, --project-id and --field-id, with neither --url nor --field. item-add --url stays: it has no id form and costs a few points.
  • A write reads only the card it writes. _require_entry reads that card by node id in one request (node(id:) { ... on ProjectV2Item { isArchived fieldValues } } with rateLimit), instead of calling _read_board_items().
    • The Job record the store writes still joins the record the card holds at that moment. This keeps the contract in set_field's docstring (github_store.py:1329-1336) and ADR 0002's last-set compare.
    • A missing or archived card still raises "#N is not on the board" before any write.
    • The existing reserve check (require_budget) reads that request's rateLimit and still refuses a write before it starts when the points left are at the reserve.
  • No path that writes one card reads the board listing.
    • _create_run_record_card takes the card id from gh project item-create --format json and reads nothing after the create.
    • _require_card reads its card by node id, in one request.
  • One board read per filter per store, for the readers that need the board. items, item, backlog, candidates, cards, the job records changes_since attaches, the run_record lookup by title, and the cross-job checks in run.py:278-297 (fix(roadmap): a shipped release starts the next one without a person: the poll reports the ship, and close and reprioritize run before a capped intake batch #1360 deletes the one at :278) share one listing per filter, read when first needed. The store's own writes update that listing: the field values and Job record text it writes, and the card add_item returns.
  • The Service's own events cost no board read. Job records are attached only to the changes left after the session's own events are dropped.
  • A budget refusal pauses every worker until the reset, because the GraphQL budget belongs to the account all repository workers share.
  • Every Service round that sends a GraphQL request ends with the spend line.
    • The line names the repository and is read from GraphQL, as _reporting_spend does.
    • It says the points are the account's, because the workers share it.
    • A round that sends no GraphQL request logs no line and sends no budget query.
  • The dry-run request plan matches the new requests, and --dry-run still sends no request:
    • add_item lists item-add --format json and the card read (request_plan.py:335-337);
    • intake's placement drops its item step (intake_requests.py:195);
    • set_field and set_marks list the card read and the id-addressed item-edit instead of field_options(), board_read() and the name-addressed edit (request_plan.py:300-325);
    • the run record's create step has no board_read() after it (:369);
    • set_card_field and remove_card list the card read (:389, :398).
  • Store tests (tests/test_roadmap_github_store.py, recorded gh runner):
    • once the store has read the board and its fields, one set_field on Value sends exactly one card node read and two id-addressed item-edit calls, and no field-list, budget probe or board page;
    • set_field(Release) sends one card node read, one item-edit and one REST milestone write;
    • set_field on a card that another process archived raises before any item-edit;
    • a Job record mark that another process wrote after the listing was read is kept in the record the store writes.
  • Intake tests (tests/test_roadmap_intake.py, store on a gh fake at the process edge):
    • The observed lag. The fake's board listing leaves a new card out of its next three listings, the lag seen on 2026-10-07. Intake files and places one new issue, writing Status, Value, Effort, Release and Priority. After item-add, the fake receives no RoadmapBoardItems or RoadmapBoardBudget query: one card read for the add and one per field write. The same test fails at 910b823 with the read-back error.
    • test(cli): Convert ratchets to bans and merge invariant tests #1336's state. Placing an issue that is already on the board with Status and Value set writes only Effort and Priority, and sends no board listing query.
    • One listing. An intake apply of three placements on a fixture board of 250 items sends one budget probe and three board pages in total.
  • Run and Service tests:
    • tests/test_roadmap_run.py: run_due_jobs with 50 foreign label changes, none in the current release, sends one board read;
    • tests/test_roadmap_run.py: a poll round with no job interval due, whose events since the cutoff are all the Service's own, sends no GraphQL request;
    • tests/test_server_service.py, with a fake clock, for two cases: a refusal raised from changes_since, and a job-level refusal wrapped in RoadmapRunError. In both, a second repository's worker starts nothing before the reset.
  • No test reaches the network. Fakes sit only at the gh process edge (the store's runner seam, github_store.py:1187) and the clock.
  • Each new test's call phase stays under 1 s (uv run pytest tests/test_roadmap_github_store.py tests/test_roadmap_intake.py tests/test_roadmap_run.py tests/test_server_service.py --durations=10), and uv run devops ci passes within its 5-minute budget.
  • changelog.d/<n>.md records the fix under ### Fixed. CHANGELOG.md and docs/ROADMAP.md are untouched, and uv run devops pr check-readiness passes.
  • Pending a person, after merge, once the Service runs a release image with this fix:

Key questions

Strategic alignment

Update 2026-10-08: delivered scope

Delivered in one commit on release/v0.2.29:

  • The card intake added: add_item returns the card gh project item-add --format json names, with its fields from one RoadmapBoardCard node read. Item and BoardEntry carry card_id. Intake's placement writes to the card it has and never calls store.item(), so the "is not on the board after intake added it" error is gone.
  • Writes by node id: every board write is an id-addressed item-edit (--id, --project-id, --field-id). Field and option ids come from the 1-point fields query, read once per store, and no argv the store sends contains field-list. _read_board_options is deleted. field_list_args and item_edit_args stay because gh project reconcile uses them since fix(github): project reconcile reads an unknown quota, fixes existing cards first, and says when it stopped early #892; refactor(github): board fields are written only through the roadmap store, and projects.py keeps provisioning #999 owns that path (see the note there).
  • One card read per write: a write reads only its card, by node id. A gone, archived or other issue's card raises "#N is not on the board" before any write, and the reserve check (require_write_floor) reads that card read's rateLimit.
  • Run record card: it is written by the id item-create --format json returns, with no read after the create.
  • One listing per filter per store, kept current by the store's own writes. A card the store adds joins the unfiltered listing, and the is:open listing when its issue is open. A close (close_issue, close_as_duplicate) drops every listing, because the board's "Item closed" workflow then sets the card's Status, so a release cut rendered in the same round shows Done.
  • Own events: changes_since(since, except_actor=...) drops the Service's own events before it attaches job records. An empty actor leaves out nothing.
  • Dry runs: the request plans match the new requests, and --dry-run still sends nothing.
  • Cost: a critical-fix placement costs a small constant whatever the board's size: about 17 points in the test fake, which doesn't charge gh's own lookups for an add. A job-record mark costs 3. On 2026-10-07 these cost about 1,500 and about 215.

New behaviour: "changed since it was read." Before a job writes a board field (set_field, and set_card_field for any card), the store compares that field on the card it just read with the value it read before. If a person or a board workflow changed it, and the card doesn't already hold the value being written, the write raises RoadmapCardChangedError (ROADMAP_CARD_CHANGED) before any edit. The job fails and the next round plans again, so a job never reverts a change it did not see (ADR 0002). A write of the value the card already holds goes ahead; an example is the Status New the board sets on a card intake just added. Both store adapters keep this contract.

Not covered here:

Split out:

Activity

  1. added
    type/bug
    scope/github
    priority/p1-high
    on Oct 8, 2026
  2. dan-petty commented on Oct 8, 2026

    @dan-petty
    OwnerAuthor

    Live measurement, 2026-10-08 at about 02:20 UTC. A person ran devops roadmap reprioritize --confirm on this repository, and the plan had nothing left to move. The run made 0 changes and 10 job-record marks. It spent 2,022 GraphQL points, about 200 per mark, and took 11 min 14 s. Two earlier --confirm runs the same night were cut off by a 7- and a 15-minute timeout before their last step, the run-record write. So at today's write cost, a single reprioritize pass can outlast a reasonable timeout as well as use up the hourly budget.

  3. dan-petty-bot commented on Oct 8, 2026

    @dan-petty-bot
    Collaborator

    Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.

    • Priority: P1-High. Production failures already occurred: five placements lost data and the service was refused twice within ~7 hours, blocking all roadmap work.
    • Value: High. Fixes data loss during intake and prevents repeated exhaustion of the machine account's GraphQL budget that halts the entire roadmap service.
    • Effort: Medium. Requires rewriting _require_entry, set_field, and set_marks in github_store.py to target a card by node id and read only that card, plus verifying the read-back path in intake.py.
  4. added
    source/agent
    and removed
    priority/p1-high
    on Oct 8, 2026
  5. added this to the v0.2.29 milestone on Oct 8, 2026
  6. dan-petty commented on Oct 8, 2026

    @dan-petty
    OwnerAuthor

    Placed in v0.2.29 by the owner on 2026-10-08 as a critical fix. The roadmap service has completed no devops-cli round in 6 hours (about 88 failures, all GraphQL reserve refusals), because each intake placement costs about 1,300 GraphQL points under the write pattern this item fixes. This is a person's placement, so it stays in the release (see #1349).

  7. dan-petty-bot commented on Oct 8, 2026

    @dan-petty-bot
    Collaborator

    Admitted to v0.2.29: an open or merged pull request is in flight for it. (devops roadmap reprioritize)

  8. dan-petty-bot commented on Oct 8, 2026

    @dan-petty-bot
    Collaborator

    What changed

    #1405, merged into release/v0.2.29 as 376a1b7.

    Closes #1361

    The owner placed this in v0.2.29 as a critical fix. The roadmap service had completed no devops-cli round for hours: each intake placement cost about 1,300 GraphQL points, so the machine account's hourly budget ran out after three or four placements, and every round was refused.

    • Writes by node id: every board write is an id-addressed item-edit. Field and option ids come from a 1-point fields query, read once per store. No store write sends gh project field-list or a name-addressed item-edit, each of which made gh fetch the first 100 cards with all their field values.
    • One card read per write: a write reads only its own card. The listing is read once per filter per store, and the store's own writes keep it current.
    • The card intake added: add_item returns the card item-add --format json names, and placement writes to it. The "is not on the board after intake added it" race is gone; a lag test fails on the old code.
    • Cost: a placement now costs a small constant whatever the board's size (about 17 points in the test fake), and a job-record mark costs 3.
    • Person's changes are never reverted: if a person or a board workflow changed a field after the job read it, the write raises RoadmapCardChangedError before any edit, and the next round plans again (ADR 0002). Closing an issue drops the listing, so a release cut in the same round renders Done.
    • Own events: the Service's own events cost no board read (`changes_since(except_…

    23 file(s) changed.

    How it was verified

    Check runs at 8068dbe:

    • Prune PR DevContainer Images: pass
    • CodeQL: pass
    • Static Analysis: pass
    • Analyze (python): pass
    • Analyze (actions): pass
    • Tests & Coverage: pass
    • DevContainer Image: skipping
    • Service Image: skipping
    • Dependency Freshness: skipping

    Acceptance Criteria of docs/agent/tasks/task-1361-board-writes-by-node-id.md:

    • add_item returns the card it added, with its fields from one node read; both adapters and the protocol change together, and adding an issue already on the board returns its existing card (test_add_item_adds_the_issue_by_its_url_and_returns_the_card_it_added, test_adding_an_issue_already_on_the_board_returns_its_existing_card, test_adding_an_item_returns_it_with_its_card_and_adding_it_again_keeps_that_card).
    • Item and BoardEntry carry the card's node id, from the add or from the listing (test_two_writes_from_one_read_keep_both_fields_in_the_job_record).
    • _apply_placement writes to the card it already has and never calls store.item(); the "is not on the board after intake added it" error is deleted.
    • Board writes go by node id with field and option ids from the fields query read once per store; no argv the store sends contains field-list, and every item-edit uses --id, --project-id and --field-id (test_a_value_write_sends_one_card_read_and_two_id_addressed_edits_and_no_board_read, test_no_roadmap_plan_lists_a_board_command_gh_resolves_by_reading_the_board_first).
    • A write reads only the card it writes, joins the record the card holds then, raises "#N is not on the board" for a gone or archived card, and refuses below the reserve (test_a_write_to_a_card_another_process_archived_raises_before_any_edit, test_a_mark_another_process_wrote_after_the_listing_was_read_is_kept, test_writing_an_item_that_is_not_on_the_board_raises_without_writing, test_a_write_refuses_before_it_starts_while_the_points_left_are_below_the_reserve).
    • No path that writes one card reads the listing after it: the run record card is written by the id item-create returns, and _require_card reads by node id (test_set_run_record_creates_its_card_once_then_edits_its_job_record_by_node_id, test_remove_card_reads_the_card_then_deletes_it_by_id).
    • One board read per filter per store, kept current by the store's own writes (test_the_store_reads_the_board_once_and_its_own_writes_keep_that_listing_current, test_an_added_card_joins_the_listing_the_store_already_read, test_each_read_passes_its_filter_at_the_source, test_a_reprioritize_run_on_a_board_of_931_items_charges_its_pages).
    • A job's write of a field someone changed since its store read the card raises RoadmapCardChangedError before any edit, in both adapters, for set_field and set_card_field; a write of the value the card already holds goes ahead, and a revert then a decision on one field from one read both go ahead (test_a_field_a_person_changed_after_the_listing_was_read_raises_before_any_edit, test_a_persons_change_stays_caught_after_the_store_wrote_another_field_of_its_card, test_a_write_of_the_value_the_card_holds_now_goes_ahead, test_the_stores_own_write_is_the_value_its_next_write_of_that_field_compares, test_a_card_field_a_person_changed_after_the_listing_was_read_raises_before_any_edit, and their in-memory counterparts in tests/test_roadmap_store_contract.py).
    • A close drops the store's listings, so a render after it in the same store shows the Status the board's workflow set (test_a_render_after_a_close_in_the_same_store_shows_the_status_the_board_set, for close_issue and close_as_duplicate).
    • A card intake adds joins the open items' listing it read for its candidates, with no re-read that GitHub's lag could miss it in (test_an_added_open_card_joins_the_open_items_listing_without_a_read).
    • The Service's own events cost no board read, and an empty actor leaves out nothing (test_changes_since_drops_an_actors_own_changes_before_it_reads_the_board, test_changes_since_leaves_out_the_changes_one_actor_made, test_changes_since_with_an_empty_actor_leaves_out_nothing in both suites).
    • The dry-run request plan matches the new requests and sends none (test_a_board_write_plans_its_card_read_and_an_edit_by_node_ids, test_the_run_record_card_a_run_creates_is_written_with_no_read_after_its_create, test_intakes_placement_plans_no_board_read_after_its_add, test_a_reprioritize_runs_gh_argv_sequence_is_its_plan, test_a_render_runs_gh_argv_sequence_is_its_plan, test_every_jobs_dry_run_makes_no_request_and_lists_the_requests_a_run_makes).
    • Store tests: one set_field on Value sends one card read and two id-addressed edits; set_field(Release) one card read, one edit and one REST milestone write; an archived card raises before any edit; another process's mark is kept.
    • Intake tests on GitHubFake at the gh process edge: the observed lag (the listing leaves the new card out of three reads; after item-add no board listing query, six card reads; the same test fails on the code before this change with the read-back error), test(cli): Convert ratchets to bans and merge invariant tests #1336's state (only Effort and Priority, no listing query), and one listing for three placements on a 250-card board (test_intake_writes_to_the_card_it_added_while_the_board_listing_leaves_it_out, test_an_item_on_the_board_with_status_and_value_gets_only_effort_and_priority, test_an_intake_of_three_placements_reads_the_board_once).
    • GraphQL point estimates are constants, not proportional to the board: filing and placing a critical fix into the release costs a small constant on boards of 120 and 1,080 cards (about 17 in GitHubFake, which charges item-add as one mutation though gh first resolves the owner, board and issue with queries of its own), and a job-record mark 3 (test_a_placement_costs_the_same_few_graphql_points_whatever_the_boards_size, test_a_job_record_mark_costs_three_graphql_points_whatever_the_boards_size).
    • Run tests: 50 foreign label changes, none in the current release, send one board read; a poll whose events are all the Service's own sends no GraphQL request (test_a_round_judging_50_foreign_label_changes_reads_the_board_once, test_a_poll_whose_changes_are_all_the_services_own_sends_no_graphql_request).
    • No test reaches the network: fakes sit at the store's runner seam; the run tests also fix the session login. Each new test's call phase is under 1 s; the slowest, test_a_placement_costs_the_same_few_graphql_points_whatever_the_boards_size[1080], took 0.07 s (--durations, run serially).
    • changelog.d/1361.md records the fix; CHANGELOG.md and docs/ROADMAP.md are untouched.
    • The worker pause until the GraphQL reset (the reset time in require_budget's and require_floor's details, ServiceManager holding every repository's rounds, the tests/test_server_service.py cases) and the spend line at the end of each Service round: split out to fix(roadmap): a GraphQL budget refusal pauses every Service worker until the reset, and each Service round ends with its spend line #1400, as the issue's "One pull request?" question provides.
    • Pending a person, after the Service runs a release image with this fix: for the next five issues it places, gh api graphql -f query='query { repository(owner: "dan-petty", name: "devops-cli") { issue(number: <N>) { projectItems(first: 5) { nodes { createdAt fieldValueByName(name: "Priority") { ... on ProjectV2ItemFieldSingleSelectValue { updatedAt } } } } } } }' shows createdAt and the Priority's updatedAt less than 90 s apart.
    • Pending a person: {namespace="devops", container="service"} |= "changed while they were read" shows no line inside those five placements, and sum(count_over_time({namespace="devops", container="service"} |= "GitHubRateLimitError" |= "GraphQL has" [24h])) is 0 on a day with at least 20 placements.
    • Pending a person: docs(agent): pending-a-person steps name only manifests that exist in the repository #1303, test(cli): Convert ratchets to bans and merge invariant tests #1336, docs(agents): an agent that finds an item cannot be built as specified stops and returns it to refinement with evidence, instead of adding code #1348 and fix(review): a scanner finding that names a kubernetes object the reviewed commit lacks is rejected as object-not-in-commit #1352 each have a Priority, or were closed as duplicates.
    • Pending a person, over the first day on that image: each {namespace="devops", container="service"} |= "when this run read it" line names a field a person or a board workflow changed after that round read the board, and the next round's write of that card succeeds.
  9. added a commit that references this issue on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope/githubsource/agenttype/bug

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions