09 Miscellaneous
Edgion build and release workflow. Rust is pinned to
1.96.1:rust-toolchain.toml
(
channel = "1.96.1") is the single source of truth, and CI plus release/Docker builds
declare the same version so all three agree. Default Gateway and
Controller defaults to
allocator-jemalloc; Pingora source/TLS features are
Gateway-local.
In-repo binaries:
edgion-gateway(data plane),edgion-controller(control plane), andedgion-cli(CLI). The federation Center lives in the separate EdgionCenter repository.
File list
| File | Topic | Status |
|------|-------|--------|
| cicd/ | CI/CD: local build, Docker build, GitHub Workflow, Release publishing | ✅ |
| debugging-tls-gateway.md | Targeted TLS debugging in K8s environments (kubectl exec + log files + grep patterns) | ✅ |
| debugging-conformance.md | Conformance test debugging: rv/sv/access log triple, orbstack-dev.sh log commands, per-profile failure modes | ✅ |
| 03-dev-deploy-hot-replace.md | Dev deployment hot replace: native image + shell restart loop + cross compile + kubectl cp end-to-end flow | ✅ |
Quick reference
Local build
# Development mode (fast compile)
cargo build
# Release mode
cargo build --release
# Select supported features on an owning package
cargo build -p edgion-gateway --release --no-default-features --features "allocator-system,boringssl"
# Project quick pre-commit sequence
cargo fmt --all
cargo check --workspace --all-targets
cargo clippy --workspace --all-targets
python3 cicd/checks/validate_agent_docs.py
python3 cicd/checks/check_ssa_force.py
Additional entry points:
- Local build details: cicd/00-local-build.md
- Feature combination details: ../02-features/01-binary-and-deployment/02-feature-flags.md
Docker build
# See the Dockerfiles under the cicd/docker/ directory
docker build --build-arg BINARY=edgion-gateway \
-f cicd/docker/Dockerfile -t edgion-gateway:local .
Release workflow
build-image.yml is currently workflow_dispatch-only (the tag-push trigger is commented out). Release is a manual dispatch:
write releases/v0.x.x.md → push tag v0.x.x → manually dispatch build-image.yml against that tag
→ Docker Hub pandaala/edgion-gateway, pandaala/edgion-controller → create-release
See cicd/02-github-workflow.md for the full job breakdown.
Cargo features cheat sheet
| Feature | Description | Default |
|---------|-------------|---------|
| allocator-jemalloc | Use the jemalloc memory allocator | ✅ |
| boringssl | Use BoringSSL as the TLS backend | ✅ |
| rustls | Dormant future Gateway backend seam; unsupported | |
| allocator-mimalloc | Use the mimalloc memory allocator | |
| allocator-system | Use the system default allocator | |
| fips | Gateway opt-in FIPS BoringSSL image build and isolated verification | |
⚠️
boringsslandrustlsare mutually exclusive. BoringSSL is the only
supported Gateway backend; do not select rustls outside the explicitly
authorized future task.