Skip to content

Fix manifest path separator in container build - #2688

Open
leighmcculloch wants to merge 9 commits into
mainfrom
fix-container-manifest-path-sep
Open

Fix manifest path separator in container build#2688
leighmcculloch wants to merge 9 commits into
mainfrom
fix-container-manifest-path-sep

Conversation

@leighmcculloch

@leighmcculloch leighmcculloch commented Aug 18, 2026

Copy link
Copy Markdown
Member

What

Build --manifest-path for contract build --container/--image with a forward-slash join instead of Path::display().

Why

rel.display() renders with the host OS separator, so on Windows it emits backslashes even though the path is passed to contract build running inside a Linux container, breaking every Windows CI run (build-and-test-windows (msrv) and (latest)) since #2678 landed.

Known limitations

N/A

Copilot AI balanced review requested due to automatic review settings August 18, 2026 03:24
@github-project-automation github-project-automation Bot moved this to Backlog (Not Ready) in DevX Aug 18, 2026

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.

Pull request overview

Fixes Windows container builds by forwarding manifest paths with Linux-compatible separators.

Changes:

  • Converts manifest path components to a forward-slash-delimited path.
  • Preserves workspace-relative manifest paths inside /source.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@socket-security

socket-security Bot commented Aug 18, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedcargo/​path-slash@​0.2.110010093100100

View full report

@leighmcculloch
leighmcculloch requested a review from a team August 18, 2026 20:22
@leighmcculloch
leighmcculloch enabled auto-merge (squash) August 18, 2026 20:22
Comment thread .github/workflows/rust.yml Outdated
Comment thread cmd/crates/soroban-test/tests/it/build.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog (Not Ready)

Development

Successfully merging this pull request may close these issues.

3 participants