Skip to content

Clarify certificate settings for Fastly identity - #1616

Open
prk-Jr wants to merge 16 commits into
feat/1586-identity-conformancefrom
fix/1556-identity-backend-tls
Open

prk-Jr wants to merge 16 commits into
feat/1586-identity-conformancefrom
fix/1556-identity-backend-tls

Conversation

@prk-Jr

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

Copy link
Copy Markdown
Collaborator

Summary

proxy.certificate_check does not control outbound certificate verification, including partner and identity traffic. The adapter and platform determine that policy. Deployment still rejects false, while a legacy live configuration still loads with a warning. The diagnostics, setting documentation, guides and example now describe that boundary instead of promising universal TLS verification. The configuration guide explains the Cloudflare same-zone/Full-mode caveat.

The Fastly pull-sync regression now retains one shared IdentityApp through snapshot loading, finalization, coordinator dispatch and persisted readback. It compares requests and stored partner IDs for default and legacy settings, uses JSON fixtures, and describes its actual boolean assertion and transport contract. The spec and plan now name the shipped post-delivery path and its named-store fixture. Production transport behavior is unchanged.

Correction: f05992f5db, signed and GitHub Verified.

Scope

Closes #1556 for the current Fastly identity scope. This does not qualify every platform's TLS policy. The regression executes post-delivery orchestration with a scripted client; it does not construct the production network client or perform a real certificate handshake.

Verification

  • All applicable local AGENTS.md gates pass with Rust 1.98.1, Node 24.20.0 and Viceroy 0.22.0: ordinary/reusable Fastly and native adapter suites, target-matched lints, parity, build-digest, CLI checks, formatting and changed-line domain lint, script guards, and actual Fastly/Cloudflare/Spin deadline fixtures. Worker checks use Spin 4.1.0, Wrangler 4.83.0 and lockfile-matched wasm-bindgen 0.2.126.
  • Focused checks pass: two configuration tests and eight post-delivery tests. Before the correction, the new diagnostics assertions rejected the blanket guarantee, and the app-retention assertion rejected the fixture's replacement app; the corrected tests pass.
  • Cargo's private JS-bundle build embeds 13 modules. Vitest passes 3,318 tests in 81 files, with one existing skipped test and no type errors.
  • The target-matched all-features Rust documentation build succeeds with 30 warnings on unchanged documentation lines. No API, visibility or referenced-definition change is included.
  • Hosted checks on the correction are separate from these local results. Deadline runtime fixtures do not establish TLS-handshake qualification.

Stack and design

Stacked on #1613 (feat/1586-identity-conformance). Direct child #1617 and its descendants require their own integration checks; this correction does not qualify a combined stack. Sibling #1622 also changes post_delivery.rs.

Design · Implementation plan

proxy.certificate_check only relaxed TLS for the origin wording-wise, but
EdgeZero verifies every outbound HTTPS request regardless. Update the error,
warning, settings docs, guides and example config to say so, and test that
pull sync sends the same request and stores the partner ID whether the
check is on or off.

Closes #1556
@prk-Jr prk-Jr self-assigned this Nov 16, 2026
@prk-Jr
prk-Jr marked this pull request as ready for review November 17, 2026 05:29
Pull sync: the base deletes core ec/pull_sync.rs, so the merge takes the
deletion. This pull request changed only that file's tests, adding the
differential certificate-check test, so the test moves to where pull
sync now sends: the Fastly post-delivery work, which builds the
after-response pull-sync provider from the settings and sends its lookup
through OutboundLookupTransport. The ported test runs post-delivery work
with certificate_check true and false, each against its own fresh live
row in the local identity store, and asserts the same method, URL,
headers and body, the lookup transport's timeout, buffered cap,
decoding and cache policy, and that both runs store the partner UID.
The pull-sync test helpers take the EC ID so this test never writes
the row the other pull-sync tests share.

Docs: the certificate_check guide entry names identity providers, pull
sync among them, since pull sync is one in the base.

The config message, settings doc comment, guides and example config
apply this pull request's wording unchanged.
@aram356
aram356 changed the base branch from spec/edgezero-pr275-migration to feat/s2s-eid-collection-providers November 19, 2026 05:37
@aram356

aram356 commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

For the identity integration chain (#1608), this PR now stacks on #1489, which deletes ec/pull_sync.rs and runs pull sync as an after-response provider through OutboundLookupTransport on the post-delivery client. 1bbc923cd merges #1489's head a7262c7db, and the base is now feat/s2s-eid-collection-providers.

This PR's only change in pull_sync.rs was its test, dispatch_pull_sync_ignores_relaxed_certificate_check; the lookup transport takes no settings, so there is no production setting left to flip. The test moves to where pull sync now sends, as post_delivery.rs's after_response_pull_sync_ignores_relaxed_certificate_check. It runs pull sync once with certificate_check true and once false, each on its own fresh row, and asserts the same method, URI, headers and body and that both runs store the partner UID. A mutation that made the pull URL depend on certificate_check made it fail. configuration.md now lists identity providers, EC pull sync among them, under certificate_check.

Checked locally at 1bbc923cd: cargo fmt, all eight clippy aliases and the core build-digest clippy, scripts/lint-wasm-clock.sh, test-fastly, test-fastly-reuse, test-axum (64), test-cloudflare (66), test-spin (89), parity (33), build-digest (10), host CLI tests (972), docs and Markdown format, and the URL-host lint against #1489, all passing (test-fastly 4,064).

Takes #1489's new head e4ae9ca, which brings #1506's repin of
EdgeZero to rc/identity at 9d02d7b3. The merge is clean, and this PR's tree
changes only by that repin.
Brings #1489's provider-based pull sync and vendor providers, with #1487
and #1488 at their current heads, into the certificate-check statement for
every outbound HTTPS request.

The merge is clean. #1489's new commits leave post_delivery.rs as it was,
so the PR's after-response pull-sync certificate-check test and its helpers
run unchanged, and the base's settings and configuration guide edits sit
apart from the PR's certificate-check wording. Cargo.lock is unchanged.
aram356 added a commit that referenced this pull request Nov 20, 2026
Brings the certificate-check statement for every outbound HTTPS request
(#1616), on #1489's current head with #1487 and #1488, into the
cross-adapter health and startup-failure contract.

The merge is clean. #1489's new commits add provider cookie opt-out handling
to the Fastly app's route dispatch, apart from the PR's probe and
startup-failure changes, and #1616 touches neither, so every adapter keeps
the PR's contract as merged before. Cargo.lock is unchanged.
aram356 added a commit that referenced this pull request Nov 20, 2026
Brings the identity integration chain, now with #1489's current head and
the certificate-check statement for every outbound HTTPS request (#1616),
through the health and startup-failure contract (#1617), into the creative
proxy disclosure policy.

Core settings: Proxy keeps the PR's identity_endpoints and the compiled
identity policy, and certificate_check takes #1616's statement that TLS is
always verified on every outbound HTTPS request.

Docs: the configuration guide's proxy table keeps the PR's
identity_endpoints row and takes #1616's outbound TLS wording for
certificate_check.

Everything else merged without conflict: every adapter still prepares the
proxy policy when it builds state, next to the identity-provider rejection,
and #1489's new identity changes sit apart from the policy. Cargo.lock is
unchanged.
@aram356
aram356 added this pull request to stack #1647 November 20, 2026 05:05
aram356 added a commit that referenced this pull request Nov 20, 2026
#1615's head fb25de5 carries the whole chain from #1506 through #1489 at
8623c4e, including the EdgeZero repin to rc/identity 9d02d7b3 and
dhruv8sh's latest #1487, #1488 and #1489 commits. It also carries prk-Jr's
line #1489 <- #1616 <- #1617 <- #1615: certificate checks on every outbound
HTTPS request (#1556), the cross-adapter health and startup-failure contract
(#1142) and the creative proxy identity disclosure policy (#1233). Each PR
merged the one below it, so this merge is clean.
@aram356

aram356 commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator

For the identity integration chain (#1608), 85abbabfe merges #1489's new head 8623c4e3b, which brings dhruv8sh's latest #1487, #1488 and #1489 commits (doc alignment, plus opt-out handling in vendor cookies and lookup results). The merge is clean. This PR's tree differs from #1489 only by its own 9 files, and after_response_pull_sync_ignores_relaxed_certificate_check still runs unchanged.

The base stays feat/s2s-eid-collection-providers. #1617 now stacks on this PR, and #1615 on #1617, because #1615 conflicts with this PR in settings.rs and configuration.md.

Checked locally at 85abbabfe: cargo fmt, all eight clippy aliases and the core build-digest clippy, scripts/lint-wasm-clock.sh, test-fastly (4,080), test-fastly-reuse (245), test-axum (64), test-cloudflare (66), test-spin (89), parity (33), build-digest (10), host CLI tests (972), docs and Markdown format, and the URL-host lint against #1489, all passing.

@prk-Jr
prk-Jr removed this pull request from stack #1658 November 25, 2026 14:44
@prk-Jr
prk-Jr added this pull request to stack #1673 November 25, 2026 14:44
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.

Fastly post-delivery tests: the imports keep this PR's provider response
limit and KvEntry and add #1489's current_timestamp, UnixSeconds and
FinalizeRequest.

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

This PR already carries #1646's head 461aa0d, so the merge adds only
#1646's new merge 166944769 of #1642 and the chain below it, including the
identity conformance check that now strips the mirrored UID's exp.

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 the Axum startup tests,
where #1617 waits for /ready, since liveness stays up after a caught
initialization failure, and this PR rewrites the wait to retry a port
collision and to require the child's own ready lifecycle event.

Axum startup tests: wait_ready keeps this PR's collision retry and
lifecycle check, then probes #1617's /ready and returns the /health
response once the child is ready.

The fixture drains each child's output through this PR's log readers, so
#1617's assert_serves_failure_router reaps the stopped child and reads
those captured logs instead of collecting the pipes, which the readers
already own.

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.

This PR now stacks on #1661 instead of #1646, so rc/identity can take both
as plain merges. #1661 sits on #1656 and #1626, which sit on #1646, so the
merge also brings #1626 (provider opt-outs and legacy EID expiry on Fastly
and Axum), #1656 (the configurable Edge Cookie browser gate) and #1661
(refusing EC creation when a trusted JA4 contradicts the User-Agent).

Fastly identity conformance fixture: #1661 records each scenario's runtime
TLS JA4 through a RuntimeTlsJa4 middleware in place of derived device
signals, takes the User-Agent from the scenario and drops the browser flag.
This PR adds geo consent requests with their own trusted client IP settings
and no browser device signals. The merge assembles the conformance app with
#1661's middleware and keeps this PR's geo_configured flag and
producer_settings. It sends the scenario's User-Agent unless the API request
supplies one, and inserts the scenario's JA4 only for requests without a geo
consent exchange, because this PR derived device signals only for those.

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, #1646's aa31559, which gates identity writes for
rejected clients, and #1626's d07f789, which withholds a mirrored UID
while another source owner is opted out.

Fastly conformance JA4: the rebuilt #1661 merge supplies a trusted Python
JA4 behind the Chrome User-Agent for #1646's known non-browser API
requests, and this PR inserts the scenario's JA4 only without a geo
consent exchange, with its producer_settings. The merge keeps both: a
known non-browser request gets the Python JA4, any other request the
scenario's JA4 unless it is a geo consent exchange.

This PR's head moves to e8015ca, its clean merge of #1646's aa31559,
which the base already carries, so it adds no change beyond the base.

Axum lib.rs: the base now carries #1636, through #1626's merge of it, whose
after_response_drain_tests module sits where this PR adds its
geo_conformance module. The crate keeps both test modules.
aram356 added a commit that referenced this pull request Nov 25, 2026
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).

Edge cookies guide: a conflict is the request lifecycle paragraph.
The merge takes #1646's sentences on positive identity cookies, core
expiries and /auction body EIDs, and keeps this PR's closing sentences on
the default ec.sliding_refresh = false flow and sliding renewal.

Fastly adapter tests: 82fe088 from #1646 removed the navigation-lookups
thread-local and the page-lookups argument of apply_edgezero_ec_finalize,
since the handler now collects page lookups onto the EC context. This PR's
sliding_ec_renews_held_publisher_identity_before_terminal_privacy test
drops its two take_navigation_lookups calls and passes no page lookups to
finalize. Its configuration has no record store or providers, so no
lookups were collected before either, and its assertions are unchanged.

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.

This PR now stacks on #1661 instead of #1646, so rc/identity can take both
as plain merges. #1661 sits on #1656 and #1626, which sit on #1646, so the
merge also brings #1626 (provider opt-outs and legacy EID expiry on Fastly
and Axum), #1656 (the configurable Edge Cookie browser gate) and #1661
(refusing EC creation when a trusted JA4 contradicts the User-Agent).

Cloudflare route tests: both PRs add a test at the end of the file. The
merge keeps both, this PR's
sliding_ec_configuration_preserves_unsupported_platform_responses and
#1661's ec_route_creates_no_record_whatever_the_bot_management_ja4.

Fastly sliding EC test: #1617, which now sits below this PR, answers GET
/health through the router's probe hook as an operational response, which
carries no EC state. This PR's
sliding_ec_renews_held_publisher_identity_before_terminal_privacy routes
/health through the router and expected EC state on every path but the
unsupported EC route, so it now also accepts the liveness probe without EC
state. Its check that /health issues no renewal cookie is unchanged.

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, #1646's aa31559, which gates identity writes for
rejected clients, and #1626's d07f789, which withholds a mirrored UID
while another source owner is opted out.

Settings: this PR's MaxAgeDays and #1488's HashedEmailSource are both
added before Ec in settings.rs; the merge keeps both.

This PR's head moves to fbe5670, its merge of #1646's aa31559, which
models admitted clients in the core sliding tests, finalizes them with
the store gate and adds refused_client_gets_no_renewal_or_record_io, and
adds the proposal's review log. Taken as the change from the old head
668d501, the new head would replay #1646 commits the base already
carries in rebuilt form. The merge takes only fbe5670's own resolution,
the change from a plain merge of 668d501 and aa31559 to fbe5670:
the sliding tests and the proposal apply cleanly, and its Fastly sliding
test port is the one this merge already made.
aram356 added a commit that referenced this pull request Nov 25, 2026
…1622 into rc/identity

#1622 (244ca26) now carries the whole chain, each PR merging the one below
it:

- #1506 (c197404) repins EdgeZero to rc/identity at d063a8e7, which
  carries EdgeZero main's Fastly SDK 0.13.3 upgrade through every EdgeZero PR
  here, and merges Trusted Server main's upgrade (#1671): fastly 0.13.3, url
  2.5.9 and Viceroy 0.22.0.
- #1614, #1525, #1526, #1487 and #1488 take it in turn. #1488 also adds
  b2d4bfd, which records known UID hashes with a setter.
- #1489, the identity spine (#1639, #1640, #1612, #1628 and #1623), #1531 and
  #1532.
- The Axum serving line: #1613, #1616, #1617, #1615, #1635, #1637 and #1627,
  chained, with #1627's b958107 decoding the Spin discovery document with
  Response::json and #1627's merge of #1625, which brings #1625's Wrangler pin
  into the chain.
- The held line on #1627: #1533, #1534, #1536, #1535, #1537, #1539, #1538,
  #1540, #1566, #1624, #1641, #1642 and #1646. #1646 keeps its own shared
  after-response runner in ec::app::lookups.
- #1636 (72096cd) on #1646 (b5a5f62), draining Axum
  after-response identity tasks on SIGTERM through #1646's shared runner.
- The EC route line on #1636: #1626 (067531e), which merges #1636, the
  draft #1656, #1661, #1662 and #1622, and through #1622's merge of it,
  #1620's round-6 head.

Each conflict was resolved in the PR that sits higher. This merge is clean.

Since the last update the chain also takes #1488's hashed-email intake
(a610152 and 9104fd3) and its POST, body and header options for the
status call (f063a76), #1627's split of the generic runtime KV store into
trusted_server_runtime_kv (4d0c1a2), #1646's gate on identity writes for
rejected clients (aa31559) its native container test of the failure router
(4f4c036) and that test's header check on an ordinary route (71a573a),
#1626's withholding of a mirrored UID while another source owner is opted
out (d07f789), and #1617's description of the Axum startup failure router
(6d174a8) and of the startup failures that still exit before listening
(4c07cad). #1636 no longer sits in the Axum serving line; it arrives
through #1626, which merges it on top of #1646. Its new head adopts #1646's
after-response runner in place of the one rc/identity took with cf1102c.

Cloudflare guide: #1627's merge of #1625 now keeps both #1625's tool version
clause and #1627's TRUSTED_SERVER_RUNTIME_KV binding in the smoke paragraph,
and fixes #1625's smoke script test for #1617's Python floor and Worker
build, and #1537's merge fixes its ts stub for #1537's storage template
step, so this merge needs no resolution.
@aram356

aram356 commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

For the identity integration branch (#1608), I pushed 4f82b26be, a merge of #1613's new head 8cca89421. It brings the identity chain below, including #1488's hashed-email intake and #1489's FinalizeRequest and request time, and #1506's repin of EdgeZero to rc/identity at d063a8e7 with main's Fastly SDK upgrade (#1671). The one conflict was the Fastly post-delivery test imports, which keep this PR's provider response limit and KvEntry and add #1489's current_timestamp, UnixSeconds and FinalizeRequest.

Takes #1613's new head edd3c56, 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

aram356 commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

For the identity integration branch (#1608), I pushed 535c3319b, a merge of #1613's new head edd3c5637, 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.

@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 changes wording and adds one test; it has no production code changes. The certificate_check reject error, the runtime warning, the doc comments, the guides and the example TOML now say TLS is verified on every outbound HTTPS request, not only on origin requests. The warning still contains "ignored" and the setting name, so the existing config tests still match it. I found no correctness issues. The only finding is a non-blocking mismatch between the spec/plan documents and the test that shipped.

Non-blocking

⛏ nitpick

  • Spec and plan describe a different test from the one that shipped — see Cross-cutting below (docs/superpowers/specs/2026-11-16-identity-backend-certificate-checks-design.md:604)

👍 praise

  • Isolated, behaviour-level test for the relaxed certificate_check path — see Cross-cutting below

Cross-cutting / body-level findings

  • ⛏ Spec and plan describe a different test from the one that shipped — docs/superpowers/specs/2026-11-16-identity-backend-certificate-checks-design.md:604 describes a test named dispatch_pull_sync_ignores_relaxed_certificate_check in core ec/pull_sync.rs. The test that shipped is after_response_pull_sync_ignores_relaxed_certificate_check in crates/trusted-server-adapter-fastly/src/post_delivery.rs. It also asserts Bypass cache policy and the after-response lookup budget timeout, not the values the plan lists. The plan's Task 1 has the same mismatch. The spec's residual-risks section says the test does not exercise the adapter's post_delivery path, but this test now does. Please update both documents and the residual-risk note so they don't mislead future readers.
  • 👍 Isolated, behaviour-level test for the relaxed certificate_check path — The new test in crates/trusted-server-adapter-fastly/src/post_delivery.rs runs after-response pull sync twice: once with the default certificate_check and once with it set to false. It checks that the request, its transport settings and the stored partner UID are the same in both runs. It uses its own EC ID, so it leaves the row seeded in fastly.toml alone, and it deletes its own row afterwards.

CI Status

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

Takes #1613's new head 90e9d4f, 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

aram356 commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

For the identity integration branch (#1608), I pushed 676f16b7a.

Takes #1613's new head 90e9d4f, 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.

Reviewed #1616 against #1613 at 90e9d4f53. The Fastly regression checks that both values of proxy.certificate_check produce the same recorded pull-sync request and persist the partner UID. Hosted CI passed that test and both config tests. The test uses a scripted client, so it does not verify a TLS handshake. No runtime regression found. I recommend tightening the TLS wording and updating the verification notes before merging.

Comment thread docs/guide/configuration.md Resolved
PR #1613's new head brings the cascaded owner review fixes from #1525, #1526, #1488, #1489, #1639, #1531 and #1532. The merge is clean.
PR #1613'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

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 676f16b7a to cf8ddb76f:

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

aram356 and others added 2 commits December 1, 2026 20:10
PR #1613'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.
@prk-Jr prk-Jr changed the title Say certificate checks cover every outbound HTTPS request Clarify certificate settings for Fastly identity Dec 2, 2026
PR #1613's new head brings #1613's conformance doc alignment, plus #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 #1540's new head brings the identity chain's commits since #1667 last merged it at afc4f5d, including the EdgeZero repins up to rc/identity ef5cbf30, which renames Fastly backends to ez_b31v2_* and moves the yanked pin-project-lite, chacha20 and spin, main's #1501, #1525's plain HTTP opt-in for auction providers, and this round's owner commits on #1535, #1613, #1616, #1617, #1625, #1627, #1635, #1637 and #1639.

Cargo.toml and crates/trusted-server-adapter-axum/Cargo.toml: #1667 pinned EdgeZero at d063a8e7, and the chain now pins rc/identity ef5cbf30, which keeps the client certificate API #1667 uses. The files merge cleanly to the chain's pin, so #1667 no longer carries its own.

crates/trusted-server-core/src/auction/mod.rs: #1501 from main, which the chain carries, moved the APS provider test literal into the shared aps_provider_map helper, and #1667 added `mtls: false` to that literal. The resolution calls the helper and adds `mtls: false` to it.

docs/guide/auction-orchestration.md: #1525 reworded the endpoint and allow_insecure_http rows of the provider field table, and #1667 added the mtls row below them. The resolution keeps #1525's rows followed by #1667's mtls row.

docs/guide/configuration.md: #1525 added the allow_insecure_http row to the provider field table and the plain HTTP warning after the loopback exception, and #1667 added the mtls row and the note that an mtls provider needs an https endpoint. The resolution keeps #1525's table with #1667's mtls row last, and #1525's warning followed by #1667's note.

docs/guide/error-reference.md: #1616's owner commit replaced "TLS is always verified" with the adapter and platform TLS policy wording, and #1667 added the outbound client identity bullet after it. The resolution keeps #1616's wording followed by #1667's bullet.

crates/trusted-server-core/src/auction/plan.rs (semantic fix): #1525's 23e4bdd removed the local is_false helper from plan.rs and serializes allow_insecure_http through crate::settings::is_false, and #1667's mtls field still named the local helper. The mtls field now uses crate::settings::is_false too.

crates/trusted-server-adapter-axum/tests/native_ec.rs (semantic fix): #1536's 9d41f0f added an APS ProviderConfig literal to the Axum native EC tests, and #1667 added the required mtls field to ProviderConfig. The literal now sets `mtls: false`.

Cargo.lock matches #1540's new head: next to #1667's, it changes only the EdgeZero package sources (d063a8e7 to ef5cbf30) and the yanked pin-project-lite, chacha20 and spin; the codegen crate's nested Cargo.lock is unchanged.
@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 f05992f5d to ee971dcd6:

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

PR #1613'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 ee971dcd6 to 5e3ff5896:

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 639c9fa1b, on top of 5e3ff5896.

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 #1613's new head (7d84105bb), 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.

Certificate checks on identity backends that still follow proxy.certificate_check

4 participants