pub enum Rejection {
Conflict,
CiFailure,
SafetyViolation {
strategy: &'static str,
violation: Violation,
},
DependencyEjection {
on: u64,
},
AlreadyLanded,
}Expand description
Why a change left the queue without merging.
Variants§
Conflict
Merge produced a first-class conflict; author must resolve and resubmit.
CiFailure
CI failed for this change on its speculative state.
SafetyViolation
A strategy resolved, but its output edits the speculative state beyond what the change proposed: silently reverted or injected lines. Treated like a conflict — evicted first-class, never landed, never blocking the train — but reported separately because the author’s change may be fine and the strategy at fault.
Fields
DependencyEjection
Ejected because it (transitively) declared a dependency on a change whose combined build failed. Not a verdict on this change itself: resubmit once the dependency is fixed.
AlreadyLanded
A change with this identity::change_identity already landed
through this queue: the resubmission — typically
the same edit rebased after the train rewrote the tip — is
refused without re-merging, so it cannot land twice.