Skip to content

Commit c0ceb90

Browse files
committed
fix: remove AGENT trigger source ref, restore ExecuteTasksWaitingForDeploy call
- Remove AGENT case from toTriggerSource (not yet on this branch) - Restore accidentally removed ExecuteTasksWaitingForDeployService.enqueue call in ChangeCurrentDeploymentService
1 parent 94fce54 commit c0ceb90

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

apps/webapp/app/services/taskIdentifierRegistry.server.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010

1111
function toTriggerSource(source: string | undefined): TaskTriggerSource {
1212
if (source === "SCHEDULED" || source === "schedule") return "SCHEDULED";
13-
if (source === "AGENT" || source === "agent") return "AGENT";
1413
return "STANDARD";
1514
}
1615

apps/webapp/app/v3/services/changeCurrentDeployment.server.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,5 +117,7 @@ export class ChangeCurrentDeploymentService extends BaseService {
117117
if (syncError) {
118118
logger.error("Error syncing task identifiers on deployment change", { error: syncError });
119119
}
120+
121+
await ExecuteTasksWaitingForDeployService.enqueue(deployment.workerId);
120122
}
121123
}

0 commit comments

Comments
 (0)