From 296137b7a874ba2e832dc6f8afac1cf45a61ac07 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sat, 1 Aug 2026 18:17:09 +0100 Subject: [PATCH] chore: tweak comment --- server/api/me/dashboard.get.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/api/me/dashboard.get.ts b/server/api/me/dashboard.get.ts index 5f14bfb..ef7b742 100644 --- a/server/api/me/dashboard.get.ts +++ b/server/api/me/dashboard.get.ts @@ -82,9 +82,9 @@ export default defineEventHandler(async (event): Promise => { // terminal rejections, and a repo pending its first relayed push looks // identical to a fully-synced one. Keyed off the job payload's repo id. // `tangled.create-repo` covers enrolment/resync work, which shares the - // same `installationId`/`githubRepoId` payload shape as the ref-sync - // kinds; without it a permanently-failed enrolment was invisible here and - // read as healthy. + // same `installationId`/`githubRepoId` payload shape as the ref-sync kinds. + // Without it a dead enrolment sat at `enrolling` indefinitely, and a dead + // resync of an already-mirrored repo read as `ok`. db.select({ // bigint and count(*) both arrive as strings over the wire; coerce below. githubRepoId: sql`(${job.payload}->>'githubRepoId')::bigint`, -- knotmirror 0.0.1