From 09f59c4b78ba1b0780e4ed175c1b739541245b5f Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Sat, 5 Dec 2026 14:01:15 +0000 Subject: [PATCH 1/2] Runbook: queue:retry and queue:forget take the failed job's UUID, not the row id --- docs/deploy.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/deploy.md b/docs/deploy.md index cc3c7fe6..ea7850a2 100644 --- a/docs/deploy.md +++ b/docs/deploy.md @@ -135,9 +135,10 @@ Gatus (talira-ai/infra `k3s/resources/gatus/internal.yaml`, applied by talira in - `forge_posts_failed == 0`: checks and pull request comments GitHub refused until their retries ran out, still in `failed_jobs`; a pull request then waits for a check or comment that never comes. Read the job's error with `queue:failed`: a 404, 410 or 422 on a comment is a pull request that can't take one (gone, locked), and a 403 or - 422 on a check is usually the GitHub App's permissions or a check GitHub won't accept. Once fixed, `queue:retry ` + 422 on a check is usually the GitHub App's permissions or a check GitHub won't accept. Once fixed, `queue:retry ` posts it again; when a newer post has already brought the pull request up to date, or it can never post, - `queue:forget `. Either clears the check, and it doesn't clear by itself. The metric + `queue:forget `. Both take the job's UUID (`failed_jobs.job_id`, the payload's `id`), not the row's numeric + `id`: given that, they say no failed job has it, though the row is still there. Either clears the check, and it doesn't clear by itself. The metric `visualci_forge_posts_failed_24h` still counts the last 24 hours' failures, for infra's alert on new ones. - `oldest_access_recheck_seconds < 5400`: someone a webhook queued for an access recheck has waited 90 minutes. The debounced recheck takes them in about 2 minutes and the hourly forge sync anyway, so both stopped: check the From 0c95022fae3d3ef39ced010ad60922e924c9916c Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Sat, 5 Dec 2026 14:01:31 +0000 Subject: [PATCH 2/2] Runbook: wrap the forge_posts_failed entry --- docs/deploy.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/deploy.md b/docs/deploy.md index ea7850a2..fb7ded21 100644 --- a/docs/deploy.md +++ b/docs/deploy.md @@ -135,11 +135,12 @@ Gatus (talira-ai/infra `k3s/resources/gatus/internal.yaml`, applied by talira in - `forge_posts_failed == 0`: checks and pull request comments GitHub refused until their retries ran out, still in `failed_jobs`; a pull request then waits for a check or comment that never comes. Read the job's error with `queue:failed`: a 404, 410 or 422 on a comment is a pull request that can't take one (gone, locked), and a 403 or - 422 on a check is usually the GitHub App's permissions or a check GitHub won't accept. Once fixed, `queue:retry ` - posts it again; when a newer post has already brought the pull request up to date, or it can never post, + 422 on a check is usually the GitHub App's permissions or a check GitHub won't accept. Once fixed, `queue:retry + ` posts it again; when a newer post has already brought the pull request up to date, or it can never post, `queue:forget `. Both take the job's UUID (`failed_jobs.job_id`, the payload's `id`), not the row's numeric - `id`: given that, they say no failed job has it, though the row is still there. Either clears the check, and it doesn't clear by itself. The metric - `visualci_forge_posts_failed_24h` still counts the last 24 hours' failures, for infra's alert on new ones. + `id`: given that, they say no failed job has it, though the row is still there. Either clears the check, and it + doesn't clear by itself. The metric `visualci_forge_posts_failed_24h` still counts the last 24 hours' failures, for + infra's alert on new ones. - `oldest_access_recheck_seconds < 5400`: someone a webhook queued for an access recheck has waited 90 minutes. The debounced recheck takes them in about 2 minutes and the hourly forge sync anyway, so both stopped: check the worker and the forge sync heartbeat.