Repository activity
40458 results across all weeks
refactor(boot): remove unused SIMD C flags
The blake3 impelemntations use assembly and not the C intrinsics implementations that were removed in #11914. The flags encoded here are unused and are therefore useless.
Ali Caglayan (@Alizter)refactor(engine): cancel the loop-owned process context
Store the process context in the active build state instead of its run ID. Cancel that context directly rather than consulting Process.Build.current, and derive trace and RPC run IDs from the stored context.
Rudi Grinberg (@rgrinberg)refactor(engine): keep the active request in the loop state
Store the active request alongside its run ID in the building/restarting loop state, removing the independently maintained current_request field. Completion cancellation, goal counts, and run-ID reporting read from that state.
Rudi Grinberg (@rgrinberg)refactor(engine): pass filesystem cache tables directly
Pass cache state and concrete tables to the filesystem cache helpers instead of table-selector callbacks. Callers force and unpack the lazy cache explicitly, removing indirection without changing cache updates or timestamp invalidation.
Rudi Grinberg (@rgrinberg)refactor(engine): register context types without redundant context records
Build_config only uses each context's name and type, so retaining a full
Rudi Grinberg (@rgrinberg)refactor(engine): remove source-copying rules
Revives #14535.
Rudi Grinberg (@rgrinberg)refactor(engine): retain alias specs through evaluation
Depends on #16909.
Rudi Grinberg (@rgrinberg)refactor(engine): scope retained subdirectories to the requested directory
Generated-rule results only need to declare retained subdirectories for the
Rudi Grinberg (@rgrinberg)refactor(engine): validate cached dynamic dependencies in Memo
Keep dependency validation in the build system: workspace-local cache lookup returns a synchronous candidate, and its recorded dynamic dependency stages are validated directly in Memo. This removes the cache’s dependency-building callback, Fiber wrapping, and nested Memo.run calls, while retaining stage short-circuiting and cache-miss tracing.
Rudi Grinberg (@rgrinberg)refactor(fiber): split submodule tests into dedicated modules
Move the Fiber.Lazy and Fiber.Mutex tests from fiber_tests.ml into dedicated test modules, matching the existing per-submodule layout. Test bodies and expectations are unchanged; top-level Fiber API tests remain in fiber_tests.ml.
Rudi Grinberg (@rgrinberg)refactor(foreign): remove C/C++ dictionary lookups
Replace Foreign_language.Dict.get with direct C/C++ field access and remove its selector type. No behavior change.
Ali Caglayan (@Alizter)refactor(memo): remove unused Memo.Poly
Remove the unused polymorphic memoization functor from Memo’s implementation and interface, along with its dedicated expect test and fixture. No production code uses it.
Rudi Grinberg (@rgrinberg)refactor(memo): remove unused invalidation APIs
Remove Memo.reset_if_necessary, its per-computation tracking of the last non-reproducible-error run, and Memo.Invalidation.custom. Neither API has production callers.
Rudi Grinberg (@rgrinberg)refactor(ocaml): make compiler action environments explicit
Route built-in OCaml compiler actions through a dedicated directory-environment accessor, and merge linker-specific environment additions before invoking the compiler. Runtime parameters remain unchanged.
Rudi Grinberg (@rgrinberg)refactor(odoc): move library naming to Odoc_scope
Description
Tim ats (@Tim-ats-d)refactor(pkg): load fetch rules from a single directory
Generate shared fetch rules directly in _build/_fetch, encoding the identity type, source key, and output kind in each target name. This removes the reverse lookups and per-source directory dispatch.
Rudi Grinberg (@rgrinberg)refactor: get rid of old style directory targets
I need to run a revdep check for this to make sure that the breakage is tolerable. "old style" directory targets are somewhat broken anyway, so I hate to spend a lot of time on this now that we have proper directory targets. In the absolute worst case, I'll need to make sure this feature quietly degrades to using the real directory target support.
Rudi Grinberg (@rgrinberg)test(action-plugin): cover detached requests with one job slot
Run the existing detached-request regression with a single scheduler slot. This checks that an accepted request can finish after its client exits without starving its producer, and that its dependencies still invalidate the cached action on subsequent builds.
Rudi Grinberg (@rgrinberg)test(action-plugin): cover independent helper discovery
Exercise concurrent helper processes and a later reconnection sharing one action ID, with only one scheduler slot. Check that inputs discovered by either helper invalidate the parent action, expired IDs are rejected, and a caught helper dependency failure still fails the action.
Rudi Grinberg (@rgrinberg)test(action-plugin): exercise watch cancellation with one job slot
Run the existing cancellation regression with a single scheduler slot, checking that an in-flight dynamic dependency can be cancelled and the replacement build can complete without leaking its slot. Keep the existing expectation documenting missed subsequent invalidation.
Rudi Grinberg (@rgrinberg)