Image build: put the vendored crate where cargo chef cooks; release 2026.9.24.3 #30

Merged
jcoffey-dev merged 2 commits from fix/image-vendor-before-cook into main 2026-09-23 06:10:47 +00:00
Owner

Summary

2026.9.24.2's publish failed on failed to read /build/vendor/sieve-rs/Cargo.toml in cargo chef cook: #27 put vendor/ in the build context, but the builder stage cooks the dependencies before it copies the tree in. It now copies vendor/ before the cook. context-check.py also checks that each patched path reaches the cook stage, and fails on the old Dockerfile.

The second commit bumps to 2026.9.24.3, since the 2026.9.24.2 tag never published.

Upstream files

Dockerfile: one COPY line, marked inbuxa:.

Clean room

Not applicable.

Testing

A local docker buildx build --target builder got past the cook step into compiling dependencies (755 crates, stopped on purpose). context-check.py passes with the fix and fails without it.

## Summary 2026.9.24.2's publish failed on `failed to read /build/vendor/sieve-rs/Cargo.toml` in `cargo chef cook`: #27 put vendor/ in the build context, but the builder stage cooks the dependencies before it copies the tree in. It now copies vendor/ before the cook. context-check.py also checks that each patched path reaches the cook stage, and fails on the old Dockerfile. The second commit bumps to 2026.9.24.3, since the 2026.9.24.2 tag never published. ## Upstream files Dockerfile: one COPY line, marked `inbuxa:`. ## Clean room Not applicable. ## Testing A local `docker buildx build --target builder` got past the cook step into compiling dependencies (755 crates, stopped on purpose). context-check.py passes with the fix and fails without it.
jcoffey-dev added 2 commits 2026-09-23 06:05:32 +00:00
#27 let the build context see vendor/, but the Dockerfile cooks the
dependencies before it copies the tree, from a recipe that carries only the
workspace's manifests. [patch.crates-io] points sieve-rs at vendor/, so the
cook failed the same way: failed to read /build/vendor/sieve-rs/Cargo.toml.
That's why 2026.9.24.2's publish failed. The builder stage now copies
vendor/ before cooking; a local build got past it into compiling the
dependencies.

context-check.py now also checks that each patched path is copied into the
cooking stage before the cook, and fails on the Dockerfile as it was.
Release 2026.9.24.3
ci / fork-checks (pull_request) Successful in 45s
ci / build (pull_request) Successful in 4m26s
e223f7d327
2026.9.24.3 is 2026.9.24.2 plus the image build fix; 2026.9.24.2's tag never
published an image. Everything in 2026.9.24.2's notes applies.
jcoffey-dev merged commit 7735780807 into main 2026-09-23 06:10:47 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: inbuxa/inbuxa-server#30