Skip to content

Add ts ec show and ts ec eids admin diagnostic commands - #1503

Open
prk-Jr wants to merge 15 commits into
feat/identity-app-in-corefrom
feature/1432-ts-ec-commands
Open

prk-Jr wants to merge 15 commits into
feat/identity-app-in-corefrom
feature/1432-ts-ec-commands

Conversation

@prk-Jr

@prk-Jr prk-Jr commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add ts ec show <ec-id> and ts ec eids [--ts-eids] [--shared-id], which wrap GET /_ts/admin/ec/{id} and GET /_ts/admin/eids. Operators no longer pass the shared admin password to curl, where it lands in shell history and ps, and no longer build a Cookie header by hand.
  • Move the admin transport out of ts cache purge into a shared admin_client module and switch purge to it. The module handles service URL checks, the password from TRUSTED_SERVER_ADMIN_PASSWORD only, no redirects, a 30s timeout and the 401 hint. Add ts keys rotate and ts keys deactivate commands #1500 implements the ts keys commands for Add ts keys rotate and ts keys deactivate commands #1430 in a sibling PR; reconcile its admin transport with this shared client when integrating the branches. A current trial merge conflicts in src/admin_client.rs, src/commands/cache/purge.rs, src/commands/mod.rs and src/run.rs under the CLI crate; whichever lands second needs a merge and targeted CLI regression checks.
  • Successful diagnostic responses carry raw consent strings and partner UIDs. They go to standard output only: nothing is written to disk, and successful response data does not go through the logger. Refusals follow the existing CLI error path: the server's error field or plaintext refusal is logged to the terminal, as the design specifies; this does not promise redaction of arbitrary refusal text.

Changes

File Change
crates/trusted-server-cli/src/admin_client.rs New shared admin client: base-URL validation, password from the environment, basic auth, redirects off, error_text() for refusals; URL tests moved here from purge
crates/trusted-server-cli/src/commands/cache/{mod,purge}.rs Purge uses the shared client; request bodies, acknowledgment checks and hints unchanged
crates/trusted-server-cli/src/commands/ec/mod.rs ts ec subcommands, args (a clap group requires at least one cookie), shared helpers; terminal_text escapes controls, bidi overrides and zero-width characters in server and cookie values
crates/trusted-server-cli/src/commands/ec/show.rs Validates the EC ID with core's is_valid_ec_id before sending; summary of tombstone state, auction EIDs and skipped IDs with reasons; --json passthrough; 404/501/401 hints (a 404 names both a missing record and a service that predates the lookup endpoint)
crates/trusted-server-cli/src/commands/ec/eids.rs Builds the Cookie header (cookie name from ec::sharedid::LEGACY_SHAREDID_COOKIE); refuses ;, whitespace, control and non-ASCII characters without echoing the value; matched/unmatched summary; --json
crates/trusted-server-cli/src/{lib,run}.rs, commands/mod.rs Wire up ts ec
crates/trusted-server-cli/src/ad_templates/output.rs Audit terminal escaper covers the same invisible-character set as ts ec
crates/trusted-server-cli/tests/ec_admin.rs Both commands against the local fixture server; the cookie-escaping test runs the real admin handler through IdentityApp::mount
docs/guide/api-reference.md Admin Diagnostic Endpoints section shows both commands ahead of the curl fallback
docs/guide/cli.md Command index rows
docs/superpowers/specs/2026-11-05-1432-ts-ec-admin-commands-design.md Design spec with review log

Behavior notes for reviewers:

  • --json validates the body's shape. The body is parsed against the expected shape before printing, so a 200 login page from a proxy is refused rather than printed as the record. A parse failure reports only the line and column, because serde_json's message can quote a UID and CLI errors are logged.
  • The 501 hint names both causes. It says that only Fastly holds the identity graph, and only when an EC store is configured. Fastly also returns 501 without ec.ec_store.
  • Purge's body-read error is reworded. One purge message changes: a failure to read the response body now reads "could not read the response from {endpoint}".
  • Two per-line URL-host lint suppressions need review. They cover the RFC 5737/3849 documentation addresses (192.0.2.1, 2001:db8::1) in the loopback test moved from purge.rs into admin_client.rs. Those lines were already in purge.rs; moving them made the linter treat them as new.
  • Restacked onto the identity app. After the stack merge, eids.rs takes the sharedId cookie name from ec::sharedid::LEGACY_SHAREDID_COOKIE (previously constants::COOKIE_SHAREDID), and the real-handler test in tests/ec_admin.rs dispatches through IdentityApp::mount instead of calling handle_admin_eids_lookup directly.
  • Invisible characters are escaped too. Partner UIDs come from cookies, so terminal output escapes bidirectional controls (U+061C, U+202A–202E, U+2066–2069), zero-width and invisible characters (U+200B–200F, U+2060–2064, U+FEFF), line and paragraph separators (U+2028–2029) and the soft hyphen (U+00AD) as \u{…}, in addition to control characters. The ad-template audit escaper (ad_templates/output.rs) now escapes the same set; it already handled controls and bidi overrides.
  • Cookie values still reach shell history and ps. --ts-eids and --shared-id are flags, as the issue specifies. These are cookie values from the operator's own browser, not the admin password.

Closes

Closes #1432

Spec

Spec: docs/superpowers/specs/2026-11-05-1432-ts-ec-admin-commands-design.md. It has two agent review rounds in its review log; neither found anything blocking.

Test plan

The checked items and runtime observations below are preserved historical author reports, at the revisions named below or an unrecorded revision. Their underlying local/deployed receipts were unavailable to this audit; they do not certify head 5e10c24e4 or later. Hosted CI is separate.

At head 7e5983f9e (review fixes on top of the restack), on aarch64-apple-darwin:

  • cargo test --package trusted-server-cli --target aarch64-apple-darwin: all pass, including tests/ec_admin.rs (16) and the new terminal_text unit tests. Negative controls: restoring the is_control-only check fails the new ts ec escaping test, and restoring the previous audit predicate fails the extended escape_terminal_text test.
  • cargo clippy-cli clean (host triple; CI runs the Linux triple)
  • cargo fmt --all -- --check; Prettier check on the two changed docs files

The earlier items follow.

  • cargo test-fastly && cargo test-axum: not run; no adapter or core code changed
  • cargo clippy-fastly && cargo clippy-axum: not run; no adapter or core code changed
  • cargo fmt --all -- --check
  • JS tests: not applicable
  • JS format: not applicable
  • Docs format: cd docs && npm run format, plus the repo-wide Markdown prettier check
  • WASM build: cargo build --package trusted-server-adapter-fastly --release --target wasm32-wasip1, used for the runtime check
  • Manual testing via fastly compute serve
  • Other:
    • cargo clippy-cli is clean on aarch64-apple-darwin. CI runs the Linux triple.
    • cargo test --package trusted-server-cli --target aarch64-apple-darwin: 967 passed, 0 failed. This includes the new tests/ec_admin.rs (16 tests) and the unchanged tests/cache_purge.rs (9).
    • ts dev lint domains --changed-vs origin/main is clean.
    • Negative controls: joining cookies with , instead of ; fails the cookie-header test, and skipping EC ID validation fails the malformed-ID test.
    • Runtime: a scripted run against fastly compute serve (Fastly CLI 15.1.0 with its managed Viceroy 0.22.0; the repo pins 16.0.0 / 0.21.0) with seeded EC records, and against the Axum binary. It passed 31/31:
      • show covers a live record (auction EIDs, plus bidstream_disabled and not_in_registry skips), a tombstone, a corrupt entry, 404, 401, and a malformed ID that sends no request.
      • Historical comparison: --json output matched curl's body in those runs. In general, the command preserves the JSON body and adds a final newline only when one is missing.
      • eids covers matched and unmatched sources, a cookie-injection refusal and a bad base64 value.
      • cache purge --all agrees with curl.
      • On Axum, show returns the 501 explanation, eids works, and purge is refused.

Checklist

  • Feature PRs: spec linked above, ending in a review log of two or more agent review rounds
  • Changes follow AGENTS.md conventions
  • No unwrap() in production code — use expect("should ...")
  • Uses log macros (not println!)
  • New code has tests
  • No secrets or credentials committed

Wrap GET /_ts/admin/ec/{id} and GET /_ts/admin/eids so operators no
longer pass the admin password to curl. Both commands read the password
from TRUSTED_SERVER_ADMIN_PASSWORD only, check the EC ID or cookie values
locally before sending, explain 401/404/501, and print response data to
standard output only.

Extract the admin transport from ts cache purge into a shared
admin_client module (service URL checks, password source, no redirects,
401 hint) and move purge onto it, so #1430's ts keys commands can reuse
it.

Closes #1432
prk-Jr and others added 2 commits November 12, 2026 19:04
Escape response-derived text in human-readable EC reports and refusals while preserving JSON passthrough. Add regressions covering decoded browser cookies, diagnostic fields, and response formatting.
@prk-Jr
prk-Jr marked this pull request as ready for review November 12, 2026 14:20

@dhruv8sh dhruv8sh left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

Adds ts ec show / ts ec eids over the admin routes and moves the admin transport into a shared admin_client that ts cache purge now uses. The refactor preserves purge's URL checks, timeout, no-redirect policy and 401 hint, the CLI response types match the server's, and response data stays out of the logger. Two small non-blocking improvements below.

2 of the inline comments below carry a one-click GitHub
suggestion — use Commit suggestion (or Add suggestion to batch for
several at once) to apply them as commits on the PR branch.

Non-blocking

⛏ nitpick / 🏕 camp site

  • ts ec show reads every 404 as a missing record — see inline at crates/trusted-server-cli/src/commands/ec/show.rs:76
  • Terminal escaping misses bidi and zero-width characters — see inline at crates/trusted-server-cli/src/commands/ec/mod.rs:113-130

👍 praise

  • Credential handling — the password stays env-only, redirects are refused, cookie values that would split the Cookie header are rejected without being echoed, and parse errors report position only so serde_json can't quote a UID into the logs.

CI Status

  • Analyze (actions): PASS
  • Analyze (javascript-typescript): PASS
  • Analyze (javascript-typescript): PASS
  • Analyze (python): PASS
  • Analyze (rust): PASS
  • browser integration tests: PASS
  • cargo check (cloudflare native + wasm32-unknown-unknown): PASS
  • cargo check/build/test (spin native + wasm32-wasip1): PASS
  • cargo fmt: PASS (required)
  • cargo test: PASS (required)
  • cargo test (axum native): PASS
  • cargo test (cross-adapter parity): PASS
  • cargo test (ts CLI, native) (macos-latest): PASS
  • cargo test (ts CLI, native) (ubuntu-latest): PASS
  • CI Node pin guard: PASS
  • CLAUDE.md symlink guard: PASS
  • CodeQL: PASS
  • docs-proposal scripts: PASS
  • format-docs: PASS (required)
  • format-typescript: PASS (required)
  • HTML EOF runtime (Fastly): PASS
  • integration tests: PASS
  • integration tests (Fastly EC lifecycle): PASS
  • prepare integration artifacts: PASS
  • release scripts: PASS
  • trace runtime and browser acceptance: PASS
  • ts dev lint domains (changed lines): PASS
  • vitest: PASS
  • worker-deadlines (cloudflare): PASS
  • worker-deadlines (spin): PASS

aram356 added a commit that referenced this pull request Nov 14, 2026
#1503's `ec_admin` test reads a response with `Body::into_bytes`, which
#1506's clippy.toml disallows. Neither PR fails alone; together the CLI
clippy gate fails. Allow the lint for the test crate the way #1506's own
test crates do.

@ChristianPavilonis ChristianPavilonis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the full comparison from 06e51be to 5e10c24 across correctness, architecture, code smells, and style. No verified behavioral defects or architecture findings. The three inline comments are low-priority, non-blocking advisories.

Validation passed: 25 EC/purge integration tests, 11 EC unit tests, 4 admin-client unit tests, six real-binary fixture scenarios, cargo clippy-cli, cargo fmt, changed Markdown formatting, diff whitespace checks, and changed-line domain lint. The exercised paths verified local refusals, auth/cookie construction, JSON stdout preservation, empty success stderr, and malformed-response redaction.

Coverage limits: full CI, live HTTPS/Fastly KV behavior, and OS-level filesystem-write tracing were not exercised. Approval does not replace the repository's required CI gates.

Comment on lines +92 to +100
let lookup: LookupResponse = serde_json::from_str(&response.body)
.map_err(|error| unexpected_answer("an EC lookup response", &error))?;

let report = if args.json {
json_passthrough(&response.body)
} else {
render(&lookup)
};
write_report(out, &report)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

R1. Duplicate success-response orchestration, non-blocking maintenance advisory.

This block and commands/ec/eids.rs:72-80 repeat parsing, privacy-safe error mapping, output-mode selection, and writing. An optional EC-local typed helper could keep that policy together while preserving validation before JSON output and keeping refusal handling command-specific.

The trade-off is generic renderer plumbing and another layer to follow. Leaving these two short blocks inline is also reasonable; this is not a behavioral defect.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I'm leaving these inline for now. The shared part is about eight lines, and the two commands differ in their refusal hints and response types. A helper would need to be generic over the response type and renderer, which is more to follow than what it saves. If a third ts ec subcommand arrives, that is the point to extract it.

The merge has no textual conflicts. Two of this PR's uses of core APIs
change on the base, and the fix lives here rather than in a
compatibility alias:

- `ts ec eids` now names the SharedID cookie with
  `ec::sharedid::LEGACY_SHAREDID_COOKIE`. #1628 replaced
  `constants::COOKIE_SHAREDID` with it; the value is still `sharedId`.
- The CLI test that decodes a cookie through the real admin handler now
  dispatches through `IdentityApp::mount`, the entry #1623 gives adapters.
  The handler itself is private to the EC module there.
- The test crate allows `Body::into_bytes`, which #1506's `clippy.toml`
  bans outside tests, as #1506's own test crates do.
@aram356
aram356 changed the base branch from main to feat/identity-app-in-core November 24, 2026 06:29
aram356 added a commit that referenced this pull request Nov 24, 2026
#1503 (667c447) now sits on #1623 and adopts its APIs: ts ec eids names
the SharedID cookie with ec::sharedid::LEGACY_SHAREDID_COOKIE, and the CLI
test dispatches the admin EIDs lookup through IdentityApp::mount. The
merge is clean.
@aram356

aram356 commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

For the identity integration branch (#1608), this PR now sits on #1623 instead of main, and I changed the base to feat/identity-app-in-core. Two of its core API uses change there, and the fix belongs in this PR rather than in a compatibility alias:

Open question: after #1628 the server reads the SharedID from Prebid's configured cookie and falls back to sharedId only when none is configured. --shared-id always sends sharedId, so on a site that configures another cookie name the echo will not see it.

667c447e6 is the merge.

Name a service that predates the EC lookup endpoint in the ts ec show
404 headline, and escape bidi overrides, zero-width characters and
U+FEFF in terminal reports alongside control characters. Build test
JSON fixtures with json!, and give the ec tests "should" expect messages
and descriptive assertion messages.
@prk-Jr
prk-Jr added this pull request to stack #1644 November 25, 2026 14:44
prk-Jr and others added 2 commits November 25, 2026 20:29
Extend the ts ec and ad-template terminal escapers to the Arabic letter
mark, line and paragraph separators, word joiner and invisible operators,
and the soft hyphen. The ad-template escaper also gains the zero-width
characters and U+FEFF that ts ec already escaped, so both cover the same
set.
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.

The merge had no conflicts.

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.
aram356 added a commit that referenced this pull request Nov 25, 2026
#1503 (1c71f62) merges #1623's new head, which carries the Fastly SDK
0.13.3 upgrade, onto #1503's review fixes 378be45 and 7e5983f. The merge
is clean.
@aram356

aram356 commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

For the identity integration branch (#1608), I pushed 1c71f6223, a merge of #1623's new head 3e7b13b89 onto this PR's review fixes (378be4537, 7e5983f9e). It brings the identity chain below, including #1488's hashed-email intake and #1489's mirrored UID expiry cap, and #1506's repin of EdgeZero to rc/identity at d063a8e7 with main's Fastly SDK upgrade (#1671). The merge had no conflicts.

Takes #1623's new head 61b4237, which carries #1506's repin of EdgeZero to
rc/identity at 459bd27d (42e0c46): PR 275 at 0e2a58ae, the stack's test
fixes and EdgeZero 536's bounded record update, RecordHandle::update.

The merge is clean.
aram356 added a commit that referenced this pull request Nov 26, 2026
#1503 (98d874f) carries #1506's repin of EdgeZero to rc/identity at
459bd27d (42e0c46), with PR 275 at 0e2a58ae, the stack's test fixes and
EdgeZero 536's bounded record update, RecordHandle::update, through the
chain below it. The merge is clean.
@aram356

aram356 commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

For the identity integration branch (#1608), I pushed 98d874f22, a merge of #1623's new head 61b4237f0, which brings #1506's repin of EdgeZero to rc/identity at 459bd27d (42e0c46c7): EdgeZero #275 at 0e2a58ae, the EdgeZero stack's test fixes and EdgeZero #536's bounded record update, RecordHandle::update. The merge had no conflicts.

Takes #1623's new head c0d0968, which carries #1506's repin of EdgeZero to
rc/identity at 1619078a (8edc50e), a revert that removes EdgeZero 522
(portable Fastly record providers) and 524 (outbound mTLS client
identities).

The merge is clean.
aram356 added a commit that referenced this pull request Nov 27, 2026
#1503 (1ddd7ff) carries #1506's repin of EdgeZero to rc/identity at
1619078a (8edc50e), a revert that removes EdgeZero 522 (portable Fastly
record providers) and 524 (outbound mTLS client identities), through the
chain below it. The merge is clean.
@aram356

aram356 commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

For the identity integration branch (#1608), I pushed 1ddd7ff83.

Takes #1623's new head c0d0968, 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.

PR #1623's new head brings the cascaded owner review fixes from #1525, #1526, #1488, #1489 and #1639. The merge is clean.
PR #1623'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.
aram356 added a commit that referenced this pull request Dec 1, 2026
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.
@aram356

aram356 commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Round 12 identity realignment: rc/identity is now at db7dce634, and EdgeZero is pinned to its rc/identity at 8a73c097. This branch fast-forwarded from 1ddd7ff83 to 4225024db:

Each merge message says what it carries and how any conflict was resolved.

aram356 added a commit that referenced this pull request Dec 2, 2026
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 #1623's new head brings #1506's move of the five auction endpoint test requests from test-publisher.com to publisher.example.com, for the URL-host lint. The merge is clean.
aram356 added a commit that referenced this pull request Dec 2, 2026
It brings #1506's move of the five auction endpoint test requests from test-publisher.com to publisher.example.com, the URL-host lint fix, carried up to #1503.
PR #1623'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 and #1639's pull reserve boundary check and wording. 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.
aram356 added a commit that referenced this pull request Dec 3, 2026
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
@aram356

aram356 commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Round 15 identity realignment: rc/identity is now at 391a08578, and EdgeZero is pinned to its rc/identity at ef5cbf308. This branch fast-forwarded from 61fb36ddf to 1d51b788e:

Each merge message says what it carries and how any conflict was resolved.

PR #1623's new head brings #1487's change that strips `ts-eids` from publisher-origin requests unless the operator opts in. The merge is clean.
@aram356

aram356 commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Round 17 identity realignment: rc/identity is now at 0ed862633, and EdgeZero stays pinned to its rc/identity at ef5cbf308. This branch fast-forwarded from 1d51b788e to 6a8797e3c:

Each merge message says what it carries and how any conflict was resolved.

aram356 added a commit that referenced this pull request Dec 3, 2026
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.
@aram356

aram356 commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Merged #1614's /_ts/ local answers (48930c270) into this branch as ea1ee5a1d, on top of 6a8797e3c.

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.

This merge takes #1623's new head (b44f37073), which carries 48930c270 and nothing else new to this branch. It was clean.

Checks on this head: no conflict markers; cargo fmt --all -- --check passes; the merge adds exactly #1614's change to this branch's files; it merges cleanly with every lower head in its stack. rc/identity (e72407155) passed the full CI gate list with the 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.

Add ts ec show and ts ec eids commands for the admin Edge Cookie diagnostics

4 participants