Skip to content

fix(docker): drop ghost crate references from dependency-cache layer - #324

Merged
ajianaz merged 1 commit into
developfrom
fix/dockerfile-ghost-crates
Sep 3, 2026
Merged

fix(docker): drop ghost crate references from dependency-cache layer#324
ajianaz merged 1 commit into
developfrom
fix/dockerfile-ghost-crates

Conversation

@ajianaz

@ajianaz ajianaz commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

What

Removes crates/trapfall-search, crates/trapfall-alert, and crates/trapfall-dashboard from the Dockerfile's manifest-only COPY layer and the matching dummy-src mkdir block — the crate set now matches the six workspace members.

Why

The ghost crates were deleted in the 9-to-6 consolidation (#305), but the Dockerfile kept referencing their Cargo.toml paths. buildx fails at the COPY cache key ("/crates/trapfall-alert/Cargo.toml: not found") before compiling anything, so every tag-based image build has been broken since that consolidation — first observed releasing v0.3.0 (run 33735634590).

Testing

  • The failure was deterministic on nonexistent COPY paths; all remaining COPY paths verified to exist
  • Full validation happens in the re-run release workflow (multi-arch Docker build + manifest push)

The dependency-warming stage still COPY-ed Cargo.toml files for
trapfall-search, trapfall-alert, and trapfall-dashboard — crates
removed in the 9-to-6 consolidation (#305). buildx failed at the COPY
cache key ('not found') before compiling anything, so every tag-based
image build has been broken since that consolidation.
@ajianaz
ajianaz merged commit e1e6b2d into develop Sep 3, 2026
17 checks passed
@ajianaz
ajianaz deleted the fix/dockerfile-ghost-crates branch September 3, 2026 09:04
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.

1 participant