Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
57374e4
feat(stores): add native celld config and KV providers
ChristianPavilonis Nov 10, 2026
d475727
Merge verified lower-stack namespace and CI fixes
ChristianPavilonis Nov 10, 2026
6a580d1
fix(axum): account for feature-disabled async preparation lints
ChristianPavilonis Nov 10, 2026
6778e01
Merge managed demo logging regression alignment
ChristianPavilonis Nov 10, 2026
b0b4df7
Merge provider-disabled asynchronous lint contract repair
ChristianPavilonis Nov 10, 2026
d08fc8f
Merge fixture failure redaction into celld provider stack
ChristianPavilonis Nov 10, 2026
0d17257
Merge native-only scaffold correction into celld provider stack
ChristianPavilonis Nov 10, 2026
48c34ed
Merge native AWS readiness fixes into celld provider stack
ChristianPavilonis Nov 10, 2026
f9b0f20
Merge SDK cohort and inherited fixture readiness fixes
ChristianPavilonis Nov 10, 2026
5b2517f
Carry authenticated head preparation through the review stack
ChristianPavilonis Nov 12, 2026
e8d72d5
Carry prepared-router installation through the review stack
ChristianPavilonis Nov 12, 2026
576f35c
Merge current parent repairs into PR 422
ChristianPavilonis Nov 12, 2026
071cb06
Retain AWS fixture lifetime repair in PR 422
ChristianPavilonis Nov 12, 2026
bb56cfe
Retain callback-scope fixture repair in PR 422
ChristianPavilonis Nov 12, 2026
ef1d4ab
Merge owned cutover follow-up through PR 422
ChristianPavilonis Nov 13, 2026
1c90b24
feat(celld): expose conditional and physical record operations
ChristianPavilonis Nov 10, 2026
4ea3199
Merge PR #414 into PR #422 for outbound compatibility stack
ChristianPavilonis Nov 13, 2026
f1d8558
Merge PR #414 into PR #422 for outbound compatibility stack
aram356 Nov 14, 2026
a1fda01
Merge PR #414 into PR #422 for outbound compatibility stack
aram356 Nov 16, 2026
dd1b890
feat(celld): serve native KV through an EdgeZero store service on sto…
aram356 Nov 16, 2026
15bdeef
fix(celld): require the store instance on misses and accept commas in…
aram356 Nov 16, 2026
e945935
Merge PR #414 into PR #422 for outbound compatibility stack
aram356 Nov 17, 2026
b879b74
Merge PR #414 into PR #422 for outbound compatibility stack
aram356 Nov 25, 2026
d2cec42
Merge PR #414 into PR #422 for outbound compatibility stack
aram356 Nov 25, 2026
c28a728
Merge PR #414 into PR #422 for outbound compatibility stack
aram356 Nov 26, 2026
57fd4ea
Merge PR #414 into PR #422 for outbound compatibility stack
aram356 Nov 26, 2026
95359e9
fix(celld): preserve key identity and verify stock releases in CI
ChristianPavilonis Nov 30, 2026
47d19ae
test(axum): avoid shadowing in native policy regression
ChristianPavilonis Nov 30, 2026
baa93c9
List the store crates in the CLAUDE.md workspace layout
aram356 Dec 1, 2026
9adf6ea
Hold the celld startup host port until the host may bind it
aram356 Dec 1, 2026
7521796
Document that a celld store reset requires an app restart
aram356 Dec 1, 2026
3791a46
Add a CHANGELOG entry for native celld KV on Axum
aram356 Dec 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 43 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,17 @@ jobs:
cargo test --offline --locked -p edgezero-store-aws --all-features --lib
scripts/run_test_nonzero.sh production_runner_loads_envelope_and_real_sdk_secret_before_serving_mixed_stores cargo test --offline --locked -p edgezero-adapter-axum --features aws-stores,test-utils --test native_aws_startup

- name: Native celld independent provider and startup contracts (loopback only)
if: matrix.suite == 'workspace'
run: |
scripts/run_test_nonzero.sh settings_and_limits_reject_unknown_or_mixed_fields cargo test --offline --locked -p edgezero-store-celld --no-default-features --lib
scripts/run_test_nonzero.sh public_setup_is_probe_free_and_runtime_deadlines_are_fresh cargo test --offline --locked -p edgezero-store-celld --no-default-features --features kv --lib
scripts/run_test_nonzero.sh public_setup_is_probe_free_and_runtime_deadlines_are_fresh cargo test --offline --locked -p edgezero-store-celld --all-features --lib
scripts/run_test_nonzero.sh provider_policy_sources_and_mapping_counters_are_independent cargo test --offline --locked -p edgezero-adapter-axum --no-default-features --features native-bindings --lib
scripts/run_test_nonzero.sh public_runner_prepares_without_probe_and_initializer_reads_live_kv cargo test --offline --locked -p edgezero-adapter-axum --features celld-kv,test-utils --test native_celld_startup
mixed_sentinels=$'sessions_select_actual_aws_celld_and_mixed_variants\nproduction_runner_loads_envelope_and_real_sdk_secret_before_serving_mixed_stores\npublic_runner_prepares_without_probe_and_initializer_reads_live_kv'
scripts/run_test_nonzero.sh "$mixed_sentinels" cargo test --offline --locked -p edgezero-adapter-axum --features aws-stores,aws-dynamodb,celld-kv,test-utils --lib --test native_aws_startup --test native_celld_startup

- name: Bundled demo logging and fallback TCP contracts
if: matrix.suite == 'cli'
run: |
Expand Down Expand Up @@ -248,9 +259,39 @@ jobs:
EDGEZERO_GENERATED_TEST_TARGET_DIR: ${{ github.workspace }}/target
run: scripts/run_test_nonzero.sh --ignored generated_cli_default_off_and_enabled_dynamodb_crud_list_ttl_restart cargo test --offline --locked -p edgezero-cli --test dynamodb_generated_proof

- name: Native AWS integration runner tests
- name: Generated native celld startup and KV (deterministic loopback fixture)
if: matrix.suite == 'cli'
env:
EDGEZERO_GENERATED_TEST_TARGET_DIR: ${{ github.workspace }}/target
run: scripts/run_test_nonzero.sh --ignored generated_celld_default_off_kv_restart cargo test --offline --locked -p edgezero-cli --no-default-features --features cli,edgezero-adapter-axum --test celld_generated_proof generated_celld_default_off_kv_restart

- name: Native provider integration runner tests
if: matrix.suite == 'cli'
run: node --test scripts/native_aws_test_admin.test.mjs scripts/run_native_aws_integration.test.mjs
run: node --test scripts/native_aws_test_admin.test.mjs scripts/run_native_aws_integration.test.mjs scripts/run_native_celld_integration.test.mjs scripts/run_celld_store_fleet_proof.test.mjs services/celld-store/test/service.test.mjs

- name: Verify the pinned official celld release
if: matrix.suite == 'cli'
env:
GH_TOKEN: ${{ github.token }}
run: |
version=v0.6.3
asset=celld-x86_64-unknown-linux-gnu.gz
archive="$RUNNER_TEMP/$asset"
curl --fail --silent --show-error --location \
"https://github.com/denoland/celld/releases/download/$version/$asset" \
--output "$archive"
printf '5084a083472cf036551a7eac63fa24d22bb9a56323c517f63205724c12783047 %s\n' "$archive" | sha256sum --check
gh attestation verify "$archive" --repo denoland/celld \
--signer-workflow denoland/celld/.github/workflows/release.yml --deny-self-hosted-runners
gzip -dc "$archive" > "$RUNNER_TEMP/celld"
chmod +x "$RUNNER_TEMP/celld"
echo "CELLD_BIN=$RUNNER_TEMP/celld" >> "$GITHUB_ENV"

- name: Generated native celld KV on the official release (TLS)
if: matrix.suite == 'cli'
env:
EDGEZERO_GENERATED_TEST_TARGET_DIR: ${{ github.workspace }}/target
run: node scripts/run_native_celld_integration.mjs

- name: Generated native AWS independent service contracts
if: matrix.suite == 'cli'
Expand Down
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,28 @@ The current `Body`/`BodyPayload` representation and exact egress ownership remai
Ingress buffering policy and cache provenance survive context reconstruction independently of
mutable headers and extensions, and are removed at raw payload transport boundaries.

### Native celld KV on Axum

- Opt into live KV backed by celld with the default-off `celld-kv` feature. There is no celld
config provider. A `celld-kv` binding names an `endpoint` origin, a service `store` alias and an
access mode: `trusted-network`, where remote plain HTTP needs `allow_remote_http`, or
`authenticated`, which requires HTTPS and reads its token from `token_env`. AWS features and the
`aws-stores` alias are unchanged.
- With `EDGEZERO__STORE_BINDINGS_FILE`, startup checks compiled features, captures tokens once and
builds each handle without contacting the service, so startup success does not prove
connectivity or grants. Set limits through `[limits.celld]` or `with_celld_preparation_limits`,
not both. Defaults: 1 MiB values, 2 MiB pages, 1,024 bindings, and 30 s preparation, 5 s
operation and 1 s connect timeouts. Startup fails above 128 distinct clients.
- Deploy the EdgeZero store service in `services/celld-store` unmodified to an official celld
release (tested with v0.6.3). Its policy maps aliases to namespaces and holds grants or token
SHA-256 verifiers. Each namespace is one Durable Object that replies once a write is durable and
answers a repeated mutation ID with its first outcome. The client sends each mutation once.
- After a store reset, every call on a handle that saw the old instance fails until the app
restarts, and a write that fails this way may already have committed. Offline validation checks
structure only:
`config validate --adapter axum --store-bindings <path> --target-features celld-kv`. See the
[native celld stores guide](docs/guide/native-celld-stores.md).

### Portable HTTP And Request Lifecycles (PR #275)

The changes below cover [PR #275](https://github.com/IABTechLab/edgezero/pull/275), including its
Expand Down
4 changes: 3 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

EdgeZero is a portable HTTP workload toolkit in Rust. Write once, deploy to
Fastly Compute, Cloudflare Workers, Fermyon Spin, or native Axum servers. The
codebase has an eight-crate production Cargo workspace and an isolated test
codebase has a ten-crate production Cargo workspace and an isolated test
runner under `crates/`, an example app under `examples/app-demo/`, a VitePress
documentation site under `docs/`, and CI workflows under `.github/workflows/`.

Expand All @@ -20,6 +20,8 @@ crates/
edgezero-adapter-spin/ # Fermyon Spin bridge (wasm32-wasip2)
edgezero-adapter-axum/ # Axum/Tokio bridge (native, dev server)
edgezero-cli/ # CLI lib + bin: new, build, deploy, serve, auth, provision, config (validate|push), demo
edgezero-store-aws/ # Native AWS stores for Axum: AppConfig Agent, Secrets Manager, DynamoDB KV
edgezero-store-celld/ # Native live KV for Axum through the EdgeZero store service on stock celld
edgezero-test-harness/ # Standalone native integration-test runner (own workspace/lockfile)
examples/app-demo/ # Reference app with all 4 adapters (excluded from workspace)
docs/ # VitePress documentation site (Node.js)
Expand Down
23 changes: 23 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ members = [
"crates/edgezero-core",
"crates/edgezero-macros",
"crates/edgezero-store-aws",
"crates/edgezero-store-celld",
]
exclude = ["examples/app-demo", "crates/edgezero-test-harness"]
resolver = "2"
Expand Down Expand Up @@ -65,6 +66,7 @@ edgezero-adapter-fastly = { path = "crates/edgezero-adapter-fastly", default-fea
edgezero-adapter-spin = { path = "crates/edgezero-adapter-spin", default-features = false }
edgezero-core = { path = "crates/edgezero-core", default-features = false }
edgezero-store-aws = { path = "crates/edgezero-store-aws", default-features = false }
edgezero-store-celld = { path = "crates/edgezero-store-celld", default-features = false }
edgezero-cli = { path = "crates/edgezero-cli", default-features = false }
fastly = "=0.13.3"
fastly-shared = "=0.13.3"
Expand Down
15 changes: 14 additions & 1 deletion crates/edgezero-adapter-axum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ axum = [
"dep:reqwest",
"dep:redb",
]
native-bindings = ["dep:toml", "dep:edgezero-store-aws"]
native-bindings = ["dep:toml", "dep:edgezero-store-aws", "dep:edgezero-store-celld"]
aws-appconfig-agent = ["axum", "edgezero-store-aws/appconfig-agent"]
aws-secrets-manager = ["axum", "edgezero-store-aws/secrets-manager"]
aws-stores = ["aws-appconfig-agent", "aws-secrets-manager"]
aws-dynamodb = ["axum", "edgezero-store-aws/dynamodb-kv"]
celld-kv = ["axum", "edgezero-store-celld/kv"]
cli = [
"native-bindings",
"dep:edgezero-adapter",
Expand Down Expand Up @@ -78,6 +79,7 @@ walkdir = { workspace = true, optional = true }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
edgezero-store-aws = { workspace = true, optional = true }
edgezero-store-celld = { workspace = true, optional = true }

[target.'cfg(unix)'.dependencies]
libc = { workspace = true }
Expand All @@ -99,6 +101,17 @@ name = "native_aws_startup"
path = "tests/native_aws_startup.rs"
required-features = ["aws-stores", "test-utils"]

[[bin]]
name = "edgezero-native-celld-host"
path = "tests/fixtures/native_celld_host.rs"
required-features = ["celld-kv", "test-utils"]
test = false

[[test]]
name = "native_celld_startup"
path = "tests/native_celld_startup.rs"
required-features = ["celld-kv", "test-utils"]

[dev-dependencies]
async-trait = { workspace = true }
axum = { workspace = true, features = ["macros"] }
Expand Down
14 changes: 4 additions & 10 deletions crates/edgezero-adapter-axum/src/dev_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1373,12 +1373,10 @@ async fn build_production_stores(
let mut kv = BTreeMap::new();
let mut secrets = BTreeMap::new();
let mut resident = 0_usize;
let mut aws = sources.session()?;
let mut sessions = sources.sessions()?;
for (id, source) in sources.config {
let binding = match source {
NativeStoreSource::BuiltIn(builtin) => {
native_stores::prepare_aws_config(builtin, &mut aws, id).await?
}
NativeStoreSource::BuiltIn(builtin) => sessions.prepare_config(builtin, id).await?,
local @ (NativeStoreSource::Local
| NativeStoreSource::Ready(_)
| NativeStoreSource::Prepare(_)) => {
Expand Down Expand Up @@ -1439,9 +1437,7 @@ async fn build_production_stores(
}
for (id, source) in sources.kv {
let handle = match source {
NativeStoreSource::BuiltIn(builtin) => {
native_stores::prepare_aws_kv(builtin, &mut aws, id).await?
}
NativeStoreSource::BuiltIn(builtin) => sessions.prepare_kv(builtin, id).await?,
local @ (NativeStoreSource::Local
| NativeStoreSource::Ready(_)
| NativeStoreSource::Prepare(_)) => {
Expand All @@ -1467,9 +1463,7 @@ async fn build_production_stores(
let environment_secrets = SecretHandle::new(Arc::new(EnvSecretStore::new()));
for (id, source) in sources.secrets {
let binding = match source {
NativeStoreSource::BuiltIn(builtin) => {
native_stores::prepare_aws_secrets(builtin, &mut aws, id).await?
}
NativeStoreSource::BuiltIn(builtin) => sessions.prepare_secrets(builtin, id).await?,
local @ (NativeStoreSource::Local
| NativeStoreSource::Ready(_)
| NativeStoreSource::Prepare(_)) => {
Expand Down
Loading