Batch 15 after 0.65: call-graph resume and smart pointers, jemalloc, large-file search, Luau index, #1461, bus

AF
32s ago
+27895-1769

Batch 15 after 0.65 (145 commits on main 75b22b34).

  • Call-graph cold build memory (#1441): pass-4 call-site records on disk behind a bounded cache (step 6a); a killed cold build resumes from its last finished stage with byte-identical output; Rust calls through Arc/Rc/Box resolve (stored record format changes, so call graphs rebuild once); jemalloc as the Linux allocator.
  • Large-file search (#1432 stage 2): remaining readers stream; search and grep skip whole reads over 16 MiB and say so; every other parser read is unchanged.
  • Luau in the index store (grammar loader slice 4, wasm-grammars builds).
  • Per-project shell environment provider for mise, direnv or a custom command (#1461), off by default, user config only.
  • Shell refusals name the part the host denied on OpenCode 2 (#1455).
  • runon honours the caller's timeout while queued; shell tools accept a build-server job id.
  • Bus: late_result_ready.v1 and display_record_ready.v1 notices, card-answer and send-state readers, aft.views writer, display.read for the catalog's display module.
  • LSP applicability walk log lines name their trigger path; consumer identity dropped from AFT's own calls.

Search-quality descriptor: ci-speed-post065-batch-15.json (engine_unwired; #1432 stage 2 matched main on all 6,897 real queries).
Local full suite on the build server: 15,591 run, 15,578 passed; the 13 failures are the secret-sandbox tests that need a kernel setting the build servers lack (same on main).
Tool text changes (bash, shell refusal wording), so the card ships in a shared host restart window.


Summary by cubic

Batch 15 after 0.65: call-graph cold builds use far less memory and resume after being killed, search streams large files, and Luau joins the index store.

Call graph, build, and memory

  • Pass-4 site records now live on disk behind a bounded cache (#1441); a killed cold build resumes from its last finished stage with byte-identical output.
  • Rust call graphs resolve callers and impact paths through Arc/Rc/Box fields.
  • The stored call-graph record format changes (record-14), so call graphs rebuild once; the record now names a configuration file's comment grammar (config-toml, config-yaml) and retains smart-pointer field types.
  • Linux uses jemalloc, cutting memory use and speeding large index builds.

Search, shells, and integrations

  • Search streams the remaining large-file readers and discloses files skipped over the 16 MiB whole-read ceiling (#1432); every other parser read is unchanged, and search matched main on all 6,897 real queries.
  • The user-only shell.env_provider setting selects per-project environments from mise, direnv, or a custom command (#1461).
  • Shell refusals name the part the host denied when known (#1455).
  • Remote build-server commands with an explicit timeout keep it while queued instead of expiring after 30 minutes; bash_status, bash_watch, and bash_kill accept a build-server job ID.
  • The subc client upgrades to 0.40.3; fleet-status discovery follows catalog generations with polling fallback and a five-minute backstop.
  • Luau participates in the index store behind wasm-grammars, with the no-Luau configuration exception byte-pinned.
  • Bus notices wake runners for late results and carry display records; card-answer and send-state readers and the catalog display writer are wired.
  • LSP applicability logs name their trigger path, and AFT's own SUBC calls drop per-call consumer identity.

Local suite: 15,591 run, 15,578 passed; the 13 failures are secret-sandbox tests needing a kernel setting the build servers lack (same on main). Tool text changed (bash, shell refusal wording), so the card ships in a shared host restart window.