KTSTR_SCHEDULER_ALLOW_STALE_FALLBACK_ENV

Constant KTSTR_SCHEDULER_ALLOW_STALE_FALLBACK_ENV 

Source
pub const KTSTR_SCHEDULER_ALLOW_STALE_FALLBACK_ENV: &str = "KTSTR_SCHEDULER_ALLOW_STALE_FALLBACK";
Expand description

Name of the presence-only opt-out env var that re-enables the pre-built-binary fallback after a FAILED orchestrated scheduler build. When set to a NON-EMPTY value, a failed cargo build -p <sched> in the non-cargo-test Discover path falls back to a sibling / target/{debug,release}/ binary AS-IS instead of failing the test. Default (unset / empty) REFUSES the stale fallback so a build that fails for a new reason cannot silently validate the test against an old scheduler. Empty-string rejection mirrors KTSTR_CARGO_TEST_MODE (cargo_test_mode_active) — NOT the presence-only KTSTR_ORCHESTRATED_ENV, which activates on an empty value — so a stray KTSTR_SCHEDULER_ALLOW_STALE_FALLBACK= cannot re-enable the hazard.