You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 55d0dae
Browse filesBrowse the repository at this point in the historyBrowse files
Build tests/apply fixtures through apply_fixture (#1941) (#1944)
* Start #1941 apply fixture consolidation
Assisted-by: Claude Code:claude-opus-5-5
* Build tests/apply fixtures through apply_fixture
Nine suites of the apply test binary wrote their own manifest, blob,
npm package, gem and event-lookup helpers beside apply_fixture's. They
now call apply_fixture (one_file/hashed_file, write_manifest,
stage_blob, install_npm_pkg, install_gem, write_gem_patch, link_dir)
and common::envelope::event_for. stage_blob writes through
common::write_blob.
The four gem runners share apply_fixture::run_gem, so
gem_stale_bundler_plugin's child now gets the BUNDLE_* scrub the
others had. The fallback-home human test moves next to its --json
twin and reuses its fixture. apply_invariants compares .socket/
snapshots instead of a digest plus two byte checks. The explicit
SOCKET_TELEMETRY_DISABLED=1 pairs, which hermetic::command forces,
are gone.
Assisted-by: Claude Code:claude-opus-5-5
* Apply /code-review findings on apply fixtures
Gem suites that pin --cwd run their child from the runner's directory
again, so a crawler reading the process cwd still fails them.
apply_invariants runs apply through apply_fixture::run_apply, the
--cwd remedy test stages its blob with stage_blob, and the gem
--check fixture derives its specifications dir from install_gem's
path. bun_global_store and lockfile_only_skip build their records
through one index_js_patches helper. apply_network passes bytes to
one_file instead of precomputed hashes. Stale module docs updated.
Assisted-by: Claude Code:claude-opus-5-5
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments