Clarify branch follower status timing contexts

This commit is contained in:
Codex
2026-07-04 14:34:20 +00:00
parent 443602e6f2
commit fa9691c437
6 changed files with 204 additions and 7 deletions
+7
View File
@@ -89,7 +89,10 @@ export function compactListTimings(timings: FollowerState["timings"]): Record<st
budgetSeconds: timings.budgetSeconds,
totalSeconds: timings.totalSeconds,
totalStatus: timings.totalStatus,
totalSource: timings.totalSource,
sourceCommit: timings.sourceCommit,
startedAt: timings.startedAt,
finishedAt: timings.finishedAt,
overBudget: timings.overBudget,
stages: timings.stages.slice(0, 4).map((stage) => ({
stage: stage.stage,
@@ -114,6 +117,10 @@ export function timingPerformanceSummary(timings: FollowerState["timings"]): Rec
return {
budgetSeconds: timings.budgetSeconds,
totalSeconds: timings.totalSeconds,
totalSource: timings.totalSource,
sourceCommit: timings.sourceCommit,
startedAt: timings.startedAt,
finishedAt: timings.finishedAt,
overBudget: timings.overBudget,
slowestStage: slowStages[0] ?? null,
slowStages,