Commit Finalized
Published when a forecast submission is locked in for the cycle.
Event Overview
Emitted alongside Commit Submitted on the same submit call. Where Commit Submitted records the act of submitting, this one records that the value is now the settled figure for that person, quarter, cadence and revenue type.
Envelope
| Field | Value |
|---|---|
| Bus | {env}-rio-events (but see the service page - this repo defaults to rio-commit-events) |
source | rio.commit (api/events/schemas.py:11) |
detail-type | Commit Finalized (api/events/schemas.py:22) |
detail.event_name | rio.commit.commit.finalized |
detail.entity_type | commit |
detail.action | finalized |
| Emitted at | api/services/forecast_service.py:1880-1885 |
What the payload carries
Only the audit envelope. The rich domain fields (amounts, breakdowns, quarter labels) are dropped before publishing - see the service page. before and after are always null.
Who consumes it
Only the Audit Service, through its catch-all rule matching any source beginning with rio. No service subscribes to it specifically.
Payload Schema
JSON Schema
Published when a forecast submission is locked in for the cycle. Envelope built by _enrich_event_detail (rio-commit-service/api/events/eventbridge.py:36-96) and published on source `rio.commit` with detail-type `Commit Finalized`.
rio.commit.commit.finalizedrio.commitcommitcommitcommitThe forecast submission id.
finalizeduserTaken from EventContextMiddleware contextvars.
Always null - the domain models never populate it.
Always null - the domain models never populate it.