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
wait-for-pr-review panics when --timeout-seconds is too large for the deadline #2713
Parent EPIC:#2003 - Overhaul: Automation Tools and AI Agent Guardrails
Goal
Make every accepted value of --timeout-seconds run without a panic in the wait-for-pr-review poller, and report a value that cannot be represented as a usage error in the documented JSON form, with exit code 2.
Problem
The option accepts every positive 64-bit integer, and the poller then computes its deadline as Instant + Duration, which panics on overflow. Reproduced on the real binary: --timeout-seconds 18446744073709551615 and 9223372036854775807 exit 101 with a plain-text panic on stderr, which breaks the documented 0/1/2 exit codes and the JSON-only stderr, while 4611686018427387904 runs. The threshold depends on the platform's Instant range.
The specification, the reproduction and the fix options are in pull request #2716, which adds docs/issues/open/2713-2003-wait-for-pr-review-timeout-overflow-panic/ISSUE.md.
Activity
docs(issues): add specifications for #2712, #2713, #2714 and #2715
Merge #2716: docs(issues): add specifications for the wait-for-pr-rev…
Merge #2749: docs(issues): [#2003] refresh the EPIC state and return …
fix(wait-for-pr-review): reject --timeout-seconds above one day inste…
Merge torrust#2802: [torrust#2713] fix(wait-for-pr-review): reject --…
docs(issues): name the model in the torrust#2713 progress-log entries
docs(issues): keep the drafting checkpoint of torrust#2713 accurate
docs(issues): give the reason no retrospective is needed in the torru…
docs(issues): add the torrust#2713 DONE entry to the EPIC torrust#2003 …
docs(issues): narrow the model claim in the torrust#2713 log to the 2…
docs(issues): log the torrust#2713 checkpoint and retrospective corre…
chore(issues): archive closed issue #2713 spec to docs/issues/closed
Merge #2806: chore(issues): archive closed issue #2713 spec to docs/i…