chore: regen migration

This commit is contained in:
Nicolas Meienberger 2026-05-05 18:52:34 +02:00
parent 87e479aeea
commit 33c7942fb2
No known key found for this signature in database
3 changed files with 44 additions and 3 deletions

View file

@ -1,8 +1,8 @@
{
"version": "7",
"dialect": "sqlite",
"id": "e39438f8-a15d-4c9c-8f6d-fee498150505",
"prevIds": ["11dfb429-048c-4f65-abf1-f25ac2ae9d93"],
"id": "cea82b0d-bdb9-4d89-b190-614b90efd1f5",
"prevIds": ["b644a331-6c76-4d56-b4c4-c5b0701183f2"],
"ddl": [
{
"name": "account",
@ -672,6 +672,16 @@
"entityType": "columns",
"table": "backup_schedules_table"
},
{
"type": "text",
"notNull": false,
"autoincrement": false,
"default": null,
"generated": null,
"name": "backup_webhooks",
"entityType": "columns",
"table": "backup_schedules_table"
},
{
"type": "integer",
"notNull": true,
@ -902,6 +912,36 @@
"entityType": "columns",
"table": "notification_destinations_table"
},
{
"type": "text",
"notNull": true,
"autoincrement": false,
"default": "'unknown'",
"generated": null,
"name": "status",
"entityType": "columns",
"table": "notification_destinations_table"
},
{
"type": "integer",
"notNull": false,
"autoincrement": false,
"default": null,
"generated": null,
"name": "last_checked",
"entityType": "columns",
"table": "notification_destinations_table"
},
{
"type": "text",
"notNull": false,
"autoincrement": false,
"default": null,
"generated": null,
"name": "last_error",
"entityType": "columns",
"table": "notification_destinations_table"
},
{
"type": "text",
"notNull": true,

View file

@ -174,11 +174,11 @@ test("closing a replaced connection does not report the active agent as disconne
await websocket?.open?.(fromPartial(oldSocket));
await websocket?.open?.(fromPartial(newSocket));
await websocket?.close?.(fromPartial(oldSocket), 1000, "replaced");
await Effect.runPromise(runtime.stop);
expect(onEvent).not.toHaveBeenCalledWith(
expect.objectContaining({ type: "agent.disconnected", agentId: LOCAL_AGENT_ID }),
);
await Effect.runPromise(runtime.stop);
});
test("sendBackup is only delivered after the agent is ready", async () => {
@ -204,6 +204,7 @@ test("sendBackup is only delivered after the agent is ready", async () => {
},
webhooks: { pre: null, post: null },
webhookAllowedOrigins: [],
webhookTimeoutMs: 60_000,
};
await websocket?.open?.(fromPartial(socket));