Repository navigation
Conversation
|
For #1532's rename of the native Geo profile variable to No file in this PR uses the old name after the merge, so it only takes the rename from #1646. The merge had no conflicts. Correction: through #1566, this merge also carries five #1540 commits that #1566 had not merged before (CloudFront forwarding authentication, AWS ingress and Terraform demo prerequisites, the example deployment gate and the deployment guide). It is not only the rename. |
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.
|
For the identity integration branch (#1608), I pushed
|
|
For the identity integration branch (#1608), I pushed |
|
For the identity integration branch (#1608), I pushed |
dhruv8sh
left a comment
There was a problem hiding this comment.
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.mdexpect 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.shnow reads the pushed.edgezeromap unchanged and runs it throughts servewith a rewritten manifest serve command. - 👍 Process group handling is correct — The smoke script starts the CLI in its own process group with
setsid, andAPP_PROCESS_GROUP="-PID"is passed correctly tokill -- -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
|
For the identity integration branch (#1608), I pushed 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
left a comment
There was a problem hiding this comment.
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.
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.
One octopus merge of the round 12 tips into rc/identity c3e3366. It is a single octopus because the RC already holds every sibling's old head, so each tip's new head merges in alongside the others rather than as a chain of merges. The tree is the automatic merge of the RC and all tips, with no resolution: every tip pair, their union and the merge into the RC are clean. Tips, in parent order after the RC: - PR #1503 at 4225024 - PR #1653 at 4bd4903 - PR #1654 at 95cf3e8 - PR #1655 at 05c509d - PR #1622 at afe5217 - PR #1660 at c1a05d7 - PR #1666 at 108b122 - PR #1659 at 5fb8190 - PR #1709 at 6d152f6 - PR #1710 at dcceeee - PR #1713 at cae7801 - PR #1557 at 302e972 PR #1659 sits above PR #1718, so it carries PR #1714, PR #1717 and PR #1718.
|
Round 12 identity realignment:
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.
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.
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.
PR #1503 at 1d51b78: Add ts ec show and ts ec eids admin diagnostic commands PR #1653 at f217902: Clarify and verify the Axum local config handoff PR #1654 at e4e68bb: Verify pending record writes drain within shutdown grace PR #1655 at 7d0cdb2: Configure EC lifetime and renew it on eligible visits (DEC-13) PR #1659 at bd707f2: Verify geo consent paths on Axum and Fastly PR #1660 at 87c52cd: Retry an after-response write that loses its CAS PR #1666 at b1d7062: Verify identity gates and provider deadlines on Axum PR #1710 at 3d33359: Apply pull-sync consent checks to identify PR #1557 at 3982143: Carry Sourcepoint TCF consent to Trusted Server PR #1667 at f9ac6bb: Present a client certificate on auction providers that set mtls PR #1607 at b3a0b09: Send the resolved client IP to the publisher origin PR #1709 at 635f06a: Keep the EC out of bid request IDs and gate user.id on EID consent PR #1713 at e5f4d05: Apply consent rules to first-party click redirects PR #1622 at dd2ee39: Report CMP consent to the EC route and merge its answer into Prebid
|
Round 15 identity realignment:
This round rebuilt the link on this PR's new Each merge message says what it carries and how any conflict was resolved. |
|
Cascade of #1533's Axum startup-test port fix ( |
…tegration chain
|
Merged #1627's runtime KV removal ( At the maintainer's request, that commit removes the generic runtime KV store Only that commit was merged, not the base branch's new head. Conflicts were resolved in Checks on this head: no reference to the removed store remains and |
PR #1503 at 6a8797e: Add ts ec show and ts ec eids admin diagnostic commands PR #1557 at a435778: Carry Sourcepoint TCF consent to Trusted Server PR #1607 at 07086f2: Send the resolved client IP to the publisher origin PR #1627 at 5b7fc3d: Wire declared stores and document unsupported Axum KV PR #1636 at d838931: Drain Axum after-response identity tasks on SIGTERM PR #1653 at 5b86d9b: Clarify and verify the Axum local config handoff PR #1654 at be495b3: Verify pending record writes drain within shutdown grace PR #1655 at 888c5f1: Configure EC lifetime and renew it on eligible visits (DEC-13) PR #1659 at 7b1d4a7: Verify geo consent paths on Axum and Fastly PR #1660 at 64a1baa: Retry an after-response write that loses its CAS PR #1667 at 1359722: Present a client certificate on auction providers that set mtls PR #1709 at bc43a3e: Keep the EC out of bid request IDs and gate user.id on EID consent PR #1710 at dc728a1: Apply pull-sync consent checks to identify PR #1713 at ffa7597: Apply consent rules to first-party click redirects PR #1722 at 070e2b0: Use applicable GPP sections from the CMP instead of header sections PR #1666 at 4720b0b (Verify identity gates and provider deadlines on Axum) arrives through #1659, and PR #1622 at c878e6e (Report CMP consent to the EC route and merge its answer into Prebid) arrives through #1722. Every other chain PR arrives through the tips above. The tree is the conflict-free union of these tips and carries no resolution of its own.
|
Round 17 identity realignment:
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 #1646's new head ( Checks on this head: no conflict markers; |
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 axumin 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
execof a fresh prebuilt Axum binary. Both paths are verified separately; the positive smoke consumes the original publication map unchanged.Closes #1141.
Review corrections
setsididentifies 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.exec "$AXUM_SMOKE_BINARY"with a resolved path in the isolated environment, forwardsHOMEonly when set, and selects serve/config-source mode explicitly rather than through a diagnostic label.--manifestwith serve'sEDGEZERO_MANIFESTin the quickstart, CLI help and custom-manifest guidance. Correct the existing Option B heading fragment.The application and pinned SDK runtime behavior are unchanged by these review corrections.
Stack
Source branch:
fix/1141-axum-local-config-handoff. Current headf217902aeed2c3ad7e57dbb8cd66deb340bc98c8incorporates #1646 at the current baseb06dcbd0ee0ba9bc8e48523b4084076c50d4796c, including the EdgeZeroef5cbf30update. The earlier author correctionbc7b39f09993d16411e598c41c86b4b8c5e089b4was published and qualified against parent0070304f9a8cfe76d08b07c194d267dae78d0498; 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 headf217902aeed2c3ad7e57dbb8cd66deb340bc98c8requires 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.
test-utilsapp is substituted.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.