File tree Expand file tree Collapse file tree
web/app/api/v1/agent/work-queue/complete Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { db } from "@/db";
33import { workQueue } from "@/db/schema" ;
44import { eq , and } from "drizzle-orm" ;
55import { verifyAgentRequest } from "@/lib/agent-auth" ;
6- import { deployService } from "@/actions/projects" ;
76import { inngest } from "@/lib/inngest/client" ;
87
98export async function POST ( request : NextRequest ) {
@@ -68,18 +67,6 @@ export async function POST(request: NextRequest) {
6867 } ,
6968 } ) ;
7069 }
71-
72- if ( payload . serviceId ) {
73- console . log (
74- `[work-queue] create_manifest completed, triggering deployment for service ${ payload . serviceId } ` ,
75- ) ;
76- deployService ( payload . serviceId ) . catch ( ( error ) => {
77- console . error (
78- `[work-queue] deployment failed after create_manifest:` ,
79- error ,
80- ) ;
81- } ) ;
82- }
8370 } else if ( data . status === "failed" && payload . serviceId ) {
8471 await inngest . send ( {
8572 name : "manifest/failed" ,
You can’t perform that action at this time.
0 commit comments