You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2fc2008
Browse filesBrowse the repository at this point in the historyBrowse files
fix(mothership): close the scheduled-job review gaps (#9345)
* fix(mothership): close the scheduled-job review gaps
- dispatch one attempt at a time per occurrence, so a skip or block never closes a live run's record
- brief each occurrence with the run number fixed at its claim, not the job's moving count
- report an automatic turn-off only when this failure turned the job off, not one a person already turned off
- mark a deadline stop after it is delivered, so a crash before then delivers it again
- state the run's spend cap only where hosted billing enforces it
- recover an invalid index left by an interrupted build in the job migration, as 0435 does
- give PlanUsageLimitDisplay a props interface
* fix(mothership): record why a run stops before delivering the stop, and redeliver one an earlier pass did not finish
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/special-tags/special-tags.tsx
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3478,8 +3478,12 @@ function JobRunBudgetDisplay({ message }: JobRunBudgetDisplayProps) {
3478
3478
)
3479
3479
}
3480
3480
3481
+
interfacePlanUsageLimitDisplayProps{
3482
+
data: UsageUpgradeTagData
3483
+
}
3484
+
3481
3485
/** The payer's plan limit: the card links to where the plan or the limit can change. */
3482
-
functionPlanUsageLimitDisplay({ data }: {data: UsageUpgradeTagData}){
3486
+
functionPlanUsageLimitDisplay({ data }: PlanUsageLimitDisplayProps){
sql`${jobExecutionLogs.executionData}->>'deadlineStopRequestedAt' IS NULL`
62
62
),
63
+
sql`${jobExecutionLogs.executionData}->>'deadlineStopRequestedAt' IS NOT NULL AND ${jobExecutionLogs.executionData}->>'deadlineStopDeliveredAt' IS NULL`,
0 commit comments