Repository navigation
2.39.3
-
4d5658e: A push answered by GitHub with
remote: fatal error in commit_refs/[remote rejected] … (failure)is now treated as a transient GitHub server error, not a branch divergence (#3552):git push/fetch/pullretry it with the usual backoff instead of giving up after one attempt (transient=no).- If every retry fails, the solver reports
GitHub server error while pushing …and tells the user to check githubstatus.com and rerun. It no longer says "Local and remote branch histories differ" or asks the user to merge a branch that does not exist on the remote. - Push explanations no longer claim "the remote branch changed" when the remote branch does not exist.
- The release version push retries such errors without rebasing, and the Helm
gh-pagespushes retry them too. - In verbose mode, the push-rejection classification and the remote branch state are logged.
Every GitHub operation now goes through one shared retry loop, and lint enforces it (#3552 review):
- command-stream's
$resolves a failedghcall instead of rejecting, soghcommands sent throughwrapDollarWithGhRetryran only once, rate limits and 5xx included.retryGitHubOperation(src/github-operation-retry.lib.mjs) retries both shapes.ghWithRateLimitRetry,ghRetry,ghCmdRetry,gitCmdRetry, the runner and sync adapters, and the release scripts all use it in place of their own loops. wrapDollarWithGitRetry(codex, agent, gemini, opencode, qwen) now retriesghtoo, and wrapping an executor twice no longer nests two loops.- Previously unretried call sites in
src/andscripts/are routed through the shared loop. A retriedgh issue createchecks for the created issue first, so it is never filed twice. - The
gh-rate-limitESLint rules decide per call site, not per file. They cover thespawn/execFileargv style and, for git,scripts/. - Shell scripts and workflow steps run GitHub operations through
node scripts/github-retry.mjs ….scripts/check-github-retry-shell.mjs, which is part ofnpm run lint, rejects any that do not. A deliberate single shot is markedgithub-retry-ok: <reason>.
Also brings the pins that the CI dependency-freshness gate reported as stale up to date:
start-command0.38.0 (all Dockerfiles),links-notation0.27.1 (use-m pins), theignorelockfile entry 7.0.13,formal-ai0.355.0 (all Dockerfiles; its new GPU stack is behind a non-default feature),@dotenvx/dotenvx2.38.1 (use-m pin), and the@formatjs/icu-messageformat-parser3.5.22,fast-uri3.1.9 andintl-messageformat12.1.4 lockfile entries.
Related Pull Request: #3553