Skip to content

(DO NOT MERGE) Identity integration branch - #1608

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

aram356 wants to merge 1855 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
53 #1503 4225024db db7dce634 Octopus The 2026-12-01 round through #1503's chain
53 #1653 4bd49039a db7dce634 Octopus The same round through #1653's chain
53 #1654 95cf3e8fa db7dce634 Octopus The same round through #1654's chain
53 #1655 05c509d95 db7dce634 Octopus Configurable EC lifetime (#1595), now on #1662
53 #1622 afe521794 db7dce634 Octopus The same round through #1622's chain, now with #1620's new head
53 #1660 c1a05d736 db7dce634 Octopus The same round through #1660's chain
53 #1666 108b1228d db7dce634 Octopus Identity gates and provider deadlines verified on Axum (#1581)
53 #1659 5fb81908f db7dce634 Octopus Geo consent suite (#1518) on #1718, with #1714, #1717 and #1718 below it
53 #1709 6d152f64f db7dce634 Octopus EC kept out of bid request IDs and user.id gated on EID consent (#1707)
53 #1710 dcceeee98 db7dce634 Octopus Pull-sync consent rule on the identify route (#1694)
53 #1713 cae7801b1 db7dce634 Octopus Consent rules for first-party click redirects (#1693)
53 #1557 302e97233 db7dce634 Octopus Sourcepoint TCF mirror writes ordered by browser time
54 #1503 1d51b788e 391a08578 Octopus The round 15 repin through #1503's chain
54 #1653 f217902ae 391a08578 Octopus #1653's new bc7b39f09 (Axum config handoff and cleanup), rebuilt on #1646
54 #1654 e4e68bb9b 391a08578 Octopus The same repin through #1654's chain
54 #1655 7d0cdb2bf 391a08578 Octopus The same repin through #1655's chain
54 #1659 bd707f282 391a08578 Octopus The same repin through #1659's chain
54 #1660 87c52cd43 391a08578 Octopus The same repin through #1660's chain
54 #1666 b1d7062c9 391a08578 Octopus #1662's 14749b9a6, resolved in #1666, then the repin
54 #1710 3d3335943 391a08578 Octopus The same repin through #1710's chain
54 #1557 398214387 391a08578 Octopus The same repin through #1557's chain
54 #1667 f9ac6bba6 391a08578 Octopus Client certificates on auction providers (#1650), now on #1675
54 #1607 b3a0b0987 391a08578 Octopus Origin client-IP header (#1609), now on #1662
54 #1709 635f06a2b 391a08578 Octopus The repin, now on #1675
54 #1713 e5f4d0590 391a08578 Octopus The repin, now on #1675
54 #1622 dd2ee392a 391a08578 Octopus Now on #1675, with #1620's new head; carries #1675 (#1669)
55 #1667 cb790530b 861207105 Clean The template cache harness fix: the commented mtls_slot block moves below timeout_ms = 2000
56 #1620 4938660f3 b52477796 Clean EID deduplication before bidder delivery, merged here by its owner
57 #1533 779e44673 62f8e41e2 Clean Axum startup-test port fix; the 34 chain PRs above #1533 merge the same commit
58 #1627 7c2b84f45 b9dc3153e Clean Runtime KV store removed; the 34 chain PRs above #1533 merge the same commit
59 #1503 6a8797e3c 0ed862633 Octopus The round's base heads through #1503's chain
59 #1557 a43577889 0ed862633 Octopus The round's base heads through #1557's chain
59 #1607 07086f23e 0ed862633 Octopus Origin client-IP header (#1609): its four review commits, set before cache keying
59 #1627 5b7fc3d9b 0ed862633 Octopus The round's base heads through #1627's chain
59 #1636 d8389317c 0ed862633 Octopus The round's base heads through #1636's chain
59 #1653 5b86d9be5 0ed862633 Octopus The round's base heads through #1653's chain
59 #1654 be495b3d4 0ed862633 Octopus Its owner commit 15235e2cb
59 #1655 888c5f1b8 0ed862633 Octopus Its owner commit c30ae53ae, resolved against #1646
59 #1659 7b1d4a7c1 0ed862633 Octopus Its owner commit 3b8d911a4, and #1666 merged with #1666's TCF test helper
59 #1660 64a1baae3 0ed862633 Octopus The round's base heads through #1660's chain
59 #1667 1359722eb 0ed862633 Octopus The round's base heads through #1667's chain
59 #1709 bc43a3ef6 0ed862633 Octopus The round's base heads through #1709's chain
59 #1710 dc728a1a1 0ed862633 Octopus The round's base heads through #1710's chain
59 #1713 ffa75975e 0ed862633 Octopus The round's base heads through #1713's chain
59 #1722 070e2b075 0ed862633 Octopus GPP applicable sections from the CMP (#1686), new here, on #1622 with #1714 merged
60 #1660 3693ce95d 547991b80 Clean #1654 merged into #1660, with #1654's drain verifier pointed at the outcome log #1660 moved
61 #1722 80d1ee52f 9ff0e494f Clean #1735: the SharedID _cst hash uses the CMP's applicable GPP sections, as Prebid.js does

Moved since 9ff0e494f

None when this round was pushed.

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-12-03 evening round

The 2026-12-03 round

EdgeZero's rc/identity moved from 8a73c097 to ef5cbf308 (IABTechLab/edgezero#495). That brings back IABTechLab/edgezero#524, outbound mTLS client identities on Fastly, which the 2026-11-27 round removed, and replaces crates that crates.io yanked on 2026-12-02.

391a08578 is one octopus merge of the fourteen tips. Git's octopus strategy uses a single merge base and stops at #1503, so the commit was made with git commit-tree on the automatic union tree. Every pair of tips merges cleanly.

CI then failed cargo test at 391a08578, in the template cache harness (scripts/template-cache-local-test.sh), which the local gate list does not include. The harness replaces sanitize_creatives = false followed by timeout_ms = 2000 in trusted-server.example.toml, and #1667's commented mtls_slot block sat between them. #1667's cb790530b moves the block, and 861207105 merges it.

#1539's CI then failed once in axum_main_serves_the_failure_router_when_settings_fail, with a race #1533 added. The test released a port-0 port before the spawned binary bound it, and on Linux another test's port-0 bind can take that port in between. #1533's 779e44673 reserves the port below the ephemeral range. The 34 chain PRs above #1533 merge that commit directly, so owner commits pushed since this round stay out until the next one, and 62f8e41e2 merges it here on top of #1620's owner merge.

The 2026-12-01 round

Owners pushed review fixes across both stacks on 2026-11-30 and 2026-12-01. EdgeZero's rc/identity moved from 1619078a to 8a73c097 (IABTechLab/edgezero#495), which carries those fixes through its stack and adds IABTechLab/edgezero#464.

  • #1506's fd56341f8 merges main at ab5c24f73 (#1501) and repins EdgeZero to 8a73c097. Trusted Server builds unchanged, and in Cargo.lock only the ten EdgeZero package sources move.
  • Every chain PR merges its base's new head twice: once for the owners' review fixes, then once for #1506's new head. A conflict is resolved in the first PR where it appears, and each merge message names it. Decisions an owner should check are noted on #1533, #1635, #1646 and #1622.
  • #1622 now takes #1620's new head, and the prebid/index.ts conflict from the last round is resolved there.
  • #1666 (#1581) is new, on #1662.
  • #1655 merges #1662, which changes the same EC finalize function, and its base moves to #1662's branch.
  • The main-based in-review PRs move onto the chain. #1709, #1710, #1713, #1714 and #1557 sit on #1662's branch, #1717 stays on #1714, and #1718 moves onto #1717, because the two change the same jurisdiction detection. Each resolves its conflicts in its own merge, and each fix's tests fail on the chain without it. #1659's geo consent suite moves onto #1718 and follows the policy #1717 and #1718 set.

db7dce634 is one octopus merge of the twelve tips. This branch held every sibling tip's old head, so a single tip meets another sibling's old code when merged alone. Together they merge without any resolution, and the tree is git's automatic merge.

Round 13 (59a2774d0, also an octopus) fixes the URL-host lint where the lines were added: #1535 moves its consent update test host to publisher.example.com, and #1540 marks its two documentation links with allow-domain. It also carries #1535's 13eb9d639 (#1678), resolved in #1622, which had split the GPP capture tests.

Round 14 (b9b61777d, twelve plain merges) takes #1506's aadc1a7a9, which moves the five /auction test requests in auction/endpoints.rs from test-publisher.com to publisher.example.com. Main already had those lines, but this branch's whole diff against main paired one with #1506's rewrite of a nearby test, so the URL-host lint flagged it here. Every chain PR merged it without conflicts, and the lint against main now reports no hits.

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.

  • #1506's 8edc50e50 repins EdgeZero to 1619078a. In Cargo.lock the ten EdgeZero package sources move and 30 packages leave it: aws-config, the DynamoDB client, the smithy runtime and their helpers, which were recorded but not built. The CHANGELOG, the EdgeZero guide and the cutover spec's pin history name the new commit.
  • Every chain PR merges its base's new head, 48 PRs in all. #1536 and #1660 move their own pin text too: #1536's edgezero-store-aws dependency in crates/trusted-server-adapter-axum/Cargo.toml, and #1660's CHANGELOG entry. #1617's CHANGELOG.md, #1635's docs/guide/native-rc-demo.md and #1537's Cargo.toml conflict only where their own edits sit next to the pin, and keep their own text with the new pin. #1531's Cargo.lock is merged by package entry and re-resolved, which brings back the 28 AWS packages its native AWS stores need; #1536's adds aws-sdk-dynamodb and http 0.2.12.
  • #1620's new commit c3b0c8410 is not taken (see Moved).

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:

  • local-provider-image on #1539 to #1642 failed "invalid-envelope must not listen". The Axum adapter has served the failure router for invalid inputs since #1533, and 3f0ff5f82 brought that into #1539, whose container test still expected startup rejection. #1539's cf4e815d4 adopts the expectation #1646 already had.
  • local-provider-image on #1654 and this branch failed "missing-secret must keep serving the failure router". #1654 ran that case under a seccomp profile that denies bind and listen, which 3fafec41a combined with #1646's expectation. #1654's 8d8892ba4 drops the profile.
  • Two fix commits clear the code-scanning alerts in the PRs that introduced them: #1646's a18abf428 compares undeclared KV stores with assert_eq! in the store metadata test, fixing my own resolution in b5a5f62f8, and #1659's 0c887aceb renames the geo consent test's trusted fixture to accepted.

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

  • #1506 at 42e0c46c7 repins EdgeZero from d063a8e7 to rc/identity at 459bd27d. PR 275 is now at 0e2a58ae: the Viceroy readiness repair installs wasm32-unknown-unknown before it builds and makes conditional KV inserts atomic, and the Fastly batch cutoff test advances its clock when its request arms its own deadline. The branch also carries the EdgeZero stack's test fixes and IABTechLab/edgezero#536, which adds RecordHandle::update. There are no Trusted Server code changes, and in Cargo.lock only the ten EdgeZero package sources move.
  • Every chain PR takes the repin through one merge of its base's new head; #1627 merges #1637 and then #1625, and #1622 merges #1662 and then #1620. The only conflicts were pin text next to a PR's own edits, and each keeps the PR's text with the new pin: #1617's CHANGELOG, #1635's docs/guide/native-rc-demo.md and #1537's Cargo.toml. #1531 and #1536 move their own pin text, in docs/guide/native-rc-demo.md and the Axum Cargo.toml.
  • #1660 is back in the chain, on #1662. Its merge 173d6d06f replaces its e9a22a70 preview pin with 459bd27d, which carries IABTechLab/edgezero#536, ports the retry onto #1646's after-response runner, where commit_after_response_lookups now logs the outcome with the conflict count, and gates its test doubles #[cfg(test)]. It also adds update to #1636's drain-test fixture store, because with only insert the follow-up write fell back to last-write-wins and four drain tests failed; see the open points.
  • Bases: #1660 now targets feat/1598-ec-route-fastly. #1626 should target feat/1575-drain-after-response and #1533 fix/1139-adapter-store-inventory, but both are still blocked by GitHub stacks 1665 and 1631.

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

  • #1506 at c1974041f repins EdgeZero to rc/identity at d063a8e7 and merges main's Fastly SDK upgrade (#1671): fastly 0.13.3, url 2.5.9 and Viceroy 0.22.0. Each PR stacked on it takes both through its merge of the PR below, and #1557 merges main itself.
  • The PRs that waited here (#1566, #1624, #1641, #1642, #1646, #1626 and #1622, with #1533 to #1540 below them) and #1656, #1661 and #1662 now come in through #1622's chain, and #1653, #1654, #1655 and #1659 come in as plain merges. #1656 is a draft; #1661 sits on it.
  • #1627 now stacks on #1637 and merges #1625, so the docs/guide/cloudflare.md conflict between the two is resolved in #1627 instead of in this branch. #1533 now stacks on #1627, so #1533 to #1646 sit on the Axum serving line, and the two lines, which both started from #1532, are combined in PRs. #1637 stays on #1635.
  • #1636 now sits on #1646: prk-Jr merged #1646 into #1636 (551419068) and adopted #1646's after-response runner, in place of the one this branch took with cf1102c1e. #1626 now merges #1636 instead of #1646, so #1636 arrives through #1626 and the EC route line above it. #1655 and #1659 now sit on #1661, so this branch takes both as plain merges.
  • Owners' new commits, each merged by the PR above it: #1488's hashed-email intake (a610152b6, 9104fd3cd) and status-call options (f063a76df); #1627's split of the generic runtime KV store into trusted_server_runtime_kv (4d0c1a2cf); #1646's gate on identity writes for rejected clients (aa315593f), its native container test of the failure router (4f4c03689) and that test's header check on an ordinary route (71a573a08); #1626's withholding of a mirrored UID while another source owner is opted out (d07f789a4); #1617's description of the Axum startup failure router (6d174a883) and of the startup failures that still exit before listening (4c07cad1d); and #1503's review fixes (378be4537, 7e5983f9e). Each conflict was resolved in the higher PR.
  • Two fix commits clear #1608's code-scanning alerts in the PRs that introduced them: #1488's b2d4bfd80 records known UID hashes with a setter, and #1627's b95810772 decodes the Spin discovery document with Response::json.
  • #1637's guard lets serving code read only TRUSTED_SERVER__ names through runtime_env!, so #1536 and #1537 rename the native EC record switches to TRUSTED_SERVER__EC_DYNAMODB_ENABLED and TRUSTED_SERVER__EC_RECORDS_ENABLED, and #1539, #1538 and #1540 use the new names.
  • node --test scripts/smoke-cloudflare.test.mjs, the smoke self-test that worker-auction-deadlines.yml runs, failed on 61e86d07b (1 passed, 5 failed). #1627's merge of #1625 (a09391cea) fits its fixture to #1617's smoke script, and #1537's merge (5f97d693b) fits its ts stub to #1537's storage step, so all six tests pass at c07d1537b.
  • #1617's 6d174a883 closes the open point on docs/guide/architecture.md: its Axum Startup failure row now describes the failure router and the failures that still exit before listening.
  • Bases: #1627 now targets feat/1580-runtime-env-guard, and #1655 and #1659 target feat/1592-ja4-ua-contradiction. #1626 should target feat/1575-drain-after-response and #1533 fix/1139-adapter-store-inventory, but GitHub does not allow a base change for a PR inside a stack (stacks 1665 and 1631), so their diffs still show #1636's and the Axum serving line's changes.
  • #1660 is held out. Its new head 96a9c152c pins EdgeZero e9a22a709 for IABTechLab/edgezero#536 (RecordHandle::update), which EdgeZero rc/identity does not carry.

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
The combined Prebid shim is 67,930 characters against the 68,000 guard, so the next shim change will likely trip it #1622
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 ef5cbf308 (IABTechLab/edgezero#495), which carries PR 275 at a3c5f3dd Moves with EdgeZero's rc/identity; an EdgeZero release tag once PR 275 merges

EdgeZero rc/identity is at ef5cbf308, the pinned commit.

Refs #1558. Planned in #1559.

Test plan

Run locally on macOS. The full list ran on a candidate whose tree differs from 391a08578 only in #1653's new head, a test move in #1667 and one plan file; the checks those touch were rerun on the final tree.

Check Result
cargo fmt --all -- --check, all eight clippy aliases, the Cloudflare and Spin wasm test-utils clippy, and the core build-digest test and its clippy Pass
test-fastly (4,551), test-fastly-reuse (271), test-axum (156) and its geo-cloudfront (167), geo-kv (156) and aws-dynamodb-ec (156) suites, test-cloudflare (79), test-spin (96), parity (42), host CLI tests (1,006) Pass
JS tests (3,596) and format, docs and Markdown format, Node pin guard, docs-proposal scripts, release phase1 checks, scripts/lint-wasm-clock.sh, the smoke script tests and a real Axum smoke run Pass
Fastly deadline and proxy-policy fixtures, Cloudflare and Spin auction-deadline fixtures, Axum and Fastly HTML EOF runs (Fastly on Viceroy 0.22) Pass
URL-host lint against main Pass
Each new PR head: fmt and cargo check for every adapter and the CLI; full gates at the tips Pass
Docker integration suite, browser fixtures, Linux-only CLI release checks Not run locally
Template cache harness (esi, inline, purge) at 861207105, Viceroy 0.22 Pass, 23, 9 and 35 checks
At 62f8e41e2: cargo fmt --check and cargo test-axum (157 pass); the routes tests at the new #1536, #1540, #1662 and #1622 heads; the new port test fails with the old helper put back Pass
At 0ed862633: fmt, the eight clippy aliases, test-fastly (4,582), test-fastly-reuse (273), test-axum (160), test-cloudflare (78), test-spin (95), parity (42), JS (3,623), the core build-digest test and lint, and the script, lint and Node guard gates Pass
At 0ed862633: Fastly deadline fixtures, Spin auction-deadline fixture, Fastly, Axum and Spin smoke runs, template cache harness (23, 9 and 35 checks), URL-host lint against b9dc3153e Pass
At 0ed862633: Axum and Fastly HTML EOF runs (Fastly on Viceroy 0.22) and the EOF harness test Pass
At 0ed862633: Cloudflare auction-deadline fixture and smoke run Not run locally (needs Wrangler 4.83.0); CI runs both
At 547991b80: the native container record check in binary mode (10 cases pass; with 0ed862633's verifier it fails as CI did) and the script tests (34) Pass
At 80d1ee52f (#1722): fmt, the six adapter clippy aliases, test-fastly (4,493), test-fastly-reuse (269), test-axum (147), test-cloudflare (75), test-spin (93) and parity (42); the new hash test fails on 070e2b075 Pass
At 9ff0e494f: the core consent and SharedID tests (196); the diff from 547991b80 has the same patch-id as 80d1ee52f Pass
CI on this PR at 547991b80 42 of 42 pass. All 60 chain PRs pass too, after reruns of seven integration jobs that runner cancellations or a stalled artifact download stopped
CI on this PR at 0ed862633 The native container record check failed; fixed by #1660's 3693ce95d
CI on this PR at 62f8e41e2 42 of 42 pass
CI on this PR at 861207105 42 of 42 pass
CI on this PR at 391a08578 39 pass. cargo test failed in the template cache harness, fixed by #1667's cb790530b

Earlier, at db7dce634, run locally on macOS:

Check Result
cargo fmt --all -- --check, all eight clippy aliases, and the core build-digest test and its clippy Pass
test-fastly, test-fastly-reuse, test-axum with geo-kv, geo-cloudfront and aws-dynamodb-ec, test-cloudflare, test-spin, parity, host CLI tests Pass
JS tests and format, docs and Markdown format, Node pin guard, scripts/lint-wasm-clock.sh, the core block_on lint, test-runtime-env, node scripts/test-geo-consent.mjs Pass
URL-host lint against main Fails on lines from #1535 (test-publisher.com in two Fastly tests, added 2026-12-01) and #1540 (deploy/examples/native-aws-workload/README.md:76)
Each new PR head: fmt and cargo check for every adapter and the CLI; full gates at the tips Pass
CI on this PR at db7dce634 Pass except the URL-host lint, which #1535 and #1540 fixed in round 13

Earlier, 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

PR #1646's new head brings its fix that preserves filter headers through identity finalization, plus #1487's change that strips `ts-eids` from publisher-origin requests unless the operator opts in. The merge is clean.
PR #1656's new head brings #1487's change that strips `ts-eids` from publisher-origin requests unless the operator opts in and #1646's fix that preserves filter headers through identity finalization.

crates/trusted-server-core/src/ec/app/lifecycle.rs: #1661 adds the
`trusted_ja4` helper next to the private `cookie_value` helper, and #1646
(through #1656) deletes `cookie_value` because identity capture now reads
`ts-eids` with `cookie_value_all_fields`. The resolution keeps
`trusted_ja4` and drops `cookie_value`, which has no callers left.

Semantic fix in crates/trusted-server-adapter-axum/src/identity_conformance.rs:
#1661 replaces the file's local `USER_AGENT` constant with the shared
`CHROME_USER_AGENT`, and #1646's new response-finalization test still
sent `USER_AGENT`. The test now sends `CHROME_USER_AGENT`.
PR #1661's new head brings #1487's change that strips `ts-eids` from publisher-origin requests unless the operator opts in and #1646's fix that preserves filter headers through identity finalization.

crates/trusted-server-core/src/ec/app/lifecycle.rs: #1662 makes
`IdentityApp::finalize` return the `MirrorCookie` decision, and #1646
(through #1661) switches its first step to
`apply_identity_response_headers_with_cache_privacy`, which settles only
content type and cookies before identity eligibility. The resolution keeps
#1662's return type and #1646's identity-scoped header pass.
PR #1662's new head brings #1487's change that strips `ts-eids` from publisher-origin requests unless the operator opts in and #1646's fix that preserves filter headers through identity finalization. The merge is clean.
PR #1662's new head brings #1487's change that strips `ts-eids` from publisher-origin requests unless the operator opts in and #1646's fix that preserves filter headers through identity finalization.

crates/trusted-server-core/src/publisher.rs: #1607 now writes the
configured origin client-IP header right after the `fastly-ssl` strip so
the template cache key sees the resolved address, and #1487 (through
#1662) strips `ts-eids` from the origin request at the same spot unless
`forward_eids_cookie_to_origin` is on. Both are independent header edits
made before the cache key is built. The resolution keeps both, the
`ts-eids` strip first, so the client-IP write still sits directly above
the cache key it protects.
PR #1662's new head brings #1487's change that strips `ts-eids` from publisher-origin requests unless the operator opts in and #1646's fix that preserves filter headers through identity finalization.

crates/trusted-server-core/src/response_privacy.rs: #1655 adds a test
that a configured cookie is appended once without replacing existing
cookies, and #1646 (through #1662) adds a test that the identity-scoped
header pass and the adapter pass share cookie and representation
provenance, both at the top of the test module. #1655's field-level
privacy check merges into #1646's shared `apply_operator_response_headers`
body, so both scopes use it. The resolution keeps both tests, the base's
first.

Semantic fix in crates/trusted-server-adapter-fastly/src/app.rs: #1646
drops the request-filter argument from `apply_terminal_response_effects`
because filter effects now apply before identity finalization. #1655's
EC-route finalization test still passed `None` for it, so the call now
passes only the response. The test applied no filter effects before, so
its behavior is unchanged.
PR #1714's new head brings #1487's change that strips `ts-eids` from publisher-origin requests unless the operator opts in and #1646's fix that preserves filter headers through identity finalization. The merge is clean.
PR #1662's new head brings #1487's change that strips `ts-eids` from publisher-origin requests unless the operator opts in and #1646's fix that preserves filter headers through identity finalization. The merge is clean.
PR #1717's new head brings #1487's change that strips `ts-eids` from publisher-origin requests unless the operator opts in and #1646's fix that preserves filter headers through identity finalization. The merge is clean.
PR #1718's new head brings #1487's change that strips `ts-eids` from publisher-origin requests unless the operator opts in and #1646's fix that preserves filter headers through identity finalization. The merge is clean.
PR #1662's new head brings #1487's change that strips `ts-eids` from publisher-origin requests unless the operator opts in and #1646's fix that preserves filter headers through identity finalization. The merge is clean.
PR #1662's new head brings #1487's change that strips `ts-eids` from publisher-origin requests unless the operator opts in and #1646's fix that preserves filter headers through identity finalization. The merge is clean.
PR #1662's new head brings #1487's change that strips `ts-eids` from publisher-origin requests unless the operator opts in and #1646's fix that preserves filter headers through identity finalization. The merge is clean.
PR #1662's new head brings #1487's change that strips `ts-eids` from publisher-origin requests unless the operator opts in and #1646's fix that preserves filter headers through identity finalization. The merge has no textual conflicts.

Semantic fix in crates/trusted-server-adapter-fastly/src/main.rs: #1646
(through #1662) drops the request-filter argument from
`apply_terminal_response_effects`, because filter effects now apply before
identity finalization, and rewrites its own late-effects tests to apply
the effects first. #1675's new
`late_filter_effects_cannot_make_a_turned_off_response_public` test still
passed `Some(&effects)`. It now applies the effects and then the terminal
effects, the same pattern, so it still proves that late filter headers
cannot make a turned-off response public.
PR #1675's new head brings #1487's change that strips `ts-eids` from publisher-origin requests unless the operator opts in and #1646's fix that preserves filter headers through identity finalization. The merge is clean.
PR #1620's new head brings its deduplication of mirrored and native EIDs before bidder delivery.

crates/trusted-server-js/lib/src/integrations/prebid/index.ts: #1622
imports the EC route client and `readMirror` beside `mergeIdentityMirror`,
and #1620 adds the `identity_dedup` import for its bidder and PBS EID
deduplication hooks. The resolution keeps all three imports.

crates/trusted-server-js/lib/test/prebid-artifact-integration.test.mjs:
#1622 raises the shim size guard to 68 KB for EC route consent reporting
and the auction-off skips, and #1620 raises it from 56 KB to 58 KB for the
deduplication hooks. The resolution keeps both increments, 70 KB, with the
wording rc/identity already uses for the same union, so the RC merge stays
clean. The separate Prebid runtime (above 200 KB) still fails the guard.
PR #1675's new head brings #1487's change that strips `ts-eids` from publisher-origin requests unless the operator opts in and #1646's fix that preserves filter headers through identity finalization. The merge is clean.
PR #1675's new head brings #1487's change that strips `ts-eids` from publisher-origin requests unless the operator opts in and #1646's fix that preserves filter headers through identity finalization. The merge is clean.
PR #1675's new head brings #1487's change that strips `ts-eids` from publisher-origin requests unless the operator opts in and #1646's fix that preserves filter headers through identity finalization. The merge is clean.
PR #1666's new head brings its identity-gate conformance suite, run on Axum
and Fastly, with TCF fixtures that set Purposes 1 and 4 separately and API
observations that record every outbound request.

crates/trusted-server-core/src/test_support/identity_conformance.rs: #1659
split `tcf_consent_cookie` into a `tcf_cookie_with_purposes(u8)` helper that
writes a raw purpose byte, and #1666 split it into a public
`tcf_purposes_cookie(purpose_one, purpose_four)`. The resolution keeps
#1666's helper and drops `tcf_cookie_with_purposes`, because
`tcf_purposes_cookie` serves both of its callers: `tcf_consent_cookie` and
the geo-consent Purpose 1 only cookie. #1659's `IdentityJar::apply_cookies`
change merges unchanged.

crates/trusted-server-adapter-fastly/src/identity_conformance.rs: #1659
wraps the API observation in an `Execution` that also carries finalized
headers and captured bids, and #1666 replaces the observation's
`origin_requests` count with the `outbound` request records. The resolution
keeps #1659's `Execution` and builds its observation with #1666's
`outbound` records.

Semantic fix in crates/trusted-server-core/src/test_support/geo_consent.rs:
#1659's Purpose 1 only cookie now comes from `tcf_purposes_cookie(true,
false)`, which encodes the same 0x80 purpose byte as the removed
`tcf_cookie_with_purposes(0x80)`.
The new head of #1714 brings the US GPP opt-out fields work and, through its base chain, the rest of the identity stack, including the Sourcepoint consent capture from #1535.

crates/trusted-server-core/src/consent/gpp.rs: #1714 renamed the US decoder to decode_us_opt_out and widened it to sale, sharing, targeted-advertising, known-child and GPC refusals. #1722 limited TCF and US decoding to the sections the CMP says apply. The resolution keeps the #1714 decoder and its rules, adds the #1722 applicable_ids filter and GppApplicability match, and points the #1722 tests at the renamed us_opt_out field.

docs/guide/integrations/sourcepoint.md: #1535 replaced the section with the GPP API consent-capture guide. #1722 documented how __gpp_sid mirrors -1 and 0. The resolution keeps the #1535 guide, adds the #1722 __gpp_sid rules to it, and states the section ID range that /_ts/consent accepts.

Semantic fixes, so the chain applies one applicableSections rule. The IAB GPP CMP API reports [-1] when no section applies and 0 during stub or load. #1722 accepts -1..=65535, but the #1535 code, which merged clean, still rejected IDs below 1:
- sourcepoint/gpp_capture.ts and sourcepoint/index.ts accept -1 and 0 on the GPP API path and when seeding consent sync from the mirror.
- POST /_ts/consent (ec/consent_update.rs) and the snapshot validation in ec/app/route.rs accept -1..=65535. Their tests now accept [-1] and [0] and reject [-2].
- trusted-server-identity-providers joins and forwards the i32 section IDs that #1722 introduced.
The new head of #1622 brings the EC route consent script, which moves the GPP API capture to shared/gpp_capture.ts and adds the Prebid consent queue. #1722 merges it directly because it also builds on #1714, and the release candidate never carries a resolution of its own.

crates/trusted-server-js/lib/src/shared/gpp_capture.ts: #1622 moved the capture here and added the shared isApplicableGppSection check for 1..=65535. #1722 had widened the inline check to -1..=65535. The resolution keeps the #1622 helper, widens it to -1..=65535, and documents the -1 and 0 values.

crates/trusted-server-js/lib/src/integrations/sourcepoint/index.ts: #1622 switched the mirror writer to isApplicableGppSection, and #1722 used its local isValidGppSectionId. The resolution uses the shared helper throughout the module and drops the local copy, so one function holds the rule.

crates/trusted-server-js/lib/test/integrations/sourcepoint/gpp_cookie_bridge.test.ts: git paired the old Sourcepoint capture test with this new #1622 file. The resolution takes the #1622 file as is. The #1722 test changes move to test/shared/gpp_capture.test.ts, where #1622 put the capture tests.

Semantic fixes for the same applicableSections rule:
- test/shared/gpp_capture.test.ts: a ready [-1] reading is a decision that no section applies, not an unavailable read. [0] is accepted and [-2] is rejected.
- prebid/ec_route.ts comment and prebid consent_queue tests: the queue sends [-1] and [0], which the EC route accepts, and drops [-2].
PR #1503 at 6a8797e: Add ts ec show and ts ec eids admin diagnostic commands
PR #1557 at a435778: Carry Sourcepoint TCF consent to Trusted Server
PR #1607 at 07086f2: Send the resolved client IP to the publisher origin
PR #1627 at 5b7fc3d: Wire declared stores and document unsupported Axum KV
PR #1636 at d838931: Drain Axum after-response identity tasks on SIGTERM
PR #1653 at 5b86d9b: Clarify and verify the Axum local config handoff
PR #1654 at be495b3: Verify pending record writes drain within shutdown grace
PR #1655 at 888c5f1: Configure EC lifetime and renew it on eligible visits (DEC-13)
PR #1659 at 7b1d4a7: Verify geo consent paths on Axum and Fastly
PR #1660 at 64a1baa: Retry an after-response write that loses its CAS
PR #1667 at 1359722: Present a client certificate on auction providers that set mtls
PR #1709 at bc43a3e: Keep the EC out of bid request IDs and gate user.id on EID consent
PR #1710 at dc728a1: Apply pull-sync consent checks to identify
PR #1713 at ffa7597: Apply consent rules to first-party click redirects
PR #1722 at 070e2b0: Use applicable GPP sections from the CMP instead of header sections

PR #1666 at 4720b0b (Verify identity gates and provider deadlines on Axum) arrives through #1659, and PR #1622 at c878e6e (Report CMP consent to the EC route and merge its answer into Prebid) arrives through #1722. Every other chain PR arrives through the tips above. The tree is the conflict-free union of these tips and carries no resolution of its own.
The head of #1654 brings its record-write drain proof, which also requires the application's INFO after-response write completion between the native draining and stopped lifecycle records. #1660 merges it directly because the two PRs only meet in rc/identity, and the release candidate never carries a fix of its own. The merge is clean.

Semantic fix: #1660 moves the after-response outcome log into commit_after_response_lookups, so the line now comes from trusted_server_core::ec::after_response and reads "After-response lookups: write outcome=written conflicts=<n>". #1654's verifier still expected the ec::app::lookups target and the message without the conflict count, so rc/identity's native container check failed with "after-response application must report INFO written completion during drain". scripts/native-record-verification.mjs now matches the moved line, its unit test fixture uses it, and docs/guide/native-container.md quotes it. The verifier still rejects a failed or no-op write, a wrong target and a wrong level.
PR #1660 at 3693ce9 now merges #1654 and points #1654's native record drain verifier at the after-response outcome line #1660 moved into ec::after_response. At 0ed8626 the native container check failed with "after-response application must report INFO written completion during drain". The merge is clean.
Prebid.js hashes the GPP handler as [applicableSections, gppString] with
the CMP's list as reported. The `_cst` companion hashed the resolved
governing list instead, so `__gpp_sid=0` with a decodable header, or a
list mixing a sentinel with sections, produced a hash Prebid treats as a
consent change. Hash `applicable_sections` verbatim and keep the header's
sections only when `__gpp_sid` is absent. Expected values come from
Prebid.js 10.26's own cyrb53Hash.

Fixes #1735.
Trusted Server owns the `/_ts/` namespace: a request for a `/_ts/` path
that no route handles is answered locally on every adapter and never
reaches the publisher origin.

The publisher forward answers such a path with a JSON 404 before any
auction, template cache or origin work. The path is matched on its
percent-decoded bytes, so `/%5Fts/x`, `/_ts%2Fx` and multi-encoded
spellings count, even when another escape in the path is not valid
UTF-8. Registered routes and integration or asset routes configured
under `/_ts/` keep working, and publisher paths such as `/_tsx`,
`/_ts-foo` and `/articles/_ts/x` still reach the origin. The
`/_ts/admin` fallback answers are unchanged.
@aram356

aram356 commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator Author

rc/identity is now e72407155. It merges #1614's /_ts/ local answers (48930c270) on top of 9ff0e494f.

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.

Each of the 60 stacked PRs now has a merge commit carrying this change. #1525 took the commit directly, and #1717 took it directly because #1714's head carries eb7a187ee, which #1717 does not have yet. Every other PR merged its base's new head, which adds only this change, so every stacked head contains all the heads below it and nothing an owner holds back moves up.

Checks on e72407155:

  • Every gate in AGENTS.md passes, including the HTML EOF checks and the Fastly, Cloudflare and Spin deadline fixtures.
  • The template-cache harness passes in esi, inline and purge modes.

Deploys need no configuration 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.

5 participants