Skip to content

refactor(roadmap): fix-checks rebases onto main in its agent phase - #6694

Merged
dan-petty merged 6 commits into
mainfrom
refactor/6639-fix-checks-rebases
Nov 21, 2026
Merged

dan-petty merged 6 commits into
mainfrom
refactor/6639-fix-checks-rebases

Conversation

@dan-petty

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

Copy link
Copy Markdown
Owner

fix-checks stopped when main moved under the pull request (the main-skew stop), so nobody made the rebase that branch protection needs. Now prepare records the tip of main when the judged head lacks it, and the agent phase rebases onto it with the rules of implement, moved to roadmap/phases/rebase.py, which implement also calls. A conflict that the rules do not settle stops the round and pushes nothing. After a rebase, publish replaces the branch: the work, the archive commit and the fix are commits on the tip of main, pushed with a lease on the judged head. When only main causes the failure, the round pushes the rebase alone, with the result rebased, so the new head gets new checks. A branch that holds main gets one fix commit as before. The main-skew stop and its tests are gone.

Closes #6639

Change: openspec/changes/archive/2026-11-21-6639-fix-checks-rebases/

The agent phase of fix-checks rebases a branch that is behind main onto
the tip that prepare read, and settles each stop with the rules of
implement, now in roadmap/phases/rebase.py. publish replaces a rebased
branch with the work, the archive commit and the fix, with a lease on
the judged head. The main-skew stop goes.
@dan-petty dan-petty added type/refactor Type refactor: a new structure, same behavior scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 21, 2026
When the change of a rebased branch does not cause the failed check,
the round pushes the rebased branch with no fix, with a lease on the
judged head, and records the result rebased, so the new head gets new
checks. The ready path and the unit outcome take rebased as a push.
@dan-petty
dan-petty marked this pull request as ready for review November 21, 2026 22:48
@dan-petty
dan-petty merged commit a2092bd into main Nov 21, 2026
29 checks passed
@dan-petty
dan-petty deleted the refactor/6639-fix-checks-rebases branch November 21, 2026 22:49
dan-petty pushed a commit that referenced this pull request Nov 21, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.190.0](v0.189.0...v0.190.0)
(2026-11-21)


### Features

* **k8s:** run a three-node SeaweedFS object store
([#6689](#6689))
([3f81cdb](3f81cdb))
* **roadmap:** the Service reads each runner container by name
([#6695](#6695))
([84c0627](84c0627)),
closes [#6690](#6690)


### Bug Fixes

* **roadmap:** a new-branch run takes no closed draft
([#6693](#6693))
([9ae7d7b](9ae7d7b))
* **roadmap:** the base replay of a step runs the checkout Python
([#6692](#6692))
([db5de9b](db5de9b))


### Code Refactoring

* **roadmap:** fix-checks rebases onto main in its agent phase
([#6694](#6694))
([a2092bd](a2092bd)),
closes [#6639](#6639)

---
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/refactor Type refactor: a new structure, same behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(roadmap): fix-checks rebases onto main in its agent phase

1 participant