Repository navigation
Conversation
1 task
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
integrations.prebid.mode = "identity"so publishers can use managed Prebid identity without installing Trusted Server's browser auction integration. Existing configurations default to"auction".ts-eids, including pages that never run an auction.Stacked on #1489, targeting
feat/s2s-eid-collection-providers; the mirror writer must land first.Changes
crates/trusted-server-core/src/integrations/prebid.rscrates/trusted-server-js/lib/src/integrations/prebid/index.tscrates/trusted-server-js/lib/src/integrations/prebid/native_capture.tscrates/trusted-server-js/lib/src/integrations/prebid/identity.tscrates/trusted-server-js/lib/test/integrations/prebid/identity.test.tscrates/trusted-server-js/lib/test/prebid-artifact-integration.test.mjsdocs/guide/integrations/prebid.mdtrusted-server.example.tomldocs/superpowers/specs/2026-11-17-identity-only-tsjs-design.mddocs/superpowers/plans/2026-11-17-identity-only-tsjs.mdCloses
Closes #1594
Spec
Spec: Identity-only tsjs mode, including two agent review rounds.
Test plan
cargo test-fastly && cargo test-fastly-reuse && cargo test-axum && cargo test-cloudflare && cargo test-spincargo fmt --all -- --checkBrowser verification exercised the actual Fastly and Axum applications, trusted HTTPS development proxy, real Chrome and a controlled bidder. Seven reader scenarios per adapter cover native capture before any auction, mirror delivery/removal/replacement/expiry/malformed input, metadata precedence, consent denial/restoration and no mirror echo. The controlled reader fixture supplied a generated Prebid 10.26 bundle and synthetic mirror; the application injected and served the changed tsjs normally.
A separate operator-config run used the configured publisher origin and external Prebid bundle, without manual
requestBidscalls. Automatic native capture was observed on the Fastly homepage and an Axum article; captured IDs matched the native getter and unchanged samples did not rewrite the cookie. Some repeated publisher runs encountered external bundle/origin timeouts or absent third-party identity setup, so these observations do not qualify third-party reliability.Normal provider-to-mirror issuance is not established by these browser checks. Pinned Viceroy 0.21 supplies no JA4 metadata, so the existing browser gate prevents local provider operations; Axum does not support enabled identity providers. Existing provider/finalizer fixture tests passed (67), but deployed Fastly qualification remains outstanding. No deployment or live partner activation was performed.
Checklist
unwrap()added in production codelogmacros (notprintln!)