Q61: a failed status check no longer ends recovery of a background response

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-08 10:42:57 -04:00
1 parent 88463e4396
commit 46cd167c2c
6 files changed
+93 -2

No files matched your search

@@ -0,0 +1,7 @@
export const backgroundPollFailuresSchema = `
alter table provider_requests add column poll_failures integer not null default 0;
alter table provider_requests add column last_poll_error text;
insert into schema_migrations(version, name, applied_at)
values (71, 'background_poll_failures', datetime('now'));
`;
+2
View File
@@ -69,6 +69,7 @@ import { taskRunBudgetSchema } from "./migrations/067-task-run-budget";
import { taskReviewLinkSchema } from "./migrations/068-task-review-link";
import { goalStallSchema } from "./migrations/069-goal-stall";
import { runActionsSchema } from "./migrations/070-run-actions";
import { backgroundPollFailuresSchema } from "./migrations/071-background-poll-failures";
interface Migration {
version: number;
@@ -147,6 +148,7 @@ const MIGRATIONS: Migration[] = [
{ version: 68, name: "task_review_link", sql: taskReviewLinkSchema },
{ version: 69, name: "goal_stall", sql: goalStallSchema },
{ version: 70, name: "run_actions", sql: runActionsSchema },
{ version: 71, name: "background_poll_failures", sql: backgroundPollFailuresSchema },
];
const SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1].version;