fix: resolve Docker build and Dependency Scanning CI failures#273
Merged
Osuochasam merged 2 commits intoJun 29, 2026
Merged
Conversation
- package.json: bump vitest from ^3.2.6 to ^4.1.9 to match the peer dependency required by @vitest/ui@^4.1.9. The mismatched versions caused npm ci to fail with ERESOLVE inside the Docker build stage, breaking both linux/amd64 and linux/arm64 image builds. - native/soroban-xdr-decode/Cargo.toml: update stellar-xdr from 0.0.18 to 26.0.1. The old constraint no longer resolves on crates.io (available versions start at 26.0.0), which caused cargo generate-lockfile to exit 101 and broke the Dependency Scanning with Trivy job on every PR. - native/: bring in the full native/ directory from upstream (soroban-xdr-decode and soroban-dsl) which was missing from this fork, causing the Cargo.toml fix to have no effect.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Root cause
Two unrelated dependency version mismatches were breaking CI on every PR.
1. Docker Build —
ERESOLVE(linux/amd64 + linux/arm64)Fix:
package.json— bumpvitestfrom^3.2.6→^4.1.9to satisfy the peer dep declared by@vitest/ui@^4.1.9. The two were added independently by different contributors and never aligned.2. Dependency Scanning with Trivy —
cargo generate-lockfileexit 101Fix:
native/soroban-xdr-decode/Cargo.toml— updatestellar-xdrfrom"0.0.18"→"26.0.1". The0.xline was yanked from crates.io; the crate was re-versioned at26.xto match the Stellar protocol number.The
native/directory was also missing from this fork entirely, so it's included here synced from upstream.Verification
Both failures reproduce on
mainand on every open PR — not specific to any feature branch. These fixes are the minimal changes needed; no logic is touched.