Skip to content

Separate shared async EC on the compatible demo baseline - #1534

Open
ChristianPavilonis wants to merge 36 commits into
baseline/http-auction-20261110from
baseline/shared-async-ec-20261110
Open

ChristianPavilonis wants to merge 36 commits into
baseline/http-auction-20261110from
baseline/shared-async-ec-20261110

Conversation

@ChristianPavilonis

@ChristianPavilonis ChristianPavilonis commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Changes

File Change
None No diff against baseline/http-auction-20261110. Commits since 324fbf2cc are merges of #1533 with no net change.

Closes

Refs #1530. This PR does not close the tracker.

Spec

Not a feature. The shared async EC change and its review continue on #1526.

Test plan

Review feedback

Earlier review threads target code this PR no longer changes. Each thread has a reply saying whether the base already handles it, whether the code is gone, or which #1526 thread now tracks it.

Checklist

  • No code changes in this PR
  • No secrets or credentials committed

@prk-Jr prk-Jr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

Converts EcKvStore and its core callers to local (?Send) async futures, keeping Fastly's blocking KV hostcalls behind a futures::executor::block_on bridge in the synchronous response hook and post-send pull sync. The conversion is mechanical: CAS/retry loops, withdrawal-marker handling, tombstone and finalize ordering are unchanged, and no lock or borrow is held across an await.

Checked and not a problem:

  • Nested executor: in the pinned edgezero revision the finalize hook runs only after block_on(app.dispatch_admitted(..)) has returned, and post-send pull sync after delivery, so the new block_on calls are not nested. The Fastly EC lifecycle integration job exercises this path under Viceroy.
  • Other adapters: FastlyEcKvStore is the only production implementation and all newly async callers are in core or the Fastly adapter, so Axum/Cloudflare/Spin gain no blocking bridge.
  • Pull sync concurrency: all partner requests are still dispatched before any are awaited.
  • Removed apply_withdrawal_tombstones test: coverage is retained end-to-end by finalize_withdrawal_tombstones_both_present_ids_once.

1 of the inline comments below carries a one-click GitHub suggestion.

Non-blocking

⛏ nitpick

  • Assertions without messages — see inline at crates/trusted-server-core/src/ec/pull_sync.rs:977

CI Status

All 17 checks PASS at a8e61218: CLAUDE.md symlink guard, browser integration tests, cargo check (cloudflare native + wasm32-unknown-unknown), cargo check/build/test (spin native + wasm32-wasip2), cargo fmt (includes all adapter clippy lanes), cargo test, cargo test (axum native), cargo test (cross-adapter parity), cargo test (ts CLI, native) (macos-latest), cargo test (ts CLI, native) (ubuntu-latest), docs-proposal scripts, format-docs, format-typescript, integration tests, integration tests (Fastly EC lifecycle), prepare integration artifacts, vitest.

@ChristianPavilonis
ChristianPavilonis marked this pull request as ready for review November 11, 2026 13:56
Retain the existing shared EC head, async local non-Send store futures, snapshot/withdrawal/CAS behavior and the cutover's bounded direct pull-sync groups. Preserve current body-read failures and response ownership without restoring pending/select or legacy HTTP interfaces.

Await EC work through handlers and use the existing Fastly synchronous hook as the production executor boundary. Migrate the current post-delivery fixture to the async graph and verify real Fastly runtime paths with the explicitly repaired local Viceroy.

@aram356 aram356 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

Converts EcKvStore and its core and Fastly callers to local (?Send) async futures, and bridges the synchronous EdgeZero response hook and post-send pull sync with futures::executor::block_on. The core changes match #1526 at e529e5576 byte for byte. With async/.await stripped and both sides rustfmt-normalized, production kv.rs, identify.rs, admin.rs and the auction, publisher and registry callers are identical to the base. The remaining production changes are the inlined withdrawal loop, the two removed pull-sync block_on calls, the two bridges and the app.rs async blocks. In EdgeZero 83d7a629 the finalize hook runs after the dispatch block_on returns and pull sync runs after delivery, so no bridge nests, and the v0.0.12-rc-axum.202611.1 repin resolves to that same commit. The blocking items are a test gap (no unit test runs finalization or EC generation under the executor Fastly uses, and four nested-block_on mutations survive), integration jobs that did not run at this head, and a PR description that does not describe this diff.

7 of the 9 inline comments below carry a one-click GitHub suggestion. Use Commit suggestion, or Add suggestion to batch for several at once, to apply them as commits on the PR branch. The other 2 describe the fix in prose because it touches lines outside the diff hunks.

Each suggestion was applied alone to this head and passed rustfmt, and each new test passes on its own and fails under its target mutation. All of them applied together pass the six adapter clippy aliases, cargo test-fastly, test-fastly-reuse, test-cloudflare, test-spin and the parity suite. test-axum also passes except managed_ingress_ignores_direct_spoof_and_isolates_two_gateway_clients, which fails the same way at this head on macOS because it binds 127.0.0.2; it passes in CI on Linux, and no suggestion touches Axum.

Blocking

🔧 wrench

  • No test drives finalization under the executor Fastly uses: see inline at crates/trusted-server-core/src/ec/finalize.rs:681
  • EC generation has the same gap, on the router path: see inline at crates/trusted-server-core/src/ec/mod.rs:844

Non-blocking

♻️ refactor

  • State the cancellation contract on the trait, and drop "native backends": see inline at crates/trusted-server-core/src/ec/kv_backend.rs:75

🏕 camp site

  • The active-ID guard on the snapshot correction is untested: see inline at crates/trusted-server-core/src/ec/finalize.rs:492
  • dispatch_pull_sync still documents itself as background work: see inline at crates/trusted-server-core/src/ec/pull_sync.rs:116
  • generate_if_needed under-documents its errors: see inline at crates/trusted-server-core/src/ec/mod.rs:382
  • handle_batch_sync documents failures it does not return: see inline at crates/trusted-server-core/src/ec/batch_sync.rs:118
  • Record the EdgeZero ordering this bridge relies on: see inline at crates/trusted-server-adapter-fastly/src/main.rs:522

⛏ nitpick

  • The Fastly module doc prescribes behavior for other backends: see inline at crates/trusted-server-adapter-fastly/src/ec_kv.rs:7

Cross-cutting / body-level findings

  • 🔧 The integration jobs did not run at this head. prepare integration artifacts failed at its upload step: GitHub's artifact service returned an HTML page instead of JSON on all five attempts (Failed to CreateArtifact: ... Unexpected token '<'), so integration tests, integration tests (Fastly EC lifecycle) and browser integration tests were skipped. This is an infrastructure failure, not a code one, but the Fastly EC lifecycle job is the only check that drives finalization through the real block_on bridge (its ConsentWithdrawal scenario). Please re-run the workflow at b3ff6f795. No checks are configured as required on this base, so nothing blocks the merge mechanically.

  • 🔧 The PR description does not describe this diff.

    • It names head a8e61218; the head is b3ff6f795, and the EdgeZero pin is now the tag v0.0.12-rc-axum.202611.1 (the same commit, 83d7a629).
    • Numbers are glued to the preceding word throughout ("EdgeZero83d7a629", "TS2423a2ed", "PR1525/1526 ready and1527/1528", "Core3006", "only9356 ->ee7").
    • "Hosted docs-build correction", "Startup negative-probe correction" and "Browser CI host compatibility" describe base-branch commits; they touch none of the 14 files in this diff.
    • "The user selected compatible-baseline cleanup", "No new worker launched or paused experiment resumed" and "All local parent runners are complete" are working-session context a reviewer cannot see or act on.
    • The "Changes" table repeats the summary instead of listing the changes.

    Suggested replacement; keep only the checks you ran at the current head:

    ## Summary
    
    - Make `EcKvStore` a local (`?Send`) async trait and await it through `KvIdentityGraph` and every core and Fastly caller.
    - Bridge Fastly's two synchronous entry points with `futures::executor::block_on`: EC finalization in the EdgeZero response hook, and post-send pull sync. Pull sync no longer calls `block_on` itself.
    - No Fastly behavior change: `FastlyEcKvStore` still completes each operation with a blocking KV hostcall, and CAS, tombstone, withdrawal and finalize ordering are unchanged.
    
    Unit of the #1530 baseline stack, on top of #1533. The core change is the same as #1526.
    
    ## Changes
    
    | Area | Change |
    | --- | --- |
    | `ec/kv_backend.rs` | `EcKvStore` I/O methods are `async` under `#[async_trait(?Send)]`; the test stores follow. |
    | `ec/kv.rs`, `ec/mod.rs`, `ec/identify.rs`, `ec/admin.rs`, `ec/batch_sync.rs` | Graph operations and their callers are awaited. |
    | `ec/finalize.rs` | Finalization is async; the withdrawal closure helper becomes an inline loop and its unit test is removed. |
    | `ec/pull_sync.rs` | `dispatch_pull_sync` awaits the platform HTTP client instead of calling `block_on`. |
    | `auction/endpoints.rs`, `publisher.rs`, `integrations/registry.rs` | Snapshot loads and EC generation are awaited. |
    | `adapter-fastly/src/ec_kv.rs` | `FastlyEcKvStore` implements the async trait over the blocking SDK. |
    | `adapter-fastly/src/main.rs`, `app.rs` | `block_on` bridges for finalization and post-send pull sync; route handlers await. |
    
    ## Test plan
    
    - [ ] `cargo test-fastly`, `cargo test-fastly-reuse`, `cargo test-axum`, `cargo test-cloudflare`, `cargo test-spin` and the parity suite
    - [ ] The six adapter clippy aliases
    - [ ] New regressions: `graph_lookup_yields_to_other_work_with_a_non_send_store`, `dispatch_pull_sync_runs_inside_the_fastly_executor_boundary`
    - [ ] Hosted checks at the current head, including `integration tests (Fastly EC lifecycle)`
    
    Refs #1530.
  • 📌 The real post-send pull sync never runs end to end. The integration fixture (crates/trusted-server-integration-tests/fixtures/configs/trusted-server.integration.toml) declares two [[ec.partners]], and neither sets pull_sync_enabled or pull_sync_url. The Fastly EC lifecycle job therefore exercises the finalize bridge but never the post-send pull-sync bridge with the real FastlyPlatformHttpClient, and the new regression test uses StubHttpClient. Please add a pull-enabled partner backed by a fixture endpoint, or open a follow-up issue and link it here.

  • 🌱 A native backend for this trait needs EdgeZero KV features that do not exist yet. The trait doc anticipates a backend that yields, but EdgeZero's KvStore at 83d7a629 (imported in core as PlatformKvStore) offers only get_bytes, exists, put_bytes, put_bytes_with_ttl, delete and list_keys_page. It has no generation token, no conditional (add or if-generation-match) write, no metadata and no strong-consistency listing, and EcKvStore needs all of these. A shared native backend therefore depends on EdgeZero asks rather than Trusted Server plumbing.

CI Status

  • prepare integration artifacts: FAIL
  • integration tests: SKIPPED
  • integration tests (Fastly EC lifecycle): SKIPPED
  • browser integration tests: SKIPPED
  • cargo fmt: PASS
  • cargo test: PASS
  • cargo test (axum native): PASS
  • cargo test (cross-adapter parity): PASS
  • cargo check (cloudflare native + wasm32-unknown-unknown): PASS
  • cargo check/build/test (spin native + wasm32-wasip2): PASS
  • cargo test (ts CLI, native) (macos-latest): PASS
  • cargo test (ts CLI, native) (ubuntu-latest): PASS
  • CLAUDE.md symlink guard: PASS
  • docs-proposal scripts: PASS
  • format-docs: PASS
  • format-typescript: PASS
  • vitest: PASS
  • ts dev lint domains (changed lines): not run on this base; the added lines name only example.com hosts

@aram356

aram356 commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

For #1532's rename of the native Geo profile variable to TRUSTED_SERVER__NATIVE_GEO_PROFILE_FILE, I pushed 7fc7c0faf here, one merge of this PR's base:

No file left in this PR uses the old name after the merge, so the merge
only takes the rename from PR #1533. The merge had no conflicts.

This brings in 1f054c6 from #1488, which forwards ortb2.user.ext.eids
from the Prebid config into the auction EIDs, and a99dd66, a62601b,
d1eb75f and 394892b from #1489, which cap mirrored UID expiry at 30
days from the UTC day start and pass the request time into finalize. They
arrive through the chain's merges into #1639, #1640, #1612, #1628, #1623,
#1531, #1532 and #1533.

The base now also carries the Axum serving line (#1613, #1616, #1617, #1615,
#1635, #1637 and #1627), which #1533 merged, and #1627's b958107, which
decodes the Spin discovery document with Response::json, and #1627's merge
of #1625 (006b45e), which pins Wrangler for the Cloudflare smoke and CI.

The merge had no conflicts.

It also brings b2d4bfd from #1488, which records the known UID hashes
on lookup results with a setter, so the provider IDs the write planner
logs are not derived from them.

The base now also carries #1506's repin of EdgeZero to rc/identity at
d063a8e7 and its merge of main's Fastly SDK 0.13.3 upgrade (#1671): fastly
0.13.3, url 2.5.9 and Viceroy 0.22.0.
aram356 added a commit that referenced this pull request Nov 25, 2026
This brings in 1f054c6 from #1488, which forwards ortb2.user.ext.eids
from the Prebid config into the auction EIDs, and a99dd66, a62601b,
d1eb75f and 394892b from #1489, which cap mirrored UID expiry at 30
days from the UTC day start and pass the request time into finalize. They
arrive through the chain's merges into #1639, #1640, #1612, #1628, #1623,
#1531, #1532, #1533, #1534, #1536, #1535, #1537, #1539, #1538, #1540,
#1566, #1624, #1641, #1642 and #1646, with #1646's move of the request
time into IdentityApp::finalize. It also brings d5276ee, which publishes
the native AWS runtime files without GNU mv -T, and Christian's merge
5597d3e of #1538 into #1540, through #1566's merge.

The base now also carries the Axum serving line (#1613, #1616, #1617, #1615,
#1635, #1637 and #1627), which #1533 merged, and #1627's b958107, which
decodes the Spin discovery document with Response::json, and #1627's merge
of #1625 (006b45e), which pins Wrangler for the Cloudflare smoke and CI.

This PR already carries #1646's head 461aa0d, so the merge adds only
#1646's new merge 166944769 of #1642 and the chain below it, including the
identity conformance check that now strips the mirrored UID's exp.

It also brings b2d4bfd from #1488, which records the known UID hashes
on lookup results with a setter, so the provider IDs the write planner
logs are not derived from them.

Restacking on the Axum serving line conflicts in the Axum startup tests,
where #1617 waits for /ready, since liveness stays up after a caught
initialization failure, and this PR rewrites the wait to retry a port
collision and to require the child's own ready lifecycle event.

Axum startup tests: wait_ready keeps this PR's collision retry and
lifecycle check, then probes #1617's /ready and returns the /health
response once the child is ready.

The fixture drains each child's output through this PR's log readers, so
#1617's assert_serves_failure_router reaps the stopped child and reads
those captured logs instead of collecting the pipes, which the readers
already own.

The base now also carries #1506's repin of EdgeZero to rc/identity at
d063a8e7 and its merge of main's Fastly SDK 0.13.3 upgrade (#1671): fastly
0.13.3, url 2.5.9 and Viceroy 0.22.0.

This PR now stacks on #1661 instead of #1646, so rc/identity can take both
as plain merges. #1661 sits on #1656 and #1626, which sit on #1646, so the
merge also brings #1626 (provider opt-outs and legacy EID expiry on Fastly
and Axum), #1656 (the configurable Edge Cookie browser gate) and #1661
(refusing EC creation when a trusted JA4 contradicts the User-Agent).

Fastly identity conformance fixture: #1661 records each scenario's runtime
TLS JA4 through a RuntimeTlsJa4 middleware in place of derived device
signals, takes the User-Agent from the scenario and drops the browser flag.
This PR adds geo consent requests with their own trusted client IP settings
and no browser device signals. The merge assembles the conformance app with
#1661's middleware and keeps this PR's geo_configured flag and
producer_settings. It sends the scenario's User-Agent unless the API request
supplies one, and inserts the scenario's JA4 only for requests without a geo
consent exchange, because this PR derived device signals only for those.

The base now also carries #1627's 4d0c1a2, which renames the generic
runtime KV store to trusted_server_runtime_kv, #1488's a610152 and
9104fd3, which add hashed-email intake for the LiveRamp and ID5
identity providers, #1646's aa31559, which gates identity writes for
rejected clients, and #1626's d07f789, which withholds a mirrored UID
while another source owner is opted out.

Fastly conformance JA4: the rebuilt #1661 merge supplies a trusted Python
JA4 behind the Chrome User-Agent for #1646's known non-browser API
requests, and this PR inserts the scenario's JA4 only without a geo
consent exchange, with its producer_settings. The merge keeps both: a
known non-browser request gets the Python JA4, any other request the
scenario's JA4 unless it is a geo consent exchange.

This PR's head moves to e8015ca, its clean merge of #1646's aa31559,
which the base already carries, so it adds no change beyond the base.

Axum lib.rs: the base now carries #1636, through #1626's merge of it, whose
after_response_drain_tests module sits where this PR adds its
geo_conformance module. The crate keeps both test modules.
aram356 added a commit that referenced this pull request Nov 25, 2026
This brings in 1f054c6 from #1488, which forwards ortb2.user.ext.eids
from the Prebid config into the auction EIDs, and a99dd66, a62601b,
d1eb75f and 394892b from #1489, which cap mirrored UID expiry at 30
days from the UTC day start and pass the request time into finalize. They
arrive through the chain's merges into #1639, #1640, #1612, #1628, #1623,
#1531, #1532, #1533, #1534, #1536, #1535, #1537, #1539, #1538, #1540,
#1566, #1624, #1641, #1642 and #1646, with #1646's move of the request
time into IdentityApp::finalize. It also brings d5276ee, which publishes
the native AWS runtime files without GNU mv -T, and Christian's merge
5597d3e of #1538 into #1540, through #1566's merge.

The base now also carries the Axum serving line (#1613, #1616, #1617, #1615,
#1635, #1637 and #1627), which #1533 merged, and #1627's b958107, which
decodes the Spin discovery document with Response::json, and #1627's merge
of #1625 (006b45e), which pins Wrangler for the Cloudflare smoke and CI.

The merge also brings the 12 #1646 commits this PR lacked, from 48a43ae
to 461aa0d: dhruv8sh's page-phase lookup and /auction EID work
(48a43ae, 82fe088, 1d0a74f, 838586e and his chain merges a061c01,
ecf16e8, e1d23a0, edcf4c5 and 9a020e1), the merge 9cad928 of
#1641 into #1642, and prk-Jr's "Merge providers-awaited into shared
identity" (4ffbaf8) and "Restore Fastly auction browser gating"
(461aa0d).

Edge cookies guide: a conflict is the request lifecycle paragraph.
The merge takes #1646's sentences on positive identity cookies, core
expiries and /auction body EIDs, and keeps this PR's closing sentences on
the default ec.sliding_refresh = false flow and sliding renewal.

Fastly adapter tests: 82fe088 from #1646 removed the navigation-lookups
thread-local and the page-lookups argument of apply_edgezero_ec_finalize,
since the handler now collects page lookups onto the EC context. This PR's
sliding_ec_renews_held_publisher_identity_before_terminal_privacy test
drops its two take_navigation_lookups calls and passes no page lookups to
finalize. Its configuration has no record store or providers, so no
lookups were collected before either, and its assertions are unchanged.

It also brings b2d4bfd from #1488, which records the known UID hashes
on lookup results with a setter, so the provider IDs the write planner
logs are not derived from them.

The base now also carries #1506's repin of EdgeZero to rc/identity at
d063a8e7 and its merge of main's Fastly SDK 0.13.3 upgrade (#1671): fastly
0.13.3, url 2.5.9 and Viceroy 0.22.0.

This PR now stacks on #1661 instead of #1646, so rc/identity can take both
as plain merges. #1661 sits on #1656 and #1626, which sit on #1646, so the
merge also brings #1626 (provider opt-outs and legacy EID expiry on Fastly
and Axum), #1656 (the configurable Edge Cookie browser gate) and #1661
(refusing EC creation when a trusted JA4 contradicts the User-Agent).

Cloudflare route tests: both PRs add a test at the end of the file. The
merge keeps both, this PR's
sliding_ec_configuration_preserves_unsupported_platform_responses and
#1661's ec_route_creates_no_record_whatever_the_bot_management_ja4.

Fastly sliding EC test: #1617, which now sits below this PR, answers GET
/health through the router's probe hook as an operational response, which
carries no EC state. This PR's
sliding_ec_renews_held_publisher_identity_before_terminal_privacy routes
/health through the router and expected EC state on every path but the
unsupported EC route, so it now also accepts the liveness probe without EC
state. Its check that /health issues no renewal cookie is unchanged.

The base now also carries #1627's 4d0c1a2, which renames the generic
runtime KV store to trusted_server_runtime_kv, #1488's a610152 and
9104fd3, which add hashed-email intake for the LiveRamp and ID5
identity providers, #1646's aa31559, which gates identity writes for
rejected clients, and #1626's d07f789, which withholds a mirrored UID
while another source owner is opted out.

Settings: this PR's MaxAgeDays and #1488's HashedEmailSource are both
added before Ec in settings.rs; the merge keeps both.

This PR's head moves to fbe5670, its merge of #1646's aa31559, which
models admitted clients in the core sliding tests, finalizes them with
the store gate and adds refused_client_gets_no_renewal_or_record_io, and
adds the proposal's review log. Taken as the change from the old head
668d501, the new head would replay #1646 commits the base already
carries in rebuilt form. The merge takes only fbe5670's own resolution,
the change from a plain merge of 668d501 and aa31559 to fbe5670:
the sliding tests and the proposal apply cleanly, and its Fastly sliding
test port is the one this merge already made.
aram356 added a commit that referenced this pull request Nov 25, 2026
…1622 into rc/identity

#1622 (244ca26) now carries the whole chain, each PR merging the one below
it:

- #1506 (c197404) repins EdgeZero to rc/identity at d063a8e7, which
  carries EdgeZero main's Fastly SDK 0.13.3 upgrade through every EdgeZero PR
  here, and merges Trusted Server main's upgrade (#1671): fastly 0.13.3, url
  2.5.9 and Viceroy 0.22.0.
- #1614, #1525, #1526, #1487 and #1488 take it in turn. #1488 also adds
  b2d4bfd, which records known UID hashes with a setter.
- #1489, the identity spine (#1639, #1640, #1612, #1628 and #1623), #1531 and
  #1532.
- The Axum serving line: #1613, #1616, #1617, #1615, #1635, #1637 and #1627,
  chained, with #1627's b958107 decoding the Spin discovery document with
  Response::json and #1627's merge of #1625, which brings #1625's Wrangler pin
  into the chain.
- The held line on #1627: #1533, #1534, #1536, #1535, #1537, #1539, #1538,
  #1540, #1566, #1624, #1641, #1642 and #1646. #1646 keeps its own shared
  after-response runner in ec::app::lookups.
- #1636 (72096cd) on #1646 (b5a5f62), draining Axum
  after-response identity tasks on SIGTERM through #1646's shared runner.
- The EC route line on #1636: #1626 (067531e), which merges #1636, the
  draft #1656, #1661, #1662 and #1622, and through #1622's merge of it,
  #1620's round-6 head.

Each conflict was resolved in the PR that sits higher. This merge is clean.

Since the last update the chain also takes #1488's hashed-email intake
(a610152 and 9104fd3) and its POST, body and header options for the
status call (f063a76), #1627's split of the generic runtime KV store into
trusted_server_runtime_kv (4d0c1a2), #1646's gate on identity writes for
rejected clients (aa31559) its native container test of the failure router
(4f4c036) and that test's header check on an ordinary route (71a573a),
#1626's withholding of a mirrored UID while another source owner is opted
out (d07f789), and #1617's description of the Axum startup failure router
(6d174a8) and of the startup failures that still exit before listening
(4c07cad). #1636 no longer sits in the Axum serving line; it arrives
through #1626, which merges it on top of #1646. Its new head adopts #1646's
after-response runner in place of the one rc/identity took with cf1102c.

Cloudflare guide: #1627's merge of #1625 now keeps both #1625's tool version
clause and #1627's TRUSTED_SERVER_RUNTIME_KV binding in the smoke paragraph,
and fixes #1625's smoke script test for #1617's Python floor and Worker
build, and #1537's merge fixes its ts stub for #1537's storage template
step, so this merge needs no resolution.
@aram356

aram356 commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

For the identity integration branch (#1608), I pushed cd6241c42, a merge of #1533's new head b00cd9784. It brings the Axum serving line that #1533 now merges (#1613, #1616, #1617, #1615, #1635, #1637 and #1627, with #1627's b95810772 and its merge of #1625), #1488's hashed-email intake, #1489's mirrored UID expiry cap and request time, and #1506's repin of EdgeZero to rc/identity at d063a8e7 with main's Fastly SDK upgrade (#1671). The merge had no conflicts.

ChristianPavilonis added a commit that referenced this pull request Nov 25, 2026
…ble demo baseline

Source: baseline/shared-async-ec-20261110 at cd6241c.
Takes #1533's new head 25a8d03, which carries #1506's repin of EdgeZero to
rc/identity at 459bd27d (42e0c46): PR 275 at 0e2a58ae, the stack's test
fixes and EdgeZero 536's bounded record update, RecordHandle::update.

The merge is clean.
@aram356

aram356 commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

For the identity integration branch (#1608), I pushed fc2d56a28, a merge of #1533's new head 25a8d0362, which brings #1506's repin of EdgeZero to rc/identity at 459bd27d (42e0c46c7): EdgeZero #275 at 0e2a58ae, the EdgeZero stack's test fixes and EdgeZero #536's bounded record update, RecordHandle::update. The merge had no conflicts.

Takes #1533's new head 3d399ca, which carries #1506's repin of EdgeZero to
rc/identity at 1619078a (8edc50e), a revert that removes EdgeZero 522
(portable Fastly record providers) and 524 (outbound mTLS client
identities).

The merge is clean.
@aram356

aram356 commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

For the identity integration branch (#1608), I pushed 8fd3dd153.

Takes #1533's new head 3d399ca, which carries #1506's repin of EdgeZero to rc/identity at 1619078a (8edc50e), a revert that removes IABTechLab/edgezero#522 (portable Fastly record providers) and IABTechLab/edgezero#524 (outbound mTLS client identities).

The merge is clean.

@ChristianPavilonis

Copy link
Copy Markdown
Collaborator Author

Resolution of the review-summary points that have no inline thread. All 12 inline threads have replies and are resolved.

#1534 now has no diff against baseline/http-auction-20261110. The async EC change reached the base through #1532 into #1533 (a592a7bfd), which brought in #1526's 8118581bc. No commit was needed here.

From @aram356's review:

  • Integration jobs did not run. Fixed by later runs. All hosted checks pass at 8fd3dd153, including prepare integration artifacts, integration tests, integration tests (Fastly EC lifecycle) and browser integration tests.
  • The description did not match the diff. Rewritten. It now says the PR has no changes, where the change went, and why the branch stays open as the base of Extract native EC lifecycle and DynamoDB persistence #1536.
  • Post-send pull sync never runs end to end. Deferred. It is still true at the base. The integration fixture has no partner with pull_sync_enabled, and the Fastly adapter tests in post_delivery.rs (pull_sync_reaches_partner_after_origin_aborts_mid_body, after_response_pull_sync_ignores_relaxed_certificate_check) drive the post-delivery block_on bridge with ScriptedHttpClient, not FastlyOutboundClient. This PR has no code left to add the fixture to, so it belongs with the owner of post_delivery.rs.
  • A native backend needs EdgeZero KV features. No action here. It is a note for future backend work, not something this PR changes.

The @prk-Jr and @dhruv8sh review summaries point only to their inline comments, which are answered in their threads.

@aram356, could you take another look so the requested-changes state matches the empty diff?

PR #1533's new head brings its plaintext auction provider warning and HTTP opt-in docs on the baseline, plus the cascaded owner review fixes from #1525, #1526, #1488, #1489, #1639, #1531, #1532, #1615 and #1637. The merge is clean.
PR #1533's new head brings wave B: #1506's merge of main ab5c24f (#1501, js_asset_proxy rewriter ordering) and its repin of EdgeZero to rc/identity 8a73c0978806, carried up through the chain. The merge is clean. Cargo.lock changes only the 10 EdgeZero package sources, now at 8a73c097; the codegen crate's nested Cargo.lock is unchanged.
@aram356

aram356 commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Round 12 identity realignment: rc/identity is now at db7dce634, and EdgeZero is pinned to its rc/identity at 8a73c097. This branch fast-forwarded from 8fd3dd153 to 519e27339:

Each merge message says what it carries and how any conflict was resolved.

PR #1533's new head brings #1506's move of the five auction endpoint test requests from test-publisher.com to publisher.example.com, for the URL-host lint. The merge is clean.
PR #1533's new head brings #1506's repin of EdgeZero to rc/identity ef5cbf30, which renames Fastly backends to ez_b31v2_* and moves the yanked pin-project-lite, chacha20 and spin, #1625's shared Wrangler installer for CI, #1639's pull reserve boundary check and wording, #1613's conformance doc alignment, #1616's certificate policy and pull-sync fixture corrections, #1617's preserved startup diagnostics and hardened runtime checks, #1635's complete startup evidence in native fixtures, #1637's shared readable non-Unicode Geo fixture and #1627's Spin store reads and retained runtime coverage. The merge is clean. Cargo.lock changes only the EdgeZero package sources (now ef5cbf30) and the yanked pin-project-lite, chacha20 and spin; the codegen crate's nested Cargo.lock is unchanged.
@aram356

aram356 commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Round 15 identity realignment: rc/identity is now at 391a08578, and EdgeZero is pinned to its rc/identity at ef5cbf308. This branch fast-forwarded from 2051aa992 to 5468a58a9:

Each merge message says what it carries and how any conflict was resolved.

Carries #1533's Axum startup-test port fix (779e446) and nothing
else. Owner commits pushed to other chain PRs since round 15 come in
with the next round.
@aram356

aram356 commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Cascade of #1533's Axum startup-test port fix (779e44673): dd257ae8e merges it into this PR. There were no conflicts and nothing else changed. The fix moves free_loopback_port in crates/trusted-server-adapter-axum/tests/routes.rs below the ephemeral port range, and #1533's note has the details. Owner commits pushed to other chain PRs since round 15 come in with the next round. rc/identity is now 62f8e41e2.

@aram356

aram356 commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Merged #1627's runtime KV removal (7c2b84f45) into this branch as 78e972338, on top of dd257ae8e.

At the maintainer's request, that commit removes the generic runtime KV store trusted_server_runtime_kv. Nothing reads or writes it, and the managed Fastly deploy made every service provision and pay for it. edgezero.toml and the Fastly Hooks::stores() now declare only trusted_server_kv, and RuntimeServices::kv_store() is unavailable on every adapter.

Only that commit was merged, not the base branch's new head. The merge was clean and applies exactly the removal.

Checks on this head: no reference to the removed store remains and cargo fmt --check passes. rc/identity (b9dc3153e) passed the full CI gate list with the removal.

PR #1533's new head brings #1487's change that strips `ts-eids` from publisher-origin requests unless the operator opts in. The merge is clean.
@aram356

aram356 commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Round 17 identity realignment: rc/identity is now at 0ed862633, and EdgeZero stays pinned to its rc/identity at ef5cbf308. This branch fast-forwarded from 78e972338 to dbe2bb3bc:

Each merge message says what it carries and how any conflict was resolved.

@aram356

aram356 commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Merged #1614's /_ts/ local answers (48930c270) into this branch as 38c65bae6, on top of dbe2bb3bc.

Trusted Server owns the /_ts/ namespace (#1740). A request for /_ts or any /_ts/ path that no route handles now gets a local 404 on Fastly, Axum, Cloudflare and Spin, and never reaches the publisher origin. The path is matched after percent-decoding. Paths outside the namespace, such as /_tsx or /articles/_ts/x, still go to the publisher origin, and every routed /_ts/ path answers as before.

This merge takes #1533's new head (db9d3d44c), which carries 48930c270 and nothing else new to this branch. It was clean.

Checks on this head: no conflict markers; cargo fmt --all -- --check passes; the merge adds exactly #1614's change to this branch's files; it merges cleanly with every lower head in its stack. rc/identity (e72407155) passed the full CI gate list with the change.

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

Development

Successfully merging this pull request may close these issues.

4 participants