Expand description
Enrolment discovery’s per-module listing: which modules a roster request covers, and what the last listing of each found.
Structs§
- Module
Discovery Report - One active module’s counters from its last successful discovery run, and whether the attempts since then have been failing. Point-in-time, not a windowed sum: the phase overwrites the row whole, so every surface rendering them has to say so.
- Module
Listing Outcome - Outcome counters for one enrolment-discovery run over one module. Written whole, so the dashboard never mixes two runs.
- Module
ToList - An active module and the facts a
list-by-courserequest for it needs.
Functions§
- get_
active_ discovery_ reports - Every active module’s last discovery counters, for the account-linking dashboard.
- get_
active_ modules_ for_ course - Every active, listable module of one course, unpaginated.
- mark_
listing_ failed - Records a listing attempt whose roster never arrived.
last_listed_atand the counters keep describing the last roster that did, because zeroing them would make a failed listing read as an empty course. - mark_
listing_ succeeded_ without_ linking - Records a listing whose roster arrived while account linking is switched off: clears the failure
streak, but leaves
last_listed_atand the counters describing the last run that fed linking. Sibling ofrecord_listing_outcome. - record_
listing_ outcome - Records a listing whose roster arrived: overwrites every counter and clears the failure streak.
Sibling of
mark_listing_failed.