Skip to content

fix(roadmap): refine writes each item when it is done - #3935

Merged
dan-petty merged 2 commits into
mainfrom
fix/3631-refine-writes-each-item
Nov 7, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/3631-refine-writes-each-item

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

A refine round planned all its items first and wrote after, so a stop of the Service lost the finished work of the round. Each item is now written when it is done. A stop loses at most the item in progress, and the next round takes the items that remain. A write that fails for one item is logged and counted, and the other items are still written. The round logs its start and its end with the counts of items taken, written and failed. The live run over three rollouts moves to #3793.

Closes #3631

Change: openspec/changes/archive/2026-11-07-3631-refine-writes-each-item/

@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 7, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test record.

uv run devops ci fail-to-pass --base origin/main:

  • failed on base: test_a_round_that_stops_in_item_three_keeps_items_one_and_two_and_the_next_round_takes_three (statuses after the stop were all New).
  • failed on base: test_a_write_that_fails_costs_the_other_items_nothing_and_the_round_logs_its_counts (the write error ended the round).
  • errored on base: tests/roadmap/test_roadmap_refine_placeholder.py (the test now gives its failures to RefineWriter, which the base lacks).
  • passed on base: test_plan_refine_without_a_writer_writes_nothing. It guards the read-only contract.

Narrow runs on the final tree: tests/roadmap refine and run files plus tests/commands: 3847 passed. The full uv run devops ci is queued behind other runs on the shared lock: not run yet. This pull request stays a draft until the required checks pass.

@dan-petty
dan-petty force-pushed the fix/3631-refine-writes-each-item branch from c6dc42a to 754a0fc Compare November 7, 2026 05:12
@dan-petty
dan-petty marked this pull request as ready for review November 7, 2026 05:12
@dan-petty
dan-petty enabled auto-merge (squash) November 7, 2026 05:12
@dan-petty
dan-petty force-pushed the fix/3631-refine-writes-each-item branch from 754a0fc to 3b10699 Compare November 7, 2026 05:16
@dan-petty
dan-petty force-pushed the fix/3631-refine-writes-each-item branch from 3b10699 to 8ae0218 Compare November 7, 2026 05:29
@dan-petty
dan-petty merged commit c9c0979 into main Nov 7, 2026
24 checks passed
@dan-petty
dan-petty deleted the fix/3631-refine-writes-each-item branch November 7, 2026 05:33
dan-petty-release Bot added a commit that referenced this pull request Nov 7, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.77.2](v0.77.1...v0.77.2)
(2026-11-07)


### Bug Fixes

* **roadmap:** refine writes each item when it is done
([#3935](#3935))
([c9c0979](c9c0979))


### Code Refactoring

* **roadmap:** group the job modules in subpackages
([#3897](#3897))
([bff2f14](bff2f14))

---
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/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): refine writes each item when that item is done

1 participant