Revert "feat: add-healthcheck"

This commit is contained in:
Charles GTE
2026-03-28 16:27:57 +01:00
committed by GitHub
parent 9098012426
commit 941a9256f0
53 changed files with 1333 additions and 19938 deletions
+1 -11
View File
@@ -13,7 +13,6 @@ export type databaseAgent = {
name: string,
dbms: EDbmsSchema,
generatedId: string
pingStatus: boolean
}
export type Body = {
@@ -63,19 +62,10 @@ export async function POST(
.update(drizzleDb.schemas.agent)
.set(withUpdatedAt({
version: body.version,
lastContact: lastContact,
healthErrorCount: null
lastContact: lastContact
}))
.where(eq(drizzleDb.schemas.agent.id, agentId));
await db
.insert(drizzleDb.schemas.healthcheckLog)
.values({
kind: "agent",
status: "success",
objectId: agentId,
date: lastContact
})
const response = {
agent: {