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
Share the retrying REST call of post-statuses and report-outcome #15446
Type: Task Summary: Share the retrying REST call of post-statuses.mjs and report-outcome.mjs as retryApi in .github/scripts/lib/retry-fetch.mjs (part of restructuring pass #14159).
Current behavior: .github/scripts/work-resolve-issue/post-statuses.mjs:106-125api() and report-outcome.mjs:2029-2049api() are the same wrapper over retryFetch: same headers, same safeToResend, same URL join. report-outcome also sets error.status and returns null on 204. post-statuses only POSTs statuses, which answer 201, so it behaves the same under report-outcome's version.
Desired behavior: .github/scripts/lib/retry-fetch.mjs exports retryApi, using report-outcome's variant, and both scripts call it in place of their own api(). Blocked by the item that moves retry-fetch.mjs into .github/scripts/lib/ and floors it there, so this item edits that file only after it exists; no floor row changes here.
test_merge_holds_sync.py, test_babysit_risk.py, .github/actions/resolve-config/callers.test.mjs and the node suites of .github/scripts/lib/ and .github/scripts/work-resolve-issue/ pass.
ci-status is green.
Out of scope:
createGitHubApi and other transport code, other duplication, eval cases, fixtures, and skill and agent text.
The work-resolve-issue run that agent-ready started failed or was cancelled before it reported, or it stopped or the token broker refused it because its workflow files differ from main's. work-unblock removed and added agent-ready back to start a fresh run on main's workflow files. If this run ends the same way, it re-fires the issue again, waiting longer each time.
Activity
melodic-automation-lanes commentedon Nov 11, 2026
{"v":1,"actor_id":337595936,"title_sha256":"f622caf2b347a12a7fcc1b7954ea52c061d82ca783031b1372c2fa40b418001a","body_sha256":"ad3b9b2b597e9b458f7a0cc3ba60740b4898bcf96a6636f21c5f1eeb93f1351d"}
melodic-automation-lanes commentedon Nov 12, 2026
The work-resolve-issue run that
agent-readystarted failed or was cancelled before it reported, or it stopped or the token broker refused it because its workflow files differ from main's. work-unblock removed and addedagent-readyback to start a fresh run on main's workflow files. If this run ends the same way, it re-fires the issue again, waiting longer each time.github-actions commentedon Nov 12, 2026
github-actions commentedon Nov 12, 2026