fix(ci): make direct tests portable for non-root runners - #7
Merged
Conversation
artem-korolev
marked this pull request as ready for review
August 6, 2026 10:53
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.
Summary
OCI_V081_MATRIX_TEMP_ROOT, thenTMPDIR, then/tmp)mainCI that runs direct non-rootnpm testand rejects generated/tracked-file driftRoot cause and impact
The production matrix runner initialized the private temp-root variable, but one direct test sourced the helper library without the runner. Under root this accidentally created root-level
/rush-delivery-v081-*scratch files; under an ordinary user it failed. The defect was isolated to the repository test harness and does not change Rush Delivery consumer configuration or runtime behavior.Clean-checkout tooling decision
The first GitHub run confirmed direct non-root
npm testpassed, then showed that standalone rootyarn typecheckis not a valid clean-checkout command: the generatedsdkdirectory is intentionally ignored. The workflow therefore does not invent a second SDK bootstrap. The clean Dagger self-check remains the authoritative type-check path because it injects the current generated SDK before runningyarn typecheck.Validation
OCI_V081_MATRIX_TEMP_ROOTandTMPDIRinitially absent: 448/448 passedyarn install --frozen-lockfileyarn typecheckgit diff --checknpm run self-check:clean: 448/448 passed on the corrected implementation HEADRelease compatibility
This is release-neutral QA hardening. It does not modify versions, schemas, provenance, site-version data, release artifacts, consumer
.daggerconfiguration, or the immutablev0.9.1tag.