Repository navigation
Conversation
… leaks SQUIRREL_CONTENT_STORE_PATH #1322 Signed-off-by: Nik Cubrilovic <[email protected]>
This was referenced Oct 30, 2026
nc9
added a commit
that referenced
this pull request
Oct 30, 2026
…E_PATH (compose note of #1310, as in #1323) Signed-off-by: Nik Cubrilovic <[email protected]>
Contributor
Author
|
Landed in v0.0.143 as nik |
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.
Fixes #1322
createTestStorage()now builds its ownContentStoreon a temp file instead of writingSQUIRREL_CONTENT_STORE_PATHintoprocess.envand leaving it there. The store-scripts e2e also removes the variable from the environment it passes to the spawned CLI, so a stray value cannot move the child's content store.Proof:
bun test tests/crawler/max-depth.test.ts tests/audit/store-scripts-1255.test.tsfailed the store-scripts test on main and passes now (13 pass). The other sixcreateTestStoragefiles (crawl-loop-concurrency, parallel-crawl, per-host-throttle, sitemap-all-filtered, storage-parsed-data, streaming-frontier) and content-store.test.ts pass. apps/cli format, lint, tsgo clean.Note for #1310:
apps/cli/tests/audit/store-scripts-results-1280.test.tsspawns the CLI the same way (...process.env); on merge give it the sameSQUIRREL_CONTENT_STORE_PATH: undefined. Test-only change, no CHANGELOG entry. Skill: no change needed.