Skip to content

Commit 8f5333b

Browse files
easelclaude
andcommitted
fix(ci): drop unused base64 dep + ensure Cargo.lock for e2e docker build
cargo machete flags base64 in axon-api as unused (only referenced in a comment after the mutation-intent token signing landed); drop the dep. Cargo.lock is .gitignored, so freshly-checked-out CI runners on cold caches lack a lockfile when the e2e Docker build's COPY Cargo.lock step runs. Generate one inside the e2e-postgres job when it is missing, after Swatinem/rust-cache restore, so the docker build can hash the workspace. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent cedf1e4 commit 8f5333b

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,5 +126,10 @@ jobs:
126126
- uses: oven-sh/setup-bun@v2
127127
- name: Install protoc
128128
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
129+
# Cargo.lock is gitignored; the e2e Docker build COPYs it for layer
130+
# caching, so generate one before docker build when the rust-cache
131+
# restore did not provide it.
132+
- name: Ensure Cargo.lock exists
133+
run: test -f Cargo.lock || cargo generate-lockfile
129134
- run: cd ui && bun install
130135
- run: cd ui && bun run test:e2e:postgres

crates/axon-api/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ axon-schema = { path = "../axon-schema" }
1919
axon-audit = { path = "../axon-audit" }
2020
axon-storage = { path = "../axon-storage" }
2121
axon-render = { path = "../axon-render" }
22-
base64.workspace = true
2322
serde.workspace = true
2423
serde_json.workspace = true
2524
sha2.workspace = true

0 commit comments

Comments
 (0)