//! Process-wide record of jobs the scheduler dropped at startup.
//!
//! [`record`] is called once, after
//! [`systemprompt_scheduler::SchedulerService::start`] returns, with the jobs
//! whose explicit owner did not resolve. [`handle_health`] reads [`degraded`]
//! to report the scheduler as `degraded` so a partially disabled scheduler
//! surfaces in monitoring instead of failing silently.
//!
//! [`handle_health`]: super::health::handle_health
//!
//! Copyright (c) systemprompt.io — Business Source License 1.1.
//! See <https://systemprompt.io> for licensing details.
use OnceLock;
use SkippedJob;
static DEGRADED_JOBS: = new;