Skip to content

fix: align pinned global npm installs with scanning policy - #75975

Merged
pelikhan merged 3 commits into
mainfrom
pelikhan/pinned-npm-scanning
Nov 8, 2026
Merged

pelikhan merged 3 commits into
mainfrom
pelikhan/pinned-npm-scanning

Conversation

@pelikhan

@pelikhan pelikhan commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator

The npm code-scanning rule explicitly permits exact-version global installs, but its exception does not recognize the required --ignore-scripts flag. This causes six false-positive findings in the Atomic, Factory, and Codex conformance/smoke workflows.

The shared npm installer now emits npm install -g package@version with step-level NPM_CONFIG_IGNORE_SCRIPTS: 'true'. Exact version pins, release-age cooldowns, expression indirection, and explicit script opt-in behavior are preserved. Local and microVM installs retain their existing flags. This uses the rule's documented exception without suppressing findings or claiming that top-level pins lock the transitive dependency graph.

Updated regression tests and documentation, and regenerated 122 compiler-owned workflow lock files. The generated changes are limited to npm command and script-protection environment lines.

Validation

  • Actual Opengrep 1.29.0 with upstream rule revision 0b8172b64187c2ae8a63e2142c7b06777bb8f511: six findings before, zero after across the five affected workflows, with no scanner errors.
  • Negative fixtures still report unversioned, tagged, and ranged global installs, plus local installs.
  • Real npm registry tests cover 18 local/global/microVM cases: preinstall/install/postinstall suppression, explicit opt-in, and cooldown enforcement.
  • make recompile: 365/365 workflows compiled successfully.
  • make agent-report-progress: formatting, lint, impacted tests, and full workflow drift checks passed.

Hosted code-scanning verification remains pending. No alerts were dismissed or closed manually.

Fixes: #75970

Use step-level NPM_CONFIG_IGNORE_SCRIPTS for shared global installs so exact version pins match the scanner's approved exception. Preserve local flags and release cooldown, test lifecycle behavior, and regenerate compiler-owned workflows.

Co-authored-by: Copilot App <[email protected]>
@pelikhan
pelikhan marked this pull request as ready for review November 8, 2026 21:15
Copilot AI adaptive review requested due to automatic review settings November 8, 2026 21:15
@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Ponytail Reviewer · routed: gpt61 medium · ~5 AIC · ⌖ ~1 AIC · ◇ ~1 AIC · ⊞ 181 · ◷

Generated by Ponytail Reviewer for #75975

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Specification Reviewer completed successfully!

PR Specification Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from PR Specification Reviewer · gpt56 · ~3 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 1.7K · ◷

Generated by PR Specification Reviewer for #75975

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft.

Design Decision Gate 🏗️

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Design Decision Gate 🏗️ · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 8.6K · ◷

🏗️ ADR gate enforced by Design Decision Gate 🏗️

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Test Quality Sentinel · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 7.2K · ◷

🧪 Test quality analysis by Test Quality Sentinel

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

🔎 Code quality review by PR Code Quality Reviewer

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the changed npm installation logic and regression coverage. I found no actionable correctness or maintainability issues in the changed lines. The global-install lifecycle protection is preserved via step-level NPM_CONFIG_IGNORE_SCRIPTS, while local and microVM paths retain their existing behavior. No inline comments.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~2 AIC · ⌖ ~1 AIC · ⊞ 1.6K
Comment /review to run again

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skills-Based Review 🧠

Applied /diagnosing-bugs and /tdd. The core change is sound: global installs keep the pinned npm install -g pkg@version form and move script protection to step-level NPM_CONFIG_IGNORE_SCRIPTS: 'true'. Requesting changes because one test fails on this head.

📋 Key Themes & Highlights

Blocking

  • TestWasmGolden_AllEngines fails (codex, gemini, pi). The committed .golden fixtures still expect npm install --ignore-scripts -g. Run make update-wasm-golden and commit the result.

Non-blocking

  • LSP global installs still use the flag (lsp_manager.go:139), so the repo has two conventions for one policy.
  • Stale docs/comments still describe --ignore-scripts as universal: .github/aw/syntax-agentic.md:223, pkg/workflow/run_install_scripts_validation.go:5,16, pkg/workflow/workflow_data.go:218, and pkg/workflow/README.md:1489.
  • Unprotected global installs outside the shared installer: Crush, OpenCode, and DeepSeek lock files were already unprotected at base, so this is pre-existing. Hippo-memory and @xenova/transformers are user run: lines, not generator output. Claude Code and Playwright opt in via RunInstallScripts: true. Worth an explicit decision.

Positive Highlights

  • ✅ The cooldown test now runs real lifecycle-script markers against a local registry for host, global, and microVM modes, which is a strong regression guard.
  • ✅ NPM_CONFIG_IGNORE_SCRIPTS is gated on IsGlobal && !RunInstallScripts, so the opt-in and local paths are unchanged.

@copilot please address the review comments above.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~14 AIC · ⌖ ~2 AIC · ⊞ 6.3K
Comment /matt to run again

Comment thread pkg/workflow/wasm_golden_test.go Resolved
Comment thread pkg/workflow/nodejs.go Resolved

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Stale WASM golden snapshots and unhandled npm 12 lifecycle-script approval requirements cause the affected golden and opt-in tests to fail.

2 open issues
What changed in this PR

This PR updates gh-aw’s shared npm installer to match the scanner’s pinned-global-install exception, targeting the alert cluster in #75970 while preserving lifecycle-script protection.

Changes:

  • Moves global-install script protection to step-level NPM_CONFIG_IGNORE_SCRIPTS; retains local and microVM flags.
  • Expands lifecycle-script and cooldown tests, and updates engine assertions and documentation.
  • Regenerates 122 workflow lock files with the new command and environment format.
File Description
pkg/​workflow/​wasm_golden_test.go Updates normalization inputs for global commands.
pkg/​workflow/​run_install_scripts_validation_test.go Tests global script protection and opt-in behavior.
pkg/​workflow/​pi_engine_test.go Updates Pi installation expectations.
pkg/​workflow/​nodejs.go Emits environment-based protection for global installs.
pkg/​workflow/​nodejs_cooldown_test.go Adds lifecycle checks across three installation modes.
pkg/​workflow/​gemini_engine_test.go Updates Gemini installation expectations.
pkg/​workflow/​factory_workflow_test.go Updates Factory installation and smoke assertions.
pkg/​workflow/​engine_durable_test.go Updates durable-engine protection expectations.
pkg/​workflow/​codex_engine_test.go Checks Codex’s new command and environment.
pkg/​workflow/​atomic_workflow_test.go Updates Atomic installation and smoke assertions.
docs/​src/​content/​docs/​reference/​frontmatter.md Documents environment-based global script protection.
.github/​workflows/​workflow-normalizer.lock.yml Updates protected Codex installs.
.github/​workflows/​windows.lock.yml Updates the protected Codex install.
.github/​workflows/​windows-grower.lock.yml Updates protected Codex installs.
.github/​workflows/​weekly-safe-outputs-spec-review.lock.yml Updates the protected Pi install.
.github/​workflows/​weekly-network-domains-audit.lock.yml Updates the protected Pi install.
.github/​workflows/​weekly-issue-summary.lock.yml Updates the protected Pi install.
.github/​workflows/​video-analyzer.lock.yml Updates the protected Pi install.
.github/​workflows/​update-astro.lock.yml Updates the protected Codex install.
.github/​workflows/​unbloat-docs.lock.yml Updates the protected Pi install.
.github/​workflows/​terminal-stylist.lock.yml Updates the protected Pi install.
.github/​workflows/​super-linter.lock.yml Updates the protected Pi install.
.github/​workflows/​sub-issue-closer.lock.yml Updates the protected Pi install.
.github/​workflows/​stale-repo-identifier.lock.yml Updates the protected Pi install.
.github/​workflows/​spec-enforcer.lock.yml Updates protected Codex installs.
.github/​workflows/​smoke-test-tools.lock.yml Updates the protected Pi install.
.github/​workflows/​smoke-temporary-id.lock.yml Updates the protected Pi install.
.github/​workflows/​smoke-service-ports.lock.yml Updates the protected Pi install.
.github/​workflows/​smoke-pi.lock.yml Updates the protected Pi install.
.github/​workflows/​smoke-pi-sub-agents.lock.yml Updates the protected Pi install.
.github/​workflows/​smoke-pi-routed.lock.yml Updates the protected Pi install.
.github/​workflows/​smoke-pi-routed-claude.lock.yml Updates the protected Pi install.
.github/​workflows/​smoke-pi-auto.lock.yml Updates the protected Pi install.
.github/​workflows/​smoke-otel-backends.lock.yml Updates the protected Codex install.
.github/​workflows/​smoke-github-codex.lock.yml Updates the protected Codex install.
.github/​workflows/​smoke-gemini.lock.yml Updates the protected Gemini install.
.github/​workflows/​smoke-factory.lock.yml Updates the protected Factory install.
.github/​workflows/​smoke-drive.lock.yml Updates protected Codex installs.
.github/​workflows/​smoke-codex.lock.yml Updates protected Codex installs.
.github/​workflows/​smoke-codex-routed.lock.yml Updates the protected Codex install.
.github/​workflows/​smoke-codex-routed-openai.lock.yml Updates protected Codex installs.
.github/​workflows/​smoke-codex-bare-auto.lock.yml Updates the protected Codex install.
.github/​workflows/​smoke-codex-auto.lock.yml Updates the protected Codex install.
.github/​workflows/​smoke-ci.lock.yml Updates the protected Codex install.
.github/​workflows/​smoke-call-workflow.lock.yml Updates protected Codex installs.
.github/​workflows/​smoke-azure-pi.lock.yml Updates the protected Pi install.
.github/​workflows/​smoke-azure-codex.lock.yml Updates the protected Codex install.
.github/​workflows/​smoke-atomic.lock.yml Updates the protected Atomic install.
.github/​workflows/​skillet.lock.yml Updates protected Codex installs.
.github/​workflows/​sighthound-security-scan.lock.yml Updates the protected Codex install.
.github/​workflows/​security-review.lock.yml Updates protected Codex installs.
.github/​workflows/​schema-feature-coverage.lock.yml Updates the protected Codex install.
.github/​workflows/​schema-consistency-checker.lock.yml Updates the protected Codex install.
.github/​workflows/​research.lock.yml Updates the protected Pi install.
.github/​workflows/​repo-tree-map.lock.yml Updates the protected Pi install.
.github/​workflows/​repo-audit-analyzer.lock.yml Updates the protected Codex install.
.github/​workflows/​refactoring-cadence.lock.yml Updates the protected Pi install.
.github/​workflows/​python-data-charts.lock.yml Updates protected Codex installs.
.github/​workflows/​purelock.lock.yml Updates the protected Codex install.
.github/​workflows/​pr-sous-chef.lock.yml Updates the protected Pi install.
.github/​workflows/​ponytail-reviewer.lock.yml Updates the protected Codex install.
.github/​workflows/​poem-bot.lock.yml Updates the protected Codex install.
.github/​workflows/​pdf-summary.lock.yml Updates protected Codex installs.
.github/​workflows/​notion-issue-summary.lock.yml Updates the protected Codex install.
.github/​workflows/​necromancer.lock.yml Updates the protected Pi install.
.github/​workflows/​metrics-collector.lock.yml Updates the protected Codex install.
.github/​workflows/​lint-monster.lock.yml Updates protected Codex installs.
.github/​workflows/​issue-triage-agent.lock.yml Updates the protected Codex install.
.github/​workflows/​issue-monster.lock.yml Updates the protected Pi install.
.github/​workflows/​issue-arborist.lock.yml Updates protected Codex installs.
.github/​workflows/​hippo-embed.lock.yml Updates the protected Pi install.
.github/​workflows/​grumpy-reviewer.lock.yml Updates the protected Codex install.
.github/​workflows/​gpclean.lock.yml Updates protected Codex installs.
.github/​workflows/​github-remote-mcp-auth-test.lock.yml Updates the protected Codex install.
.github/​workflows/​functional-pragmatist.lock.yml Updates protected Codex installs.
.github/​workflows/​front-page-copy-guard.lock.yml Updates the protected Codex install.
.github/​workflows/​feature-grower.lock.yml Updates protected Codex installs.
.github/​workflows/​example-permissions-warning.lock.yml Updates the protected Codex install.
.github/​workflows/​example-failure-category-filter.lock.yml Updates protected Codex installs.
.github/​workflows/​eslint-monster.lock.yml Updates the protected Codex install.
.github/​workflows/​engine-conformance-pi.lock.yml Updates the protected Pi install.
.github/​workflows/​engine-conformance-gemini.lock.yml Updates the protected Gemini install.
.github/​workflows/​engine-conformance-factory.lock.yml Updates the protected Factory install.
.github/​workflows/​engine-conformance-codex.lock.yml Updates the protected Codex install.
.github/​workflows/​engine-conformance-atomic.lock.yml Updates the protected Atomic install.
.github/​workflows/​duplicate-code-detector.lock.yml Updates the protected Pi install.
.github/​workflows/​dev.lock.yml Updates the protected Pi install.
.github/​workflows/​designer-drift-audit.lock.yml Updates the protected Codex install.
.github/​workflows/​design-decision-gate.lock.yml Updates the protected Pi install.
.github/​workflows/​dependabot-go-checker.lock.yml Updates the protected Codex install.
.github/​workflows/​daily-windows-terminal-integration-builder.lock.yml Updates protected Codex installs.
.github/​workflows/​daily-windows-defender-scan.lock.yml Updates the protected Codex install.
.github/​workflows/​daily-storify.lock.yml Updates protected Codex installs.
.github/​workflows/​daily-spending-forecast.lock.yml Updates the protected Codex install.
.github/​workflows/​daily-semgrep-scan.lock.yml Updates protected Codex installs.
.github/​workflows/​daily-repo-chronicle.lock.yml Updates the protected Pi install.
.github/​workflows/​daily-regulatory.lock.yml Updates the protected Codex install.
.github/​workflows/​daily-performance-summary.lock.yml Updates the protected Pi install.
.github/​workflows/​daily-observability-report.lock.yml Updates protected Codex installs.
.github/​workflows/​daily-news.lock.yml Updates the protected Pi install.
.github/​workflows/​daily-multi-device-docs-tester.lock.yml Updates the protected Pi install.
.github/​workflows/​daily-max-ai-credits-test.lock.yml Updates protected Codex installs.
.github/​workflows/​daily-hippo-learn.lock.yml Updates the protected Pi install.
.github/​workflows/​daily-go-test-parallelizer.lock.yml Updates the protected Codex install.
.github/​workflows/​daily-function-namer.lock.yml Updates the protected Pi install.
.github/​workflows/​daily-fact.lock.yml Updates protected Codex installs.
.github/​workflows/​daily-evals-report.lock.yml Updates the protected Codex install.
.github/​workflows/​daily-documentation-diagram.lock.yml Updates the protected Codex install.
.github/​workflows/​daily-doc-updater.lock.yml Updates the protected Codex install.
.github/​workflows/​daily-credit-limit-test.lock.yml Updates the protected Pi install.
.github/​workflows/​daily-cli-tools-tester.lock.yml Updates the protected Codex install.
.github/​workflows/​daily-cli-performance.lock.yml Updates the protected Codex install.
.github/​workflows/​daily-cache-strategy-analyzer.lock.yml Updates protected Codex installs.
.github/​workflows/​daily-awf-spec-compiler-surfacing.lock.yml Updates the protected Codex install.
.github/​workflows/​daily-arxiv-researcher.lock.yml Updates protected Codex installs.
.github/​workflows/​daily-architecture-diagram.lock.yml Updates protected Codex installs.
.github/​workflows/​copilot-centralization-optimizer.lock.yml Updates the protected Codex install.
.github/​workflows/​copilot-centralization-drilldown.lock.yml Updates protected Codex installs.
.github/​workflows/​commit-changes-analyzer.lock.yml Updates the protected Codex install.
.github/​workflows/​codex-github-remote-mcp-test.lock.yml Updates the protected Codex install.
.github/​workflows/​cloclo.lock.yml Updates the protected Codex install.
.github/​workflows/​cli-version-checker.lock.yml Updates the protected Pi install.
.github/​workflows/​chaos-pr-bundle-fuzzer.lock.yml Updates the protected Codex install.
.github/​workflows/​changeset.lock.yml Updates the protected Codex install.
.github/​workflows/​bot-detection.lock.yml Updates the protected Codex install.
.github/​workflows/​auto-triage-issues.lock.yml Updates the protected Codex install.
.github/​workflows/​audit-workflows.lock.yml Updates the protected Codex install.
.github/​workflows/​artifacts-summary.lock.yml Updates protected Codex installs.
.github/​workflows/​api-consumption-report.lock.yml Updates the protected Codex install.
.github/​workflows/​ai-moderator.lock.yml Updates the protected Pi install.
.github/​workflows/​agentic-token-trend-audit.lock.yml Updates the protected Codex install.
.github/​workflows/​ace-editor.lock.yml Updates the protected Codex install.
.github/​workflows/​ab-testing-advisor.lock.yml Updates protected Codex installs.

Review effort: Max (auto)

Comment thread pkg/workflow/nodejs.go Resolved
Comment thread pkg/workflow/nodejs_cooldown_test.go Resolved
@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot

Copilot assignment requested for the following outstanding work:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes.
  2. Review (pkg/workflow/wasm_golden_test.go:127): [/diagnosing-bugs] TestWasmGolden_AllEngines fails on this head for codex, gemini and pi. The code now emits npm install -g @openai/codex@<version>, but the committed golden fixtures still expect the old --ignore-scripts form (codex.golden:661, gemini.golden:655, pi.golden:665). The fixtures are stale and need regenerating. - fix: align pinned global npm installs with scanning policy #75975 (comment)
  3. Review (pkg/workflow/nodejs.go:433): [/codebase-design] Global installs drop the flag here, but the LSP path still adds it: pkg/workflow/lsp_manager.go:139 emits npm install -g --ignore-scripts for the same kind of global install. Three lock files (eslint-miner, jsweep, smoke-copilot) carry that form, so the repo now has two ways to express one policy. - fix: align pinned global npm installs with scanning policy #75975 (comment)
  4. Fix failing check build-wasm (FAILURE): https://github.com/github/gh-aw/actions/runs/42524257540/job/128864314628.
  5. Fix failing check build-wasm (FAILURE): https://github.com/github/gh-aw/actions/runs/42524084005/job/128863756854.

Once you start work, post this work summary as a PR comment without the leading Copilot mention, including the Sous-chef head, work, and state lines below, to record that the assignment is running. Apply the necessary fixes on this PR's existing branch, reply to each listed review thread and resolve it when addressed. Ignore feedback already answered or resolved; stop when only human review or CI remains. Do not merge or trigger CI.

Sous-chef requested-head: 5329f99
Sous-chef requested-work: 5d5ed7958e2851b7aaa3aefc2b05613bc70f88390b0230b90460c30b55527122 8acb61a077717e3a460018aacdfde96fd489f77606cd36169e2328d9079b75bb a9cfc6bd5d00bfe7575fecfc582b6597317f23bc53cd76f5d1c451e0822f0998
Sous-chef requested-state: 5a5a094ec503446fc3e17df2583bdf4c442f33dd280f9f9dc6f265c0ea2eb353

Generated by 👨🍳 PR Sous Chef · pi · haiku45 · ~6 AIC · ⌖ ~15 AIC · ⊞ 1.2K · ◷
Comment /souschef to run again

Refresh all-engine WASM goldens, align LSP global lifecycle protection, update policy descriptions, and approve the isolated lifecycle fixture when npm supports allow-scripts.

Co-authored-by: Copilot App <[email protected]>
@pelikhan

pelikhan commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator Author

In response to Ponytail Reviewer: no code change is needed for this status notification because it contains no actionable finding. Its reported no-op is not being treated as evidence of validation.

@pelikhan

pelikhan commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator Author

In response to PR Specification Reviewer: no code change is needed because this notification contains no specification finding or requested correction. The reported no-op does not replace local validation or hosted scanning verification.

@pelikhan

pelikhan commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator Author

In response to Design Decision Gate: no additional design change or ADR is needed because this notification reports no actionable decision or draft. The fix retains the existing installation policy rather than introducing a new one.

@pelikhan

pelikhan commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator Author

In response to Matt Pocock Skills Reviewer and its associated review: accepted the stale golden, LSP consistency, and documentation findings and applied those fixes. The pre-existing unprotected installers and user-authored commands remain outside this PR's pinned-global cluster scope; intentional script opt-ins remain unchanged.

@pelikhan

pelikhan commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator Author

In response to Test Quality Sentinel: no separate code change is needed because this status notification contains no test-quality finding. The concrete golden-fixture and npm compatibility findings are handled in their respective review threads.

@pelikhan

pelikhan commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator Author

In response to PR Code Quality Reviewer: no change is needed for this notification or the associated review, which reports no actionable issue. The other reviewers' concrete corrections are handled independently.

Copilot AI commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

@copilot

Copilot assignment requested for the following outstanding work:...

Work started: update the branch from main, verify the already-addressed WASM golden and LSP feedback, and investigate both build-wasm failures. The review threads were already answered and resolved on the newer PR head.

Sous-chef requested-head: 5329f99
Sous-chef requested-work: 5d5ed7958e2851b7aaa3aefc2b05613bc70f88390b0230b90460c30b55527122 8acb61a077717e3a460018aacdfde96fd489f77606cd36169e2328d9079b75bb a9cfc6bd5d00bfe7575fecfc582b6597317f23bc53cd76f5d1c451e0822f0998
Sous-chef requested-state: 5a5a094ec503446fc3e17df2583bdf4c442f33dd280f9f9dc6f265c0ea2eb353

@pelikhan

pelikhan commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator Author

Copilot assignment requested for the following outstanding work:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes.
  2. Review (pkg/workflow/wasm_golden_test.go:127): [/diagnosing-bugs] TestWasmGolden_AllEngines fails on this head for codex, gemini and pi. The code now emits npm install -g @openai/codex@<version>, but the committed golden fixtures still expect the old --ignore-scripts form (codex.golden:661, gemini.golden:655, pi.golden:665). The fixtures are stale and need regenerating. - fix: align pinned global npm installs with scanning policy #75975 (comment)
  3. Review (pkg/workflow/nodejs.go:433): [/codebase-design] Global installs drop the flag here, but the LSP path still adds it: pkg/workflow/lsp_manager.go:139 emits npm install -g --ignore-scripts for the same kind of global install. Three lock files (eslint-miner, jsweep, smoke-copilot) carry that form, so the repo now has two ways to express one policy. - fix: align pinned global npm installs with scanning policy #75975 (comment)
  4. Fix failing check build-wasm (FAILURE): https://github.com/github/gh-aw/actions/runs/42524257540/job/128864314628.
  5. Fix failing check build-wasm (FAILURE): https://github.com/github/gh-aw/actions/runs/42524084005/job/128863756854.

Once you start work, post this work summary as a PR comment without the leading Copilot mention, including the Sous-chef head, work, and state lines below, to record that the assignment is running. Apply the necessary fixes on this PR's existing branch, reply to each listed review thread and resolve it when addressed. Ignore feedback already answered or resolved; stop when only human review or CI remains. Do not merge or trigger CI.

Sous-chef requested-head: 5329f99
Sous-chef requested-work: 5d5ed7958e2851b7aaa3aefc2b05613bc70f88390b0230b90460c30b55527122 8acb61a077717e3a460018aacdfde96fd489f77606cd36169e2328d9079b75bb a9cfc6bd5d00bfe7575fecfc582b6597317f23bc53cd76f5d1c451e0822f0998
Sous-chef requested-state: 5a5a094ec503446fc3e17df2583bdf4c442f33dd280f9f9dc6f265c0ea2eb353

Generated by 👨🍳 PR Sous Chef · pi · haiku45 · ~6 AIC · ⌖ ~15 AIC · ⊞ 1.2K · ◷
Comment /souschef to run again

Preserve the validated pinned-global npm changes while integrating main. Update the remaining Copilot LSP test to require the pinned command with step-level script suppression and cooldown.

Co-authored-by: Copilot App <[email protected]>
@pelikhan

pelikhan commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator Author

In response to the assignment: integrated the fetched main revision 8a8a70e224ec without conflicts, preserving the existing fixes, and corrected the remaining Copilot LSP assertion identified by the newer impacted-test failure. The original review threads were already answered and resolved, and the cited WASM failures were fixed by the refreshed goldens; focused tests and validation pass, with hosted checks pending on the updated head.

Copilot AI requested a review from gh-aw-bot November 8, 2026 22:18
@pelikhan
pelikhan merged commit f295acd into main Nov 8, 2026
49 checks passed
@pelikhan
pelikhan deleted the pelikhan/pinned-npm-scanning branch November 8, 2026 22:18
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.2.2

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.

[code-scanning cluster] Align pinned global npm CLI installs with scanning policy

4 participants