Skip to content

fix(roadmap): repair a job record mark that a parallel write lost - #5749

Merged
dan-petty merged 2 commits into
mainfrom
fix/4555-repair-parallel-job-record-mark-loss
Nov 14, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/4555-repair-parallel-job-record-mark-loss

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Read the issue record back after sending a PATCH request. When a mark is missing, merge the missing marks and send another PATCH, up to 2 rewrites. If the mark remains missing after 2 rewrites, raise RoadmapRecordMarkLostError. Preserve edits of a person to the text outside the record block. Count repairs and lost edits with devops_cli_roadmap_record_repairs_total and devops_cli_roadmap_record_lost_edit_total.

Fail-to-pass replay against origin/main:
3 failed on base (3 failed and 26 passed in tests/roadmap/stores/test_roadmap_github_store_paging.py, tests/roadmap/stores/test_roadmap_github_store_record_writes.py, tests/roadmap/stores/test_roadmap_store_body_with_marks.py; 1 errored).

Closes #4555

Change: openspec/changes/archive/2026-11-14-4555-repair-parallel-job-record-mark-loss/

Read the issue record back after sending a PATCH request. When a
mark is missing, merge the missing marks and send another PATCH,
up to 2 rewrites. If the mark remains missing after 2 rewrites,
raise RoadmapRecordMarkLostError. Preserve edits of a person to
the text outside the record block. Count repairs and lost edits
with devops_cli_roadmap_record_repairs_total and
devops_cli_roadmap_record_lost_edit_total.

Closes #4555
@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 14, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 14, 2026 22:12
@dan-petty
dan-petty merged commit 16acde2 into main Nov 14, 2026
24 checks passed
@dan-petty
dan-petty deleted the fix/4555-repair-parallel-job-record-mark-loss branch November 14, 2026 22:13
dan-petty pushed a commit that referenced this pull request Nov 14, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.144.0](v0.143.0...v0.144.0)
(2026-11-14)


### Features

* **k8s:** add devops k8s bootstrap-roadmap-key
([#5744](#5744))
([0955f8e](0955f8e))
* **monitoring:** divide dashboard folders by repository
([#5747](#5747))
([b37b625](b37b625))
* **monitoring:** split devops-cli dashboard into linked dashboards
([#5740](#5740))
([4ce6a74](4ce6a74))
* **roadmap:** label Service Jobs by repository and item
([#5739](#5739))
([19c8934](19c8934))


### Bug Fixes

* **roadmap:** repair a job record mark that a parallel write lost
([#5749](#5749))
([16acde2](16acde2))
* **roadmap:** Write the delivery metadata before the archived push
([#5750](#5750))
([f02d853](f02d853))

---
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): repair a job record mark that a parallel write lost

1 participant