Repository navigation
Scaffold hardened Axum application Docker recipes - #401
Draft
ChristianPavilonis wants to merge 5 commits into
Draft
ChristianPavilonis wants to merge 5 commits into
ChristianPavilonis wants to merge 5 commits into
Conversation
7 tasks
This was referenced Oct 7, 2026
Retain full vulnerability evidence in framework packaging checks without treating the fixture as an approved release. Keep strict defaults and reject report-only GHCR publication. Update inherited Bookworm packages and cover the policy boundary with regression tests.
Reject empty and non-string CVE/package identities in both scan policies. Record the successful hosted native builds and artifact/index handoff.
This branch has not been deployed
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.
Summary
.dockerignoreat the workspace root, using the existing normalized package/binary names and shared Rust pin.Changes
edgezero-cli/src/generator.rs,scaffold.rsDockerfile.hbs,dockerignore.hbs,README.md.hbsscripts/test_generated_axum_container.shdocs/guide/adapters/axum.mdCloses
Closes #398.
Implements the initial packaging slice A. This PR remains draft; its closing link does not establish completion of the remaining slice B acceptance. Required-config failure, durable restart, readiness and bounded SIGTERM acceptance remain for accepted PR #275 integration and #392/#396. #399 owns native amd64/arm64 CI and downstream publishing guidance; #400 owns deployment guidance.
Test plan
cargo test -p edgezero-cli: 206 unit tests plus external-consumer test passed. The new container-render test failed before implementation and passed afterward.cargo test -p edgezero-adapter-axum --all-targets --all-features: 149 tests passed.cargo test --workspace --all-targetscargo clippy --workspace --all-targets --all-features -- -D warningscargo fmt --all -- --checkcargo check --workspace --all-targets --features "fastly cloudflare spin"cargo check -p edgezero-adapter-spin --target wasm32-wasip2 --features spincargo test -p edgezero-cli --test generated_project_builds -- --ignored: host, typed CLI and all three installed WASM targets passed, none skipped.cargo test --locked --manifest-path examples/app-demo/Cargo.toml --workspace --all-targetsnpm ci,npm run lint,npm run format,npm run buildbash -nand ShellCheck 0.11.0 on the new smoke script98930917d96cb665c7255f36ca8bbd61fc7539e1, its own committed Cargo.lock and no out-of-context local dependencies. The unchanged generated Dockerfile built and passed the smoke on native Linux amd64.npm ciand a fresh asset build before Rust; Rust embeds generated bytes, the same smoke passes and the final image contains no Node/npm.Container checks used Docker 29.7.2 on Linux amd64, Rust 1.95.0, and base digests embedded in the template. These are packaging checks, not an arm64, production-runtime, publishing, or Trusted Server application-image certification. No images were published. Full Trusted Server asset/config/bind integration remains downstream.
Checklist
CLAUDE.mdconventionsNewArgs