Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tools/workflow-engine/auto-loop-lifetime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export interface AutoLoopLifetime extends LifetimeState {
export interface TickContext {
readonly tickIndex: number; // monotonic per-session
readonly briefAckCount: number; // counter discipline tracking
readonly lastNamedDependency?: string; // bounded-wait reason (or undefined)
readonly lastNamedDependency: string | undefined; // bounded-wait reason (or undefined)
readonly lastRefreshAt?: number; // unix timestamp of last substrate refresh
readonly inflightPrs: ReadonlyArray<{
readonly number: number;
Expand Down Expand Up @@ -495,6 +495,7 @@ export function dispatchAutoLoopTransition(
export const COLD_BOOT_CONTEXT: TickContext = {
tickIndex: 0,
briefAckCount: 0,
lastNamedDependency: undefined,
inflightPrs: [],
};

Expand Down
Loading