Skip to content

Make shared EC persistence awaitable - #1526

Open
ChristianPavilonis wants to merge 20 commits into
review/http-auction-providerfrom
review/shared-async-ec
Open

ChristianPavilonis wants to merge 20 commits into
review/http-auction-providerfrom
review/shared-async-ec

Conversation

@ChristianPavilonis

@ChristianPavilonis ChristianPavilonis commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Make the shared EC store (EcKvStore) and its core callers awaitable with local, non-Send futures.
  • Preserve issuance, consent, CAS, tombstone, snapshot and failure policy; add no provider, task, timer or retry layer.
  • Fastly bridges once, with futures::executor::block_on in its synchronous finalize_response hook. Post-delivery pull sync runs under the existing run_post_delivery bridge from Cut Trusted Server over to EdgeZero PR 275 #1506.
  • Add scripts/lint-core-block-on.sh so core production code cannot call block_on.

Native persisted EC, deployment and production readiness are out of scope.

Stack

Base: review/http-auction-provider (#1525). Chain: #1506, #1614, #1525, #1526 (GitHub stack 1621, identity integration branch #1608).

Changes

Area Change
Core EC trait, graph and consumers Await existing operations with non-Send local futures and retained write and precondition semantics.
Fastly store and entry point Keep the SDK's blocking KV hostcalls; bridge only in finalize_response.
CI scripts/lint-core-block-on.sh in the format workflow and AGENTS.md gate 18.
Spec Shared async EC contract.

Closes #1522.

Test plan

  • New regressions: graph_lookup_yields_to_other_work_with_a_non_send_store; finalize_completes_under_futures_block_on, generate_if_needed_completes_under_futures_block_on and dispatch_pull_sync_completes_under_futures_block_on (each fails with EnterError if its path nests block_on); finalize_withdrawal_keeps_the_active_snapshot_when_the_cookie_id_differs.
  • Local at 6fd71bb50: cargo fmt, the six adapter clippy aliases, scripts/lint-core-block-on.sh, test-fastly, test-fastly-reuse, test-axum, test-cloudflare, test-spin.
  • Post-delivery pull sync with the real outbound client is not covered by the integration suite; the spec records the gap, and a follow-up issue will track it.

No native provider, cancellation rollback or fleet consistency is implied.

Extract the local-future EC store contract and existing caller awaits
from 812354b without native persistence or issuance policy changes.

Await pull-sync transport operations directly. Bridge only synchronous
Fastly entry-point finalization and post-send hooks with block_on.
Keep Fastly KV hostcalls and existing consent and write semantics.

Add regression coverage for non-Send yielding stores and pull sync
inside the Fastly executor boundary.
@ChristianPavilonis
ChristianPavilonis marked this pull request as ready for review November 11, 2026 01:16
@aram356
aram356 added this pull request to stack #1542 November 11, 2026 06:48

@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.

Reviewed e529e55 against cd8977c.

No blocking or non-blocking defects found in the scoped async EC conversion. Inspected storage and caller changes for preservation of issuance backing proof, consent gates, CAS retry and write-precondition behavior, tombstones, snapshot classification, batch failure accounting, and Fastly executor boundaries. The router, pre-send finalization, response streaming, and post-send work execute at sequential boundaries; pull sync directly awaits transport operations.

The delayed non-Send store regression provides useful suspension coverage. Confirmed in current-head hosted logs that it and the pull-sync executor-boundary regression executed and passed. Hosted test and lint results were reused; no local builds or tests were rerun. Large unrelated unchanged publisher and adapter code was sampled around affected paths. Actual entry-point post-send timing, cancellation rollback, native providers, and deployed storage consistency are outside this review's qualification.

CI Status

  • CodeQL: PASS
  • Analyze (python): PASS
  • Analyze (rust): PASS
  • Analyze (javascript-typescript): PASS
  • Analyze (actions): PASS
  • Analyze (javascript-typescript): PASS
  • browser integration tests: PASS
  • integration tests: PASS
  • trace runtime and browser acceptance: PASS
  • integration tests (Fastly EC lifecycle): PASS
  • docs-proposal scripts: PASS
  • CLAUDE.md symlink guard: PASS
  • cargo fmt: PASS
  • HTML EOF runtime (Fastly): PASS
  • CI Node pin guard: PASS
  • cargo test: PASS
  • format-typescript: PASS
  • cargo check/build/test (spin native + wasm32-wasip1): PASS
  • format-docs: PASS
  • vitest: PASS
  • ts dev lint domains (changed lines): PASS
  • worker-deadlines (cloudflare): PASS
  • cargo check (cloudflare native + wasm32-unknown-unknown): PASS
  • cargo test (ts CLI, native) (ubuntu-latest): PASS
  • cargo test (cross-adapter parity): PASS
  • prepare integration artifacts: PASS
  • worker-deadlines (spin): PASS
  • cargo test (axum native): PASS
  • cargo test (ts CLI, native) (macos-latest): PASS

@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

The trait change and caller conversion check out. Production code is the existing logic with async/.await added, plus the inlined withdrawal loop and the removal of the two block_on calls inside pull sync. No operation is reordered, no future is left unawaited, no lock is held across an await, and no new block_on is reachable inside the router or the new bridges. The blocking items are a test gap this PR opens (finalization now runs under futures::executor::block_on, and no test drives it there), spec provenance that cites commits and hashes no reader can resolve, and documentation that has not caught up with the async contract.

11 of the 14 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 3 describe the fix in prose because it touches lines outside the diff hunks or several sites.

Each suggestion was applied alone to this head and checked with rustfmt, all six adapter clippy aliases (the Fastly ones for the main.rs comment), the finalize or pull-sync tests under cargo test-fastly where it adds test code, and docs Prettier for the spec. All of them applied together pass cargo test-fastly, test-fastly-reuse, test-axum, test-cloudflare, test-spin and the parity suite.

Blocking

🔧 wrench

  • No test drives finalization under the executor Fastly now uses: see inline at crates/trusted-server-core/src/ec/finalize.rs:681
  • The spec names commits and a tree that do not exist: see inline at docs/superpowers/specs/2026-11-10-shared-async-ec-design.md:5
  • The review log cites artifacts nobody can check: see inline at docs/superpowers/specs/2026-11-10-shared-async-ec-design.md:91
  • Assertion messages on the new pull-sync regression: see inline at crates/trusted-server-core/src/ec/pull_sync.rs:986
  • Record why the send sits between the two bridges: see inline at crates/trusted-server-adapter-fastly/src/main.rs:549
  • The block_on invariant as written is contradicted by the entry point: see inline at docs/superpowers/specs/2026-11-10-shared-async-ec-design.md:68
  • The two "retained" regressions are new: see inline at docs/superpowers/specs/2026-11-10-shared-async-ec-design.md:74
  • EcFinalizeState has no snapshots field and is not changed here: see inline at docs/superpowers/specs/2026-11-10-shared-async-ec-design.md:50
  • State the cancellation contract on the trait: see inline at crates/trusted-server-core/src/ec/kv_backend.rs:75
  • 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:115
  • Fold the two finalize, send and pull-sync blocks into one helper: see inline at crates/trusted-server-adapter-fastly/src/main.rs:577
  • The active-ID guard on the snapshot correction is untested: see inline at crates/trusted-server-core/src/ec/finalize.rs:492

Cross-cutting / body-level findings

  • 🔧 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. So the Fastly EC lifecycle job exercises the new finalize bridge but never the pull-sync bridge with the real FastlyPlatformHttpClient, and the new regression uses StubHttpClient. Please either add a pull-enabled partner backed by a local fixture endpoint to the integration suite, or open a follow-up issue and link it from the spec's "Evidence and limits" section.
  • 🔧 The PR description overstates the checks and mixes in private context.
    • "All46 current-head hosted checks passed": the 46 are 23 jobs counted twice (two identical pull_request runs). gh pr checks now reports 29 checks, all passing, since CodeQL finished.
    • The pbs.example.com fixture paragraph describes base commit cd8977cad (#1525), brought in by merge e529e5576; it is not part of this diff.
    • "Retain the original demo RC #1424 and its dirty worktrees", "raw eligibility retained", "Original failure/ignore receipts retained separately" and the claim about "the later compatibility/native descendant" refer to local or private state a reviewer cannot see. Please drop them or link what they refer to.
    • "All46" and "All27" are missing a space.
  • 🔧 A native backend for this trait needs EdgeZero KV features that do not exist yet. The trait's stated purpose is to let a backend with real async I/O yield, but EdgeZero's KvStore (imported in core as PlatformKvStore) offers only get_bytes, exists, put_bytes, put_bytes_with_ttl, delete and list_keys_page, and documents Fastly and Cloudflare KV as eventually consistent. It has no generation token, no conditional (add or if-generation-match) write, no metadata and no strong-consistency listing, and EcKvStore requires all of these. The native follow-on therefore depends on EdgeZero asks rather than on Trusted Server plumbing. Please record that dependency in the spec's "Evidence and limits" section so the follow-on is scoped against it.

CI Status

  • Analyze (actions): PASS
  • Analyze (javascript-typescript): PASS
  • Analyze (python): PASS
  • Analyze (rust): PASS
  • browser integration tests: PASS
  • cargo check (cloudflare native + wasm32-unknown-unknown): PASS
  • cargo check/build/test (spin native + wasm32-wasip1): PASS
  • cargo fmt: PASS (required)
  • cargo test: PASS (required)
  • cargo test (axum native): PASS
  • cargo test (cross-adapter parity): PASS
  • cargo test (ts CLI, native) (macos-latest): PASS
  • cargo test (ts CLI, native) (ubuntu-latest): PASS
  • CI Node pin guard: PASS
  • CLAUDE.md symlink guard: PASS
  • CodeQL: PASS
  • docs-proposal scripts: PASS
  • format-docs: PASS (required)
  • format-typescript: PASS (required)
  • HTML EOF runtime (Fastly): PASS
  • integration tests: PASS
  • integration tests (Fastly EC lifecycle): PASS
  • prepare integration artifacts: PASS
  • trace runtime and browser acceptance: PASS
  • ts dev lint domains (changed lines): PASS
  • vitest: PASS
  • worker-deadlines (cloudflare): PASS
  • worker-deadlines (spin): PASS

@dhruv8sh dhruv8sh 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.

Superseded by a follow-up review with inline comments: #1526 (review)

@dhruv8sh dhruv8sh 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

Makes EcKvStore and its core callers async (async_trait(?Send)), with the Fastly adapter bridging at its synchronous entry-point hooks via sequential block_on calls. The conversion is mechanical and consistent, no guard is held across an await in production code, and CI is green. Two non-blocking nits.

Non-blocking

⛏ nitpick

  • Spec cites commits that don't exist here — see inline at docs/superpowers/specs/2026-11-10-shared-async-ec-design.md:5
  • Test name claims a Fastly executor boundary it doesn't exercise — see inline at crates/trusted-server-core/src/ec/pull_sync.rs:950

CI Status

  • Analyze (actions): PASS
  • Analyze (javascript-typescript): PASS
  • Analyze (python): PASS
  • Analyze (rust): PASS
  • browser integration tests: PASS
  • cargo check/build/test (spin native + wasm32-wasip1): PASS
  • cargo check (cloudflare native + wasm32-unknown-unknown): PASS
  • cargo fmt: PASS
  • cargo test (axum native): PASS
  • cargo test (cross-adapter parity): PASS
  • cargo test: PASS
  • cargo test (ts CLI, native) (macos-latest): PASS
  • cargo test (ts CLI, native) (ubuntu-latest): PASS
  • CI Node pin guard: PASS
  • CLAUDE.md symlink guard: PASS
  • CodeQL: PASS
  • docs-proposal scripts: PASS
  • format-docs: PASS
  • format-typescript: PASS
  • HTML EOF runtime (Fastly): PASS
  • integration tests (Fastly EC lifecycle): PASS
  • integration tests: PASS
  • prepare integration artifacts: PASS
  • trace runtime and browser acceptance: PASS
  • ts dev lint domains (changed lines): PASS
  • vitest: PASS
  • worker-deadlines (cloudflare): PASS
  • worker-deadlines (spin): PASS

@ChristianPavilonis ChristianPavilonis linked an issue Nov 12, 2026 that may be closed by this pull request
aram356 added a commit that referenced this pull request Nov 12, 2026


Per the user, every feature is built once and works on every adapter in
platform order, with platform gaps sent to EdgeZero (DEC-16, SH-5). T21
moves the identity routes, EC lifecycle, providers and write-back into one
router in core that each adapter mounts; A2, A10, T8, T9, T17 and T18
shrink to turning it on per adapter and passing the conformance suite, and
T7, T14 and A11 fold into A2 and A10. EZI-2a adds EdgeZero's local store
for Axum development and EZI-4 binds Axum's geo provider from the manifest.

Restack the Axum RC units on #1506: #1531 carries A1 in place of #1528,
#1533 and #1534 close as copies of #1525 and #1526, and the image and
Terraform units sit directly on #1532 so A6 and A7 stop waiting on A2.
Record #1566, refresh the provider stack's fixes at their current heads,
and flag #1535 as unplanned.
@aram356

aram356 commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

CREATOR: From the server-side identity plan (#1559, c7dc9de77): Retarget to main. Address its round-1 review, including the finalize-under-block_on test gap.

Part of #1522

aram356 added a commit that referenced this pull request Nov 19, 2026
Takes #1526's new head 7efca86, which brings #1506's repin of
EdgeZero to rc/identity at 9d02d7b3. The merge is clean, and this PR's tree
changes only by that repin.
Takes #1525's new head 1952dec, which brings #1506's repin of EdgeZero to
rc/identity at d063a8e7 and its merge of main's Fastly SDK 0.13.3 upgrade
(#1671). The merge is clean.
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 5fa44612a, a merge of #1525's new head 1952dec2f. It brings #1506's repin of EdgeZero to rc/identity at d063a8e7 and its merge of main's Fastly SDK upgrade (#1671): fastly 0.13.3, url 2.5.9 and Viceroy 0.22.0. The merge had no conflicts.

ChristianPavilonis added a commit that referenced this pull request Nov 25, 2026
Takes #1525's new head 6e3dd12, 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 2fc33e061, a merge of #1525's new head 6e3dd129c, 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 #1525's new head c278d56, 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 61fa8404f.

Takes #1525's new head c278d56, 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.

Add finalize and generate_if_needed regressions that run inside
futures::executor::block_on, which Fastly uses for dispatch and the
finalize hook, so a nested block_on fails with EnterError in tests.
Rename the pull-sync regression to match and give its assertions
messages. Pin that withdrawal keeps the request snapshot on the
active ID when the cookie names another identity, and list
generate_if_needed's persist and collision errors.
State on EcKvStore that a dropped future may leave a write committed,
and describe the Fastly backend without rules for native backends
that do not exist. The private BatchSyncWriter takes a generic writer,
so it no longer needs async_trait or a boxed future per mapping group.
Fastly drives dispatch, the finalize hook and post-delivery work with
futures::executor::block_on, which panics when nested. Add a --lib
clippy pass that rejects futures::executor::block_on in
trusted-server-core outside tests, run it in the format workflow and
list it as CI gate 18.
Replace unverifiable commit, tree and checksum references with the
implementing commit and its EdgeZero adaptation, describe the single
finalize bridge and #1506's post-delivery bridge, correct the
EcFinalizeState fields and regression list, and record the integration
gap and EdgeZero record-store dependency for a native backend.
@ChristianPavilonis

Copy link
Copy Markdown
Collaborator Author

This comment answers the review-level points from @aram356's reviews (round 1, round 2). Inline threads each have their own reply.

  • Lint against block_on in core (round 2): added in 33d8297. It adds scripts/lint-core-block-on.sh and scripts/clippy-core-block-on/clippy.toml, a step in format.yml after the wasm clock lint, and AGENTS.md gate 18. I appended the gate instead of renumbering because other specs cite gates 14 and 15 by number. The script comment cites Fastly's EdgeZero dispatch, finalize and post-delivery bridges, because PlatformHttpClient::send_async no longer exists in this tree. The lint passes at this head and fails when the withdrawal tombstone call is wrapped in block_on.
  • End-to-end pull sync in the integration suite (round 1): deferred. The integration fixture still declares no pull-enabled partner. Cut Trusted Server over to EdgeZero PR 275 #1506's post_delivery.rs tests run pull sync against the real Fastly KV store under Viceroy, but with a scripted client. The spec's "Evidence and limits" section records the gap (6fd71bb), and a follow-up issue will track adding a pull-enabled partner with a local endpoint.
  • PR description (round 1): rewritten. It drops the stale check count, the description of Allow explicit per-provider HTTP auction endpoints #1525's fixture change and the references to private state.
  • EdgeZero KV dependency for a native backend (round 1): recorded in the spec (6fd71bb), with a corrected premise. At the current EdgeZero pin 1619078a, RecordHandle provides Add and generation-conditional writes, generations, metadata, exists_strong and authoritative partition pages. Fastly and Axum implement it; Cloudflare reports it unsupported, and Spin inherits the unsupported defaults. A native backend would map EcKvStore onto it.

Commits: 91ce692 (executor and snapshot regressions, generate_if_needed errors), b4f6ad5 (trait and module docs, BatchSyncWriter without async_trait), 33d8297 (core block_on lint), 6fd71bb (spec). Checked locally on this tree: cargo fmt; clippy for Fastly, Axum, Cloudflare (native and wasm) and Spin (native and wasm); scripts/lint-core-block-on.sh; test-fastly (3,426 core and 226 Fastly), test-fastly-reuse (226), test-axum (63), test-cloudflare (65) and test-spin (88); and Prettier on the spec and AGENTS.md.

PR #1525's new head brings its plaintext auction provider warning and HTTP opt-in docs. The merge is clean.
PR #1525'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 6fd71bb50 to ab731588b:

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

PR #1525'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 #1525'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. 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 d8b84ae9b to 19952a742:

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 66a59abbd, on top of 19952a742.

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 #1525's new head (6ed3b7952), 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.

@aram356

aram356 commented Dec 5, 2026

Copy link
Copy Markdown
Collaborator

Merged #1525's new head into this PR to carry the #1608 review fixes up the stack. This PR has no fix commits of its own.

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.

Make shared EC persistence awaitable

4 participants