Conversation
|
The rollout dependencies are now explicit:
Commit |
192cdca to
adf5b89
Compare
|
Rebased this PR onto current
Checks run locally:
The rebased head is |
|
Commit
Deployment order: database precursor API #3852, this PR, then API v1 #3850. Within this deployment, update the executor before the gateway. Roll back API v1 #3850 before rolling this PR back. The full repository test command passed. After the final compatibility adjustment, the focused observability, contract, and gateway suites also passed with 11, 49, and 69 tests respectively. |
|
Follow-up commit
The database field remains available for durable lookup and diagnostics. Runtime propagation into Modal now occurs only through Verification: 67 simulation-entry tests and 29 Stage 12 executor tests passed together; the focused backend suite passed again with 13 tests, and Ruff formatting and lint checks passed. |
|
Implemented the latest review fixes in
Verification:
The repository-wide |
|
Implemented temporary input compatibility in
Verification:
|
Fixes #685
Summary
policyengine-observability3.x runtimes1.0trace sampling ratio in every simulation runtime even if the surrounding environment supplies a lower valueX-PolicyEngine-Observability-Idas the only HTTP source and response transport forobservability_id_observability_contextobjectsubmission_claim_idas separate execution metadata in_telemetry_observability_contextbefore a caller sends itpackagingproduction dependency required when the Modal image imports the simulation contractDeployment dependencies
policyengine-observability3.0.0 must remain available on PyPI; all six affected lock files contain its published artifact hashes.observability_iddatabase migration must be applied.The receiver permits the currently deployed API's
run_id,process_id,request_id,traceparent, and bodyobservability_idkeys during this sequence only so requests remain valid. It discards those keys. A validX-PolicyEngine-Observability-Idheader is used when present; otherwise the simulation request boundary generates a UUID. Roll back PolicyEngine/policyengine-api#3850 before rolling back this PR.Verification
uv lock --checkpassed for all six lock filesmake testpassed across the repository after the canonical transport changepolicyengine-fastapiobservability tests passed with the required coverage thresholdpackagingis installed without development dependenciesThe Household API and UK Chat are outside this change.