Skip to content

Add native worker retry controls and upgrade formal model to Lean 4.35 - #1080

Merged
loning merged 4 commits into
devfrom
fix/worker-retry-01a1b28c
Nov 8, 2026
Merged

loning merged 4 commits into
devfrom
fix/worker-retry-01a1b28c

Conversation

@loning

@loning loning commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

A worker attempt can spend time in native provider retries before the caller receives its terminal result. Add optional per-invocation provider retry controls to the individual worker runner; omitted controls retain native defaults, while invalid or empty controls fail before side effects.

Upgrade the sshx formal project to Lean 4.35.0 and regenerate its ten-package Lake manifest against immutable trureturing commit 9438a484f754d4f2231909a77dbc73c0e569b9b0 and mathlib commit 56a005855ea17e0b0958f73ec801ae140b0a1679. Clarify the existing dependency/cache reuse path. All 29 local Lean source files are unchanged.

Validation (unchanged build/test inputs from 5584037, plus the documentation correction at 9a9a33eabc6180d0d03eddbd9b1682b9251644b0):

  • Actual installed Lean 4.35 lake build: exit 0, 9103 jobs.
  • Full skill suite: 257/257, zero skips, including the original installed-Lake build test at its unchanged 1800-second timeout.
  • Repository suite: 9/9, zero skips. Version synchronization, ShellCheck, pinned Ruff 0.14.0 and diff checks passed.
  • Seven focused runner/spec tests pass after the boundary documentation correction.
  • Five cases against real codex-cli 0.165.0 verified native HTTP/SSE retry forwarding and incomplete-result handling using a local fixture.

The compiler emitted 232 warning records; these remain unsuppressed. The retry controls are invocation-specific and do not provide a wall-clock deadline. This contribution does not establish the cause of the original overload or production adoption; installation, global retry defaults and maintainer merge/release decisions remain separate.

Remote CI: all six reported checks passed at 9a9a33eabc6180d0d03eddbd9b1682b9251644b0 (consensus-rnd-ci run 42489165437). Its skill suite ran 257 tests with one skip and repository suite ran 9 with none; the completed local installed-Lake build and zero-skip suite above provide the actual Lean verification. Independent source review: architecture, quality and tests each approved; no unresolved blocking source finding.

@loning loning changed the title Allow per-invocation native worker retry limits Add native worker retry controls and upgrade formal model to Lean 4.35 Nov 8, 2026
@loning
loning marked this pull request as ready for review November 8, 2026 14:18
@loning
loning merged commit 0088f5d into dev Nov 8, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant