Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): a schedule whose thread is archived pauses instead of retrying forever #36378

Openjuliusmarmingewants to merge 3 commits intomain fromrefs/pull/36378/headopened View on GitHub

Showing 12 changed files with 6 additions and 0 deletions (loading 9).

x
0 of 12 viewed, 12 left
1 addition and 0 deletionsapps/server/src/guest/GuestShareService.test.tsModified
View file
@@ -98,6 +98,7 @@
const fileSystem = yield* FileSystem.FileSystem;
return {
cleanupScheduledTasks: () => Effect.void,
+ pauseScheduledTasks: () => Effect.void,
cleanupTerminals: () => Effect.void,
cleanupPreviews: () => Effect.void,
cleanupDevices: () => Effect.void,
1 addition and 0 deletionsapps/server/src/mcp/OrchestratorMcpToolkit.integration.test.tsModified
View file
@@ -188,6 +188,7 @@
setEnabled: () => Effect.die("ScheduledTaskService.setEnabled is unused in this test"),
delete: () => Effect.die("ScheduledTaskService.delete is unused in this test"),
deleteForThread: () => Effect.die("unused in this test"),
+ pauseForArchivedThread: () => Effect.die("unused in this test"),
moveThreadTasks: () => Effect.die("unused in this test"),
runNow: () => Effect.die("ScheduledTaskService.runNow is unused in this test"),
rotateWebhookToken: () => Effect.die("unused in this test"),
4 additions and 0 deletionsapps/server/src/orchestration-v2/EffectOutbox.tsModified
View file
@@ -108,6 +108,9 @@
Schema.Struct({
type: Schema.Literal("scheduled-tasks.cleanup"),
}),
+ Schema.Struct({
+ type: Schema.Literal("scheduled-tasks.pause"),