Repository navigation
Conversation
|
For #1532's rename of the native Geo profile variable to No file in this PR uses the old name after the merge, so it only takes the rename from #1646. The merge had no conflicts. Correction: through #1566, this merge also carries five #1540 commits that #1566 had not merged before (CloudFront forwarding authentication, AWS ingress and Terraform demo prerequisites, the example deployment gate and the deployment guide). It is not only the rename. |
Take #1646's WB-1 lifecycle wording in the edge-cookie guide and keep the sliding-renewal sentences. Port the Fastly sliding test to page lookups on the EC context. Model admitted clients in the sliding tests now that refused clients get no navigation permit, and add a refused-client case. Update the spec's base reference and add its review log.
This brings in 1f054c6 from #1488, which forwards ortb2.user.ext.eids from the Prebid config into the auction EIDs, and a99dd66, a62601b, d1eb75f and 394892b from #1489, which cap mirrored UID expiry at 30 days from the UTC day start and pass the request time into finalize. They arrive through the chain's merges into #1639, #1640, #1612, #1628, #1623, #1531, #1532, #1533, #1534, #1536, #1535, #1537, #1539, #1538, #1540, #1566, #1624, #1641, #1642 and #1646, with #1646's move of the request time into IdentityApp::finalize. It also brings d5276ee, which publishes the native AWS runtime files without GNU mv -T, and Christian's merge 5597d3e of #1538 into #1540, through #1566's merge. The base now also carries the Axum serving line (#1613, #1616, #1617, #1615, #1635, #1637 and #1627), which #1533 merged, and #1627's b958107, which decodes the Spin discovery document with Response::json, and #1627's merge of #1625 (006b45e), which pins Wrangler for the Cloudflare smoke and CI. The merge also brings the 12 #1646 commits this PR lacked, from 48a43ae to 461aa0d: dhruv8sh's page-phase lookup and /auction EID work (48a43ae, 82fe088, 1d0a74f, 838586e and his chain merges a061c01, ecf16e8, e1d23a0, edcf4c5 and 9a020e1), the merge 9cad928 of #1641 into #1642, and prk-Jr's "Merge providers-awaited into shared identity" (4ffbaf8) and "Restore Fastly auction browser gating" (461aa0d). Edge cookies guide: a conflict is the request lifecycle paragraph. The merge takes #1646's sentences on positive identity cookies, core expiries and /auction body EIDs, and keeps this PR's closing sentences on the default ec.sliding_refresh = false flow and sliding renewal. Fastly adapter tests: 82fe088 from #1646 removed the navigation-lookups thread-local and the page-lookups argument of apply_edgezero_ec_finalize, since the handler now collects page lookups onto the EC context. This PR's sliding_ec_renews_held_publisher_identity_before_terminal_privacy test drops its two take_navigation_lookups calls and passes no page lookups to finalize. Its configuration has no record store or providers, so no lookups were collected before either, and its assertions are unchanged. It also brings b2d4bfd from #1488, which records the known UID hashes on lookup results with a setter, so the provider IDs the write planner logs are not derived from them. The base now also carries #1506's repin of EdgeZero to rc/identity at d063a8e7 and its merge of main's Fastly SDK 0.13.3 upgrade (#1671): fastly 0.13.3, url 2.5.9 and Viceroy 0.22.0. This PR now stacks on #1661 instead of #1646, so rc/identity can take both as plain merges. #1661 sits on #1656 and #1626, which sit on #1646, so the merge also brings #1626 (provider opt-outs and legacy EID expiry on Fastly and Axum), #1656 (the configurable Edge Cookie browser gate) and #1661 (refusing EC creation when a trusted JA4 contradicts the User-Agent). Cloudflare route tests: both PRs add a test at the end of the file. The merge keeps both, this PR's sliding_ec_configuration_preserves_unsupported_platform_responses and #1661's ec_route_creates_no_record_whatever_the_bot_management_ja4. Fastly sliding EC test: #1617, which now sits below this PR, answers GET /health through the router's probe hook as an operational response, which carries no EC state. This PR's sliding_ec_renews_held_publisher_identity_before_terminal_privacy routes /health through the router and expected EC state on every path but the unsupported EC route, so it now also accepts the liveness probe without EC state. Its check that /health issues no renewal cookie is unchanged. The base now also carries #1627's 4d0c1a2, which renames the generic runtime KV store to trusted_server_runtime_kv, #1488's a610152 and 9104fd3, which add hashed-email intake for the LiveRamp and ID5 identity providers, #1646's aa31559, which gates identity writes for rejected clients, and #1626's d07f789, which withholds a mirrored UID while another source owner is opted out. Settings: this PR's MaxAgeDays and #1488's HashedEmailSource are both added before Ec in settings.rs; the merge keeps both. This PR's head moves to fbe5670, its merge of #1646's aa31559, which models admitted clients in the core sliding tests, finalizes them with the store gate and adds refused_client_gets_no_renewal_or_record_io, and adds the proposal's review log. Taken as the change from the old head 668d501, the new head would replay #1646 commits the base already carries in rebuilt form. The merge takes only fbe5670's own resolution, the change from a plain merge of 668d501 and aa31559 to fbe5670: the sliding tests and the proposal apply cleanly, and its Fastly sliding test port is the one this merge already made.
|
For the identity integration branch (#1608), I pushed
I changed the base to |
|
For the identity integration branch (#1608), I pushed Takes #1661's new head 5d951a7, which carries #1506's repin of EdgeZero to rc/identity at 1619078a (8edc50e), a revert that removes IABTechLab/edgezero#522 (portable Fastly record providers) and IABTechLab/edgezero#524 (outbound mTLS client identities). The merge is clean. |
ChristianPavilonis
left a comment
There was a problem hiding this comment.
Reviewed 8560f8e3a06b against its live base, #1661 at 5d951a783ec1. I am requesting changes because the opt-in renewal can add an EC cookie to a response whose origin cache policy still permits shared storage. The inline comments separate correctness defects from non-blocking cleanup. The existing hosted renewal tests passed, but they do not exercise the field-qualified cache policy.
This review is separate from the policy decision. DEC-13 remains open, and #1595’s WB-2/WB-5 acceptance wording still needs to be updated before merge.
ChristianPavilonis
left a comment
There was a problem hiding this comment.
Re-review of 8560f8e3a..6398e976d (one commit).
12 of 13 items from my last review are addressed. R8 (sharing the Cloudflare/Spin test matrix) is deferred, which is fine since it was nonblocking. The fix for prior R1 opened a new privacy gap in the operator-header guard; that's R1 inline and the one I'd want fixed first.
Approving so I'm not blocking, on the understanding that you'll handle the inline comments before merging. DEC-13 and the WB gates still apply as merge conditions for the proposal itself.
PR #1661's new head brings the cascaded owner review fixes from #1525, #1526, #1488, #1489, #1639, #1531, #1532, #1615, #1637, #1533, #1536, #1535, #1537, #1538 and #1646. crates/trusted-server-adapter-axum/tests/native_ec.rs: #1646 added a test that the final operator representation controls identity cookie eligibility, and #1655 added sliding-EC renewal tests at the same place. The resolution keeps all three tests. crates/trusted-server-core/src/response_privacy.rs: #1646 added a repeated operator pass test, and #1655 added a configured-cookie test at the same place. The resolution keeps both tests.
PR #1662's new head becomes #1655's second base and brings #1662's Fastly EC route, whose finalize returns the mirror decision, with the wave A cascade. #1655 and #1662 are siblings on #1661, so this is the first PR to hold both sides of their finalize change. crates/trusted-server-core/src/ec/finalize.rs: #1655 added ec_finalize_response_with_document with a document flag and made ec_finalize_response delegate to it, and #1662 made ec_finalize_response return the mirror decision. The resolution makes ec_finalize_response_with_document return the Option<MirrorCookie>, and ec_finalize_response delegates with document false and returns it. crates/trusted-server-core/src/ec/app/lifecycle.rs: IdentityApp::finalize keeps #1655's call to ec_finalize_response_with_document with the document flag and binds its result as #1662's mirror.
PR #1662's new head brings wave B: #1506's merge of main ab5c24f (#1501, js_asset_proxy rewriter ordering) and its repin of EdgeZero to rc/identity 8a73c0978806, carried up through the chain. The merge is clean. Cargo.lock changes only the 10 EdgeZero package sources, now at 8a73c097; the codegen crate's nested Cargo.lock is unchanged.
One octopus merge of the round 12 tips into rc/identity c3e3366. It is a single octopus because the RC already holds every sibling's old head, so each tip's new head merges in alongside the others rather than as a chain of merges. The tree is the automatic merge of the RC and all tips, with no resolution: every tip pair, their union and the merge into the RC are clean. Tips, in parent order after the RC: - PR #1503 at 4225024 - PR #1653 at 4bd4903 - PR #1654 at 95cf3e8 - PR #1655 at 05c509d - PR #1622 at afe5217 - PR #1660 at c1a05d7 - PR #1666 at 108b122 - PR #1659 at 5fb8190 - PR #1709 at 6d152f6 - PR #1710 at dcceeee - PR #1713 at cae7801 - PR #1557 at 302e972 PR #1659 sits above PR #1718, so it carries PR #1714, PR #1717 and PR #1718.
|
Round 12 identity realignment:
The base moved to Each merge message says what it carries and how any conflict was resolved. |
PR #1662's new head brings #1535's owner fix that keeps mirrored GPP consent through transient CMP not-ready states (#1678), #1535's move of the consent-update test host to publisher.example.com for the URL-host lint and #1540's allow-domain marks on the deployment guide's reference links. The merge is clean.
It brings #1535's owner fix that keeps mirrored GPP consent through transient CMP not-ready states (#1678), #1535's and #1540's URL-host lint fixes, and #1622's move of the new GPP bridge tests into its split test file, carried up to every tip: #1653, #1654, #1655, #1622, #1660, #1666, #1659, #1709, #1710, #1713 and #1557. #1503 is already contained. The octopus tree is the conflict-free union of the tips.
PR #1662's new head brings #1662's consent-string comment on the EC route fixture, plus #1506's repin of EdgeZero to rc/identity ef5cbf30, which renames Fastly backends to ez_b31v2_* and moves the yanked pin-project-lite, chacha20 and spin, #1625's shared Wrangler installer for CI, #1639's pull reserve boundary check and wording, #1613's conformance doc alignment, #1616's certificate policy and pull-sync fixture corrections, #1617's preserved startup diagnostics and hardened runtime checks, #1635's complete startup evidence in native fixtures, #1637's shared readable non-Unicode Geo fixture, #1627's Spin store reads and retained runtime coverage, #1535's Sourcepoint consent mirror deduplication and consent update coverage, #1636's stronger after-response body and drain checks, #1626's enforcement of stored and carried provider opt-outs, #1656's strict browser gate wording and #1661's grouped QUIC JA4 fixture. The merge is clean. Cargo.lock changes only the EdgeZero package sources (now ef5cbf30) and the yanked pin-project-lite, chacha20 and spin; the codegen crate's nested Cargo.lock is unchanged.
PR #1503 at 1d51b78: Add ts ec show and ts ec eids admin diagnostic commands PR #1653 at f217902: Clarify and verify the Axum local config handoff PR #1654 at e4e68bb: Verify pending record writes drain within shutdown grace PR #1655 at 7d0cdb2: Configure EC lifetime and renew it on eligible visits (DEC-13) PR #1659 at bd707f2: Verify geo consent paths on Axum and Fastly PR #1660 at 87c52cd: Retry an after-response write that loses its CAS PR #1666 at b1d7062: Verify identity gates and provider deadlines on Axum PR #1710 at 3d33359: Apply pull-sync consent checks to identify PR #1557 at 3982143: Carry Sourcepoint TCF consent to Trusted Server PR #1667 at f9ac6bb: Present a client certificate on auction providers that set mtls PR #1607 at b3a0b09: Send the resolved client IP to the publisher origin PR #1709 at 635f06a: Keep the EC out of bid request IDs and gate user.id on EID consent PR #1713 at e5f4d05: Apply consent rules to first-party click redirects PR #1622 at dd2ee39: Report CMP consent to the EC route and merge its answer into Prebid
|
Round 15 identity realignment:
Each merge message says what it carries and how any conflict was resolved. |
Keep operator cache vetoes conservative while requiring whole-response privacy for cookies. Add shared-helper and routed regressions, and qualify adapter compatibility and preserved expiry behavior.
|
Cascade of #1533's Axum startup-test port fix ( |
…tegration chain
|
Merged #1627's runtime KV removal ( At the maintainer's request, that commit removes the generic runtime KV store Only that commit was merged, not the base branch's new head. Conflicts were resolved in Checks on this head: no reference to the removed store remains and |
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 #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.
|
Round 17 identity realignment:
In Each merge message says what it carries and how any conflict was resolved. |
…ntegration chain
|
Merged #1614's Trusted Server owns the This merge takes #1662's new head ( Checks on this head: no conflict markers; |
Proposal for DEC-13; off by default. Do not merge until DEC-13 is formally decided and #1595's WB-2/WB-5 returning-reader acceptance wording is updated.
Summary
Make the EC browser-cookie lifetime configurable and offer same-value renewal on every eligible consented Fastly/Axum document visit.
ec.max_age_daysaccepts integers from 1 through 400 and defaults to 365;ec.sliding_refreshdefaults to false. Both defaults are omitted from serialized configuration. A custom lifetime affects creation and rotation even with renewal disabled; withdrawal still expires the cookie immediately.Renewal uses the existing browser, consent, method, status and document rules, including HTML error documents, non-GET navigations and document 304s. Named API routes and configured GET/HEAD assets do not renew. The current finalization must confirm the one-use navigation permit; low-level finalization cannot reuse a prior response's permission. Creation and rotation emit only their existing EC cookie.
Renewal adds no record reads or writes and does not extend record retention. Unread/unavailable records allow renewal; known missing, revoked or failed records and failed navigation writes suppress it. Out-of-band revocation remains unobserved until a request reads the record. Origin
ts-ecmutations suppress optional renewal so it cannot undo a deletion or replacement. SharedID, its consent companion and the EID mirror retain independent lifetimes.Shared response corrections and compatibility
The shared egress helpers change all four adapters with renewal either enabled or disabled:
privateorno-store; field-qualifiedprivateis insufficient. Existing stricter policies and 304 validators are preserved.Set-Cookieappends once without replacing existing cookies.privatepolicy or restore independent CDN cache directives. This conservative veto is separate from the strict whole-response cookie-storage check.privatecan receive the existing browser-cache cap, changing their browser freshness with renewal disabled.Cloudflare and Spin still do not issue or renew EC cookies. Their tests compare omitted, disabled and enabled settings within this revision; they do not claim response parity with the base for the shared corrections above. Fastly and Axum gain optional renewal. Existing record operations, default EC lifetime attributes and WB-1 expiry behavior are preserved.
Upgrade every reader of a shared config store before publishing either new non-default key. Remove the keys and their environment overrides and republish before rolling back to an older binary. Disabling renewal does not shorten cookies already held by browsers.
Spec and stack
Spec: Configurable EC lifetime and sliding expiration, including its independent review log.
Plan: Implementation and verification.
Stacked on
feat/1598-ec-route-fastly; the branch also incorporates the sibling mirror lifecycle from #1662. The shared corrections remain in this PR; splitting them into another PR is deferred. Optional Cloudflare/Spin test deduplication also remains deferred so each adapter command retains its coverage.Closes #1595 after the formal decision and acceptance update above.
Verification
All 34 hosted checks across seven workflows passed on
c30ae53ae94401b34d3b35c71d196ccb58783c23. The current head is2ba6627e70751c4bfc2eef88f814f74fb815dfec, a subsequent maintainer merge changing only the Axum startup-test port allocation. Production code and the documented corrections are unchanged. All affected local checks passed again; current-head CI has 33 successful checks and two required integration jobs pending. Verified conversation closure remains pending those jobs.Local verification passed all adapter test aliases (including Fastly reusable-sandbox), the native core suite (3,978 passed, 2 ignored), cross-adapter parity, build-digest tests, all eight target-matched clippy aliases, specialized compiler guards, changed-line URL-host lint, JS build and 3,379 tests, formatting, and the required script checks.
Runtime evidence includes Fastly's six real-network deadline cases, all Cloudflare/Spin worker-deadline cases, and production startup smokes for all four adapters. The local Cloudflare fast-deadline case timed out once, then passed unchanged on retry; no thresholds were changed. Cloudflare startup used a freshly built production bundle through the supported artifact override. The new core and actual Axum-router regressions first rejected the original public-cache overwrite, then passed with the conservative veto restored. They exercise cookieless responses, repeated finalization, all supported CDN cache-header variants, and renewal both disabled and enabled. Existing routed renewal tests retain whole-response cookie privacy and 304 validators.
Local fixtures do not establish Safari/ITP retention, deployed-cache behavior or real-CMP qualification. DEC-13 and the acceptance update remain separate merge gates.