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
docs(issues): add specifications for the wait-for-pr-review bugs and the CLI output contract decision - #2716
Adds the specifications of four issues opened after the wait-for-pr-review poller (issue #2581) merged. This is a spec-only pull request: it adds documents and two disposable reproduction scripts, and changes no code. All four issues stay open when it merges.
Decide the scope and the exit-code policy of the global CLI output contract #2715 (task, not attached to an EPIC): decide in an ADR which programs the global CLI output contract covers, and the exit-code policy for programs with several non-success outcomes. The ADR's table lists tools that its own issue specification puts out of scope.
Each bug specification follows the fix-bug template: the plain-language explanation, the reproduction outcome recorded in manual-verification-evidence.md, the regression-test boundary and the fix options with a recommendation, for the maintainer to decide. Nothing is implemented.
Changes
Four folders under docs/issues/open/, 2712-2003-..., 2713-2003-..., 2714-2003-... and 2715-..., each with an ISSUE.md; the three bug folders also hold a manual-verification-evidence.md.
…ust#2714 and torrust#2715
Three bug specifications for the wait-for-pr-review poller, each with a
reproduction on the real binary, and a decision specification about the
scope and the exit-code policy of the global CLI output contract.
Co-authored-by: Copilot <[email protected]>
The reason will be displayed to describe this comment to others. Learn more.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Adds spec documentation for four follow-up issues discovered after merging the wait-for-pr-review poller, plus an ADR-decision task around CLI output contract scope/exit-code policy.
Changes:
Added three bug specifications (#2712–#2714) with accompanying manual verification evidence and disposable reproduction scripts (where applicable).
Added one task specification (#2715) to drive an ADR decision on CLI output contract scope and exit-code policy.
Documented reproduction outcomes, regression test boundaries, and fix options without implementing code changes.
The drafting entries in the progress logs carried stamps (12:00 to 12:30)
that were written before the reproduction and lint commands ran (11:49 to
11:56 UTC), and the 2714 and 2715 logs were out of order. Keep the earlier
entries, append a correction entry to each log and set last-updated-utc to
the time of the edit.
Co-authored-by: Copilot <[email protected]>
The manual scenarios M1 and M2 cited sections of a manual-verification-evidence.md
that this specification-only pull request does not add. Replace the references
with TBD; the file is written when the scenarios run.
Co-authored-by: Copilot <[email protected]>
Record the nine findings of Copilot's review 5768334587 with their
dispositions, reply URLs and processing log.
Co-authored-by: Copilot <[email protected]>
The reason will be displayed to describe this comment to others. Learn more.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
…2715 specs
The drafting entries carry a wrong stamp that sorts after the approval entry,
although the file order matches the order of the events. Mark them OUT-OF-ORDER
instead of reordering, and record the marking in a new log entry.
Co-authored-by: Copilot <[email protected]>
The script keeps the pull request head at A for every read and uses B only as
the commit a review names, so HEAD_B was misleading. Rename it to
REVIEW_COMMIT_B.
Co-authored-by: Copilot <[email protected]>
…e PR 2716 audit
Record findings F10 to F13 of review 5769278008 with their dispositions,
reply URLs and processing log entries.
Co-authored-by: Copilot <[email protected]>
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The fake always returns head A, preventing the post-feedback read from observing head B and causing the recommended fix to fail the required V2 recheck.
No open issues 🎉
1 previously missed issue
In code that hasn't changed since last review
Fake must return head B after the second review-list response
The fake always returns head A, so the recommended fix—reading the head again after feedback—still fails the required V2 recheck after receiving review B. Return B once the second review-list response has been served, so the unfixed reader still sees A while the post-feedback read observes the push.
…the feedback calls
The fake gh always reported head A, so a fix that reads the head again after
the feedback calls could not pass the M2 recheck. Report head B for a
pull-request read made after the second review-list response, keep the first
read of each snapshot at A, and record the rerun of the unfixed build.
Co-authored-by: Copilot <[email protected]>
Response to the review-body finding of Copilot review 5770062493 (F14 in the audit, docs/pr-reviews/pr-2716-review/PR-REVIEW.md): the fake gh in evidence/fake-gh-head-race.sh always returned head A, so a fix that reads the head again after the feedback calls could not pass the M2 recheck.
Valid. Fixed in docs(issues): let the 2714 reproduction script report the push after the feedback calls: the first pull-request read of every snapshot still reports head A, and a read after the second review-list response reports head B. I ran the unfixed poller against the new script (head_shaaaaa…, review of bbbb…, the same result as V1) and the pre-commit checks.
… PR 2716 audit
Record finding F14 of review 5770062493, which has no inline thread, with its
disposition, conversation reply URL and processing log entries.
Co-authored-by: Copilot <[email protected]>
Post-merge note: this pull request requested a review from this account and was closed without one at its final head. A post-merge review will not be done: It added issue specifications and their evidence under docs/issues/, including two disposable reproduction scripts that no build or CI job runs, so it has no executable effect.
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
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.
Related to #2712, #2713, #2714 and #2715
Adds the specifications of four issues opened after the
wait-for-pr-reviewpoller (issue #2581) merged. This is a spec-only pull request: it adds documents and two disposable reproduction scripts, and changes no code. All four issues stay open when it merges.The specifications
ghexit the poller waits for the end of the child's pipes with no limit, so a descendant that keeps them open makes a 3 s budget last 25 s and delays aSIGTERMthe same way. Reproduced on the real binary with a fakegh.--timeout-secondsaccepts values that overflow the deadline, and the poller panics with exit101and a plain-text message instead of ausage_error. Reproduced on the real binary;u64::MAXandi64::MAXpanic and 2^62 runs on the machine used.head_sha, a review of the new commit, and nohead_moved. Reproduced on the real binary with a scriptedgh; the timing is scripted and a real race on GitHub was not observed, and the specification says so.Each bug specification follows the
fix-bugtemplate: the plain-language explanation, the reproduction outcome recorded inmanual-verification-evidence.md, the regression-test boundary and the fix options with a recommendation, for the maintainer to decide. Nothing is implemented.Changes
docs/issues/open/,2712-2003-...,2713-2003-...,2714-2003-...and2715-..., each with anISSUE.md; the three bug folders also hold amanual-verification-evidence.md.evidence/in the folders of wait-for-pr-review waits without limit for the output of a gh call that already exited #2712 and wait-for-pr-review can report a review of a newer commit than the head it reports #2714. They are not maintained tests; the specifications say why a script is the right tool and that the durable checks are Rust tests written during implementation.Validation
linter all, and the pre-push hook passed on push.frontmatter-validatorpasses on the four folders, and shellcheck passes on the two scripts.develop, and the branch is rebased on the currentdevelop.developatf7fecdf14withrustc 1.99.1, and their output is recorded in each evidence file.