mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 01:50:39 +09:00
fix: harden heartbeat and adapter runtime workflows
This commit is contained in:
parent
548721248e
commit
c566a9236c
48 changed files with 14922 additions and 600 deletions
1
packages/db/src/migrations/0055_kind_weapon_omega.sql
Normal file
1
packages/db/src/migrations/0055_kind_weapon_omega.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
ALTER TABLE "heartbeat_runs" ADD COLUMN "process_group_id" integer;--> statement-breakpoint
|
||||
13206
packages/db/src/migrations/meta/0055_snapshot.json
Normal file
13206
packages/db/src/migrations/meta/0055_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -386,6 +386,13 @@
|
|||
"when": 1775750400000,
|
||||
"tag": "0054_draft_routines",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 55,
|
||||
"version": "7",
|
||||
"when": 1775825256196,
|
||||
"tag": "0055_kind_weapon_omega",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -32,6 +32,7 @@ export const heartbeatRuns = pgTable(
|
|||
errorCode: text("error_code"),
|
||||
externalRunId: text("external_run_id"),
|
||||
processPid: integer("process_pid"),
|
||||
processGroupId: integer("process_group_id"),
|
||||
processStartedAt: timestamp("process_started_at", { withTimezone: true }),
|
||||
retryOfRunId: uuid("retry_of_run_id").references((): AnyPgColumn => heartbeatRuns.id, {
|
||||
onDelete: "set null",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue