Repository navigation
Conversation
Accept tcString, preserve consent cookies for omitted fields, and validate optional section IDs. Exercise the browser request shapes through both adapter routes using a shared fixture. Reject cookie delimiters before reconstructing posted consent cookies.
Keep EC GET read-only while withholding SharedID cookies under GPC, US Privacy opt-out or unknown geography. Exercise the permission boundary and decisive GPP consent through both adapter routers, and correct the related architecture and auction diagrams.
PR #1642's new head brings the cascaded owner review fixes from #1525, #1526, #1488, #1489, #1639, #1531, #1532, #1615, #1637, #1533, #1536, #1535, #1537 and #1538. crates/trusted-server-adapter-axum/src/native_geo.rs: #1646 resolves KV Geo selection through AxumRunOptions and reads the profile path with runtime_env!'s os form, while #1532 named the EdgeZero provider variable and #1637 now reports a non-Unicode profile path as unavailable, with Linux tests. The resolution keeps #1646's AxumRunOptions selection and #1637's Unicode-only profile read, so a valid profile at a non-Unicode path no longer loads, as #1637 documents. EDGEZERO_GEO_PROVIDER_ENV becomes test-only. #1532's and #1637's KV selection tests now set a complete EdgeZero KV Geo selection, because #1646 requires every KV field rather than only the provider. The test imports keep OsStrExt for the Linux tests and OsString for #1646's Unix test. crates/trusted-server-adapter-axum/src/app.rs: #1535 advertises the identity graph on the integration registry once native persistence binds, and replaced the local cookie reader in the native EC request path that #1646 moved into the shared identity app. The resolution keeps #1646's shared app and record-store binding and adds #1535's registry update after it. crates/trusted-server-adapter-fastly/src/app.rs: #1535 made the Fastly consent update acknowledge by store availability without the bot gate, and #1646 routes identify and consent update through the shared identity app, whose consent_update already does that. The resolution keeps #1646's delegation. crates/trusted-server-adapter-axum/src/record_ec.rs: #1537 added the UNPREPARED_STORE message constant above declared(), which #1646 removed. The resolution keeps the constant, which acquire uses, without declared(). crates/trusted-server-adapter-axum/tests/native_ec.rs: #1536 and #1646 each added router_with_settings with different argument orders. The resolution keeps #1536's order (settings, store, geo) and moves #1646's one call to it. AGENTS.md: the resolution keeps the base's gate list 17 to 21 with #1646's wording for the runtime environment guard, which no longer lists the EdgeZero Geo provider exception that #1646 removed from runtime_env!. docs/guide/axum-dev.md, docs/guide/edge-cookies.md, docs/guide/integrations/sourcepoint.md and docs/guide/native-ec-persistence.md: the resolution keeps #1646's rewritten sentences together with the base's additions: #1531's JWKS snapshot sentence, #1639's pull-sync room wording, #1535's syncConsent paragraph and its no-record-store paragraph.
ChristianPavilonis
left a comment
There was a problem hiding this comment.
Re-review of the three commits since my last review (6b4a5fdc0..39392fc85). As discussed, I only looked at the new commits, not the full PR again.
All six items from my last review are addressed. The fix for prior R3 (operator headers settling before cookie eligibility) has a side effect on Fastly request-filter precedence; that's R1 inline.
Approving so I'm not blocking, on the understanding that you'll handle the inline comments before merging.
| use_store: bool, | ||
| response: &mut Response, | ||
| ) { | ||
| apply_response_headers_with_cache_privacy(&self.settings, response); |
There was a problem hiding this comment.
R1 · P3: this second operator-header pass now overrides request-filter effects on Fastly. On Fastly, apply_finalize_headers runs the first pass (main.rs:547), request-filter effects are applied (main.rs:554-556), then EC finalize runs this call. The marker only stops Content-Type and Set-Cookie from being re-applied (response_privacy.rs:212-222); every other configured operator header is inserted again over whatever a request filter just set (DataDome's X-DataDome-headers, for example). Before this delta Fastly applied filter effects last. Now operator-vs-filter precedence on Fastly depends on whether the route carries identity state; Axum is unchanged.
Suggest applying only what must settle before eligibility here (Content-Type, Set-Cookie), for example a narrow apply_operator_representation_headers, and leaving the rest to each adapter's pass. That also removes the dependency on which caller runs first. If operator-over-filter is the intended precedence, say so and apply it the same way on Fastly's non-EC paths. I traced this in the code only; no test overlaps an operator header with a filter effect.
There was a problem hiding this comment.
Addressed in 548126815. The shared identity pass now settles only operator Content-Type and Set-Cookie, leaving ordinary overrides to the adapter stage. It shares the existing one-time marker with the full pass, preserving managed-cookie provenance. Actual Fastly finalization with/without EC state now preserves the filter header; the routed Axum test retains ordinary operator cookies while removing managed identity cookies. Restoring the broad pass reproduces the Fastly failure; removing the shared marker reproduces cookie reinsertion.
Fresh target-matched Rust/JS gates and the selected real runtime suites pass on this exact source tree with SDK ef5cbf30. Current-head CI has started and remains pending; I am leaving this thread open until the required checks are confirmed.
| // lookups. Their other methods reach the catch-all fallback, which | ||
| // denies admin diagnostics locally. | ||
| router = state.identity.mount(router); | ||
| for method in [ |
There was a problem hiding this comment.
R2 · Nonblocking: Fastly copies core's EC-route method table. This repeats the nine-method loop from IdentityApp::mount_ec_route (core/src/ec/app/route.rs:68) to add the delivery handoff, while the other adapters still use the core version. If the two lists drift, Fastly requests for the missing method fall through to the publisher, which is the bug the EC-route contract fixed. Letting mount_ec_route (or a mount_ec_route_with) take the finalized handoff closure would let this copy go.
There was a problem hiding this comment.
Addressed in 548126815. Both route registrations now use EC_ROUTE_METHODS. This removes the drifting nine-method lists while retaining core request-owned scheduling and Fastly committed delivery. Actual Axum and Fastly requests cover HEAD, OPTIONS, PUT, PATCH, DELETE, TRACE and CONNECT: 405, Allow GET/POST and no publisher request. A removed-PUT control makes both tests fail with publisher 200; EC POST still uses committed delivery and leaves the generic queue empty.
Fresh target-matched Rust/JS gates and the selected real runtime suites pass on this exact source tree with SDK ef5cbf30. Current-head CI has started and remains pending; I am leaving this thread open until the required checks are confirmed.
| } | ||
|
|
||
| /// Returns the first named cookie value across every request Cookie field. | ||
| pub(crate) fn cookie_value_all_fields<'a, B>(req: &'a Request<B>, name: &str) -> Option<&'a str> { |
There was a problem hiding this comment.
R3 · Nonblocking: cookie_value_all_fields is the same hand-split as the private cookie_value in ec/app/lifecycle.rs:392-402, and ec/mod.rs:213 find_cookie_in_any_field parses with Cookie::split_parse and treats quoted or malformed pairs differently. At least replace lifecycle's copy with cookie_value_all_fields(..).map(str::to_owned); folding in the third can wait.
There was a problem hiding this comment.
Addressed in 548126815. read_request now uses cookie_value_all_fields(...).map(str::to_owned); its regression invokes IdentityApp.read_request and verifies the first matching ts-eids in a later Cookie field. The Cookie::split_parse path retains its distinct quoting/malformed-input semantics.
Fresh target-matched Rust/JS gates and the selected real runtime suites pass on this exact source tree with SDK ef5cbf30. Current-head CI has started and remains pending; I am leaving this thread open until the required checks are confirmed.
| }); | ||
|
|
||
| apply_terminal_response_effects(response, request_filter_effects.as_ref()); | ||
| apply_terminal_response_effects(response, None); |
There was a problem hiding this comment.
R4 · Nonblocking: production now always passes None here, and only tests pass Some(&effects) (late_filter_effects_cannot_make_an_assembled_response_public, ..._page_bids_response_public, and the diagnostics case). Those tests check an ordering production no longer uses. I'd drop the parameter and have the tests apply the effects first or go through finalize_response.
There was a problem hiding this comment.
Addressed in 548126815. apply_terminal_response_effects now takes only the response. The three affected tests apply request-filter effects first, following production ordering; their assembled/page-bids/diagnostic privacy checks still pass. The actual finalize_response overlap regression additionally covers the production caller.
Fresh target-matched Rust/JS gates and the selected real runtime suites pass on this exact source tree with SDK ef5cbf30. Current-head CI has started and remains pending; I am leaving this thread open until the required checks are confirmed.
| ORIGIN, | ||
| ScriptedReply::status(StatusCode::FOUND).header("content-type", "text/html"), | ||
| ); | ||
| client.respond_to(Method::POST, "https://id5.example.com/gs/v2/1234.json", |
There was a problem hiding this comment.
R5 · Nit: the scripted ID5 reply here and the ID5 provider/partner setup at 409-413 are overwritten by the LiveRamp config at 420-429, so the test reads as if two providers race when only one runs. Drop the unused ID5 setup and wrap the long respond_to(...)/json! lines, which rustfmt can't wrap.
There was a problem hiding this comment.
Addressed in 548126815. The redirect/status cancellation test now configures only the LiveRamp provider it exercises, with wrapped fixture JSON. Its real status/origin work, expected two requests and redirect cancellation assertions remain and pass.
Fresh target-matched Rust/JS gates and the selected real runtime suites pass on this exact source tree with SDK ef5cbf30. Current-head CI has started and remains pending; I am leaving this thread open until the required checks are confirmed.
PR #1642'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.
|
Round 12 identity realignment:
Please check: the merge keeps #1637's Unicode-only Geo profile path read with this PR's Each merge message says what it carries and how any conflict was resolved. |
PR #1642'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.
PR #1642's new head brings #1506's repin of EdgeZero to rc/identity ef5cbf30, which renames Fastly backends to ez_b31v2_* and moves the yanked pin-project-lite, chacha20 and spin, #1625's shared Wrangler installer for CI, #1639's pull reserve boundary check and wording, #1613's conformance doc alignment, #1616's certificate policy and pull-sync fixture corrections, #1617's preserved startup diagnostics and hardened runtime checks, #1635's complete startup evidence in native fixtures, #1637's shared readable non-Unicode Geo fixture, #1627's Spin store reads and retained runtime coverage and #1535's Sourcepoint consent mirror deduplication and consent update coverage. crates/trusted-server-adapter-axum/src/app.rs: #1617's owner commit replaced startup_unavailable_response with the shared startup_unavailable_router in the health import, and #1646 removed the is_navigation_request import next to it. The resolution keeps #1617's import and drops is_navigation_request as #1646 did. crates/trusted-server-adapter-axum/src/native_geo.rs: #1637's owner commit added the shared readable non-Unicode Geo fixture and its Path imports, and #1646 added the OsStringExt import and selects the native KV variables in the Linux Geo-KV test. The resolution keeps both imports, uses #1637's fixture in that test and keeps #1646's variable selection. crates/trusted-server-integration-tests/README.md: #1613's owner commit updated the Viceroy wording in the Fastly conformance paragraph, which #1646 replaced with its Fastly and Axum description. The resolution keeps #1646's text. docs/guide/axum-dev.md: #1617's owner commit and #1627's owner commit edited the startup and Geo-KV notes that #1646 rewrote around the adapter-support matrix. The resolution keeps #1646's text, which already carries the base's matrix links and Geo-KV lookup note. docs/guide/edgezero.md: #1506's repin, #1616's certificate policy text and #1627's KV note changed lines that #1646 rewrote. The resolution keeps #1646's text with the ef5cbf30 pin, the certificate policy paragraph and the ez_b31v2_ backend prefix. docs/guide/getting-started.md: #1635's owner commit added the native Geo boot input and the Geo note to the Axum capabilities callout, which #1646 rewrote for the prepared record service. The resolution keeps #1646's record service sentence followed by the base's Geo note and the remaining unavailable operations. docs/guide/integrations/sourcepoint.md: #1535's owner commits added the skipped unchanged mirror post and the kept mirror during not-ready states, and #1646 added the backing tombstone and EC expiry on the reconciliation response. The resolution keeps the base's paragraph with #1646's additions. crates/trusted-server-adapter-axum/tests/startup.rs: #1635's owner commit renamed ServerFixture::assert_logs_hold_no_secrets to stop_and_assert_no_secret_logs, and #1646's three new startup tests call the old name. The resolution calls the new name; each call ends its fixture's use. 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 #1646's new head brings the identity chain above #1540 that #1667 did not carry yet: #1566's move of the identity stack onto the native EC stack, #1624's SharedID creation and write-back from the EC record, #1641's lazily opened EC record store in core, #1642's verified identity lookups and saved /auction body EIDs, and #1646's Axum identity through the shared application. crates/trusted-server-adapter-axum/src/app.rs: #1667 added mtls_auction_provider_fails_startup before Axum's enabled_identity_provider_fails_startup, and #1646 renamed that test to unknown_identity_provider_fails_startup because Axum now runs identity providers. The resolution keeps #1667's mTLS startup test followed by #1646's renamed test. crates/trusted-server-cli/src/checked_app_config.rs: #1667 extended the adapter doc to say that the Fastly-only split also holds for auction providers that set mtls, and #1646 rewrote it to say that Fastly and Axum run the shared coordinators. The resolution says that Fastly and Axum run identity providers and that only Fastly accepts mtls auction providers. The semantic fix below then replaces that function. Semantic break in crates/trusted-server-cli/src/checked_app_config.rs and run.rs: #1646 moved the Axum target of ts config push and diff from ProviderlessAppConfig to CheckedAppConfig by making adapter_runs_identity_providers return true for axum, and #1667 placed its reject_auction_mtls check only in ProviderlessAppConfig. The merge compiles, but the CLI then accepts an mtls auction provider for Axum that the Axum adapter refuses at startup. The fix belongs in this link because it is where the two changes first meet. adapter_runs_identity_providers becomes adapter_support, which returns ProvidersAndMtls for fastly, ProvidersOnly for axum and Neither for every other adapter, and push and diff match on it. A new NoMtlsAppConfig adds only the reject_auction_mtls check to CheckedAppConfig, and ProviderlessAppConfig now wraps NoMtlsAppConfig and adds reject_enabled_providers, so the mTLS rejection exists once. validate stays adapter-agnostic on CheckedAppConfig. The tests cover the adapter mapping, an Axum target that rejects an mtls auction provider under auction_providers and accepts an enabled identity provider, a Fastly target that accepts the mtls provider, and Cloudflare and Spin targets that reject both. The CLI paragraph of the auction provider mTLS spec now names NoMtlsAppConfig for Axum. Cargo.lock matches #1646's new head: next to #1667's, it adds only #1646's trusted-server-identity-providers dependency of the Axum adapter; the codegen crate's nested Cargo.lock is unchanged.
PR #1675's new head brings #1675's switches that turn off POST /auction while the auction is disabled and the first-party creative endpoints while creative rewriting is off, together with the identity chain between #1646 and #1675 that #1667 did not carry yet: #1636's Axum after-response drain on SIGTERM, #1626's provider opt-outs and legacy EID expiry on Fastly and Axum, #1656's configurable Edge Cookie browser gate, #1661's refusal of EC creation when a trusted JA4 contradicts the User-Agent, and #1662's Fastly EC route acceptance and capped mirrored expiry. docs/guide/configuration.md: #1675 reworded the enabled row of the [auction] table to say that it also turns on POST /auction, and #1667 added the mtls_slot row, which widened the table. The resolution keeps #1675's enabled text and #1667's mtls_slot row, with the table reformatted by Prettier. Semantic break in crates/trusted-server-core/src/integrations/prebid.rs: #1675's owner commit d141923 added a test plan with no browser routes, whose ProviderConfig and AuctionPlanConfig literals predate #1667's 0985d67, which added the mtls provider field, and eaa2b3e, which added the mtls_slot plan field. The merge applies cleanly but the core tests no longer compile. The fix belongs in this link because it is where the two changes first meet. The literal gains mtls: false and mtls_slot: Default::default(), as #1667 wrote in the neighboring prebid.rs literals. Cargo.lock is unchanged.
|
Round 15 identity realignment:
Each merge message says what it carries and how any conflict was resolved. |
|
Checked the round-12 Geo merge note against 548126815 and the explicitly accepted #1637 contract. A supplied profile path must be Unicode; even a readable non-Unicode Unix pathname is rejected as unavailable. Its presence still prevents silent KV fallback. That compatibility constraint remains documented in native-rc-demo and the guard design; this correction does not restore OS-string loading or change AxumRunOptions selection. Current local Geo feature suites pass; this keeps the reviewed path contract. Linux-specific and full hosted qualification on the new commit remain part of its pending CI. |
|
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 |
|
Round 17 identity realignment:
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 #1642's new head ( Checks on this head: no conflict markers; |
Summary
ts-ec; partner APIs stay local, and/auctionbody EIDs update existing live records.TS_EC_*selection with a declared logical record store and EdgeZero provider bindings. Preserve prepared config/secret startup. A configured record store that is not prepared, cannot meet the record contract or is unsupported on Axum now installs Finish Axum production startup on the native baseline #1635's failure router (see Startup failures).Stacked on #1642 (
feat/providers-awaited).Current review-correction head:
54812681516b4d32f9311af151913f32cf724593. Earlier commit-specific verification below is historical; current-source local and hosted qualification are recorded separately.Startup failures
Since merging #1635, Axum follows the #1142 health and startup-failure contract:
EDGEZERO__ADAPTER__DATA_DIR)/health200,/readyand the ordinary methods handled by the adapter503provider = "fastly")/health200,/readyand the ordinary methods handled by the adapter503Before this merge, the last row exited before listening.
Reconciliation with #1642
#1642 and this PR both branched from #1641 and both implemented
/auctionbody EID saving, page-phase provider lookups and the identity-cookie rule for non-document responses. Signed merge4ffbaf805keeps one implementation of each; signed follow-ups461aa0d38andaa315593fadd review fixes and restore #1642's write gating for rejected clients. No commit rewrote history./auctionbody EID savingcommit_auction_body). It saves before bidding, also when bidding is disabled, and runs on both adapters.commit_auction_ingest. Finalization never saves auction body EIDs.NAVIGATION_LOOKUPSand collection inmain.rs. No per-request global state remains.Single write per
/auctionauction_and_finalization_make_at_most_one_conditional_writecounts conditional writes across the handler and finalization on the same store:Putting #1642's finalize writer back makes this test fail (2 writes instead of 1 on conflict).
finalize_never_persists_auction_body_eidsnow loads a live record before finalizing, so it also fails if a finalize writer returns.Tests carried over from #1642
All of #1642's tests for the removed code moved onto the surviving path. The main ones:
auction_body_eids_reach_context_and_kvauction_body_eids_are_persisted_before_response(coreauction/endpoints.rs); also checks the row before finalizationfinalize_saves_auction_body_eids_to_missing_partner_uidsauction_saves_body_eids_to_missing_partner_uidsfinalize_auction_body_eids_never_create_a_rowauction_body_eids_never_create_a_rowapp.rs, same names, through the handlerid5_lookup_reaches_the_minted_record_and_the_mirror_of_the_same_navigationSeven Fastly lookup and after-response tests are unchanged apart from setup. #1642's
navigation_with_fetch_metadata_mints_an_ecbecame..._gets_a_permit: without a record store this PR never issues an EC that has no record behind it, so the test now checks the permit instead.EC route browser contract
The server adopts the browser consent queue contract from #1622. TCF-only and combined requests previously returned 400 because the server expected
tcfStringand requiredapplicableSections. GPP-only requests also removed unposted TCF consent from the request.tcString,gppStringandapplicableSections; reject unknown fields, includingtcfString.euconsent-v2,__gppor__gpp_sid, as ID-9 requires. An explicit empty sections array clears the sections hint. Supplied fields must be strings or an integer array; null is rejected.crates/trusted-server-js/lib/test/fixtures/ec-route-contract.jsonruns through the real Axum and Fastly routes (eight cases).window.__tsjs_prebid.ecRouteinjection is in Report CMP consent to the EC route and merge its answer into Prebid #1622 and stays outside this PR.Changes
Cache-Control: no-store, private./auctionbody saving and on finalize record writes.The record service is declared unconditionally. Omitting
ec.storagedisables application identity, while EdgeZero still prepares the declared provider; the local provider needs a writable data directory. Select DynamoDB/celld through EdgeZero bindings, not TS environment variables.Identity cookie rules
ts-ec,ts-eids, the mirror, SharedID write-back) are set only on eligible HTML document responses, cached-document 304 responses and EC route responses.ts-ec, the configured SharedID cookie and its_cstcompanion, and__Host-ts-eids-mirrormay accompany any finalized response. This covers explicit withdrawal, mirror revocation and SharedID opt-out (_pubcid_optout). Other expiries, such as the retired pull marker, are still dropped off ineligible responses.Set-Cookieheaders with managed names are removed before core finalization, including origin expiries and values with non-ASCII bytes.Cache-Control: no-store, private, with validators and shared-cache headers removed.Behavior changes
Fastly, compared with #1641
Production comparison base: #1641. The parent design motivates these differences.
known_browser != Some(false); absent or unrecognized trusted JA4 does not block on its own.user.idwithout a record check. Finalization wrote only for consent withdrawal./auctionand page-bids for reads only: a cookie EC reaches bidders asuser.idonly with a consented record, and stored EIDs enrich bids. Rejected clients get no navigation write permit and no finalize writes (nots-eids/SharedID ingestion, no SharedID creation or write-back, no EC refresh);/auctionbody saving is skipped and the EC route GET restores no SharedID. Consent withdrawal still tombstones and expires the EC. Axum behaves the same on all three routes.private, max-age=0.no-store, private, without validators. Responses whose only identity cookies were filtered can keep ordinary origin cache policy.no-storeis stricter./_ts/api/v1/ecfell through to the publisher./auctionbody EIDsts-eidscaptured only from the first Cookie field.ts-eidsacross all Cookie fields.Compared with #1642
For reviewers who reviewed #1642:
/auctionbody EIDsno-store, private.Stack and merge notes
feat/providers-awaited(Verify awaited identity lookups and save /auction body EIDs #1642), which is based onfeat/record-backend-edgezero(Move the lazily opened EC record store into core #1641).c997518f9and000e6f694brought both up to their then-current heads; Restrict creative proxy identity disclosure #1615 and Standardize health and startup-failure responses across adapters #1617 arrive through Finish Axum production startup on the native baseline #1635.prepare_nativenow binds the record store; Axum no longer callsreject_enabled_providers; the Axum first-party proxy reads its EC throughIdentityApp::read_requestfor Restrict creative proxy identity disclosure #1615's disclosure policy, so a malformed identity or consent input now returns an error response there, as on Fastly (Cloudflare and Spin still fall back to an empty EC context); Fastly'sproxy_policy_named_route_preserves_withdrawal_and_terminal_privacyseeds through the shared record store.trusted_server_runtime_kv, sotrusted_server_kvstays this PR's record store with no ID clash), Clarify certificate settings for Fastly identity #1616 (post-delivery TLS regression). Individual PR CI does not establish those merge results.trusted_server_runtime_kvis the manifest default, whiletrusted_server_kvstores EC records. Cloudflare maps its binding to the runtime ID and Spin uses that ID explicitly. Current-source worker-store runtime qualification is recorded below.Verification
Current-source qualification for
54812681516b4d32f9311af151913f32cf724593(tree6fecd437c3e279194fb2a1ec891855c14813fc2e, SDKef5cbf30878e0c6cdb8c706117c02add75493531):aws-dynamodb-ec,geo-cloudfrontrecord image against pinned DynamoDB Local. Actual app image runs retain PID 1 behavior. Image version metadata identifies the qualified candidate tree; the signed commit has that same tree. These are synthetic local services, not live AWS/IAM or deployed-wrapper qualification.Pinned local tools include Rust 1.98.1, Node 24.20.0 and this branch's Viceroy 0.22.0. Hosted CI is pending on this new commit; prior SDK/head results below are historical. Exact new-head stock-celld, full browser/integration and hosted platform qualification remain separate obligations. No thread is resolved from earlier-head CI.
Historical verification
These results name earlier revisions and do not qualify the new correction head or its updated SDK.
Author-run local results on the merge result (
000e6f694):cargo test-axum(122 passed), includingunsupported_ec_storage_serves_the_failure_router_and_uncompiled_providers_fail_before_listen,missing_secret_serves_the_failure_router_without_legacy_fallback,identity_conformance_axumandredirect_cancels_page_lookups_without_waiting.proxy_policy_named_route_preserves_withdrawal_and_terminal_privacy.ec::appandhealthtests (28 passed); CLIconfig_env_overlay(20 passed);scripts/test-runtime-env.sh(54 fixtures) andscripts/lint-runtime-env.sh.cargo check-axum,check-fastly,check-cloudflare, native Spin check;cargo clippy-axum,clippy-fastly,clippy-spin-native; Rust formatting.000e6f694.Author-run local results on
aa315593f:cargo test-axum(121 passed), includingknown_non_browser_navigation_axum,api_identity_expiries_axum,identity_conformance_axumandredirect_cancels_page_lookups_without_waiting.refused_client_auction_validates_its_ec_without_writing,refused_creation_gets_no_navigation_write_authorityandrefused_creation_writes_only_a_consent_withdrawal.cargo test-fastly(4,239 aggregate passes, including 247 adapter tests) andcargo test-fastly-reuse(247 passed).verify_known_non_browser_navigationon both adapters: a known non-browser returning with a live EC and ats-eidscookie makes no record write and gets no SharedID cookie; the same request from an allowed client writes and gets SharedID; the EC route GET restores the stored SharedID only for the allowed client; the non-browser's consent withdrawal still tombstones the record and expires the EC.auction_body_ingest_rejects_known_non_browsers(Fastly, real routed/auction): non-browsers make zero writes but still have their EC checked against the record (consented row allowed asuser.id; missing and withdrawn rows not); the browser control makes one write./auctiongraph filter fails the auction test; forcing Fastly finalize writes on failsidentity_writes_are_refused_only_for_known_non_browsers; removing both new gates on Axum failsknown_non_browser_navigation_axum; settingpersist_body: truefails the core refused-client auction test; removing the EC route GET check failsknown_non_browser_navigation_axum.cargo clippy-fastly,clippy-axum,clippy-cloudflare,clippy-cloudflare-wasm,clippy-spin-native,clippy-spin-wasm; Rust formatting.aa315593f(superseded by the merge head).Earlier evidence recorded in this description's edit history is historical and does not qualify the new head:
Remaining qualification
scripts/test-native-ec-image.mjsfrom #1536) #1579: broader after-response provider-task shutdown and release qualification.ts-ecitself is not filtered. This behavior predates this PR.sharedIdcookie, sosharedIdandsharedId_cstcount as managed identity cookies: an originSet-Cookiefor either is removed from ineligible (non-document) responses._pubcidis managed only when Prebid configures it as the SharedID cookie.Closes
Closes #1574
Spec
Axum shared identity design and implementation plan; S2S EID collection design for the WB-1 cookie rule.
Checklist
error-stackReview corrections
Earlier accepted corrections remain: all-field SharedID opt-outs; failed auction snapshots discarded after conditional conflicts; external headers settled before identity eligibility and managed-cookie filtering; strict posted GPP payload validation; Fastly EC POST handed to committed delivery; overlapped status dispatch cancelled on redirects.
The new correction preserves Fastly integration-filter precedence when EC state exists. Shared identity finalization settles only operator content type and cookies; ordinary overrides stay at each adapter's existing stage. Both passes share the one-time marker so a later full pass cannot restore a managed cookie filtered out by identity policy. Actual Fastly finalization covers the overlap with and without EC state; an actual Axum route checks cookie provenance through both passes. Restoring the broad pass reproduces the Fastly failure; separating the marker reproduces cookie reinsertion.
Core and Fastly now share one catalog of nine standard EC-route methods, retaining their distinct after-response handoffs. Actual Axum/Fastly requests check all seven unsupported standard methods return 405 with Allow GET/POST without publisher traffic. Removing PUT makes both tests fail through a forgiving publisher; Fastly EC POST retains committed delivery rather than the generic queue.
The request lifecycle reuses the all-field cookie reader; its regression runs through IdentityApp.read_request. The separate Cookie::split_parse behavior remains. Removed unused terminal-response plumbing, aligned its privacy tests with production ordering, and removed an overwritten ID5 fixture from the LiveRamp cancellation test.
Guard comments/designs now describe native workspace-dependency lint coverage and required local verification. The earlier native-only forbidden-read control showed the existing guard already rejects that provider dependency; no additional primary-package flag was needed. The inherited Unicode-only Geo path requirement remains the accepted #1637 contract: even a readable non-Unicode Unix path is unavailable and its presence prevents silent KV fallback.
The maintainer's b06dcbd merge and SDK ef5cbf30878e0c6cdb8c706117c02add75493531 are preserved, including the new BOOT diagnostics, startup-router consolidation and readable Geo test helper. No SDK edits, dependency-branch merges/rebases or deployment were performed by this correction. Dependent PRs require their own combined-source qualification after integrating these changes.