Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
6d7b9fb
fix(postgres): honour verify-full in database URLs
jeremi Dec 2, 2026
2aa2f76
fix(postgres): refuse TLS modes for plaintext database transports
jeremi Dec 2, 2026
2ae4c1b
fix(platform): name a provision refusal's fix once
jeremi Dec 2, 2026
1f2a5fd
fix(platform)!: give provision secret refusals one code per kind
jeremi Dec 2, 2026
5b6ac8d
refactor(platform)!: read every database CA bundle with one parser
jeremi Dec 2, 2026
77556f0
fix(platform): state the provision CA and URL refusals accurately
jeremi Dec 2, 2026
7f5dffd
fix(discovery): keep an unknown problem's type and code in the clients
jeremi Dec 2, 2026
d7a3708
docs(site): describe Discovery problem classification by type and code
jeremi Dec 2, 2026
641d4ba
fix(client): classify Discovery problems in the TypeScript client by …
jeremi Dec 2, 2026
10dbe82
fix(discovery): keep a new code under a known problem type
jeremi Dec 2, 2026
faf1eef
docs(site): describe Discovery problem codes under known types
jeremi Dec 2, 2026
46490b7
test(platform): enforce the Session dependency boundary
jeremi Dec 2, 2026
b64fd11
test(ci): run the Session dependency gate in platform hygiene
jeremi Dec 2, 2026
e20f41a
fix(platform): hold every registry crate and own dev edges to the Ses…
jeremi Dec 2, 2026
09d2fef
chore(release): inventory the Session dependency gate
jeremi Dec 2, 2026
9f7a6ab
fix(preview): preserve authenticated function caller kind
jeremi Dec 2, 2026
e82eeac
fix(preview): require the private host caller policy
jeremi Dec 2, 2026
2ab5f92
merge: support zero-function and Coordinator-only previews together
jeremi Dec 2, 2026
815636c
fix(preview): report denied Coordinator registry calls as refusals
jeremi Dec 2, 2026
45aad3e
test(preview): cover Coordinator-only host run input
jeremi Dec 2, 2026
c107aab
test(preview): compare browser routes with checked Session gateways
jeremi Dec 2, 2026
c587b10
test(ci): gate service previews on browser route parity
jeremi Dec 2, 2026
ade17f7
test(preview): clarify route parity coverage
jeremi Dec 2, 2026
a9f8309
ci: build the shared CI-profile binaries once for every job that runs…
jeremi Dec 2, 2026
710d44e
test(ci): hold the shared binary consumers in both directions
jeremi Dec 2, 2026
cf7f2fe
test(messaging): add a native role-assignment check that requires one…
jeremi Dec 2, 2026
76ffd65
ci(messaging): run the native role-assignment check in the PostgreSQL…
jeremi Dec 2, 2026
7f00085
test(scheduling): run the managed task-authority journey and refuse a…
jeremi Dec 2, 2026
6343196
ci(scheduling): run the managed task-authority journey in the Schedul…
jeremi Dec 2, 2026
512ab0a
ci(scheduling): run the managed journey in the ThunderID acceptance leg
jeremi Dec 2, 2026
6fce83a
test(ci): reconcile the staged aggregate job count
jeremi Dec 2, 2026
cfe7a28
test(deploy): exercise the reference host with BReg and Casework
jeremi Dec 2, 2026
59f1614
ci: gate both reference host browser profiles
jeremi Dec 2, 2026
7343984
test(deploy): verify reference receipts and preview cleanup
jeremi Dec 2, 2026
0cd8bd0
ci: run reference smoke for browser client inputs
jeremi Dec 2, 2026
cfeeb13
test(deploy): detect cleanup of unrelated containers
jeremi Dec 2, 2026
79e2faf
test(ci): pin the complete reference smoke command sequence
jeremi Dec 2, 2026
dcb7840
ci: run the reference host smoke on the shared CI-profile binaries
jeremi Dec 2, 2026
26be00a
test(messaging): wait for the applied callback counter
jeremi Dec 2, 2026
e76cbec
feat(evidence): say published response schemas describe one release
jeremi Dec 2, 2026
fa3d9ae
docs: state that published response schemas describe one release
jeremi Dec 2, 2026
a5a8934
docs: qualify response schema closure by release
jeremi Dec 2, 2026
663a858
fix(config): author posture setting summaries as sentences
jeremi Dec 2, 2026
4aac283
docs(platform): document posture summary migration
jeremi Dec 2, 2026
b8ce361
fix(client): validate unrecognised Discovery problem codes
jeremi Dec 2, 2026
284fb5b
fix(adapter): explain signed-event destination refusals
jeremi Dec 2, 2026
0fb61e5
fix(adapter): correct signed-event destination refusal tests
jeremi Dec 2, 2026
3476903
fix(render): restrict shared API keys to loopback development
jeremi Dec 2, 2026
361a01f
fix(render): report the shared API key in deployment posture
jeremi Dec 2, 2026
7fcc5f0
fix(render): complete shared API key posture coverage
jeremi Dec 2, 2026
e406196
fix(rstack): isolate executable fixture writes from sibling forks
jeremi Dec 2, 2026
98ee377
fix(platform): name the aud and exp claims in token refusal remedies
jeremi Dec 2, 2026
5a3cee0
fix(journeys): count only adopter-authored edits
jeremi Dec 2, 2026
ac44fd7
fix(journeys): count maintained reading and exclude automated work
jeremi Dec 2, 2026
018e1a6
test(auth): require claim remedies in product refusal logs
jeremi Dec 2, 2026
dfeca44
fix(journeys): exclude fixture assertions from reader effort
jeremi Dec 2, 2026
a455ec2
fix(journeys): exercise scope refusal with role-based starters
jeremi Dec 2, 2026
6e9d418
docs(journeys): describe each path’s actual first call
jeremi Dec 2, 2026
0125ec5
fix(journeys): correlate audience remedies across log formats
jeremi Dec 2, 2026
d33103b
test(journeys): verify synthetic authorization fault remedies
jeremi Dec 2, 2026
56831fe
fix(journeys): measure reader effort at the defined endpoints
jeremi Dec 2, 2026
c5fe912
chore: reconcile generated artifacts after staging approved deltas
jeremi Dec 2, 2026
a7a052a
test(discovery): inventory synthetic future problem identifiers
jeremi Dec 2, 2026
2e9d951
chore(identifiers): refresh staged schema provenance
jeremi Dec 2, 2026
fb6b0a1
test(breg): pin the Action create boundary refusal before targets and…
jeremi Dec 2, 2026
aac62e0
feat(breg): refuse an Action create outside the boundary with 403 bef…
jeremi Dec 2, 2026
d5d86c7
docs(breg): document the Action create boundary refusal
jeremi Dec 2, 2026
25b907a
fix(breg): classify request-only creates before Evidence guards
jeremi Dec 2, 2026
26bf817
test(breg): verify the structured Apply refusal contract
jeremi Dec 2, 2026
6a99935
fix(breg): align write refusal response contracts
jeremi Dec 2, 2026
74d02e9
fix(breg): require a valid request-only create for OpenAPI boundary r…
jeremi Dec 2, 2026
0b7e86a
fix(deploy): forward only the declared browser function in the refere…
jeremi Dec 2, 2026
d6ab5a8
ci: run the reference route check in the reference host smoke
jeremi Dec 2, 2026
f9a9af3
feat(client): report each holder answer's class to the host
jeremi Dec 2, 2026
af6ebb4
refactor(platform): export the business registration preparation on i…
jeremi Dec 2, 2026
ba8232b
feat(deploy): serve business registration as a holder binding
jeremi Dec 2, 2026
7055928
ci: run the reference host's binding and client generation tests
jeremi Dec 2, 2026
ff2747f
fix(client): log an async outcome hook's rejection instead of leaving…
jeremi Dec 2, 2026
1c475aa
fix(deploy): make the generated host client buildable, readable and c…
jeremi Dec 2, 2026
7203243
ci: run only the client generation test in the reference host job
jeremi Dec 2, 2026
ef0ddee
fix(deploy): generate the host client without an author profile
jeremi Dec 2, 2026
4901335
fix(platform): prepare business registration input by trimming only
jeremi Dec 2, 2026
5b5c996
fix(ci): run reference host tests on pinned Node
jeremi Dec 2, 2026
0a33a31
fix(ci): select deployment for holder binding manifest changes
jeremi Dec 2, 2026
9dc2405
chore: reconcile holder and BReg staging metadata
jeremi Dec 2, 2026
7aad432
fix(deploy): pin the reference preview bundle over every file
jeremi Dec 2, 2026
205f37d
feat(rstack): export a service preview bundle with rstack dev export-…
jeremi Dec 2, 2026
ac2dee2
fix(rstack): make preview exports byte-stable across checkouts and st…
jeremi Dec 2, 2026
49cc09a
ci: run the preview export checks when the reference host or shared f…
jeremi Dec 2, 2026
4331637
test(platform): exercise the exported preview with the holder host
jeremi Dec 2, 2026
2530fdc
ci: select preview acceptance when host client generation changes
jeremi Dec 2, 2026
c5a1e6e
fix(rstack): verify exported preview bundles in the reference journey
jeremi Dec 2, 2026
a3d23e2
docs: clarify the reference preview compiler prerequisite
jeremi Dec 2, 2026
5e87efc
fix(rstack): reject unreportable preview output paths before export
jeremi Dec 2, 2026
75f185e
docs(deploy): make the locked preview install explicit before export
jeremi Dec 2, 2026
0a22525
fix(rstack): export page-only service previews
jeremi Dec 2, 2026
32b9c6e
test(rstack): verify installed page-only preview exports
jeremi Dec 2, 2026
b0c029f
feat(release): ship Session and Coordinator images from v0.52.0
jeremi Dec 2, 2026
a2dbd54
ci(release): verify the v0.52 host image inputs
jeremi Dec 2, 2026
10571e5
fix(release): check the Session image roster lookup status
jeremi Dec 2, 2026
75fa9e6
ci(release): prove sealed candidates on the reference host
jeremi Dec 2, 2026
c6e934e
fix(release): make candidate reference host startup reliable
jeremi Dec 2, 2026
6b0687d
ci(release): prove the Casework profile on the sealed candidate
jeremi Dec 2, 2026
98e252c
fix(journeys): restore own-provider time budgets
jeremi Dec 2, 2026
2994dc1
fix(journeys): report effort and diagnostic evidence independently
jeremi Dec 2, 2026
cadd8cd
chore: reconcile PR A with the protected development base
jeremi Dec 2, 2026
afbb1b1
fix(ci): validate the managed journey routing output
jeremi Dec 2, 2026
1f17448
fix(preview): match Session route prefix kinds in parity gate
jeremi Dec 3, 2026
c2834bb
fix(evidence): preserve compatible HTTP response decoding
jeremi Dec 3, 2026
8d6f2f3
fix(discovery): fold reviewed SDK response compatibility
jeremi Dec 3, 2026
d68403f
fix(evidence): track response fixture identifier exclusions
jeremi Dec 3, 2026
50c9a1b
chore(identifiers): refresh rstack error schema source digest
jeremi Dec 3, 2026
7ffda44
test(discovery): restore refined problem trace assertion
jeremi Dec 3, 2026
bd98446
fix(casework): fold reviewed SDK response compatibility
jeremi Dec 3, 2026
685c2b4
fix(identifiers): track synthetic Casework problem references
jeremi Dec 3, 2026
fe31bba
fix(docs): track Evidence client status routing
jeremi Dec 3, 2026
e4413f6
test(breg): expect the Action create boundary refusal
jeremi Dec 3, 2026
989023d
docs: satisfy list spacing in Document Store configuration
jeremi Dec 3, 2026
d779424
test(coordinator): distinguish invalid and userless provisioning URLs
jeremi Dec 3, 2026
ed8816e
fix(typescript): stage live products in the service inventory
jeremi Dec 3, 2026
2b753de
fix(breg): recognize the write boundary refusal in fixtures
jeremi Dec 3, 2026
03777c8
fix(breg): give fixture problem details a static lifetime
jeremi Dec 3, 2026
5c13451
fix(preview): close readiness connections in the startup refusal probe
jeremi Dec 3, 2026
ab7a1ad
fix(test): declare BReg on the live Session person audience
jeremi Dec 3, 2026
17406b4
fix(ci): bound the BReg reference browser and mark proof phases
jeremi Dec 3, 2026
9f39d85
fix(tests): keep route observations out of fixture responses
jeremi Dec 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
106 changes: 98 additions & 8 deletions .github/scripts/ci_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,22 @@ def literal(node: ast.expr | None) -> Any:
"registry-casework",
"registry-caseworkctl",
"registry-coordinator",
"registry-session",
})
# One job builds these CI-profile binaries for every job that runs them,
# instead of each job building its own. Each consumer job is selected by one
# of CI_BINARY_CONSUMERS, and the builder runs whenever any of them does, and
# in the full sweep, which proves the build on its own.
CI_BINARY_PACKAGES = (
"registry-rstack",
"registry-session",
"registry-breg",
"registry-bregctl",
"registry-casework",
"registry-caseworkctl",
)
CI_BINARIES = ("rstack", "registry-session", "breg", "bregctl", "casework", "caseworkctl")
CI_BINARY_CONSUMERS: tuple[str, ...] = ("reference_host_smoke",)
# The shared dependency gate owns the list of development runner hosts; it
# is read as data, and test_ci_changes.py holds it equal to the gate's own.
_dev_runner_gate = literal_assignments(
Expand Down Expand Up @@ -275,6 +290,30 @@ def literal(node: ast.expr | None) -> Any:
# The journey scripts, their tables, the realm and the per-product inputs.
JOURNEY_INPUTS = ("products/platform/journeys/**",)

# The managed Scheduling task-authority journey: the ThunderID own-provider
# journey with an rstack dev Scheduling runtime bound to one live Casework task
# authority. Scheduling, the shared task-grant code that Scheduling links (the
# reverse-dependency closure reaches it), the rstack dev runner, Casework as
# the grant issuer and the ThunderID fixture select it, and so do the harness
# files the run reads. It runs in the ThunderID leg of the acceptance journeys.
SCHEDULING_MANAGED_JOURNEY_PACKAGES = frozenset(
{
"registry-casework",
"registry-caseworkctl",
"registry-rstack",
"registry-rstack-dev",
"registry-thunderid-tooling",
}
)
SCHEDULING_MANAGED_JOURNEY_INPUTS = (
"products/platform/journeys/own-provider.sh",
"products/platform/journeys/lib.sh",
"products/platform/journeys/projects/composed_fixtures.py",
"products/platform/journeys/expected-failures-thunderid.yaml",
"products/scheduling/scripts/run_managed_task_authority_journey.py",
"crates/registry-thunderid-tooling/thunderid-version.json",
)

# The token fixture corpus, read by the corpus test in
# registry-platform-testing and by the token characterisation test of every
# runtime that verifies a token. The corpus is not a crate, so its path names
Expand Down Expand Up @@ -411,11 +450,23 @@ def literal(node: ast.expr | None) -> Any:
"clients/typescript/generate-project.ts",
"clients/typescript/generate-service.ts",
"clients/typescript/package*.json",
"clients/typescript/registry-generate.js",
"clients/typescript/preview/**",
"products/platform/examples/service-previews/**",
"products/platform/scripts/test-service-previews.mjs",
"deploy/examples/business-registration/edge.yaml",
"deploy/examples/business-registration/session.yaml",
# The end-to-end export check serves the exported bundle with this host.
"deploy/examples/business-registration/host.mjs",
"deploy/examples/business-registration/package.json",
"deploy/examples/business-registration/package-lock.json",
"deploy/examples/business-registration/tests/build-host-client.mjs",
)

# registry-rstack-dev pins the digest of this shared bundle fixture, and the
# reference host's own test pins the same value.
SHARED_PREVIEW_BUNDLE = "deploy/examples/business-registration/tests/bundle/"

# The TypeScript clients generate from these OpenAPI documents, verify the
# shared Standard Webhooks vectors, and check the documents against what the
# clients assume.
Expand Down Expand Up @@ -1543,6 +1594,8 @@ def classify(
# Cross-product commitments select the two owning product gates
# explicitly below; each gate compiles and exercises its router.
pass
elif path.startswith(SHARED_PREVIEW_BUNDLE):
seeds.add("registry-rstack-dev")
elif path.startswith(("crates/", "products/")):
# A new or moved Rust package must not silently escape the test matrix.
force_all = True
Expand Down Expand Up @@ -1855,10 +1908,21 @@ def classify(
or bool(affected & BREG_EVIDENCE_COMPOSITION_PACKAGES)
)

acceptance_journeys = integration and (
scheduling_managed_journey = integration and (
complete
or any(matches(path, *JOURNEY_INPUTS) for path in paths)
or bool(affected & JOURNEY_PACKAGES)
or any(matches(path, *SCHEDULING_MANAGED_JOURNEY_INPUTS) for path in paths)
or bool(affected & (SCHEDULING_PACKAGES | SCHEDULING_MANAGED_JOURNEY_PACKAGES))
)

# The managed journey runs in the ThunderID leg, so selecting it selects
# the acceptance journeys.
acceptance_journeys = scheduling_managed_journey or (
integration
and (
complete
or any(matches(path, *JOURNEY_INPUTS) for path in paths)
or bool(affected & JOURNEY_PACKAGES)
)
)

# Running dev_run for a host change does not make the harness itself
Expand Down Expand Up @@ -1934,12 +1998,34 @@ def classify(

outputs = {
"full_sweep": full_sweep,
# The operator tests read the successor warnings bregctl prints.
"deployment": complete
or any(
path.startswith("deploy/") or path == "crates/registry-bregctl/src/apply_lifecycle.rs"
for path in paths
),
or any(matches(
path,
"deploy/**",
# The operator tests read the successor warnings bregctl prints.
"crates/registry-bregctl/src/apply_lifecycle.rs",
# The reference host wrapper loads the holder binding from source.
"clients/typescript/holder-function.ts",
"clients/typescript/core.ts",
"clients/typescript/version.ts",
"clients/typescript/generated-client-version.ts",
"clients/typescript/package.json", # Sets the module type for those imports.
) for path in paths),
"reference_host_smoke": complete
or bool(affected & (RSTACK_DEV_HARNESS_PACKAGES | {
"registry-session", "registry-breg", "registry-bregctl",
"registry-casework", "registry-caseworkctl",
}))
or any(matches(
path,
"deploy/examples/business-registration/**",
"clients/typescript/*.ts",
"clients/typescript/tsconfig*.json",
"products/casework/examples/standalone-decision/**",
"products/platform/scripts/prepare-service-preview-locks.mjs",
".github/workflows/ci.yml",
*SERVICE_PREVIEW_INPUTS,
) for path in paths),
"rust": bool(affected),
"rust_matrix": {"include": matrix},
"rust_packages": sorted(rust_packages),
Expand Down Expand Up @@ -1975,6 +2061,7 @@ def classify(
"scheduling_postgres": (
integration or "registry-platform-activation" in affected
) and bool(affected & (SCHEDULING_PACKAGES | {"registry-platform-dispatch"})),
"scheduling_managed_journey": scheduling_managed_journey,
"messaging_contracts": bool(affected & MESSAGING_PACKAGES),
"messaging_postgres": bool(affected & MESSAGING_PACKAGES),
"documents_contracts": bool(affected & DOCUMENTS_PACKAGES),
Expand Down Expand Up @@ -2002,6 +2089,9 @@ def classify(
"acceptance_journeys": acceptance_journeys,
"identifiers": identifiers,
}
outputs["ci_binaries"] = full_sweep or any(
outputs[consumer] for consumer in CI_BINARY_CONSUMERS
)
return outputs


Expand Down
Loading
Loading