Skip to content

feat: external artifacts builder#13485

Merged
jif-oai merged 5 commits intomainfrom
jif/external-artifacts
Mar 4, 2026
Merged

feat: external artifacts builder#13485
jif-oai merged 5 commits intomainfrom
jif/external-artifacts

Conversation

@jif-oai
Copy link
Collaborator

@jif-oai jif-oai commented Mar 4, 2026

This PR reverts the built-in artifact render while a decision is being reached. No impact expected on any features

@jif-oai
Copy link
Collaborator Author

jif-oai commented Mar 4, 2026

@codex review

Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bcfeb15f7a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +500 to +505
let mut output = File::create(&output_path).map_err(|source| PackageManagerError::Io {
context: format!("failed to create {}", output_path.display()),
source,
})?;
std::io::copy(&mut entry, &mut output).map_err(|source| PackageManagerError::Io {
context: format!("failed to write {}", output_path.display()),
Copy link
Contributor

Choose a reason for hiding this comment

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

P2 Badge Preserve executable mode when extracting ZIP entries

extract_zip_archive writes files with File::create + copy but never reapplies ZIP entry mode bits. Executables in the runtime archive (notably node/bin/node) will be installed as non-executable on Unix, causing later execute_build/execute_render spawns to fail with permission errors. Read entry mode metadata and set file permissions after extraction.

Useful? React with 👍 / 👎.

@jif-oai jif-oai merged commit 2322e49 into main Mar 4, 2026
29 of 31 checks passed
@jif-oai jif-oai deleted the jif/external-artifacts branch March 4, 2026 20:22
@github-actions github-actions bot locked and limited conversation to collaborators Mar 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant