Skip to content

(DO NOT MERGE) Identity integration branch - #1608

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

aram356 wants to merge 1302 commits into
mainfrom
rc/identity

Conversation

@aram356

@aram356 aram356 commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • rc/identity is the Trusted Server integration branch for server-side identity on every adapter (Server-side identity on every adapter #1558), the counterpart of (DO NOT MERGE) Identity integration branch edgezero#495. It carries the ready PRs the Fastly and Axum MVP builds on, joined by history-preserving merges, so identity work can start on the combined stack and CI can test it against main.
  • 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, or a waiting PR becomes ready, the new head is merged on top.

Included

Merged in this order on main 1810c763a; main db36dc0ec (#1671) arrives through #1506's and #1557's merges of it:

Order PR Head Merge commit Merge What it brings
1 #1557 76e1dd5f6 9084af2d5 Clean Sourcepoint TCF consent bridge
2 #1525 cd8977cad 7b01cab86 Clean Explicit per-provider HTTP auction endpoints
3 #1526 e529e5576 ad63e68a4 Clean Awaitable shared EC persistence (#1522)
4 #1503 5e10c24e4 aa9c03461 Clean ts ec show and ts ec eids (#1432)
5 #1506 cee4acb48 30a74def1 31 hunks Cutover to EdgeZero PR 275 (#1507)
6 none 6b32d2b61 Fix commit Lint allowance where #1503 meets #1506
7 #1506 858f95087 4bc4c4847 Clean #1506 repinned to EdgeZero rc/identity at 10166628 (see below)
8 #1506 7ee7e89a5 4a414a00b 1 hunk #1506's round-3 fixes, repinned to EdgeZero rc/identity at 3d92ee38
9 #1506 47a539528 9bd4b1415 Clean #1506 repinned to EdgeZero rc/identity at f84ffbbb
10 #1614 9552a89e0 ad1f77576 Clean Identify and batch sync answered locally on every adapter (#1582), ported onto #1506
10 #1525 f5d8b7f68 ad1f77576 Clean #1525 restacked on #1614, with its #1506 resolution in its own merge
10 #1526 b53c6e2d6 ad1f77576 Clean #1526 restacked on #1525, with its #1506 resolution in its own merge
11 #1487 64674f94c 7b1dba233 Clean Server-side identity provider collection with one page-load write (#1567), ported onto #1526 with #1557 merged
12 #1488 8183c3cae 7b4a43f00 Clean Vendor identity providers and their cookie, refresh and consent hooks, ported onto #1487
12 #1489 a7262c7db 7b4a43f00 Clean Bounded identity mirror, with pull sync as an after-response provider, ported onto #1488
13 #1489 8623c4e3b 241176669 Clean The chain with #1506's repin to EdgeZero rc/identity at 9d02d7b3 and dhruv8sh's latest #1487 to #1489
13 #1616 85abbabfe 241176669 Clean Certificate checks cover every outbound HTTPS request (#1556)
13 #1617 29c1d5498 241176669 Clean One health and startup-failure contract across adapters (#1142)
13 #1615 fb25de501 241176669 Clean Creative proxy identity disclosure policy (#1233)
14 #1620 4de68646d be7a5b985 Clean Identity-only tsjs mode (#1594)
15 #1625 e09478891 30afb9126 Clean Wrangler pinned for the Cloudflare smoke test and CI (#1610)
16 #1639 738ba34c8 c6b7b95f6 Clean Pull sync skips a partner for a row that is already full (#1551)
16 #1640 46530d89e c6b7b95f6 Clean No user.id for a cookie EC without a row (#1549)
16 #1612 36e35f8f8 c6b7b95f6 Clean EIDs in OpenRTB 2.6 user.eids (#1583)
16 #1628 384a481fb c6b7b95f6 Clean SharedID cleanup (#1584)
16 #1623 6fd236e6c c6b7b95f6 Clean One identity app in core for every adapter (#1600)
16 #1531 47411ded7 c6b7b95f6 Clean Native prepared startup and the Axum production runner (A1, through #1573)
16 #1532 4d17086aa c6b7b95f6 Clean Protected CloudFront native Geo (#1529), its profile variable renamed TRUSTED_SERVER__NATIVE_GEO_PROFILE_FILE
16 #1613 2415b7d80 c6b7b95f6 Clean Identity conformance suite (#1586)
16 #1616 c142e8795 c6b7b95f6 Clean #1616 restacked on #1613
16 #1617 b91770e8e c6b7b95f6 Clean #1617 restacked; its failure-router contract covers A1's runner; bash 3.2 smoke fix
16 #1615 255c390e9 c6b7b95f6 Clean #1615 restacked on #1617
16 #1635 06b40446e c6b7b95f6 Clean Serve Axum in production mode from main (#1573), restacked on #1615
16 #1636 cf1102c1e c6b7b95f6 Clean Drain after-response tasks on SIGTERM (#1575)
17 #1637 0f206e4f1 ae7b2ac19 Clean Runtime code reads only TRUSTED_SERVER__ variables through runtime_env! (#1580)
18 #1627 a3d2bd0fd 2bffcf31d Clean Adapter stores implemented or retired (#1139)
19 #1503 667c447e6 61e86d07b Clean ts ec show and ts ec eids (#1432), restacked on #1623
20 #1506 c1974041f 547d335eb Clean #1506 repinned to EdgeZero rc/identity at d063a8e7, with main's Fastly SDK upgrade (#1671) merged
20 #1614 9e08a9bb2 547d335eb Clean #1614 on #1506's new head
20 #1525 1952dec2f 547d335eb Clean #1525 on #1614's new head
20 #1526 5fa44612a 547d335eb Clean #1526 on #1525's new head
20 #1487 60de89610 547d335eb Clean #1487 on #1526's new head
20 #1488 d3135c370 547d335eb Clean Hashed-email intake for LiveRamp and ID5 and its status-call options, and the known-UID setter b2d4bfd80
20 #1489 27651119e 547d335eb Clean #1489 on #1488's new head
20 #1620 43612336a 547d335eb Clean #1620 on #1489's new head; here through #1622's merge of it
20 #1639 e0ddbdbe4 547d335eb Clean #1639 on #1489's new head
20 #1640 83f7701c8 547d335eb Clean #1640 on #1639's new head
20 #1612 983baa76d 547d335eb Clean #1612 on #1640's new head
20 #1628 0347d5652 547d335eb Clean #1628 on #1612's new head
20 #1623 3e7b13b89 547d335eb Clean #1623 on #1628's new head
20 #1531 f94f6f9e9 547d335eb Clean #1531 on #1623's new head
20 #1532 96e21b06a 547d335eb Clean #1532 on #1531's new head
20 #1613 8cca89421 547d335eb Clean #1613 on #1532's new head
20 #1616 4f82b26be 547d335eb Clean #1616 on #1613's new head
20 #1617 bab5a1faf 547d335eb Clean #1617's failure-router notes (6d174a883, 4c07cad1d)
20 #1615 a270b9676 547d335eb Clean #1615 on #1617's new head
20 #1635 10ddb42b6 547d335eb Clean #1635 on #1615's new head
20 #1637 f4201b33e 547d335eb Clean #1637 on #1635's new head
20 #1627 a09391cea 547d335eb Clean #1627 now on #1637, with its runtime KV split (4d0c1a2cf), b95810772 and its merge of #1625
20 #1533 b00cd9784 547d335eb Clean Provider-local HTTP opt-in in the demo baseline, now on #1627
20 #1534 cd6241c42 547d335eb Clean Shared async EC on the compatible demo baseline
20 #1536 6b357d5d6 547d335eb Clean Native EC lifecycle and DynamoDB persistence
20 #1535 04bad8102 547d335eb Clean Existing Sourcepoint consent synchronization
20 #1537 5f97d693b 547d335eb Clean Explicit EC storage selection and celld
20 #1539 3f0ff5f82 547d335eb Clean The source-built native image
20 #1538 667e68df8 547d335eb Clean The native AWS runtime wrapper
20 #1540 ad815e52a 547d335eb Clean The AWS example with CloudFront and durable Edge Cookie storage
20 #1566 4612efcb0 547d335eb Clean The identity stack on the native EC stack (#1567)
20 #1624 00a67cb19 547d335eb Clean SharedID created and written back from the EC record (#1593)
20 #1641 e2f1f6975 547d335eb Clean The lazily opened EC record store in core (#1587)
20 #1642 f654f67ef 547d335eb Clean Awaited identity lookups, and /auction body EIDs saved (#1591)
20 #1646 b5a5f62f8 547d335eb Clean Axum identity through the shared application (#1574)
20 #1636 72096cd1f 547d335eb Clean #1636 now on #1646, draining through #1646's after-response runner; here through #1626
20 #1626 067531e98 547d335eb Clean Provider opt-outs and legacy EID expiry on Fastly and Axum (#1555), now on #1636
20 #1656 1b3da24f7 547d335eb Clean The configurable Edge Cookie browser gate (#1520), a draft that #1661 sits on
20 #1661 fb7793a0e 547d335eb Clean EC creation refused when a trusted JA4 contradicts the User-Agent (#1592)
20 #1662 467dee79d 547d335eb Clean EC route acceptance on Fastly and capped mirrored expiry (#1598)
20 #1622 244ca2621 547d335eb Clean CMP consent reported to the EC route and merged into Prebid (#1599)
21 #1625 006b45eea c86651f9c Clean #1625 on #1506's new head; already here through #1627, so the tree is unchanged
22 #1557 2883e5ed3 ee5405426 Clean #1557 with main at db36dc0ec; already here, so the tree is unchanged
23 #1503 1c71f6223 4f73ed555 Clean #1503's review fixes (378be4537, 7e5983f9e) on #1623's new head
24 #1653 2e2ea205f 15df98e85 Clean The Axum local config handoff, clarified and verified (#1141)
25 #1654 3fafec41a dfd2aa3a0 Clean Pending record writes verified to drain within shutdown grace (#1579)
26 #1655 b76163b0c 923bc5fcf Clean Configurable EC lifetime renewed on eligible visits (#1595, DEC-13), now on #1661
27 #1659 c4d2ce72a c07d1537b Clean Geo consent paths verified on Axum and Fastly (#1518), now on #1661
28 #1622 592b24953 f7a9bc9e7 Clean #1537's EC store link-name fix (b181544a0) through #1622's chain
29 #1653 93e2e29c0 3e5c839f6 Clean The same fix through #1653's chain
30 #1654 1dccbde78 7e87862ab Clean The same fix through #1654's chain
31 #1655 dfb8e3449 ab4142a7a Clean The same fix through #1655's chain
32 #1659 2362e1e7c 5b7ea6f10 Clean The same fix through #1659's chain
33 #1506 42e0c46c7 13a98e71f Clean #1506 repinned to EdgeZero rc/identity at 459bd27d
33 #1614 594625a28 13a98e71f Clean The repin
33 #1525 6e3dd129c 13a98e71f Clean The repin
33 #1526 2fc33e061 13a98e71f Clean The repin
33 #1487 4944050bc 13a98e71f Clean The repin
33 #1488 8148ac673 13a98e71f Clean The repin
33 #1489 8e5642b36 13a98e71f Clean The repin
33 #1620 abbf63f15 13a98e71f Clean The repin; here through #1622's merge of it
33 #1639 fcdb9e80c 13a98e71f Clean The repin
33 #1640 6085b38ec 13a98e71f Clean The repin
33 #1612 d88007043 13a98e71f Clean The repin
33 #1628 9fa139833 13a98e71f Clean The repin
33 #1623 61b4237f0 13a98e71f Clean The repin
33 #1531 2de7dc255 13a98e71f Clean The repin, with its own pin text moved
33 #1532 a509c9348 13a98e71f Clean The repin
33 #1613 edd3c5637 13a98e71f Clean The repin
33 #1616 535c3319b 13a98e71f Clean The repin
33 #1617 6f3aa92e8 13a98e71f Clean The repin
33 #1615 b0b84af1c 13a98e71f Clean The repin
33 #1635 fa250b1d7 13a98e71f Clean The repin
33 #1637 c2f3fc073 13a98e71f Clean The repin
33 #1627 9fbac463c 13a98e71f Clean The repin, with #1625's new head b7e476491 merged
33 #1533 25a8d0362 13a98e71f Clean The repin
33 #1534 fc2d56a28 13a98e71f Clean The repin
33 #1536 6eb6be4d5 13a98e71f Clean The repin, with its own pin text moved
33 #1535 3254b223f 13a98e71f Clean The repin
33 #1537 9be8425a3 13a98e71f Clean The repin
33 #1539 c59897d4f 13a98e71f Clean The repin
33 #1538 4d96cb816 13a98e71f Clean The repin
33 #1540 ffa9350ba 13a98e71f Clean The repin
33 #1566 7d2eda90f 13a98e71f Clean The repin
33 #1624 bce4943cf 13a98e71f Clean The repin
33 #1641 0a18d37aa 13a98e71f Clean The repin
33 #1642 f2c268ae7 13a98e71f Clean The repin
33 #1646 933382699 13a98e71f Clean The repin
33 #1636 3c6b34c54 13a98e71f Clean The repin; here through #1626
33 #1626 7c817db9a 13a98e71f Clean The repin
33 #1656 6eee4a2fb 13a98e71f Clean The repin
33 #1661 62543b0f7 13a98e71f Clean The repin
33 #1662 9df010122 13a98e71f Clean The repin
33 #1622 c72b7c602 13a98e71f Clean The repin
34 #1653 b61d14132 f18734b9a Clean The repin; the tree is unchanged
35 #1654 8bb24b49d a8d04cc39 Clean The repin; the tree is unchanged
36 #1655 3b7913622 4f2581fe1 Clean The repin; the tree is unchanged
37 #1659 20a0e558f 8a2abbdc4 Clean The repin; the tree is unchanged
38 #1503 98d874f22 cad0741be Clean The repin; the tree is unchanged
39 #1660 173d6d06f 042372c38 Clean After-response CAS retry through EdgeZero's RecordHandle::update (#1553), now on #1662
40 #1622 7621b11da f6bb4af2b Clean #1539's container test fix and #1646's store test change
41 #1653 a0ee47b5a 9dd2d43de Clean The same two fixes
42 #1654 ca143b7f3 e5a18de7e Clean The same two fixes, and #1654's missing-secret container case keeps its listener
43 #1655 a93595c85 94adc500b Clean The same two fixes
44 #1659 b72b5e875 8df996cc7 Clean The same two fixes, and #1659's geo consent fixture rename
45 #1660 39cfe1570 49dedcd6e Clean The same two fixes
46 #1622 000f3733b 57df70497 Clean #1506's repin of EdgeZero to rc/identity at 1619078a, which removes IABTechLab/edgezero#522 and #524
47 #1653 41cea4f43 2e827a2c8 Clean The same repin
48 #1654 30e50a6c5 d0e19f9bf Clean The same repin
49 #1655 8560f8e3a bbab02912 Clean The same repin
50 #1659 ba66774e5 50659d9e3 Clean The same repin
51 #1660 ac73237ff f2b42d702 Clean The same repin, and #1660's CHANGELOG entry names 1619078a
52 #1503 1ddd7ff83 c3e336666 Clean The same repin

Moved since c3e336666

#1620 is at 78c2aed5a, this round's merge on top of its new commit c3b0c8410 ("Make the Prebid mode server-owned so GPT refresh follows it"). That commit is not in this branch: #1622 merges #1620, and taking it there conflicts in crates/trusted-server-js/lib/src/integrations/prebid/index.ts, where #1622's EC-route setup sits above the if (merged.mode === 'identity') line that c3b0c8410 changes to injected?.mode. The resolution belongs in #1622's merge of #1620.

The identity integration chain (2026-11-17)

The Trusted Server PRs now stack linearly on the cutover, each merging the one below it and resolving its own conflicts, so this branch takes the top as a plain merge. On GitHub the chain is stack 1621: #1506, #1614, #1525, #1526, #1487, #1488, #1489.

PR Merge in the PR Resolution
#1614 9627ca12a, then 9552a89e0 T1 ported onto #1506: local 501 and 405 answers on #1506's Fastly per-request services and Spin's request API; route tests on #1506's scripted outbound client in place of CapturingOrigin, which implemented the removed platform HTTP client
#1525 45cdb1ee3 The endpoint union and the dropped dormant Cloudflare test from 30a74def1; #1506's test ProviderConfig literals gain allow_insecure_http: false
#1526 f87078412 30a74def1 and 4a414a00b: files only #1506 and #1526 touch match this branch exactly; #1614's identify handler awaits the async handle_identify
#1487 6c0bdae31, 64674f94c Merges #1526 and #1557. #1487's KV and finalize code moves onto #1526's async store, its provider lookups onto EdgeZero's outbound client with start_batch_until, and its Fastly page lookups are collected inside the async finalize under #1506's single block_on. A lookup response first observed after the cutoff is dropped, as the cutover spec records for bids. Details in #1487's comment
#1488 8183c3cae Merges #1487. This PR's cookie reads, GDPR exclusion and opt-out memory run inside #1487's batch dispatch; its after-response provider cookies reach the lookups through post-delivery work
#1489 a7262c7db Merges #1488. Pull sync runs as #1489's after-response provider through #1487's lookup batch on the post-delivery client, under the one post-delivery block_on; the cutover's pull_sync.rs and its 15 s grouped sender stay deleted with #1489's design

GitHub does not let a stacked PR change its base, so stack 1542 (#1525 to #1528) was dissolved before #1525 moved onto #1614, and stack 1563 (#1487 to #1489) before #1487 moved onto #1526; #1527 and #1528 stay open on their old bases. ad1f77576 merges #1526's head, and its tree differs from #1506 plus this branch's earlier resolutions only by #1614.

The 2026-11-27 round

EdgeZero's rc/identity moved from 459bd27d to 1619078a, one revert commit that removes IABTechLab/edgezero#522 (portable DynamoDB and celld record providers on Fastly) and IABTechLab/edgezero#524 (outbound mTLS client identities). Its tree is that branch rebuilt from the heads of its other pull requests. Trusted Server uses neither PR.

57df70497 to c3e336666 merge the tips of #1622, #1653, #1654, #1655, #1659, #1660 and #1503. #1625's new head is already here through #1622's chain. Against 49dedcd6e the branch changes only the pin: Cargo.toml, Axum's Cargo.toml, Cargo.lock's EdgeZero sources, two CHANGELOG lines, the EdgeZero guide and the cutover spec.

The 2026-11-26 CI round

Two CI failures and four code-scanning alerts on this branch predated the round above. Each is fixed in the lowest PR where its cause first appears, then merged up the chain:

Every PR above #1539 merges its base's new head, and f6bb4af2b to 49dedcd6e merge the six tips. #1540's URL-host lint failure on deploy/examples/native-aws-workload/README.md:76 is left to its owner.

The 2026-11-26 round

13a98e71f is a plain merge of #1622's head. f18734b9a, a8d04cc39, 4f2581fe1, 8a2abbdc4 and cad0741be merge #1653's, #1654's, #1655's, #1659's and #1503's heads and keep the first parent's tree. 042372c38 is a plain merge of #1660's head. #1625's and #1557's heads are already here.

The 2026-11-25 round

547d335eb is a plain merge of #1622's head. c86651f9c and ee5405426 merge #1625's and #1557's heads and keep the first parent's tree, since their content is already here. 4f73ed555, 15df98e85, dfd2aa3a0, 923bc5fcf and c07d1537b are plain merges of #1503's, #1653's, #1654's, #1655's and #1659's heads.

Later on 2026-11-25, f7a9bc9e7, 3e5c839f6, 7e87862ab, ab4142a7a and 5b7ea6f10 took #1537's b181544a0, "Accept any Fastly EC store link name at startup", through #1622's, #1653's, #1654's, #1655's and #1659's chains, as plain merges.

The 2026-11-23 round

  • dhruv8sh's drafts #1639, #1640 and #1628 became ready, so the spine on #1489 (#1639, #1640, #1612, #1628, #1623) came in, and with it #1531 and #1532. #1531 closes no issue; it is here through #1573, which cross-references it.
  • Order: the spine, #1531, #1532 and #1613 first, then prk-Jr's #1616, #1617 and #1615, then #1635 with #1636, #1637 and #1627. #1616 now sits on #1613, #1635 on #1615, and each conflict was resolved in the higher PR. #1617's failure router now also covers A1's Axum production runner.
  • #1532 renamed TS_NATIVE_GEO_PROFILE_FILE to TRUSTED_SERVER__NATIVE_GEO_PROFILE_FILE. #1637 reads it through runtime_env!, with one justified allowlist entry for EdgeZero's EDGEZERO__ADAPTER__GEO__PROVIDER. Every open PR stacked on #1532 took the rename in its own merge.
  • #1503 met the chain in two places: #1628 replaced constants::COOKIE_SHAREDID with ec::sharedid::LEGACY_SHAREDID_COOKIE, and #1623 made the admin EIDs handler private. #1503 now sits on #1623 and adopts both, with no compatibility alias. The ec_admin.rs allowance from fix commit 6b32d2b61 now lives in #1503 too.
  • #1617's smoke-common.sh failed under macOS bash 3.2 on an empty array; #1617 fixes it.

c6b7b95f6, ae7b2ac19, 2bffcf31d and 61e86d07b are plain merges of #1636's, #1637's, #1627's and #1503's heads.

The 2026-11-19 round

  • #1506 at feaf3df5d repins EdgeZero to rc/identity at 9d02d7b3, and each PR stacked on it took one merge for it, which changes its tree only by the repin.
  • dhruv8sh's #1487, #1488 and #1489 moved to 5bf65d1ed, 568b79030 and 8623c4e3b: doc alignment, plus opt-out handling in vendor cookies and lookup results.
  • prk-Jr's #1616, #1617 and #1615 now form one line on #1489, which is stack 1647. #1615 conflicts with #1616 in settings.rs and configuration.md, and #1615's own merge resolves it.
  • #1620 merged #1489's new head.

241176669, be7a5b985 and 30afb9126 are plain merges of #1615's, #1620's and #1625's heads.

How #1506's conflicts were resolved

30a74def1 resolves #1506's conflicts with #1525 and #1526 on #1506's structure. git show --remerge-diff 30a74def1 shows exactly what the resolution changed.

Area #1525 / #1526 side #1506 side Resolution
Fastly EC finalize (adapter-fastly/src/main.rs) Awaits EC persistence, bridged with block_on inside edgezero_main Deletes edgezero_main; finalize runs in finalize_response The block_on bridge moves into finalize_response. EdgeZero calls that hook after its dispatch executor has returned, so nothing nests
Post-send pull sync (main.rs) Async pull-sync helpers in main.rs Moves post-send work to post_delivery.rs, which already awaits it #1506's version kept; no production change needed
Pull sync and batch sync (ec/pull_sync.rs, ec/batch_sync.rs) Awaits on snapshot and upsert calls Sends through EdgeZero's send_all_until and a new request builder #1506's send path with #1526's awaits; KV-touching tests become async
Endpoint rule (auction/plan.rs) https, or http with allow_insecure_http https, or http to loopback Union: https, loopback http, or any http with the opt-in
Code #1506 deleted Edits to it Deleted Stays deleted; the edits moved into #1506's replacements

4a414a00b resolves the one conflict of #1506's round-3 head, in ec/pull_sync.rs. #1506 added a sync test, pull_sync_group_failure_names_every_partner_of_the_group, where #1526 had made the pull-sync tests async. The new test moves to #1526's async KV API (a tokio test, with seed_present_snapshot and graph.get awaited), and the existing test keeps this branch's async header.

6b32d2b61 is the one non-merge commit. #1503's ec_admin CLI test reads a body with Body::into_bytes, which #1506's clippy.toml disallows; neither PR fails alone. It allows the lint for that test crate the way #1506's own test crates do.

The EdgeZero repin

On 2026-11-27 #1506 moved to EdgeZero rc/identity at 1619078a, which removes IABTechLab/edgezero#522 and IABTechLab/edgezero#524 by one revert commit. PR 275 stays at 0e2a58ae. No Trusted Server code changes.

On 2026-11-26 #1506 moved to EdgeZero rc/identity at 459bd27d. PR 275 is now at 0e2a58ae, three commits after dbe90854: the Viceroy readiness repair installs wasm32-unknown-unknown before it builds, the repair makes conditional KV inserts atomic, and the Fastly batch cutoff test advances its clock when its request arms its own deadline. The EdgeZero branch carries those through every PR stacked on PR 275, with test fixes in the stack, and merges IABTechLab/edgezero#536, which adds RecordHandle::update, a bounded record update that re-reads and re-plans after a lost precondition. There are no Trusted Server code changes, and this branch takes the repin through 13a98e71f.

On 2026-11-25 #1506 moved to EdgeZero rc/identity at d063a8e7. It carries EdgeZero main's Fastly SDK 0.13.3 upgrade through PR 275, now at dbe90854, and through every PR stacked on it. PR 275 also moves its exact pins to fastly 0.13.3 and url 2.5.9, keeps Image Optimizer unavailability typed under the new SDK, and drains a declared upload before the Axum HTTP/1 transport closes a connection after an early response. Since 9d02d7b3 the EdgeZero branch also merged IABTechLab/edgezero#509's new after-response tests, IABTechLab/edgezero#519's macOS test fixture fixes, main's docs eslint bump, IABTechLab/edgezero#522 (portable Fastly record providers) and IABTechLab/edgezero#524 (outbound mTLS client identities). There are no Trusted Server code changes. #1506 also merges Trusted Server main's upgrade (#1671) in c1974041f, and this branch takes both through 547d335eb.

On 2026-11-18 #1506 moved to EdgeZero rc/identity at 9d02d7b3. It adds the KvStore record contract (IABTechLab/edgezero#510), the portable ClientInfo contract (IABTechLab/edgezero#517) and bounded work after the response (IABTechLab/edgezero#509, IABTechLab/edgezero#512, IABTechLab/edgezero#515). There are no Trusted Server code changes, and this branch takes the repin through 241176669. EdgeZero's rc/identity has since moved to b4d5ba87, which only adds tests, so the pin stays.

On 2026-11-17 #1506 moved to EdgeZero rc/identity at f84ffbbb. It carries PR 275's head ea2549fb, 16 fix and docs commits inside EdgeZero, and #422's stock-celld store service. No Trusted Server code changes; this branch takes it as the plain merge 9bd4b1415.

On 2026-11-16 #1506 moved to EdgeZero rc/identity at 3d92ee38, which carries PR 275's head b65e7144. PR 275's new commits answer three Trusted Server asks:

  • a Fastly managed-logger install failure gets EdgeZero's canonical 500 (IABTechLab/edgezero#505);
  • Fastly logging endpoint names are checked at build time (IABTechLab/edgezero#506);
  • logging_config! is available for hand-written Hooks (IABTechLab/edgezero#504).

#1506's Fastly logging_for now uses that macro (#1611). This branch takes the repin as part of merge 4a414a00b. The earlier repin to 10166628 follows.

The repin lives in #1506 itself, not in this branch, so this branch takes it as a plain merge. EdgeZero's rc/identity adds the PRs stacked on PR 275 to the pin. Three of them reach Trusted Server:

EdgeZero change Trusted Server change in #1506 Commit
IABTechLab/edgezero#409 removes Forwarded and X-Forwarded-* fields on Axum before routing The Axum router records its authenticated forwarder decision in EdgeZero's received-head preparer (IABTechLab/edgezero#499), which runs before that removal. Code and tests come from 3da80afd7 in #1605 32526960d
IABTechLab/edgezero#460 adds cache tags to OutboundCachePolicy, so it is no longer Copy Test code clones it, and ExpectedTransport drops Copy 32526960d
EdgeZero's workspace pins getrandom exactly, as one of its audited exact pins The lockfile moves from getrandom 0.4.3 to 0.4.2 32526960d
None The spec's D5 now pins an rc/identity commit rather than PR 275's head 858f95087

Without the preparer, two ts dev proxy tests fail on Axum. One shows the publisher rewriting links to the loopback authority instead of the browser's. The other shows trace enable returning 403 when the proxy does not rewrite Host. With the preparer both pass, and removing it makes the new preparer test fail.

Open points for the owning PRs

Point Owning PR
On A1's runner, failures before Trusted Server's initializer still exit non-zero before listening: EdgeZero's provider preparation (a missing config file, AppConfig profile or Secrets Manager secret), extraction-limit validation, the hosting and Geo profile, ingress and bind EdgeZero; #1617 covers the rest and documents these exits
ts ec eids --shared-id always sends sharedId; a site that configures another SharedID cookie name gets no echo #1503
Axum startup and native_acceptance fixtures reserve a port, release it, then bind; under load the bind fails with address unavailable #1531, #1617
The endpoint error text and its docs describe only the loopback rule, not the allow_insecure_http opt-in #1525, which now lands after #1506
No test sends to an opted-in non-loopback http endpoint through EdgeZero's client #1525, which now lands after #1506
docs/superpowers/specs/2026-11-10-shared-async-ec-design.md says EcFinalizeState carries services, which #1506 removed #1526
173d6d06f (#1660) adds EcKvStore::update to #1636's after_response_drain_tests fixture store, re-implementing EdgeZero's RecordHandle::update contract in the fixture, so the drain tests pass on #1660's update path #1636, #1660
#1617's contract replaces the cutover's startup statements: Axum serves a failure router instead of exiting, Spin's /health stays 200 during a startup failure, and Cloudflare answers the fixed 503 instead of a JSON 500 #1617, which lands after #1506

Waiting on

None. The PRs that waited here, #1566, #1624, #1641, #1642, #1646, #1626 and #1622, and #1533 to #1540 below them, are now included (see the 2026-11-25 round).

Not included

This branch takes the identity PRs that are in review, plus what they stand on: Christian's native Axum baseline stack (#1533 to #1540) and the draft #1656 under the EC route line came in by decision in round 6.

PR What it is Why not here
#1657 Skip invalid stored EID values alone instead of failing the row (#1554), on #1641 Not in the chain
#1605 Follow-up above an older #1506 checkpoint Closed. Its forwarder change lives in #1506 (32526960d)
#1449, #1543 Reproducible Fastly builds and release publishing Release tooling; the identity MVP does not wait on it

EdgeZero pin

Pinned by EdgeZero revision Next
#1506 rc/identity at 1619078a (IABTechLab/edgezero#495), which carries PR 275 at 0e2a58ae Moves with EdgeZero's rc/identity; an EdgeZero release tag once PR 275 merges

EdgeZero rc/identity is at 1619078a, the pinned commit.

Refs #1558. Planned in #1559.

Test plan

At c3e336666, run locally on macOS:

Check Result
cargo check --locked: the CLI and Axum with all targets, Axum also with aws-dynamodb-ec,celld-ec, then check-fastly, check-cloudflare and check-spin Pass
Every new PR head re-resolves each of its lockfiles offline without a change Pass on all 48
459bd27d outside the cutover spec's pin history, on every new head and on this branch None
CI on this PR Running at c3e336666

Earlier, at 49dedcd6e, run locally on macOS:

Check Result
scripts/test-native-container.mjs on images built from 49dedcd6e, #1539's cf4e815d4 and #1654's 8d8892ba4 Pass on all three, including both invalid-input cases, the page rewrite and the drain
#1646's handwritten_store_metadata_matches_the_manifest and #1659's geo_consent_runtime_axum (geo-cloudfront), with fmt and clippy Pass
A CodeQL 2.27.5 scan of the whole tree with the two queries behind those alerts The same results as CI on 042372c38, without the four alerts
CI on this PR Pass, except the URL-host lint on #1540's deploy/examples/native-aws-workload/README.md:76

Earlier, at 042372c38, run locally on macOS:

Check Result
cargo fmt --all -- --check and all eight clippy aliases Pass
test-fastly (4,413), test-axum (136), test-spin (93), test-cloudflare (75), host CLI tests (1,000), node --test scripts/smoke-cloudflare.test.mjs (6) Pass, none failed
#1660 at 173d6d06f: fmt, clippy-fastly and clippy-axum; test-fastly (4,387); test-axum (134) Pass. Before the drain fixture change, test-axum failed the four drain tests
#1660's ec::after_response, ec::kv and ec::record_backend tests, five runs on Viceroy Pass every run
The Axum drain tests on #1660, five runs Four passed; one failed task_budget_cancels_work_independently_of_shutdown_grace on the fixture's loopback probe, a failure also seen on this branch before the change
CI on this PR Running at 042372c38

Earlier, at c07d1537b:

Check Result
node --test scripts/smoke-cloudflare.test.mjs, the smoke self-test that worker-auction-deadlines.yml runs; at 61e86d07b it passed 1 and failed 5 Pass, 6 of 6
CI on this PR Running at c07d1537b

Earlier, at 61e86d07b, run locally on macOS with Wrangler 4.83.0 and wasm-bindgen 0.2.126 as pinned:

Check Result
cargo fmt --all -- --check, all eight clippy aliases and the core build-digest clippy Pass
test-fastly (4,212), test-fastly-reuse (256), test-axum (109), test-cloudflare (72), test-spin (91), parity (40), core build-digest test (10), host CLI tests (1,008) Pass, none failed
JS tests (3,341) and format, docs and Markdown format, docs-proposal scripts, Node pin guard, URL-host lint, scripts/lint-wasm-clock.sh Pass
Runtime environment guard, Fastly deadline fixtures, Cloudflare and Spin auction-deadline fixtures, release and provider helper tests, Fastly response diff, HTML EOF harness Pass
smoke-fastly.sh, smoke-axum.sh, smoke-cloudflare.sh and smoke-spin.sh under macOS bash 3.2 Pass
Every ported PR at its new head: the full gate list on #1532, #1617, #1636, #1637, #1627 and #1503; fmt, the clippy aliases, test-axum and parity on #1613, #1616, #1615 and #1635; the smoke scripts on #1617, #1636, #1637 and #1627 Pass
CI on this PR Running at 61e86d07b

Earlier, at 30afb9126, run locally on macOS:

Check Result
cargo fmt --all -- --check, all eight clippy aliases and the core build-digest clippy Pass
test-fastly (4,119), test-fastly-reuse (251), test-axum (65), test-cloudflare (67), test-spin (90), parity (40), core build-digest test (10), host CLI tests (1,008) Pass, none failed
scripts/lint-wasm-clock.sh, docs and Markdown format, URL-host lint Pass
#1616 at 85abbabfe, #1617 at 29c1d5498 and #1615 at fb25de501: the same gates each Pass
CI on this PR Running at 30afb9126

Earlier, at 7b4a43f00, run locally on macOS:

Check Result
cargo fmt --all -- --check, all eight clippy aliases and the core build-digest clippy Pass
test-fastly (4,063), test-fastly-reuse (243), test-axum (64), test-cloudflare (66), test-spin (89), parity (33), core build-digest test (10) Pass
Host CLI tests Pass: 1,000 on rerun. The first run failed collects_lazy_gpt_slot_only_when_scroll_is_enabled, a real-Chrome audit test that timed out waiting for the browser to exit; it passed 3 of 3 alone, and the merge changes nothing under commands/audit
scripts/lint-wasm-clock.sh, docs and Markdown format, URL-host lint Pass
#1488 at 8183c3cae and #1489 at a7262c7db: the same gates (4,076 and 4,063 Fastly tests, 972 CLI) Pass
Every in-review PR head is an ancestor of 7b4a43f00 Pass
CI on this PR Running at 7b4a43f00

Earlier, at 7b1dba233, run locally on macOS:

Check Result
cargo fmt --all -- --check, all eight clippy aliases and the core build-digest clippy Pass
test-fastly (3,929), test-fastly-reuse (242), test-axum (64), test-cloudflare (66), test-spin (89), parity (33), host CLI tests (993), core build-digest test (10) Pass
scripts/lint-wasm-clock.sh, docs and Markdown format, URL-host lint Pass
#1487 at 64674f94c: the same gates Pass
CI on this PR 31 of 31 pass at 7b1dba233

Earlier, at ad1f77576, run locally on macOS (the gates ran on the same merge before #1614's three-line host fix, which then passed the URL-host lint and its four Fastly tests):

Check Result
cargo fmt --all -- --check, all eight clippy aliases and the core build-digest clippy Pass
test-fastly (3,734), test-fastly-reuse (226), test-axum (63), test-cloudflare (65), test-spin (88), parity (33), host CLI tests (993), core build-digest test (10) Pass
scripts/lint-wasm-clock.sh, docs and Markdown format, URL-host lint Pass
#1614, #1525 and #1526 each at their new head: fmt, all clippy aliases, scripts/lint-wasm-clock.sh, the four adapter suites, test-fastly-reuse and parity Pass
CI on this PR Superseded by 7b1dba233

Earlier, at 9bd4b1415, run locally on macOS:

Check Result
cargo fmt --all -- --check, all eight clippy aliases and the core build-digest clippy Pass
test-fastly (3,726), test-fastly-reuse (224), test-axum (60), test-cloudflare (62), test-spin (85), parity (33), host CLI tests (993) Pass
Core build-digest test, scripts/lint-wasm-clock.sh, JS tests (3,310) and format, docs and Markdown format, docs-proposal scripts, Node pin guard, URL-host lint Pass
CI on this PR Running at 9bd4b1415

Earlier, at 4a414a00b, run locally on macOS:

Check Result
cargo fmt --all -- --check Pass
All eight clippy aliases and the core build-digest clippy Pass
test-fastly (3,726), test-fastly-reuse (224), test-cloudflare (62), test-spin (85), parity (33), host CLI tests (993) Pass
test-axum (60) 59 passed, 1 failed in the gate run: publisher_input_cap_matrix_axum read an incomplete body (IncompleteBody). The test then passed 3 of 3 alone and the alias passed 5 of 5 full runs. #1506's head 7ee7e89a5 also passed 5 of 5. The cause is not reproduced
Core build-digest test, scripts/lint-wasm-clock.sh, JS tests (3,310) and format, docs and Markdown format, docs-proposal scripts, Node pin guard, URL-host lint Pass
CI on this PR Running at 4a414a00b

Earlier, at 4bc4c4847, run locally on macOS:

Check Result
Every head in Included is an ancestor of this branch through history-preserving merges Pass
cargo fmt --all -- --check Pass
All eight clippy aliases and the core build-digest clippy Pass
test-fastly (3,723), test-fastly-reuse (223), test-axum (60), test-cloudflare (62), test-spin (85), parity (33), host CLI tests (981) Pass
Core build-digest test, scripts/lint-wasm-clock.sh, JS tests (3,310) and format, docs and Markdown format, docs-proposal scripts, Node pin guard, URL-host lint Pass
The same 27 gates on #1506's own head 858f95087 Pass
CI on this PR 31 of 31 pass at 4bc4c4847

prk-Jr and others added 2 commits November 25, 2026 14:44
Give a client refused identity creation no navigation write permit and
no finalize record writes, except for consent withdrawal, on Fastly,
Axum and the EC route. The EC route GET no longer restores SharedID for
such clients.

Keep the record service on /auction so a refused client's cookie EC is
still checked against its record before bidders receive it as user.id;
only the body EID write is skipped. Pass the auction graph, registry and
write permission as one AuctionIdentity, and give Axum page-bids and
publisher the same validating graph as Fastly.

Remove the unused DeviceSignals::looks_like_browser and assert the real
gate in the Fastly tests. Add shared Fastly/Axum conformance for a known
non-browser navigation, EC GET and withdrawal.
Takes main at db36dc0: the Fastly SDK 0.13.3 upgrade (#1671), with fastly
0.13.3, url 2.5.9, EdgeZero v0.0.12 and Viceroy 0.22.0, and #1493, #1455 and
#1516, merged since this PR's base. The merge is clean.
Takes #1534's new head 8fd3dd1, 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.

This PR's own EdgeZero pin text moves from 459bd27d to 1619078a as well, in
`crates/trusted-server-adapter-axum/Cargo.toml`.

Cargo.lock is re-resolved after the merge so it passes --locked:
+aws-sdk-dynamodb 1.120.0 +http 0.2.12.
Takes #1536's new head cc84b6d, 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.
Takes #1535's new head 79860c7, 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).

`Cargo.toml` conflicts only where this PR's own edits sit next to the
EdgeZero pin text; the merge keeps this PR's text with the new pin.
Takes #1537's new head b53f26a, 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.
Takes #1539's new head 0e94ff2, 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.
Takes #1538's new head a9c7778, 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.
Takes #1540's new head e14351d, 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.
Takes #1566's new head baa2e43, 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.
Takes #1624's new head 5ab4e6b, 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.
Takes #1641's new head 04cb794, 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.
Takes #1642's new head 3b6b8b5, 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.
Takes #1646's new head 6b4a5fd, 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.
Takes #1646's new head 6b4a5fd, 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.
Takes #1646's new head 6b4a5fd, 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.
Takes #1636's new head 73a36a9, 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.
Takes #1626's new head 8ea87b7, 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.
Takes #1656's new head f03c64a, 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.
Takes #1661's new head 5d951a7, 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.
Takes #1661's new head 5d951a7, 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.
Takes #1661's new head 5d951a7, 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.
Takes #1662's new head faaf573, 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.
Takes #1662's new head faaf573, 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.

This PR's own EdgeZero pin text moves from 459bd27d to 1619078a as well, in
the `CHANGELOG.md` entry that names the commit #1506 pins, which still
carries EdgeZero 536.
#1622 (000f373) 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), through the
chain below it. The merge is clean.
#1653 (41cea4f) 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), through the
chain below it. The merge is clean.
#1654 (30e50a6) 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), through the
chain below it. The merge is clean.
#1655 (8560f8e) 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), through the
chain below it. The merge is clean.
#1659 (ba66774) 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), through the
chain below it. The merge is clean.
#1660 (ac73237) 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), through the
chain below it. The merge is clean.
#1503 (1ddd7ff) 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), through the
chain below it. The merge is clean.
@aram356
aram356 marked this pull request as draft November 27, 2026 18:53

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.

5 participants