Repository navigation
refactor(roadmap): fix-conflict runs on the phases - #6709
Merged
Merged
Conversation
dan-petty
force-pushed
the
refactor/6703-fix-conflict-on-phases
branch
2 times, most recently
from
November 22, 2026 01:24
eee2238 to
9b72d27
Compare
fix-conflict runs on prepare, agent and publish with the shared phase code. prepare clones plainly and records onto and the lease, the agent phase rebases with the shared rules and runs tier 1 with no GitHub credential, and publish pushes from a new repository with a lease on the judged head and writes the record of the round.
prepare adds the round to the record when it gives the round to the agent phase, so a timeout of tier 1, an agent phase with no outcome and a refusal in publish count the round. publish writes the result, a refusal too, and its second admission takes no cap. A failed program of tier 1 puts its exit status and the end of its output into the stop, through output_tail of implement. No log holds the output. A plan clones with no author check, so a host with no App gets planned. implement commits the archive after the plan_defect rule. fix-checks gives the error of git when the rebase is stuck. OriginGit loses its fetch and the shallow write-back, which have no caller.
A separate publish ran the admission again before it read the outcome, so a claim or a moved head after the agent phase gave refused also for a round that pushes nothing. It now builds the round from the state file, and checks the admission bounds only in before_push, as --phase all does. Both modes give one result, with the reason of the agent. admit_round loses its cap option, which only that call used.
Contributor
|
Pull request #6709 has merge conflicts with |
dan-petty
force-pushed
the
refactor/6703-fix-conflict-on-phases
branch
from
November 22, 2026 01:37
9b72d27 to
ccbf20d
Compare
dan-petty
marked this pull request as ready for review
November 22, 2026 01:48
dan-petty
pushed a commit
that referenced
this pull request
Nov 22, 2026
🤖 I have created a release *beep* *boop* --- ## [0.191.1](v0.191.0...v0.191.1) (2026-11-22) ### Bug Fixes * **pr:** Measure the body above its trailer lines ([#6701](#6701)) ([ad63da9](ad63da9)) ### Performance Improvements * **roadmap:** Cut review reads with a snapshot and counts ([#6716](#6716)) ([df731a7](df731a7)) ### Code Refactoring * **roadmap:** fix-conflict runs on the phases ([#6709](#6709)) ([6e497c2](6e497c2)) * **roadmap:** stage pushes the plan commit on the phases ([#6710](#6710)) ([f075f16](f075f16)), closes [#6704](#6704) --- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix-conflict now runs on the phases
prepare,agentandpublish, with the shared phase code, so the three-container Job of #3700 can run it.prepareadmits the round, clones plainly, records the tip of main and the judged head, and counts the round before the agent runs. The agent phase rebases with the shared rules and runs tier 1, with no GitHub call; a failed program of tier 1 gives its output in the stop.publishpushes from a new repository with a lease on the judged head and writes the result. A hook that tier 1 writes into the clone no longer changes a pushed round. The command takes--phaseand--work, andallkeeps the current Job. One archive function serves implement, fix-checks and fix-conflict. The own clone, push and tier 1 code of the step,fix_rebase_conflictand the fetch ofOriginGitare gone.Closes #6703
Change:
openspec/changes/archive/2026-11-21-6703-fix-conflict-on-phases/