fix: initialize shared dependency caches before scoped startup - #86
Merged
Merged
Conversation
roodboi
pushed a commit
that referenced
this pull request
Sep 17, 2026
## [4.2.1](v4.2.0...v4.2.1) (2026-09-17) ### Bug Fixes * initialize shared dependency caches before scoped startup ([#86](#86)) ([e47c341](e47c341))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A lockfile change could move a targeted restart to an empty dependency cache, while
hack run depscontinued installing into the ordinary Compose volume. Retrying the installer therefore did not repair the running app.This change resolves the same fingerprinted cache for
run,up, andrestart. Before a scoped consumer starts or is recreated, Hack runs the declared cache installer with the same Compose files and environment. A failed installer leaves existing consumer containers in place. Unrelated services and project lifecycle hooks remain outside the scoped operation. Cache installers must be idempotent and coordinate concurrent writes; warm caches are checked without being deleted.Automatic bootstrap is bounded to ten minutes, preserves JSON stdout, and returns
E_DEPENDENCY_BOOTSTRAP_FAILEDon failure. No cache hash, pruning policy, registry credential protection, or global configuration changes.Validation:
run depsmount parity, changed-lockfile restart/up, and failure isolation in a random disposable project.57584748) with identical pinned dependencies. The published CI test and Linux process-lifetime gates pass on the current head.Release intent: patch fix. This PR does not publish or replace the globally installed CLI.
CI secret scanning now checks the full reachable history of the checked-out merge commit rather than unrelated fetched refs. Gitleaks remains mandatory, pinned to 8.30.1, and redacts reports. No allowlist or scanner bypass was added. The official binary passed a checksum check and scanned all 693 reachable commits locally; a synthetic committed-then-deleted credential negative control was detected with exit 1. The current head's published secret-scan check passes.