-
Notifications
You must be signed in to change notification settings - Fork 3k
fix(cli): extend the #8663 loader denylist and harden its scrub lifecycle #8763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
92c525f
fix(cli): extend the #8663 loader denylist and harden its scrub lifec…
wenshao eaac7ba
Merge branch 'main' into fix/8663-loader-denylist-followup
qwen-code-dev-bot abee0fc
Merge branch 'main' into fix/8663-loader-denylist-followup
qwen-code-dev-bot e34df6d
fix(cli): keep the loader-scrub process.env access in the serve guard…
wenshao 46e2690
fix(cli): block GIT_SSH and GIT_CONFIG_PARAMETERS in the project-env …
qwen-code-dev-bot ade3833
fix(cli): extend the project-env denylist across git exec, TLS, and r…
qwen-code-dev-bot b77fc00
Merge remote-tracking branch 'origin/main' into fix/8663-loader-denyl…
qwen-code-dev-bot eca8ad2
fix(cli): harden the project-env denylist and nested scrub snapshot (…
qwen-code-dev-bot 3b70728
Merge branch 'main' into fix/8663-loader-denylist-followup
qwen-code-dev-bot 146c448
fix(cli): merge the loader-env scrub snapshot into one pass (#8763)
qwen-code-dev-bot 28352d5
fix(cli): block the round-4 exec-redirect env keys from project files…
qwen-code-dev-bot 02fcc3b
Merge branch 'main' into fix/8663-loader-denylist-followup
qwen-code-dev-bot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Suggestion] Test-efficacy probe (harness validated): all 78 tests in this file still pass with the PR's source change reverted — this suite does not gate the PR's behavior. The added breadcrumb assertion pins the
scrubbed inherited loader env varsdiagnostic that already existed at the merge base (viascrubAndReportInheritedLoaderEnvfrom PR 8663). — Failure scenario: a regression that breaks this PR's specific behavior (the extended denylist, or the refcounted scrub as exercised by channel workers) leaves this suite green, so the suite that appears to cover the scrub would not catch it. Suggested fix: add a daemon-worker case exercising a key this PR adds to the denylist (e.g.OPENSSL_CONFornpm_config_node_gyp) so the suite fails when the PR's behavior is reverted.中文说明
测试有效性探针(harness 已验证):回退本 PR 的源码改动后,该文件全部 78 个测试仍然通过——此套件并未钉住本 PR 的行为。新增的 breadcrumb 断言钉住的诊断(
scrubbed inherited loader env vars)在 merge base 上就已存在(来自 PR 8663 的scrubAndReportInheritedLoaderEnv)。失败场景:破坏本 PR 特有行为(扩展的拒绝列表,或 channel worker 所执行的引用计数剥离)的回归会让该套件保持绿色,因此这个看似覆盖剥离逻辑的套件不会捕获它。建议修复:增加一个 daemon-worker 用例,使用本 PR 新增的拒绝列表键(如OPENSSL_CONF或npm_config_node_gyp),使回退本 PR 行为时套件失败。— qwen3.8-max via Qwen Code /review (v0.21.8)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deferred to a follow-up. Valid probe: the suite stays green with the PR's source change reverted, so it does not gate this PR's behavior. Adding a daemon-worker case exercising a key this PR adds to the denylist (e.g.
OPENSSL_CONFornpm_config_node_gyp) is planned for the follow-up round.中文说明
延迟到下一轮。探针有效:回退本 PR 的源码改动后该套件仍为绿色,因此它并未钉住本 PR 的行为。计划在下一轮增加一个使用本 PR 新增拒绝键(如
OPENSSL_CONF或npm_config_node_gyp)的 daemon-worker 用例。