Skip to content

chore: keep the fetch-deps archive out of the checkout - #91

Merged
luisrivas merged 1 commit into
mainfrom
VBLOCKS-7657-fetch-deps-tmpdir
Nov 13, 2026
Merged

luisrivas merged 1 commit into
mainfrom
VBLOCKS-7657-fetch-deps-tmpdir

Conversation

@luisrivas

Copy link
Copy Markdown
Collaborator

npm run fetch-deps downloads the native dependency archive to the OS temp dir instead of the checkout root, and removes it when the run ends. In the docker/run.sh container this keeps the download off the bind-mounted host checkout.

Pull Request Details

Description

  • Downloads go to a temporary directory under the OS temp dir, removed on success and on failure.
  • A local archive (RTC_CPP_ARCHIVE or --twilio-video-pkg) is extracted in place, not copied, and never deleted. An archive inside deps/ is refused, since deps/ is cleared before extraction.
  • tar runs without a shell, so archive paths with shell characters work.

Public API changes

None. scripts/ is not part of the published package.

Burndown

Before review

  • Updated CHANGELOG.md under the unreleased heading if the change is user-visible
  • Added or updated unit tests
  • Updated affected documentation
  • Verified locally with npm run lint and npm test
  • Manually sanity tested against a real Room
  • Ready for review

Downloads go to a temporary directory under the OS temp dir, removed on
success and failure. A local archive is extracted in place and never
deleted; one inside deps/ is refused, since deps/ is cleared first.
@luisrivas luisrivas changed the title Keep the fetch-deps archive out of the checkout chore: keep the fetch-deps archive out of the checkout Nov 13, 2026
@luisrivas
luisrivas merged commit eed202d into main Nov 13, 2026
13 checks passed
@luisrivas
luisrivas deleted the VBLOCKS-7657-fetch-deps-tmpdir branch November 13, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants