Skip to content

Clarify and verify the Axum local config handoff - #1653

Open
prk-Jr wants to merge 21 commits into
feat/1574-axum-shared-identityfrom
fix/1141-axum-local-config-handoff
Open

prk-Jr wants to merge 21 commits into
feat/1574-axum-shared-identityfrom
fix/1141-axum-local-config-handoff

Conversation

@prk-Jr

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

Copy link
Copy Markdown
Collaborator

Summary

Clarify and verify Axum's existing local configuration handoff: publish the app config, export its prepared config/data directories and referenced secret values, and run ts serve --adapter axum in the same shell. Push and serve explicitly select the same manifest. The CLI neither publishes on serve nor loads dotenv files or generates secrets.

The repository manifest uses EdgeZero's native Cargo launch. The isolated smoke copies the real store declarations and uses a fixed shell exec of a fresh prebuilt Axum binary. Both paths are verified separately; the positive smoke consumes the original publication map unchanged.

Closes #1141.

Review corrections

  • Stop the owned server while its waiting CLI parent can reap it. Freeze the launcher before discovering children, handle partial launch without a spawn race, and retain the original bounded escalation and failure-status precedence. A closed private receipt written after setsid identifies the owned group even after its launcher exits; validate that receipt immediately before escalation. Missing or mismatched receipts never authorize group signals. Zombies remain failures.
  • Keep binary paths out of TOML/shell program text. The fixture uses exec "$AXUM_SMOKE_BINARY" with a resolved path in the isolated environment, forwards HOME only when set, and selects serve/config-source mode explicitly rather than through a diagnostic label.
  • Rewrite the Axum launcher independently of its old value or spacing. Reparse and compare the complete manifest, permitting only the intended launcher and absolute-path changes; retain other adapters and store declarations. Unsupported or ambiguous target syntax is rejected explicitly.
  • Pair publication's --manifest with serve's EDGEZERO_MANIFEST in the quickstart, CLI help and custom-manifest guidance. Correct the existing Option B heading fragment.
  • Reconcile the design/plan with inherited failure-router behavior: health 200, readiness and publisher 503, plus a parse diagnostic for a malformed envelope. Preserve store-preparation failures that exit before listening. The smoke runs in hosted Axum CI; current local instructions require the complete canonical gates.

The application and pinned SDK runtime behavior are unchanged by these review corrections.

Stack

Source branch: fix/1141-axum-local-config-handoff. Current head f217902aeed2c3ad7e57dbb8cd66deb340bc98c8 incorporates #1646 at the current base b06dcbd0ee0ba9bc8e48523b4084076c50d4796c, including the EdgeZero ef5cbf30 update. The earlier author correction bc7b39f09993d16411e598c41c86b4b8c5e089b4 was published and qualified against parent 0070304f9a8cfe76d08b07c194d267dae78d0498; those receipts are historical for the merged source. At that publication there was no direct child PR.

Verification

Historical review correction and qualification: bc7b39f09993d16411e598c41c86b4b8c5e089b4. The local checks and runtime evidence below apply to that revision. Current merged head f217902aeed2c3ad7e57dbb8cd66deb340bc98c8 requires its own qualification.

Only inline-code Markdown in the CLI help changed after the initial JS and
unaffected adapter checks. Those inputs stayed identical and their results are
retained with that explicit assessment. Affected CLI help/tests/lint, normal
binaries and the final runtime proofs were refreshed for the final source.

  • All 21 required local gate groups pass, including adapter tests/target-matched Clippy, parity/digest/CLI checks, JS lint/build/format/full tests, docs lint/format/build, actual-base domain checks, and tooling/runtime guards. Fresh production artifacts pass all four health/startup smokes; Fastly, Cloudflare and Spin deadline fixtures pass.
  • Full JS: 83 files and 3,373 tests pass with no type errors.
  • Actual Linux ARM64 normal CLI → normal Axum, under a deliberately non-reaping PID 1 without Docker init: the old cleanup leaves a defunct server after publisher success; corrected cleanup returns zero and leaves no owned processes. The real CLI's server ownership and default/unblocked SIGTERM disposition are observed. No Core test-utils app is substituted.
  • Actual full-smoke controls cover a relative non-BMP/shell-sensitive binary path, unset/set/empty HOME, a renamed positive label, a changed/no-space previous command, and unchanged original map bytes including another entry published through the real CLI. A launcher-only incomplete repair is rejected even though publisher requests still succeed.
  • Actual manifest selection covers an inherited missing manifest, explicit repository selection through the real native-Cargo command, and a nondefault custom file through the shell launcher. Both positives preserve the publication map and produce health/readiness/publisher success with the expected origin rewrite. The initial cold-build attempt exceeded the private startup observation budget; the unchanged retry passed, with the initial logs retained. No product timeout changed.
  • Bash component controls cover partial launch, ignored TERM, failed STOP confirmation, exited launcher, late receipt publication, missing/mismatched group receipts and EXIT failure precedence. The existing hosted Axum job runs the new regression target. The docs build verifies the emitted Option B anchor and link.

The full PR does not change EOF finalization, publisher or HTML-processor source, so conditional local EOF checks are not triggered. Historical hosted verification: all 32 checks for bc7b39f passed. The current merged head f217902 uses EdgeZero ef5cbf30; its current-head CI is pending. Earlier check and artifact receipts do not qualify the merged source. Linux process evidence is local ARM64 fixture evidence, not a deployed-service, live-provider, x86 or real-browser qualification. An already orphaned zombie cannot be reaped after its parent has died; that external-early-death case remains a reported teardown failure rather than being hidden.

Spec

Design and implementation plan.

@prk-Jr prk-Jr self-assigned this Nov 23, 2026
@prk-Jr prk-Jr linked an issue Nov 23, 2026 that may be closed by this pull request
4 tasks
@prk-Jr
prk-Jr marked this pull request as ready for review November 23, 2026 12:19
prk-Jr and others added 2 commits November 23, 2026 18:32
PR #1532 now reads the native Geo profile path from
TRUSTED_SERVER__NATIVE_GEO_PROFILE_FILE instead of TS_NATIVE_GEO_PROFILE_FILE. No file in this PR
uses the old name after the merge, so the merge only takes the rename from
PR #1646. The merge had no conflicts.
@aram356

aram356 commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

For #1532's rename of the native Geo profile variable to TRUSTED_SERVER__NATIVE_GEO_PROFILE_FILE, I pushed 8a0e931af here, one merge of this PR's base:

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.

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).

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.

Restacking on the Axum serving line conflicts in scripts/smoke-axum.sh and
the Axum development guide, where #1617 changes the smoke's negative
startup cases from exiting before listen to serving the failure router.

Axum smoke: run_case keeps this PR's launch, where the positive case runs
`ts serve --adapter axum` in its own process group and the others run the
binary, followed by #1617's readiness and failure-router checks. This PR's
malformed-envelope case gives way to #1617's case of the same name, which
expects the failure router's 503 and the same parse diagnostic; #1617's
invalid-settings and hostile cases follow it.

Axum development guide: the negative-case paragraph keeps this PR's
malformed-envelope start and #1617's failure-router expectation.

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.

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, and #1646's aa31559, which gates identity writes for
rejected clients.

This PR's head moves to 6556b4a, which keeps the smoke's original exit
status when teardown fails, through a6b0211, its clean merge of #1646's
aa31559. Taken as the change from the old head 8a0e931, the new head
would replay #1646 commits the base already carries in rebuilt form and
conflicts in six files. a6b0211 is a clean merge of aa31559, which
the base has, so the merge takes the change from a6b0211: 6556b4a's
scripts/smoke-axum.sh edit, which applies cleanly.
aram356 added a commit that referenced this pull request Nov 25, 2026
…dentity

#1653 (2e2ea20) is on #1646, and its merge brings the Fastly SDK 0.13.3
upgrade. The merge is clean.
@aram356

aram356 commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

For the identity integration branch (#1608), I pushed 2e2ea205f, a merge of #1646's new head b5a5f62f8 onto this PR's 6556b4abe. It brings #1646's 4f4c03689 and 71a573a08, the chain below with #1617's failure-router contract, and #1506's repin of EdgeZero to rc/identity at d063a8e7 with main's Fastly SDK upgrade (#1671). The conflicts were in scripts/smoke-axum.sh and the Axum development guide, where #1617 changes the smoke's negative startup cases from exiting before listen to serving the failure router:

#1646's new head 9f648f6 brings #1537's b181544, "Accept any Fastly EC
store link name at startup", which #1537's owner merged up through #1539,
#1538 and #1540. The merge is clean.
aram356 added a commit that referenced this pull request Nov 26, 2026
#1653 (93e2e29) carries #1537's b181544, "Accept any Fastly EC store link
name at startup", 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 93e2e29c0, a merge of #1646's new head 9f648f694. It brings #1537's b181544a0, "Accept any Fastly EC store link name at startup", which #1537's owner merged up through #1539, #1538 and #1540. The merge had no conflicts.

Takes #1646's new head 9333826, 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
#1653 (b61d141) 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 b61d14132, a merge of #1646's new head 933382699, 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.

#1646's new head 4f1c155 brings #1539's cf4e815, "Expect the failure router in the native container test", and #1646's a18abf4, "Compare undeclared Axum KV stores with assert_eq". The merge is clean.
aram356 added a commit that referenced this pull request Nov 26, 2026
…dentity

#1653 (a0ee47b) carries #1539's cf4e815, "Expect the failure router in the native container test", and #1646's a18abf4, "Compare undeclared Axum KV stores with assert_eq". The merge is clean.
@aram356

aram356 commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

For the identity integration branch (#1608), I pushed a0ee47b5a, a merge of #1646's new head 4f1c15544, which brings #1539's cf4e815d4, the native container test's failure-router expectation, and #1646's a18abf428, the reworked KV check in the store metadata test. The only change to this PR's tree is that store test. The merge had no conflicts.

@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

This PR makes no functional changes. It documents the Axum local config handoff: ts config push --adapter axum --local, then exporting the CONFIG_DIR, DATA_DIR and SECRETS variables, then ts serve --adapter axum. The same steps are added to the CLI help, README, AGENTS.md and the guides. The scripts/smoke-axum.sh changes hold up on review. The only finding is a non-blocking wording mismatch in the design spec.

Cross-cutting / body-level findings

  • 🤔 Design spec disagrees with how the malformed envelope is handled — The design spec says the malformed envelope "must exit nonzero with a parse diagnostic before any HTTP response". The smoke script and axum-dev.md expect something different: the failure router keeps listening and returns 503. Consider changing the spec wording to match the actual behaviour.
  • 📝 Malformed-envelope case is already covered — The malformed-envelope case the docs mention already exists in scripts/smoke-axum.sh (around line 252).
  • 👍 Smoke positive case uses the real handoff — scripts/smoke-axum.sh now reads the pushed .edgezero map unchanged and runs it through ts serve with a rewritten manifest serve command.
  • 👍 Process group handling is correct — The smoke script starts the CLI in its own process group with setsid, and APP_PROCESS_GROUP="-PID" is passed correctly to kill -- -PID.
  • 👍 Teardown has a time limit and reports failures correctly — A teardown failure now fails an otherwise passing run. It does not replace the exit status of an earlier failure.
  • 👍 Manifest rewrite fails loudly — The Python rewrite step requires exactly one serve = "cargo run ..." match, so it fails loudly if the manifest drifts.

CI Status

  • integration tests: PASS
  • integration tests (Fastly EC lifecycle): PASS
  • browser integration tests: PASS
  • format-typescript: PASS
  • trace runtime and browser acceptance: PASS
  • CLAUDE.md symlink guard: PASS
  • CI Node pin guard: PASS
  • cargo fmt: PASS
  • Native provider acceptance script: PASS
  • release scripts: PASS
  • format-docs: PASS
  • prepare integration artifacts: PASS
  • cargo test (cross-adapter parity): PASS
  • cargo check (cloudflare native + wasm32-unknown-unknown): PASS
  • docs-proposal scripts: PASS
  • HTML EOF runtime (Fastly): PASS
  • cargo test (ts CLI, native) (ubuntu-latest): PASS
  • Fastly response diff script: PASS
  • ts dev lint domains (changed lines): PASS
  • worker-deadlines (spin): PASS
  • cargo test (axum native): PASS
  • worker-deadlines (cloudflare): PASS
  • cargo test: PASS
  • vitest: PASS
  • health-startup (spin): PASS
  • health-startup (fastly): PASS
  • health-startup (axum): PASS
  • cargo check/build/test (spin native + wasm32-wasip1): PASS
  • stock-celld-records: PASS
  • health-startup (cloudflare): PASS
  • cargo test (ts CLI, native) (macos-latest): PASS

Takes #1646's new head 6b4a5fd, 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
#1653 (41cea4f) 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 41cea4f43.

Takes #1646's new head 6b4a5fd, 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 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.

Approved with non-blocking comments. Reviewed against #1646 at 6b4a5fdc0. I built both binaries from this head, ran the unmodified Axum smoke successfully, and verified the quickstart through the repository manifest’s Cargo command. The hosted Axum smoke also passed. I’d prioritize the teardown and manifest-selection findings.

Comment thread scripts/smoke-axum.sh Resolved
Comment thread docs/guide/getting-started.md Resolved
Comment thread docs/guide/cli.md Resolved
Comment thread scripts/smoke-axum.sh Resolved
Comment thread scripts/smoke-axum.sh Resolved
Comment thread scripts/smoke-axum.sh Resolved
Comment thread scripts/smoke-axum.sh Resolved
PR #1646's new head brings its identity consent and delivery boundary enforcement, plus the cascaded owner review fixes from #1525, #1526, #1488, #1489, #1639, #1531, #1532, #1615, #1637, #1533, #1536, #1535, #1537 and #1538. The merge is clean.
PR #1646'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 41cea4f43 to 4bd49039a:

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

PR #1646'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.
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 #1646'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 #1653's cascade merge of #1506's auction endpoint test host fix.
prk-Jr and others added 2 commits December 3, 2026 16:05
Stop the owned server while its CLI can reap it, freeze before child
discovery, and validate the private post-setsid group receipt at escalation.
Keep bounded cleanup and the original failure-status precedence.

Keep binary path bytes out of TOML program text, target the launcher
semantically, and select the original config map and CLI explicitly.
Preserve unset HOME and verify real caller and partial-remedy controls.

Pair publication and serve manifest selectors, correct the setup anchor,
and align the guidance with the inherited failure router and hosted smoke.
PR #1646'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.

scripts/smoke-axum.sh: #1617's owner commit e8b5489 made cleanup save the exit status, clear the traps and finish through smoke_finish_workspace, moved the per-case HTTP checks into smoke_assert_http_case, and added the malformed-envelope-off case. #1653's owner commit bc7b39f names the saved status exit_status, keeps a teardown failure from passing an otherwise successful run, gives run_case an explicit binary or serve launch mode, and records the serve launcher's process group. The resolution keeps #1617's trap reset and smoke_finish_workspace with #1653's exit_status and teardown precedence, keeps #1653's launcher and then calls smoke_assert_http_case, and runs malformed-envelope-off with the binary launch mode.

Semantic break in scripts/smoke-axum.sh and scripts/smoke-axum.test.mjs: e8b5489 also added the logging-info and logging-off cases, which call run_case without a launch mode, and bc7b39f made the launch mode run_case's second argument. Those lines merge cleanly, but the cases would stop at an unknown Axum launch mode, so they now pass binary, as #1653 does for every case except positive. bc7b39f's new failure-precedence test extracts only cleanup and stubs smoke_preserve_artifacts and smoke_remove_workspace, while #1617's cleanup finishes through smoke_finish_workspace in smoke-common.sh, so its three cases failed with smoke_finish_workspace: command not found. The test now also loads smoke_finish_workspace from smoke-common.sh, which calls the same two stubs. Both fixes belong in this link because it is where #1617's and #1653's changes first meet.

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 bc7b39f09 to f217902ae:

This round rebuilt the link on this PR's new bc7b39f09. It resolves four hunks in scripts/smoke-axum.sh, keeping #1617's trap reset and smoke_finish_workspace along with this PR's exit-status precedence, launcher and smoke_assert_http_case. The same link fixes two tests: #1617's logging cases pass the new launch-mode argument, and the failure-precedence test loads smoke_finish_workspace from smoke-common.sh. All 16 smoke-axum.test.mjs cases and all 11 real Axum smoke cases pass.

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

Carries #1533's Axum startup-test port fix (779e446) and nothing
else. Owner commits pushed to other chain PRs since round 15 come in
with the next round.
@aram356

aram356 commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Cascade of #1533's Axum startup-test port fix (779e44673): a89c43a61 merges it into this PR. There were no conflicts and nothing else changed. The fix moves free_loopback_port in crates/trusted-server-adapter-axum/tests/routes.rs below the ephemeral port range, and #1533's note has the details. Owner commits pushed to other chain PRs since round 15 come in with the next round. rc/identity is now 62f8e41e2.

@aram356

aram356 commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Merged #1627's runtime KV removal (7c2b84f45) into this branch as 53143f1b6, on top of a89c43a61.

At the maintainer's request, that commit removes the generic runtime KV store trusted_server_runtime_kv. Nothing reads or writes it, and the managed Fastly deploy made every service provision and pay for it. edgezero.toml and the Fastly Hooks::stores() now declare only trusted_server_kv, and RuntimeServices::kv_store() is unavailable on every adapter.

Only that commit was merged, not the base branch's new head. Conflicts were resolved in edgezero.toml, the Fastly Hooks::stores() in app.rs, fastly.toml, the Viceroy template, the integration tests' config.rs, trusted-server.example.toml, docs/guide/architecture.md and docs/guide/edgezero.md. Only trusted_server_kv stays declared, this branch's record-store comment and local seeds are kept, and the runtime-KV lines are dropped. The Axum README and docs/guide/axum-dev.md keep this branch's Axum wording.

Checks on this head: no reference to the removed store remains and cargo fmt --check passes; clippy-fastly, clippy-axum, clippy-cloudflare and clippy-spin-native pass. rc/identity (b9dc3153e) passed the full CI gate list with the removal.

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.
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 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 53143f1b6 to 5b86d9be5:

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

@aram356

aram356 commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Merged #1614's /_ts/ local answers (48930c270) into this branch as b1c5ea4e4, on top of 5b86d9be5.

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 #1646's new head (72cc0ad35), 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.

Make Axum consume the local config store written by ts config push

4 participants