Repository navigation
onspot v3.5.0: Go back on each pin - #2
Merged
Merged
Conversation
A closed pin with a live fix has a "Go back" button in its card. He chooses the version (the page before the pin, or after an earlier fix); POST /api/pins/:id/revert queues a revert run that undoes the later commits newest first, ships the old version and closes the pin. - store: versions (live fix commits), revert, revertedAt; users-only revert transition; backfill of versions from the Done replies - runner: revert runs never join bulk, start lean with the project card, count effort and retry from the request; buildRevertPrompt - CLI and MCP detail: versions, go back, reverted; revert verdict - extension 0.6.0: Go back panel with the version choice, Going back and Reverted labels, toasts and Log chips - fix: a 4000-character summary no longer fails the resolve reply - fix: pins ship commits a file deletion that git revert staged already
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.
A closed pin with a live fix gets a Go back button in its card. You choose the version: the page before the pin, or the page after an earlier fix.
POST /api/pins/:id/revert { commit }(users only) queues the pin withrevert. The runner then starts one revert run: it undoes the later commits newest first, ships the old version and closes the pin.Contract:
docs/protocol.mdv3.5 (Pinversions,revert,revertedAt; status changerevert; runner item 16; card item 10).reverttransition. On first open, the store readsversionsfrom theDone:replies. The detail and list formats show the new fields, and the verdict has a revert rule.buildRevertPrompt.pins shipnow commits a file deletion thatgit revertalready staged.Tests: server 166, runner 143, extension 84, e2e helpers 12; harness 59 groups in Chromium and 59 in Firefox;
deploy/caddy.check.mjspasses.