Skip to content

docs(openspec): plan #5615 Keep passed groups when a rebase conflicts - #5625

Merged
dan-petty merged 1 commit into
mainfrom
fix/5615-a-rebase-conflict-loses-the-implement
Nov 14, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/5615-a-rebase-conflict-loses-the-implement

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #5615

A rebase conflict at a checkpoint, wip or stop push of an implement run pushes nothing, and the runner pod keeps its work tree on an emptyDir volume, so the item branch on origin ends empty and a retry rebuilds every group (#5615). This change aborts the conflicting rebase and pushes the head of the checkout to the item branch with a lease, records the conflicting paths in implement.conflict, and returns no failure note, so the job keeps its checkpoints and a later group's commit still reaches origin. The final push that still conflicts pushes nothing, keeps the pushed branch, and stops the item with the class conflict and the conflicting paths in its comment. The workflow documents state the new rule.

Change: openspec/changes/5615-a-rebase-conflict-loses-the-implement/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 14, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 14, 2026 05:22
@dan-petty
dan-petty force-pushed the fix/5615-a-rebase-conflict-loses-the-implement branch from 418fa02 to ce26ec9 Compare November 14, 2026 13:14
@dan-petty

Copy link
Copy Markdown
Owner

An agent vetted this plan before a merge (2026-11-14). Verdict: ready.

The plan addresses the root cause of issue #5615: ensuring that when an implement runner encounters a rebase conflict during checkpoint or wip: pushes, it aborts the rebase, pushes the current head to origin with a lease, and marks implement.conflict. This preserves passed task groups across pod restarts instead of discarding all progress.

Checks: openspec validate --strict passed, plan-check passed, CI quality gate checks passed.

@dan-petty
dan-petty enabled auto-merge (squash) November 14, 2026 13:26
@dan-petty
dan-petty merged commit a46c783 into main Nov 14, 2026
22 checks passed
@dan-petty
dan-petty deleted the fix/5615-a-rebase-conflict-loses-the-implement branch November 14, 2026 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant