DeadlineLadder class final
The default notice ladder: the crossing thresholds plus the steering texts. Injectable so tests can compress the windows without waiting.
Constructors
- DeadlineLadder({int wrapUpSteerMs = 3 * 60 * 1000, int finalAnswerMs = 30 * 1000})
-
Creates a ladder.
wrapUpSteerMsdefaults to T-3min,finalAnswerMsto T-30s.const
Properties
- finalAnswerMs → int
-
The final-answer steer fires at this many ms remaining (default 30 s).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wrapUpSteerMs → int
-
The wrap-up steer fires when the remaining budget drops to this many
ms (default 3 min).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
text(
DeadlineNoticeKind kind, String timeLeft) → String -
The steering text for
kind, rendered with the currenttimeLeft(formatTimeLeftspelling). The T-3min steer names the shell-job/background-work drain explicitly — long-running operations must get their chance to land instead of being SIGKILLed mid-write — and the grader-parity clause (gh-1652): the LAST verification pass before finalizing goes through the grader's own invocation path, not the agent's checklist oracle — and the no-teardown clause (gh-1668): leave the final state in place, finalizing never resets what the run produced. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited