Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
6399929
chore(release): open v0.52.0 development
jeremi Dec 2, 2026
e9ed1bc
fix(postgres): honour verify-full in database URLs
jeremi Dec 2, 2026
05b467e
fix(postgres): refuse TLS modes for plaintext database transports
jeremi Dec 2, 2026
9dcd75a
fix(platform): name a provision refusal's fix once
jeremi Dec 2, 2026
14fd156
fix(platform)!: give provision secret refusals one code per kind
jeremi Dec 2, 2026
5a9c895
refactor(platform)!: read every database CA bundle with one parser
jeremi Dec 2, 2026
288637a
fix(platform): state the provision CA and URL refusals accurately
jeremi Dec 2, 2026
560ad93
fix(discovery): keep an unknown problem's type and code in the clients
jeremi Dec 2, 2026
8ba57d5
docs(site): describe Discovery problem classification by type and code
jeremi Dec 2, 2026
423e845
fix(client): classify Discovery problems in the TypeScript client by …
jeremi Dec 2, 2026
c4ae87e
fix(discovery): keep a new code under a known problem type
jeremi Dec 2, 2026
6116e0b
docs(site): describe Discovery problem codes under known types
jeremi Dec 2, 2026
914152b
test(platform): enforce the Session dependency boundary
jeremi Dec 2, 2026
28d889c
test(ci): run the Session dependency gate in platform hygiene
jeremi Dec 2, 2026
c0295ac
fix(platform): hold every registry crate and own dev edges to the Ses…
jeremi Dec 2, 2026
7147108
chore(release): inventory the Session dependency gate
jeremi Dec 2, 2026
824a80c
fix(preview): preserve authenticated function caller kind
jeremi Dec 2, 2026
9b5b980
fix(preview): require the private host caller policy
jeremi Dec 2, 2026
2490931
merge: support zero-function and Coordinator-only previews together
jeremi Dec 2, 2026
ef1ab0b
fix(preview): report denied Coordinator registry calls as refusals
jeremi Dec 2, 2026
8dc9bd9
test(preview): cover Coordinator-only host run input
jeremi Dec 2, 2026
0ce2268
test(preview): compare browser routes with checked Session gateways
jeremi Dec 2, 2026
bb1859e
test(ci): gate service previews on browser route parity
jeremi Dec 2, 2026
64a47cd
test(preview): clarify route parity coverage
jeremi Dec 2, 2026
0ec416f
ci: build the shared CI-profile binaries once for every job that runs…
jeremi Dec 2, 2026
543340c
test(ci): hold the shared binary consumers in both directions
jeremi Dec 2, 2026
2a93066
test(messaging): add a native role-assignment check that requires one…
jeremi Dec 2, 2026
e56c6de
ci(messaging): run the native role-assignment check in the PostgreSQL…
jeremi Dec 2, 2026
04095e8
test(scheduling): run the managed task-authority journey and refuse a…
jeremi Dec 2, 2026
a308e09
ci(scheduling): run the managed task-authority journey in the Schedul…
jeremi Dec 2, 2026
6f4a8b7
ci(scheduling): run the managed journey in the ThunderID acceptance leg
jeremi Dec 2, 2026
dca31e6
test(ci): reconcile the staged aggregate job count
jeremi Dec 2, 2026
263f110
test(deploy): exercise the reference host with BReg and Casework
jeremi Dec 2, 2026
9018233
ci: gate both reference host browser profiles
jeremi Dec 2, 2026
8ec3723
test(deploy): verify reference receipts and preview cleanup
jeremi Dec 2, 2026
18305c7
ci: run reference smoke for browser client inputs
jeremi Dec 2, 2026
eb6c358
test(deploy): detect cleanup of unrelated containers
jeremi Dec 2, 2026
8396250
test(ci): pin the complete reference smoke command sequence
jeremi Dec 2, 2026
1115953
ci: run the reference host smoke on the shared CI-profile binaries
jeremi Dec 2, 2026
7c42901
test(messaging): wait for the applied callback counter
jeremi Dec 2, 2026
456eb8a
feat(evidence): say published response schemas describe one release
jeremi Dec 2, 2026
f6858c3
docs: state that published response schemas describe one release
jeremi Dec 2, 2026
c21d426
docs: qualify response schema closure by release
jeremi Dec 2, 2026
578bb8e
fix(config): author posture setting summaries as sentences
jeremi Dec 2, 2026
07b82ff
docs(platform): document posture summary migration
jeremi Dec 2, 2026
bdb4ae4
fix(client): validate unrecognised Discovery problem codes
jeremi Dec 2, 2026
b315bbe
fix(adapter): explain signed-event destination refusals
jeremi Dec 2, 2026
0d54160
fix(adapter): correct signed-event destination refusal tests
jeremi Dec 2, 2026
49b8140
fix(render): restrict shared API keys to loopback development
jeremi Dec 2, 2026
a4973be
fix(render): report the shared API key in deployment posture
jeremi Dec 2, 2026
730a1f7
fix(render): complete shared API key posture coverage
jeremi Dec 2, 2026
af1ec14
fix(rstack): isolate executable fixture writes from sibling forks
jeremi Dec 2, 2026
a21202f
fix(platform): name the aud and exp claims in token refusal remedies
jeremi Dec 2, 2026
6a13271
fix(journeys): count only adopter-authored edits
jeremi Dec 2, 2026
9dbc94a
fix(journeys): count maintained reading and exclude automated work
jeremi Dec 2, 2026
f733c6c
test(auth): require claim remedies in product refusal logs
jeremi Dec 2, 2026
b3332e2
fix(journeys): exclude fixture assertions from reader effort
jeremi Dec 2, 2026
f7a40f6
fix(journeys): exercise scope refusal with role-based starters
jeremi Dec 2, 2026
3bdadbd
docs(journeys): describe each path’s actual first call
jeremi Dec 2, 2026
893519f
fix(journeys): correlate audience remedies across log formats
jeremi Dec 2, 2026
2a9a35a
test(journeys): verify synthetic authorization fault remedies
jeremi Dec 2, 2026
c2d6676
fix(journeys): measure reader effort at the defined endpoints
jeremi Dec 2, 2026
55e3c4e
chore: reconcile generated artifacts after staging approved deltas
jeremi Dec 2, 2026
c5910c0
test(discovery): inventory synthetic future problem identifiers
jeremi Dec 2, 2026
c275cdb
chore(identifiers): refresh staged schema provenance
jeremi Dec 2, 2026
f42ecb8
test(breg): pin the Action create boundary refusal before targets and…
jeremi Dec 2, 2026
c4c5b50
feat(breg): refuse an Action create outside the boundary with 403 bef…
jeremi Dec 2, 2026
545d06b
docs(breg): document the Action create boundary refusal
jeremi Dec 2, 2026
a4a0e0f
fix(breg): classify request-only creates before Evidence guards
jeremi Dec 2, 2026
e308a4e
test(breg): verify the structured Apply refusal contract
jeremi Dec 2, 2026
9a6454d
fix(breg): align write refusal response contracts
jeremi Dec 2, 2026
fa11fde
fix(breg): require a valid request-only create for OpenAPI boundary r…
jeremi Dec 2, 2026
4a42fad
fix(deploy): forward only the declared browser function in the refere…
jeremi Dec 2, 2026
f39279a
ci: run the reference route check in the reference host smoke
jeremi Dec 2, 2026
bc1d087
feat(client): report each holder answer's class to the host
jeremi Dec 2, 2026
a3ea1ba
refactor(platform): export the business registration preparation on i…
jeremi Dec 2, 2026
a8beafb
feat(deploy): serve business registration as a holder binding
jeremi Dec 2, 2026
35b4c06
ci: run the reference host's binding and client generation tests
jeremi Dec 2, 2026
36df65f
fix(client): log an async outcome hook's rejection instead of leaving…
jeremi Dec 2, 2026
f6c4594
fix(deploy): make the generated host client buildable, readable and c…
jeremi Dec 2, 2026
7086314
ci: run only the client generation test in the reference host job
jeremi Dec 2, 2026
fdbab32
fix(deploy): generate the host client without an author profile
jeremi Dec 2, 2026
5ca90c5
fix(platform): prepare business registration input by trimming only
jeremi Dec 2, 2026
951769c
fix(ci): run reference host tests on pinned Node
jeremi Dec 2, 2026
9a70982
fix(ci): select deployment for holder binding manifest changes
jeremi Dec 2, 2026
b01e837
chore: reconcile holder and BReg staging metadata
jeremi Dec 2, 2026
9d4438f
fix(deploy): pin the reference preview bundle over every file
jeremi Dec 2, 2026
0bf304e
feat(rstack): export a service preview bundle with rstack dev export-…
jeremi Dec 2, 2026
8cfa6fe
fix(rstack): make preview exports byte-stable across checkouts and st…
jeremi Dec 2, 2026
b82fb38
ci: run the preview export checks when the reference host or shared f…
jeremi Dec 2, 2026
b81abfb
test(platform): exercise the exported preview with the holder host
jeremi Dec 2, 2026
9907044
ci: select preview acceptance when host client generation changes
jeremi Dec 2, 2026
373f29d
fix(rstack): verify exported preview bundles in the reference journey
jeremi Dec 2, 2026
47a5ccc
docs: clarify the reference preview compiler prerequisite
jeremi Dec 2, 2026
911c6d0
fix(rstack): reject unreportable preview output paths before export
jeremi Dec 2, 2026
5163458
docs(deploy): make the locked preview install explicit before export
jeremi Dec 2, 2026
b3d0bd4
fix(rstack): export page-only service previews
jeremi Dec 2, 2026
665aae0
test(rstack): verify installed page-only preview exports
jeremi Dec 2, 2026
e32e2a0
feat(release): ship Session and Coordinator images from v0.52.0
jeremi Dec 2, 2026
cec390f
ci(release): verify the v0.52 host image inputs
jeremi Dec 2, 2026
b1a781d
fix(release): check the Session image roster lookup status
jeremi Dec 2, 2026
2bfb265
ci(release): prove sealed candidates on the reference host
jeremi Dec 2, 2026
986358d
fix(release): make candidate reference host startup reliable
jeremi Dec 2, 2026
9239517
ci(release): prove the Casework profile on the sealed candidate
jeremi Dec 2, 2026
514167d
fix(journeys): restore own-provider time budgets
jeremi Dec 2, 2026
63a696e
fix(journeys): report effort and diagnostic evidence independently
jeremi Dec 2, 2026
38a5838
chore: reconcile PR A with the protected development base
jeremi Dec 2, 2026
8cd8937
fix(ci): validate the managed journey routing output
jeremi Dec 2, 2026
0db0a25
fix(preview): match Session route prefix kinds in parity gate
jeremi Dec 3, 2026
39a20cd
fix(evidence): preserve compatible HTTP response decoding
jeremi Dec 3, 2026
0af8ab9
fix(discovery): fold reviewed SDK response compatibility
jeremi Dec 3, 2026
8e6d564
fix(evidence): track response fixture identifier exclusions
jeremi Dec 3, 2026
ffe0be0
chore(identifiers): refresh rstack error schema source digest
jeremi Dec 3, 2026
ade6745
test(discovery): restore refined problem trace assertion
jeremi Dec 3, 2026
410c8a8
fix(casework): fold reviewed SDK response compatibility
jeremi Dec 3, 2026
98bf3de
fix(identifiers): track synthetic Casework problem references
jeremi Dec 3, 2026
e22fca0
fix(docs): track Evidence client status routing
jeremi Dec 3, 2026
0856f8c
test(breg): expect the Action create boundary refusal
jeremi Dec 3, 2026
ab06ed0
docs: satisfy list spacing in Document Store configuration
jeremi Dec 3, 2026
52a2bcd
test(coordinator): distinguish invalid and userless provisioning URLs
jeremi Dec 3, 2026
66ea8fd
fix(typescript): stage live products in the service inventory
jeremi Dec 3, 2026
e4cd817
fix(breg): recognize the write boundary refusal in fixtures
jeremi Dec 3, 2026
dce2926
fix(breg): give fixture problem details a static lifetime
jeremi Dec 3, 2026
21d1b85
chore(release): align v0.52.0 with the v0.51.0 closeout candidate
jeremi Dec 3, 2026
7384c3f
fix(preview): close readiness connections in the startup refusal probe
jeremi Dec 3, 2026
56d51cc
fix(test): declare BReg on the live Session person audience
jeremi Dec 3, 2026
a4ba332
fix(ci): bound the BReg reference browser and mark proof phases
jeremi Dec 3, 2026
511df51
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