Skip to content

fix(roadmap): start a new job record for an item that came by transfer - #7361

Merged
dan-petty merged 2 commits into
mainfrom
fix/7347-new-job-record-for-transferred-item
Nov 27, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/7347-new-job-record-for-transferred-item

Conversation

@dan-petty

@dan-petty dan-petty commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

A job record is the record of the issue that a job wrote it for. An issue that a person transfers to a repository keeps its body, so its record names the branches and the pull requests of the repository that it left.

  • A job names each branch <type>/<issue>-<slug>. A read gives an empty record when a recorded branch names another issue number.
  • One write replaces such a block, and each stage round replaces the blocks that it finds.
  • The record of the issue reads as before, and a write gives the same block as before.
  • A recorded pull request is the pull request of an item only when its head branch is the recorded branch. A recorded branch is the branch of an item only when it names the item. The watch row, the stage round, the stage ready round, the implement selection and the open row use these rules, and the open step records the head branch of a plan.

Closes #7347

Change: openspec/changes/archive/2026-11-27-7347-new-job-record-for-transferred-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 26, 2026
@dan-petty
dan-petty force-pushed the fix/7347-new-job-record-for-transferred-item branch from 226cd96 to 12e69a3 Compare November 26, 2026 23:41
@dan-petty

dan-petty commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner Author

Check results

Head commit: f454ffd4551a7b8dfa1662e08785bff0edee95e9

Check Conclusion Link
Tests & Coverage success run
Changed-Test Independence success run
devops-cli success run
zizmor success run
trivy-config success run
Trivy neutral run
Plan Check skipped run
CodeQL success run
Test Job Duration skipped run
Semantic PR title success run
Tests on Main skipped run
Dependency Freshness skipped run
Changed-Test Independence (run 2 of 3) success run
Tests & Coverage (shard 1 of 5) success run
Runner Image success run
Design Tokens success run
Tests & Coverage (shard 4 of 5) success run
Tests & Coverage (shard 3 of 5) success run
Service Image success run
Tests & Coverage (shard 5 of 5) success run
Changed-Test Independence (run 1 of 3) success run
Changed-Test Independence (run 3 of 3) success run
Tests & Coverage (shard 2 of 5) success run
Static Analysis success run
Fail-to-Pass Check success run
Docs Site Build success run
Analyze (python) success run
Analyze (actions) success run

Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/45921189796/job/140252051629

Skipped check: Trivy
Skipped check: Plan Check
Skipped check: Test Job Duration
Skipped check: Tests on Main
Skipped check: Dependency Freshness

A job record is the record of the issue that a job wrote it for. An issue
that a person transfers to a repository keeps its body, so its record names
the branches and the pull requests of the repository that it left.

A job names each branch `<type>/<issue>-<slug>`. A read gives an empty
record when a recorded branch names another issue number. One write
replaces such a block, and each stage round replaces the blocks that it
finds. The record of the issue reads as before, and a write gives the same
block as before.

A recorded pull request is the pull request of an item only when its head
branch is the recorded branch. A recorded branch is the branch of an item
only when it names the item. The watch row, the stage round, the stage
ready round, the implement selection and the open row use these rules, and
the open step records the head branch of a plan.

Refs #7347
The change folder moves to the archive, and its requirements join the specs of the job record, the stage round, the stage ready round, the watch row, the open step and the implement selection.

Refs #7347
@dan-petty
dan-petty force-pushed the fix/7347-new-job-record-for-transferred-item branch from 8fa2c70 to f454ffd Compare November 27, 2026 01:11
@dan-petty

Copy link
Copy Markdown
Owner Author

Review before ready (head f454ffd45)

Independent review of the second head (8fa2c701f): 0 blockers. Five small points got a fix and a test in the last round: the stage ready round and the implement selection use the head-branch rule too, the second stage round asserts that it sends no write, and two texts of the archived change are corrected.

Changed after the first head: the record holds no repository name. A rename of a repository, or its move to another owner, would have made each record read as empty.

Checks of the live data (read-only, 2026-11-26 and 2026-11-27):

  • 0 of 826 open issues of the 9 Service repositories hold a record whose branch names another issue number, so the new read resets no record of today.
  • 33 recorded pull requests of open items in 4 repositories (stage.pr and implement.pr): the head branch on GitHub equals the recorded branch for each of them, so the head-branch rule leaves out no plan and no draft of today.

Cost after the deploy: each lane reads its listing in full one time, because the key of the listing snapshot changes.

@dan-petty
dan-petty marked this pull request as ready for review November 27, 2026 01:23
@dan-petty
dan-petty merged commit 227dd4c into main Nov 27, 2026
31 checks passed
@dan-petty
dan-petty deleted the fix/7347-new-job-record-for-transferred-item branch November 27, 2026 01:24
dan-petty-release Bot added a commit that referenced this pull request Nov 27, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.223.5](v0.223.4...v0.223.5)
(2026-11-27)


### Bug Fixes

* **roadmap:** start a new job record for an item that came by transfer
([#7361](#7361))
([227dd4c](227dd4c))

---
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): start a new job record for an item that came by transfer

1 participant