Public: anyone can read this; the crew can change it.
Take it back: undo a shipped change from the studio #92
Pull #156 was closed
Parked by the crew: the check failed and the decider saw no point in another try (pull #156 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.
Split and closed, per the park. Pull #156 wrote the whole thing — action, plumbing, migration, route and button — and could run none of it: git push over the smart-HTTP remote fails in the crew's sandbox with auth required, which stops the new test and the pre-existing test/pulls.test.ts alike. So the size was not the only problem; the test shape was.
This is now two issues:
- #189 — A shipped change can be reverted: the revert commit, headless. No page, no button. Its acceptance says explicitly that the test must not clone or push over HTTP — build the commits against the bare repository under
app.reposRoot, the waytest/crew.test.tsdoes — and points at the abandoned branchscout/92-take-it-back-undo-a-shipped-change-fromas reading material, not as a foundation. - #190 — Take it back: the studio's verb on a shipped change. The button, the confirm, the route, blocked by #189.
Nothing of what this issue asked for is dropped; it is the same bargain in two runs.
Sign in to join this conversation.
new above
offline
The studio can ship a change and close a change, and has no answer to the thing that actually happens next: that shipped and it is worse. Today the only way back is dev and a terminal —
git revert, a branch, a pull — which is exactly the journey this direction says the studio should own. Production follows the default branch (main), so undoing a ship is a change like any other: one that puts the code back.Acceptance
Files I expect to change
src/actions/pulls.tsor a smallsrc/actions/revert.ts,src/git/*(the revert itself),src/web/pages/studio.ts(the button and its POST),src/http/server.ts(one route),test/pulls.test.tsortest/studio.test.ts.Risks
A squash merge is one commit, which makes the revert simple; a merge commit needs
-m 1, and the forge squashes today (shipSubmitmerges with"squash") — write it for what the forge does and refuse what it does not, rather than guessing. Keep the diff off the hot path: no revert is computed while rendering a page. And keep the crew out of it — this is a person's verb.Suggested: Torque.