Skip to content

(DO NOT MERGE) Identity integration branch - #495

Draft
aram356 wants to merge 1015 commits into
mainfrom
rc/identity
Draft

aram356 wants to merge 1015 commits into
mainfrom
rc/identity

Conversation

@aram356

@aram356 aram356 commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • rc/identity is the integration branch for server-side identity on every adapter (Platform capabilities for server-side identity on every adapter #468). It carries the ready PRs that Trusted Server's Fastly and Axum MVP needs, joined by history-preserving merges, so Trusted Server can pin one revision and CI can test the combined stack.
  • Each included PR keeps its own review and still lands on main by itself. This PR shows the combined diff and its CI.
  • The branch only moves forward. When an included PR's head moves, the new head is merged on top. Trusted Server pins a commit of this branch by SHA ((DO NOT MERGE) Identity integration branch trusted-server#1608), not a tag; the tag v0.0.12-rc-identity.202611.1 marks b3a45dfb.

Included

Started on main e11ea308; main 772c1dac is merged in 654f546d, and main 144d1782 (v0.0.12) arrives through #275's and #469's merges of it. Heads are current at 1619078a; earlier heads stay in the history.

PR Head What it brings
#275 0e2a58ae Portable outbound HTTP and request lifecycle contracts
#499 27901990 Authenticated head facts captured before transport sanitation; #275 review follow-ups
#460 cdd7c568 Outbound cache tags, borrowed readiness and paired time
#406 b67e78b9 Axum production startup and bounded shutdown
#407 9750b0e3 Configurable Axum buffered JSON body limits
#409 c317517c Axum safe diagnostics and trusted proxy metadata
#414 2b13a665 Native AWS configuration, secret and KV store providers
#422 57fd4eab Native celld configuration and KV store providers
#439 b8187078 Pluggable native Geo providers and protected CloudFront ingress
#469 8bff6ebb Standard JA4 request interface (#283), including Axum JA4 from a trusted proxy header
#502 690a8d88 Geo on every adapter through ctx.geo(), and Axum geo bound from the manifest (#482)
#510 a296a067 KvStore record contract with listing strong within a partition, and DynamoDB and celld providers on Axum (#472, #473)
#454 7580806a Portable KV-backed geo lookup
#514 c12fd631 Country and region through ctx.geo() on Cloudflare and Spin (#480, #486)
#517 d6df01e3 Portable ClientInfo contract with Fastly, Axum, Cloudflare and Spin mappings (#475, #90, #91, #92, #485)
#509 54e7a4b8 Bounded work after the response on Fastly and Axum, drained on Axum SIGTERM (#476)
#512 e4c6647a After-response work on Cloudflare through waitUntil (#478)
#515 ea0ee581 Spin's after-response capability error (#483)
#519 cdea9260 macOS test fixtures accept from blocking listeners, and the trusted-proxy hosting tests run on every platform (#503)
#536 601ae8db Bounded re-read and re-plan record update, RecordHandle::update (#535)

Moved since 1619078a

None.

#463 closed on 2026-11-13; #422 carries its conditional celld record operations, which this branch already has.

#522 and #524 removed (2026-11-27)

1619078a removes #522 (#474, still a draft) and #524 (#523, outside the identity epics). #524 is stacked on #522, so both leave together. It is one revert commit on top of 459bd27d, pushed as a fast-forward.

Its tree is this branch before #522 (654f546d) merged with the current tips of #519, #515, #502, #469 and #536; #514 and #517 are already inside them. That rebuild merges without conflicts, and the commit changes only the 113 paths that #522 and #524 changed against #517. The frozen outbound review files (the #275 requirements spec, outbound-cutover-cases.json and reviewed_cases.json.gz) are untouched.

A plain reverse of the two PRs conflicts in three files, because 7616c85c and b3a45dfb resolved conflicts there. The rebuild keeps the other lines' code and drops only #522's and #524's. The Axum capability matrix test keeps its lint expectation and loses #524's client identity test. The Fastly request path keeps the after-response handle and wrapper and loses #522's deferred portable KV registry. The DynamoDB records tests lose the imports that only #522's tests used.

Merging a later tip of #522 or #524 into this branch will not restore their code, because git treats their earlier commits as already merged. Bringing either back needs a revert of 1619078a first. The sections below describe the branch before this removal.

The Fastly SDK 0.13.3 upgrade (2026-11-25)

This branch was pushed five times on 2026-11-25, to d063a8e7, ba29060f, 4e512233, 8a7d3e61 and 459bd27d. Every PR here now carries main's Fastly SDK 0.13.3 upgrade (#529), with Viceroy 0.22.0, the Fastly CLI 17.2.0 upgrade (#531) and the fixture CLI download retry (#534). #275 takes it first, with its own exact pins; #469 merges main itself (8bff6ebb, without conflicts). Each stack PR then merged the PR below it, bottom-up, in a merge commit titled Merge PR #<lower> into PR #<N> for outbound compatibility stack. Apart from #275's merge of main, only #409, #414 and #522 conflicted, each in a lockfile:

PR Merge Conflicted files Resolution
#275 9ef25ceb .tool-versions, generator.rs, the Fastly adapter guide, the request-fidelity manifest and four lockfiles Merges main. .tool-versions keeps this PR's spin 4.1.0 and wasmtime 48.0.2 pins and takes main's fastly 17.2.0 and viceroy 0.22.0; generator.rs keeps this PR's spin tool seed and takes main's fastly and viceroy seeds; the guide keeps this PR's paragraph with main's Viceroy 0.22.0 fixture pin. The lockfiles, merged by package entry, equal this PR's side
#409 2aea73c3 examples/app-demo/Cargo.lock Merged by package entry. This PR's getrandom 0.4.2 and wasip3 0.4.0 still need wasip2 1.0.4 and wit-bindgen 0.51.0/0.57.1, so those entries stay beside fastly-sys 0.13.3's; the result equals a targeted cargo update -p fastly --precise 0.13.3 of this PR's lock
#414 ba5d3f1c Cargo.lock Merged by package entry. This PR's second http version makes the fastly 0.13.3 entries name http 1.4.2, and the 0.13.1 entries this PR had edited are pruned; the result equals a targeted cargo update -p fastly --precise 0.13.3 of this PR's lock
#522 a4473180 examples/app-demo/Cargo.lock Merged by package entry, as in #414's merge

Fix commits on the PRs, each carried up by the merges above it:

PR Commit What it does
#275 32ce59b1 Moves the exact fastly, fastly-shared, fastly-sys and log-fastly pins from =0.13.1 to =0.13.3 and url from =2.5.8 to =2.5.9, in the root manifest and the fixture, app-demo and scaffold pins, with targeted lockfile updates to the v0.0.12 versions. A plain merge of main would leave the exact pins at 0.13.1 and 2.5.8
#275 c56df36f Moves the Viceroy readiness repair to 0.22.0. The patch is renamed patches/viceroy/0.22.0-body-readiness.patch unchanged and applies to v0.22.0, so VICEROY_PATCH_SHA256 stays; VICEROY_REVISION and VICEROY_LOCK_SHA256 name v0.22.0. With the patch, the three named readiness and timeout regressions and all 138 viceroy-lib library tests pass
#275 1967c051 Names SDK 0.13.3 and Viceroy 0.22.0 in the cutover record validator's toolchain, the readiness runner, the record fixture and the version-scoped notes
#275 2830d078, e9c05d64 Keeps Image Optimizer unavailability typed. SDK 0.13.3 checks fastly::compute_runtime::products() before an optimizer send, and on a service without Image Optimizer sends an ordinary request marked with Fastly-Io-Error; under Viceroy 0.22.0 that aborted image_optimizer_unavailable_is_typed_on_viceroy (exit 134). The guard returns the same ImageOptimizerUnsupported failure when products() reports the product disabled; an enabled product or a products() error keeps the SDK's optimizer hostcall. A unit test covers all three cases
#275 dbe90854 Drains a declared upload before the Axum HTTP/1 transport closes a connection after an early response. When the latest request declared a single Content-Length of at most 8 MiB and the upload is still active, HeaderIo discards incoming bytes for at most 2 s, and until 250 ms pass without one, before it closes, so a client that writes its whole body before reading gets the 413 instead of a reset. Larger, chunked, bodiless and stalled uploads close at once as before; Fastly, Cloudflare and Spin are unchanged. A regression test writes a 4 MiB declared body without reading
#460 e8e1d9cb Names SDK 0.13.3 in the surrogate key and optimizer notes
#407 17a0edf8 Cherry-picks #414's test fix 9a985c99, "test(axum): retain early rejection responses during full uploads"
#414 3231baf8, 494845ab Two macOS fixture races. 3231baf8 restores blocking mode on streams the native_aws_startup and dynamodb_generated_proof fixtures accept, with #519's accept_blocking helpers carried byte for byte. 494845ab keeps the port reservation of a host that must fail to start bound until the host is dropped, following #519's reservation change in production_hosting.rs
#454 bbcb3d0f Moves url to 2.5.9 and form_urlencoded to 1.2.3 in the geo-kv-prototype lockfile
#514 f53d4508 Moves url to 2.5.9 and form_urlencoded to 1.2.3 in the geo-spin-loader lockfile
#522 39d307fe Moves the Portable record contracts (Fastly) job's VICEROY_REVISION and VICEROY_LOCK_SHA256 to v0.22.0, as #275 does for the wasm tests job
#275 d8cd85c8 Second push. Installs the wasm32-unknown-unknown target before the Viceroy readiness repair builds. Viceroy 0.22.0 rebuilds its component adapter for that target when it builds from a git checkout, and the helper selects the .tool-versions toolchain through RUSTUP_TOOLCHAIN, so rustup never added the checkout's targets, and fastly wasm tests and Portable record contracts (Fastly) failed in "Build isolated Viceroy readiness repair". The repair now runs rustup target add wasm32-unknown-unknown from inside the checkout first; the CI tooling test fakes rustup and checks the call, and a failed install fails the repair closed

The first push took #524's, #515's, #519's, #502's and #469's tips as the plain merges d673ed49, 0dcdeee3, 413bacda, dc93c669 and d063a8e7; #514's tip is already in dc93c669.

For the second push, each stack PR merged the PR below it again to take d8cd85c8, all without conflicts, and this branch took #524's, #515's, #519's and #502's tips as the plain merges 72881525, cd9aecd2, 8db868fe and ba29060f; #514's tip is already here, and #469, which does not carry #275, is unchanged. ba29060f differs from d063a8e7 only in scripts/ci_viceroy.sh, scripts/ci_tooling.test.mjs and patches/viceroy/README.md.

The third push fixes two causes of random test failures. #275's 41cdf035 makes conditional KV inserts atomic in the Viceroy readiness repair: Viceroy's ObjectStore::insert checked the Add or if-generation-match precondition and wrote under separate lock acquisitions, so two concurrent conditional inserts could both win, and the Fastly record contract's native race failed at random. The patch now checks the existing entry, the precondition and the write under one write lock, a new Viceroy test races two writers 1,000 times per mode, and the helper, the workflow, the CI tooling test and #522's job (902e2718) follow the new patch digest. The production hosting tests stop losing ports to other tests: #406 (cb306f7c), #407 (fa329cad), #409 (7d085b1f) and #439 (49fb2f48) carry #519's reservation fixes (09b09d9e, d86a5d32) to the code they own, #406's 38cf420b respawns a host whose port another listener took, up to 3 attempts, using a per-spawn token on a new /fixture-ready route, and adds Server::addr(), and #409 (9c4a2f70), #414 (25a28501) and #454 (00091a61) send post-spawn requests to server.addr(). #519's merge (4960680c) resolves its production_hosting.rs conflict by keeping its reserved_address() and lock helpers with #406's spawn. Every other PR's commit is its merge of the PR below, without conflicts, and this branch took #519's, #524's, #515's and #502's tips as the plain merges beae8601, 61215550, bfbba260 and 4e512233; #514's tip is already here, and #469 is unchanged.

The fourth push carries six fix commits. #275's 0e2a58ae fixes an intermittent failure of batch_cutoff_clamping_preserves_cause_and_observation_boundary: the test advanced its manual clock only after start_batch_until returned, but that call already dispatches the request, so a refused connect could be observed while the clock still read the start time; the clock now moves when the request arms its deadline timer. #414's 2b13a665 and #510's a296a067 write the AWS emulator proofs' readiness markers through a staged file and a rename, because std::fs::write created the file before writing it and the readiness poll could read an empty marker. #522 fixes three of its own steps: 2c9ea5cc stops linking the private wire module from public docs for the strict documentation build; 510df19d narrows the Geo dependency check's platform graphs to native hosting, runtime and SDK crates, because #522's fastly feature enables edgezero-adapter/store-bindings by design, while core still may not depend on a store crate and a regression case covers that; and 3bf8dc0b gives the generated CLI's import rustfmt's layout, which "Verify generated project builds" checks. Every other PR's commit is its merge of the PR below, without conflicts, and this branch took #519's, #524's, #515's and #502's tips as the plain merges caac19b5, e8591af8, c0b6e267 and 8a7d3e61; #514's tip is already here, and #469 is unchanged.

The fifth push adds #536 (#535), RecordHandle::update, the bounded re-read and re-plan update for records, which IABTechLab/trusted-server#1660 needs. #536 merges #510's current head (179f0f59, without conflicts) and moves its CHANGELOG section below the Axum JSON section (601ae8db, content unchanged), so this branch takes it as the plain merge 459bd27d. On #536's head the 13 update tests passed 50 of 50 runs, the core suite and the Axum and Fastly record contracts passed, and a probe of 4 concurrent updates over 400 rounds lost no update with the atomic conditional insert, against 62 of 400 rounds without it.

Trusted Server pins d063a8e7 through IABTechLab/trusted-server#1506, and IABTechLab/trusted-server#1608 takes it with Trusted Server main's Fastly SDK upgrade (IABTechLab/trusted-server#1671).

#522 and #524 (2026-11-24)

7616c85c merges #522 at 6fb73849, and b3a45dfb merges #524 at da7575b5. Both merges resolve conflicts in this branch: 7616c85c in crates/edgezero-adapter-fastly/src/request.rs and crates/edgezero-store-aws/src/dynamodb_records_tests.rs, and b3a45dfb in crates/edgezero-adapter-axum/src/cli.rs. git show --remerge-diff on each shows the resolution.

#519 and main (2026-11-23)

#519 (prk-Jr) fixes the macOS-only fixture failures in #503. Its head d86a5d32 also skipped four production_hosting trusted-proxy tests off Linux, because their local proxy bound 127.0.0.2 and 127.0.0.3. e8cf40eb on #519 runs them everywhere instead: the server checks only its direct peer as a socket fact, so every proxy socket is now 127.0.0.1, and the test proxies write the earlier hop addresses they are given. Each rewritten test was shown to fail under one production mutation of the trust walk. Every change is test code, so the library code Trusted Server pins at 9d02d7b3 is unchanged and needs no repin.

ad28f988 merges #519 and 654f546d merges main (#497, the docs eslint bump). Both merges are clean.

#509's new tests (2026-11-19)

#509 added one commit, a5c176e1, with test coverage for guarded writes inside after-response tasks on Axum and Fastly. It changes only four test files, so the library code Trusted Server pins at 9d02d7b3 is unchanged. #512 merged #509 (953f0031), and #515 merged #512 (da0471b7), both clean. This branch took #515's new head as the plain merge b4d5ba87, whose tree is identical to #515's.

How the record-contract, ClientInfo and after-response lines came in (2026-11-18)

ChristianPavilonis's line on #439 runs #510 → #454 → #517; #517 also merged #469, #502 and #514 itself. Its tree contains everything this branch had, so ef8225d9 merged #517. The only conflicts were JA4 lines that #517 refactors on top of #469 (Ja4Selection in place of TrustedJa4Header); the merge takes #517's version, and its tree is identical to #517's.

prk-Jr's after-response line sat on #406, so it conflicted with the stack above it. The fix is in the PRs: #509 merged #517 (2620377a), #512 merged #509 (cdc232c8), and #515, which conflicted with #512 in the changelog and the capabilities guide, now stacks on #512 (ec347a2c). This branch took #515's head as the plain merge 9d02d7b3, whose tree is identical to #515's. On GitHub the whole line is stack 511, from #499 up to #515; stack 516 was dissolved so #509 could change base.

How #502 came in (2026-11-17)

#502 was stacked on #439's earlier head 645703bf, and #439's refreshed head conflicted with it in one place: the Manifest struct's schema validators in edgezero-core's manifest.rs, where #502 adds the adapter geo placement check and #439 brings #275's Fastly logging check. #502's own merge 8cd7af96 (Merge PR #439 into PR #502 for outbound compatibility stack) keeps both, after the existing case-unique adapter keys check. This branch then took #502 as a plain merge, b6ada1cc, with no conflicts.

How #275's next review repairs came in (2026-11-17)

#275 moved from b65e7144 to ea2549fb by adding 16 fix and docs commits (Fastly response handles and progress wakers, retained outbound failures, body checkpoints, harness supervision, CLI target pinning). #422 had added a stock-celld store service (dd1b8907, 15bdeef6), which #439 merged in cf291a1e. Each stack PR then merged the PR below it, bottom-up, with no conflicts, and this branch took #439's head c02ee549 as a plain merge, f84ffbbb.

How #275's review repairs came in (2026-11-16)

#275 moved from e9ffaa8f to b65e7144 by adding four commits:

Each stack PR merged the PR below it again, bottom-up, in a merge commit titled Merge PR #<lower> into PR #<N> for outbound compatibility stack. Only #409 conflicted. Its merge resolves the import block of edgezero-core's app.rs by keeping both imports: #409's RouteErrorKind and #275's RequiredErrorResponseHeaders. This branch then took #439's head c1cec8e7 as a plain merge, 3d92ee38, with no conflicts.

How #275's rewrite came in

#275's head was rewritten at e9ffaa8f. The stack's conflicts were not resolved here. Instead, each stack PR merged the PR below it, bottom-up, and resolved its own conflicts in its own merge commit, titled Merge PR #<lower> into PR #<N> for outbound compatibility stack. Run git show --remerge-diff on a PR's merge to see exactly what its resolution changed. This branch then takes #439's head in a single merge.

PR Merge Conflicting hunks Resolution
#499 cf8003f1 9 Takes #275's CHANGELOG, SUITES.md, plan and Fastly callback-scope fixture; #275's never-ready upload replaces #499's string body. Keeps #499's received-head commit unchanged, its framing-receipt expect, and its byte-bound assertion under #275's record caps
#460 03d192fd 1 #460's three-policy contract loop on #275's executor handle
#406 b3187e1b 6 #406's run_local and run_owned structure, which now owns #275's AxumOutboundExecutor
#407 77fa6772 8 Keeps both forwarded_content_length and ingress_buffer; with_transport takes the executor and the JSON limit
#409 e1350bb2 8 from_app_with_native_client_factory takes the executor; dispatch keeps #409's into_parts and inserts the executor
#414 bd6cb7ab 0 One test gets an executor
#422 f1d85581 0 None needed
#439 302697e8 3 with_native_transport takes the executor; both the executor and geo fields

Edit in this branch's own merge

87174160 merged #439's head with two edits where #469 meets #275, and git show --remerge-diff 87174160 shows both. One is still this branch's own:

Edit Why
request.rs: #469's ingress_ja4_is_not_exposed_even_with_ja4_headers test gets an executor handle #275 passes the Axum outbound executor through into_core_request, and the test does not compile without one. #469 targets main, where the function still takes one argument, so the edit cannot live in #469 until it rebases onto #275

The other removed EdgeZeroAxumService from the Axum guide, because #275's check_outbound_legacy_api.sh rejects the name. That edit now comes from #469 itself (52f4a09f, the suggestion in its review), merged in 10166628 with no file change. It was the only red check here before.

Open points for the owning PRs

Point Owning PR
The request.rs edit above #469, or #275 if it lands second
Wire evidence over 1,024 records now fails, where #499 on its own accepted any count within the byte bound. Today's captures fit: the Fastly test uses 518 records and the Axum capture has 431 #499

Not included

PR Why not here
#389, #401, #444 Ready, but they conflict with #275 and land after it; no identity ticket waits on them
#452, #466 Drafts that land after #275 (#466 after #444); the MVP does not wait on them
#464 Draft, post-MVP
#287 Lands last, after the identity work

Next on this branch

Milestone Tickets
R1b (#489) Record contract (#472) and DynamoDB and celld providers on Axum (#473), through #510, included
R2 (#490) Bounded work after the response on Fastly and Axum (#476), through #509, included
R2b (#491) ClientInfo contract (#475) and Fastly and Axum ClientInfo (#90, #92) through #517; JA4 (#283, #469) and Axum geo from the manifest (#482, #502); all included
R3 (#492) Cloudflare: after-response (#478, #512), geo (#480, #514) and ClientInfo (#91, #517) included; the record store (#479) waits on DEC-8
R4 (#493) Spin: after-response error (#483, #515), geo (#486, #514) and ClientInfo (#485, #517) included; the record store (#484) waits on DEC-8

Each ticket's PR is merged here once it is ready. Every R1b, R2 and R2b ticket's PR is now included; R3 and R4 wait only on their record stores.

Refs #488. Part of #468. Planned in IABTechLab/trusted-server#1559.

Test plan

Check Result
Every head in Included is an ancestor of b6ada1cc through history-preserving merges Pass
10166628 has the same tree as 87174160 Pass
Each refreshed stack PR, locally: fmt, workspace clippy, workspace tests, and tests of the crates it touches Pass, apart from failures that also fail on that PR's original head
Every host step of test.yml and format.yml, locally on macOS, on #439's refreshed head and on 87174160 Pass, apart from the macOS-only failures in #503
check_outbound_legacy_api.sh and check_outbound_docs_contract.mjs on 87174160 Pass
Trusted Server's 27 CI gates against 10166628 (IABTechLab/trusted-server#1506 and IABTechLab/trusted-server#1608) Pass
CI on this PR at 10166628 30 of 30 pass. cache-restore-seed failed once on compiler-cache publication and passed on rerun
CI on every refreshed stack PR and on #469 Pass; #407, #409 and #439 needed the same deploy-workflow rerun
2026-11-16 refresh, each of the eight stack PRs locally: cargo fmt --all -- --check, cargo check --workspace --all-targets --features "fastly cloudflare", cargo clippy --workspace --all-targets --all-features -- -D warnings, cargo test --workspace --all-targets Pass on all eight: 2,762 tests at #499 rising to 2,973 at #439, none failed
The same four gates on 3d92ee38 Pass: 2,990 tests, none failed
2026-11-17 refresh, the same four gates on each of the eight stack PRs Pass on all eight: 2,787 tests at #499 rising to 2,997 at #439, none failed
The same four gates on f84ffbbb Pass: 3,014 tests, none failed
#502's merge 8cd7af96, locally: cargo fmt --all -- --check, cargo clippy --workspace --all-targets --all-features -- -D warnings, cargo test -p edgezero-core, cargo test -p edgezero-adapter-axum --features geo-cloudfront, cargo check --workspace --all-targets --features "fastly cloudflare spin", Fastly lib clippy Pass
b6ada1cc, locally: fmt, check_outbound_legacy_api.sh, check_outbound_docs_contract.mjs, workspace clippy, both Fastly clippy runs, the wasm feature check and cargo test --workspace --all-targets Pass: 3,021 tests, none failed
2026-11-18: #509 at 2620377a, #512 at cdc232c8 and #515 at ec347a2c, each locally: fmt, workspace clippy with all features, both Fastly clippy runs, the wasm feature check, workspace tests, both outbound scripts; plus Fastly contract tests under Viceroy, Cloudflare wasm tests in Node and Spin contract tests under Wasmtime Pass: 3,113, 3,116 and 3,118 workspace tests, none failed
ef8225d9 has the same tree as #517's head 10ed3803, and 9d02d7b3 the same tree as #515's head ec347a2c Pass
b4d5ba87 has the same tree as #515's head da0471b7; CI on #515 at da0471b7 29 of 29 pass
CI on #517 at 10ed3803 29 of 29 pass
2026-11-23, 7fb620a7 (rc with #519 d86a5d32 and main), locally on macOS: every host step of test.yml (host-tests) and format.yml (format, adapter-clippy, format-docs), 133 commands, including the Docker AWS emulator step Pass, none failed. The #503 tests pass; four trusted-proxy tests were still skipped off Linux
654f546d (rc with #519 e8cf40eb and main), locally: fmt, workspace clippy, Axum adapter clippy, production_hosting with axum,test-utils and with geo-cloudfront,test-utils, the Axum integration suite, cargo test --workspace --all-targets Pass: production_hosting 43 passed, none ignored (was 39 and 4 ignored); workspace 3,122 tests, none failed
#519 at e8cf40eb, locally: the four rewritten tests 10 times, the full production_hosting suite 30 times, one production mutation per rewritten test Pass every run; each mutation fails its test
2026-11-25: every head in Included is an ancestor of 459bd27d, and each of the eighteen merges from b3a45dfb has the tree git merge-tree prints for it Pass
CI on this PR at 459bd27d Pass
2026-11-27: 1619078a has the tree of the rebuild of 654f546d with the tips of #519, #515, #502, #469 and #536, and its diff from 459bd27d touches only the 113 paths of #522 and #524 Pass
cargo metadata --locked at 1619078a Pass
CI on this PR at 1619078a Pending

@aram356 aram356 changed the title Identity integration branch: #275 through #439 (DO NO MERGE) Identity integration branch: #275 through #439 Nov 13, 2026
@aram356
aram356 marked this pull request as draft November 13, 2026 09:15
@aram356 aram356 changed the title (DO NO MERGE) Identity integration branch: #275 through #439 (DO NOT MERGE) Identity integration branch: #275 through #439 Nov 13, 2026
@aram356 aram356 changed the title (DO NOT MERGE) Identity integration branch: #275 through #439 (DO NOT MERGE) Identity integration branch Nov 13, 2026
@aram356 aram356 linked an issue Nov 16, 2026 that may be closed by this pull request
2 tasks
Bring in PR #275's batch cutoff test fix, which advances the test clock
when the request arms its own deadline instead of after dispatch.
Bring in PR #275's batch cutoff test fix, which advances the test clock
when the request arms its own deadline instead of after dispatch.
Bring in PR #275's batch cutoff test fix, which advances the test clock
when the request arms its own deadline instead of after dispatch.
The generated initializer wrote PROOF_ENTERED with std::fs::write, which
creates the file before writing the resolved secret. App::ready reads
the marker as soon as the path exists, so it could read it empty and fail
"nested secret must resolve before readiness marker" (left "", right
"secret-A"), as CI saw on PR #514. The secret had already resolved; only
the marker was observed half written.

The initializer now writes a staged file beside the marker and renames
it into place, so the marker appears with its content.
Bring in PR #275's batch cutoff test fix, which advances the test clock
when the request arms its own deadline instead of after dispatch, and
PR #414's AWS emulator proof marker, now published by rename.
Bring in PR #275's batch cutoff test fix, which advances the test clock
when the request arms its own deadline instead of after dispatch, and
PR #414's AWS emulator proof marker, now published by rename.
Bring in PR #275's batch cutoff test fix, which advances the test clock
when the request arms its own deadline instead of after dispatch, and
PR #414's AWS emulator proof marker, now published by rename.
Bring in PR #275's batch cutoff test fix, which advances the test clock
when the request arms its own deadline instead of after dispatch, and
PR #414's AWS emulator proof marker, now published by rename.
The generated records initializer wrote PROOF_ENTERED with
std::fs::write, so App::ready could read the marker after it was created
and before "records-ready" was written. It now writes a staged file and
renames it into place, as the ordinary proof's initializer does.
Bring in PR #275's batch cutoff test fix, which advances the test clock
when the request arms its own deadline instead of after dispatch, and
the AWS emulator proofs' readiness markers from PRs #414 and #510, now
published by rename.
Bring in PR #275's batch cutoff test fix, which advances the test clock
when the request arms its own deadline instead of after dispatch, and
the AWS emulator proofs' readiness markers from PRs #414 and #510, now
published by rename.
Bring in PR #275's batch cutoff test fix, which advances the test clock
when the request arms its own deadline instead of after dispatch, and
the AWS emulator proofs' readiness markers from PRs #414 and #510, now
published by rename.
Bring in PR #275's batch cutoff test fix, which advances the test clock
when the request arms its own deadline instead of after dispatch, and
the AWS emulator proofs' readiness markers from PRs #414 and #510, now
published by rename.
Bring in PR #275's batch cutoff test fix, which advances the test clock
when the request arms its own deadline instead of after dispatch, and
the AWS emulator proofs' readiness markers from PRs #414 and #510, now
published by rename.
Bring in PR #275's batch cutoff test fix, which advances the test clock
when the request arms its own deadline instead of after dispatch, and
the AWS emulator proofs' readiness markers from PRs #414 and #510, now
published by rename.
Bring in PR #275's batch cutoff test fix, which advances the test clock
when the request arms its own deadline instead of after dispatch, and
the AWS emulator proofs' readiness markers from PRs #414 and #510, now
published by rename.
Bring in PR #275's batch cutoff test fix, which advances the test clock
when the request arms its own deadline instead of after dispatch, and
the AWS emulator proofs' readiness markers from PRs #414 and #510, now
published by rename.
The portable module's public documentation linked [`crate::wire`], a
private module, so the strict documentation step (RUSTDOCFLAGS=-D
warnings cargo doc --offline --locked --workspace --all-features
--no-deps) failed with rustdoc::private-intra-doc-links. The doc now
names the private wire module in plain text.
The fastly feature now enables edgezero-adapter/store-bindings, which
brings edgezero-store-aws and edgezero-store-celld into the Fastly graph
with no features selected: only serde, thiserror, url, percent-encoding
and web-time. check_geo_dependency_contract.sh still banned those crate
names in every portable graph, so "Geo dependency isolation" failed in
the app-demo, cli and axum jobs with "native runtime/store/SDK leaked
into fastly".

The platform graphs now ban only native hosting, runtime and SDK crates.
check_native_store_dependency_contract.sh, which this PR extended,
proves the store crates' platform builds carry no native runtime.
Portable core still may not depend on a store crate, and
portable_dependency_checks.test.mjs gains that regression case.
Adding BindingsCmd to the generated CLI's edgezero_cli::args import left
the template's list wrapped differently from rustfmt, so a freshly
generated workspace failed cargo fmt --check. "Verify generated project
builds and fallback TCP policy" in the cli tests job fails on that once
the Geo step before it passes. The list now uses rustfmt's layout.
Bring in PR #275's batch cutoff test fix, which advances the test clock
when the request arms its own deadline instead of after dispatch, and
the AWS emulator proofs' readiness markers from PRs #414 and #510, now
published by rename.

It also brings in PR #522's fixes for the strict documentation build, the
Geo dependency contract's platform graphs and the generated CLI's
rustfmt layout.
Take PR #519's updated tip, which carries PR #275's batch cutoff test
fix and the AWS emulator proofs' readiness markers published by rename.
It merges without conflicts.
Take PR #524's updated tip, which carries PR #275's batch cutoff test
fix, the AWS emulator proofs' readiness markers published by rename,
and PR #522's strict documentation, Geo contract and generated CLI
formatting fixes. It merges without conflicts.
Take PR #515's updated tip, which carries PR #275's batch cutoff test
fix and the AWS emulator proofs' readiness markers published by rename.
It merges without conflicts.
Take PR #502's updated tip, which carries PR #275's batch cutoff test
fix and PR #414's AWS emulator proof marker published by rename. It
merges without conflicts.
Bring in PR #510's current head. It carries main's Fastly SDK 0.13.3,
Fastly CLI 17.2.0 and fixture download retry, the stack's Fastly SDK
0.13.3 and url 2.5.9 pins, Viceroy 0.22.0 with the readiness repair and
its atomic conditional KV insert, the early-response upload drain, the
production hosting port reservation and respawn fixes, the AWS emulator
proofs' readiness markers and the batch cutoff test fix. It merges
without conflicts.
…ection

Moving the entry below the first existing Unreleased section avoids a
merge conflict with the after-response entries at the top of the
integration branch. The entry's content is unchanged.
Take PR #536's head 601ae8d, which adds RecordHandle::update, the
bounded re-read and re-plan update for records, on PR #510's current
head. It merges without conflicts.
PR #524 (outbound mTLS client identities, #523) belongs to no identity
epic, and PR #522 (portable DynamoDB and celld record providers on
Fastly, #474) is still a draft. #524 is stacked on #522, so both leave
together.

This commit reverts their net changes. Its tree is rc/identity as it
was before #522 (654f546) merged with the current tips of #519, #515,
#502, #469 and #536, the branch's remaining lines. #514 and #517 are
already inside them. The rebuild merges without conflicts, and the
change touches only the 113 paths that #522 and #524 changed against
#517.

Three files differed from a plain reverse of the two PRs because of the
conflict resolutions in 7616c85 and b3a45df. Each keeps the other
lines' code and drops only #522's or #524's:

- crates/edgezero-adapter-axum/src/cli.rs keeps the capability matrix
  test's lint expectation and drops #524's client identity test.
- crates/edgezero-adapter-fastly/src/request.rs keeps the after-response
  handle and wrapper and drops #522's deferred portable KV registry.
- crates/edgezero-store-aws/src/dynamodb_records_tests.rs drops imports
  used only by #522's tests.

Merging a later tip of #522 or #524 will not restore this code, because
git treats their earlier commits as already merged. Bringing them back
needs a revert of this commit first.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

5 participants