Configure and instrument simulation observability - #686
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:
|
c402b59 to
a6c4570
Compare
|
Implemented the canonical asynchronous correlation design in commits
Focused simulation observability, gateway, executor, and entry tests passed. The remaining prerequisite is the 3.0.1 package release from PolicyEngine/policyengine-observability#32, followed by dependency and lockfile updates in this PR. |
Fixes #685
Summary
policyengine-observabilityruntime in each simulation entry, gateway, and executor processX-PolicyEngine-Observability-Idas the only HTTP transport forobservability_idobservability_contextargumentjob_id,observability_id, andsimulation_idthrough Modal observability context and retain separate bounded metric labelssubmission_claim_idas cache-ownership metadata that is separate from diagnostic correlation_telemetry.process_idfield only as a temporary alias forsubmission_claim_id, with an explicit removal commentDeployment dependencies
observability_idmigration must be applied before Stage 12 writes that field.observability_contextargument.The Modal signature change is intentionally breaking. This deployment does not call older Modal functions and does not maintain compatibility for the former payload representation.
Verification
policyengine-observability3.0.1 package after removing the local attribute list.mainbranch.The Household API and UK Chat are outside this change.