Skip to content

refactor(roadmap): fix-conflict runs on the phases - #6709

Merged
dan-petty merged 7 commits into
mainfrom
refactor/6703-fix-conflict-on-phases
Nov 22, 2026
Merged

dan-petty merged 7 commits into
mainfrom
refactor/6703-fix-conflict-on-phases

Conversation

@dan-petty

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

Copy link
Copy Markdown
Owner

fix-conflict now runs on the phases prepare, agent and publish, with the shared phase code, so the three-container Job of #3700 can run it. prepare admits 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. publish pushes 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 --phase and --work, and all keeps 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_conflict and the fetch of OriginGit are gone.

Closes #6703

Change: openspec/changes/archive/2026-11-21-6703-fix-conflict-on-phases/

@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
@dan-petty
dan-petty force-pushed the refactor/6703-fix-conflict-on-phases branch 2 times, most recently from eee2238 to 9b72d27 Compare November 22, 2026 01:24
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.
@devops-cli-service

Copy link
Copy Markdown
Contributor

Pull request #6709 has merge conflicts with main at commit 9b72d2798a4c. GitHub cannot merge it. Rebase the branch onto the current main, resolve the conflicts and push the branch.

@dan-petty
dan-petty force-pushed the refactor/6703-fix-conflict-on-phases branch from 9b72d27 to ccbf20d Compare November 22, 2026 01:37
@dan-petty
dan-petty marked this pull request as ready for review November 22, 2026 01:48
@dan-petty
dan-petty merged commit 6e497c2 into main Nov 22, 2026
29 checks passed
@dan-petty
dan-petty deleted the refactor/6703-fix-conflict-on-phases branch November 22, 2026 01:49
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>
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-conflict runs on the phases

2 participants