Repository navigation
Run page: a covered run shows what it carried and offers to close the superseded pull request - #326
Merged
Merged
Conversation
…o close the superseded pull request A run covered by Coderhelm's own pull request continued in it: the page shows the commits and files carried over, what is still open for the ticket, and the ticket's earlier pull request as superseded with a Close button that acts only on a click. A person's covering pull request is linked and never offered to change. Retry is offered only when the work isn't in the covering pull request.
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.
Summary
The run page for a run covered by another open pull request now shows what the run did about it, and Retry is no longer the only button. When the covering pull request is Coderhelm's own, the run continues in it. The page shows what was carried over and where, what is still open for the ticket, and that the ticket's earlier pull request is superseded, with a "Close #N" button that works only on a click. When a person's pull request covers the ticket, the page links it, says so plainly, and offers nothing that would change it.
Changes
RunCoveredBygainsown,outcome,carried,open_items,supersededandnote. These match the platform's OpenAPI document, andopenapi-fields.tsis regenerated from it.api.closeSupersededPr:POST /api/runs/:id/close-superseded.Verification
npm run lint,npm run typecheck,npm run check:openapi,npm run build.e2e/stop-rules.spec.ts(with the new tests) ande2e/close-runs.spec.ts: