You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 123a42c
Browse filesBrowse the repository at this point in the historyBrowse files
Fix rounds checkpoint on a WIP branch and land as one commit on the PR
Every push to a pull request branch re-runs CI and, on repositories that
dismiss stale approvals, dismisses them. A fix round now pushes to the pull
request exactly once.
- CI fix, review fix and feedback rounds write their checkpoint commits to
coderhelm-wip/<pr branch>, opened at the PR head when the round starts
(a continuing round reuses its own).
- When the round is done, everything it changed since it started lands on
the PR as ONE commit in the team's commit style (round::land: removals
and renames included), and the WIP branch is deleted. If the PR changed
the same files meanwhile, nothing lands and the round is left unfinished.
- A round that times out, errors or is cancelled keeps its WIP branch; the
run records it (round / round_incomplete.wip_branch and base_sha, also
written by the stuck-run sweep), Resume continues from it, and nothing
partial reaches the PR. The status note says the PR is unchanged.
- API: RoundIncomplete.wip_branch (OpenAPI). The pre-PR stop copy is now
coderhelm-wip/<branch> too.
Copy file name to clipboardExpand all lines: docs/api/openapi.json
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2016,7 +2016,7 @@
2016
2016
"type": "object"
2017
2017
},
2018
2018
"PushedCommit": {
2019
-
"description": "A commit a fix round pushed before it stopped.",
2019
+
"description": "A checkpoint commit a fix round saved on its WIP branch before it stopped.",
2020
2020
"properties": {
2021
2021
"message": {
2022
2022
"description": "Its subject line.",
@@ -2768,7 +2768,7 @@
2768
2768
"type": "integer"
2769
2769
},
2770
2770
"pushed": {
2771
-
"description": "The commits the round pushed to the pull request's branch before it\nstopped, oldest first.",
2771
+
"description": "The checkpoint commits the round saved on `wip_branch` before it\nstopped, oldest first (never on the pull request).",
2772
2772
"items": {
2773
2773
"$ref": "#/components/schemas/PushedCommit"
2774
2774
},
@@ -2787,6 +2787,13 @@
2787
2787
"Pull request open; the last fix round didn't finish: the review fix round ran out of its time budget 3 times in a row."
2788
2788
],
2789
2789
"type": "string"
2790
+
},
2791
+
"wip_branch": {
2792
+
"description": "The branch the round's work so far is saved on. A round that didn't\nfinish never pushes to the pull request; Resume continues from here.",
0 commit comments