fix: add debug field to inline BastionState in labd server
Some checks failed
CI/CD / typecheck (pull_request) Failing after 9s
CI/CD / test (pull_request) Failing after 8s
CI/CD / lint (pull_request) Failing after 22s
CI/CD / build (pull_request) Has been skipped
CI/CD / publish-rpm (pull_request) Has been skipped
CI/CD / publish-deb (pull_request) Has been skipped

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Michal
2026-03-29 22:54:02 +01:00
parent 52150fd955
commit 82ca93f4d7

View File

@@ -140,7 +140,7 @@ export async function createApp(_config: LabdConfig, db: DbClient): Promise<{
socket,
connectedAt: new Date(),
lastHeartbeat: new Date(),
state: { discovered: {}, install_queue: {}, installed: {} },
state: { discovered: {}, install_queue: {}, installed: {}, debug: {} },
});
socket.send(JSON.stringify({ type: "bastion-enrolled", bastionId: record.id }));