Skip to content

Remove remaining autopilot critical-path overhead - #871

Merged
RetroGameDeveloper merged 1 commit into
mainfrom
perf/autopilot-critical-path
Nov 8, 2026
Merged

RetroGameDeveloper merged 1 commit into
mainfrom
perf/autopilot-critical-path

Conversation

@RetroGameDeveloper

@RetroGameDeveloper RetroGameDeveloper commented Nov 8, 2026 •

Copy link
Copy Markdown

Changes

  • Refresh completed trials by function ID rather than project/name resolution, avoiding the hidden saved-file synchronization call.
  • Yield raw m2c C before collecting optional repair variants and callee evidence. Existing fallback families remain available if raw C does not match.
  • Use existing lean search evaluation for autopilot trials: full linking and exact-byte verdicts remain mandatory; interactive evaluation retains detailed export/address/allocation diagnostics.
  • Run saved-source return repairs after every machine draft has had its turn. Re-read eligibility, acquire fresh claims, retain per-function search bounds, and expose separate server-owned repair progress with Stop and refreshed-view attachment. Direct single-function calls retain their existing repair behavior.
  • Share half-second claim cleanup and identity reads across pass workers; selected expired/legacy speculative claims force immediate cleanup. Claim ownership is still checked in its write transaction.

Verification

  • 133 Python tests passed, 3 tool-dependent skips: critical-path ordering, manual concurrency/promotion, advisory pipeline, initial/overlay drafts, return repair application, lean/full judge equivalence, live claims, identity cache, PC autopilot and warmed m2c.
  • Regression tests cover raw-first ordering, authoritative negative exact verdicts, no project resolver refresh, phase ordering, Stop during either phase, durable progress, live claim exclusion and stale saved-file revision rejection.
  • node tests/gui_transfers.js passes, including repair progress, refresh and Stop.
  • Full Ruff and git diff --check pass.
  • Rebased on latest main, preserving the release-lock fix and its performance documentation.

No end-to-end speed multiplier is claimed. No live project data, runtime checkout or running app changed. A fresh arm64 app is built separately for export.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@RetroGameDeveloper
RetroGameDeveloper merged commit fa0778c into main Nov 8, 2026
0 of 8 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