Skip to content

fix: add messages_header.cjs to SAFE_OUTPUTS_FILES in setup.sh#29662

Merged
pelikhan merged 2 commits intomainfrom
copilot/fix-js-tests-failing-job
May 2, 2026
Merged

fix: add messages_header.cjs to SAFE_OUTPUTS_FILES in setup.sh#29662
pelikhan merged 2 commits intomainfrom
copilot/fix-js-tests-failing-job

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 2, 2026

messages.cjs has a require('./messages_header.cjs') dependency, but messages_header.cjs was never added to the SAFE_OUTPUTS_FILES deployment list in setup.sh. This caused the setup_sh_file_lists.test.cjs transitive-dependency coverage check to fail.

Changes

  • actions/setup/setup.sh: Added "messages_header.cjs" to SAFE_OUTPUTS_FILES, alongside the other messages_*.cjs entries.

Copilot AI changed the title [WIP] Fix failing GitHub Actions job JS Tests (shard 4/4) fix: add messages_header.cjs to SAFE_OUTPUTS_FILES in setup.sh May 2, 2026
Copilot AI requested a review from pelikhan May 2, 2026 01:32
@pelikhan pelikhan marked this pull request as ready for review May 2, 2026 01:44
Copilot AI review requested due to automatic review settings May 2, 2026 01:44
@pelikhan pelikhan merged commit 7b9ac3d into main May 2, 2026
4 checks passed
@pelikhan pelikhan deleted the copilot/fix-js-tests-failing-job branch May 2, 2026 01:44
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes safe-outputs deployment by ensuring messages_header.cjs is included in SAFE_OUTPUTS_FILES, matching the transitive require("./messages_header.cjs") dependency chain (notably via messages.cjs) and unblocking the setup_sh_file_lists.test.cjs coverage check.

Changes:

  • Add messages_header.cjs to the SAFE_OUTPUTS_FILES array in actions/setup/setup.sh.
Show a summary per file
File Description
actions/setup/setup.sh Ensures messages_header.cjs is copied into the safe-outputs deployment set so runtime and dependency-coverage checks include it.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

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.

3 participants