Expand description
Incoming event handling, from the first signature check to the timeline.
The service authorizes incoming PDUs, fetches the events they depend on, derives their state and appends them. Observability counters cover the local state build, the previous-event walk and the backoff verdicts. A per-room history keeps the previous-event walk passes for up to three days.
ModulesΒ§
- acl_
check π - backoff π
- fetch_
auth π - fetch_
prev π - fetch_
state π - handle_
incoming_ πpdu - handle_
outlier_ πpdu - handle_
prev_ πpdu - outlier_
state π - parse_
incoming_ πpdu - policy_
server π - prev_
walk π - resolve_
state π - state_
at_ πincoming - state_
local_ πbuild - upgrade_
outlier_ πpdu
StructsΒ§
- Backoff
Metrics - Snapshot of process-lifetime verdicts from the backoff store, per federation step.
- Data π
- InFlight
Walk - A gapped incoming event whose pass is in flight.
- Local
Build Report - Summary of one local build attempt, for the admin debug command.
- Prev
Walk Metrics - Snapshot of process-lifetime totals for incoming previous-event walks.
- Prev
Walk Pass - One recorded pass.
- Prev
Walk Room - Recorded prev walk totals for one room.
- Service
- Handles incoming events: authorization, fetching missing events, state resolution and upgrade into the timeline.
- State
Local Metrics - Immutable process-lifetime totals for production local state builds.
- Verdicts
- Verdict counts for one federation step.
- Walk
- The walking phase of a pass, entered when the backward fetch returns previous events.
EnumsΒ§
- Policy
Check - Outcome of an inbound policy-server signature check.
- Prev
Walk Outcome - How the pass of a gapped incoming event ended.
ConstantsΒ§
FunctionsΒ§
- room_
version_ πof - Extract a roomβs version from the create event in a stripped-state list (as stored for an out-of-band invite or knock).
Type AliasesΒ§
- Room
Mutex πMap