Skip to content

build: fix hermetic execution of packages/core/test/... - #62027

Closed
devversion wants to merge 1 commit into
angular:mainfrom
devversion:rjs-9-fix
Closed

devversion wants to merge 1 commit into
angular:mainfrom
devversion:rjs-9-fix

Conversation

@devversion

@devversion devversion commented Jun 12, 2025 •

Copy link
Copy Markdown
Member

Due to a bug that is currently in progress of being resolved in the rules_js toolchain (see:
aspect-build/rules_js#362), we were seeing subtle differences between main and PRs/local builds. Mostly because we recently disabled RBE for pull requests (unfortunate timing), and because RBE is a much stricter sandbox environment compared to the normal linux/darwin sandbox.

This commit fixes the issue by avoiding the interop targets that don't bring in the actual transitive node modules.

Due to a bug that is currently in progress of being resolved in the
`rules_js` toolchain (see:
aspect-build/rules_js#362), we were seeing
subtle differences between `main` and PRs/local builds as RBE is a
strict sandbox environment while the normal linux/darwin sandbox isn't
necessarily.

This commit fixes the issue by avoiding the interop targets that don't
bring in the actual transitive node modules.
@angular-robot angular-robot Bot added the area: build & ci Related the build and CI infrastructure of the project label Jun 12, 2025
@devversion devversion added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release and removed area: build & ci Related the build and CI infrastructure of the project labels Jun 12, 2025
@pkozlowski-opensource pkozlowski-opensource added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jun 12, 2025
@pkozlowski-opensource

Copy link
Copy Markdown
Member

This PR was merged into the repository by commit 61fb6e7.

The changes were merged into the following branches: main, 20.0.x

pkozlowski-opensource pushed a commit that referenced this pull request Jun 12, 2025
Due to a bug that is currently in progress of being resolved in the
`rules_js` toolchain (see:
aspect-build/rules_js#362), we were seeing
subtle differences between `main` and PRs/local builds as RBE is a
strict sandbox environment while the normal linux/darwin sandbox isn't
necessarily.

This commit fixes the issue by avoiding the interop targets that don't
bring in the actual transitive node modules.

PR Close #62027
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Jul 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants