From f2986b9eadc1213de72d98d01b5fddbab96c4ee4 Mon Sep 17 00:00:00 2001 From: Jason Woltje Date: Sun, 25 Oct 2026 01:48:06 -0500 Subject: [PATCH] diagnostic(proxy): retain safe HTTP status on empty-provider errors --- agents/poe/work/queue-330/BUILD.md | 7 +++++++ agents/poe/work/queue-330/acceptance.mjs | 1 + 2 files changed, 8 insertions(+) diff --git a/agents/poe/work/queue-330/BUILD.md b/agents/poe/work/queue-330/BUILD.md index cb06dcb44..3c16bb64c 100644 --- a/agents/poe/work/queue-330/BUILD.md +++ b/agents/poe/work/queue-330/BUILD.md @@ -444,3 +444,10 @@ Status comes from the existing safe management receipt, not another request. No assertions, timeouts, retries, scheduling settings, product source or test fixtures changed. No module/test/binary/diagnostic executed. Wait for Sage's review and CLEAR after the288 processing diagnostic before one acceptance run. + +2026-10-25T06:49Z sage-4454 review addition: diagnostic error output now includes +httpStatus from the same existing receipt written by ManagementClient finally, +using the identical receipt-count guard as success. No new request or raw +exception data; this distinguishes404 from5xx without names or values. Separate +one-line diagnostic commit, no module/test/binary execution. Hold for CLEAR after +Sage's288 processing pair; no independent load-based run decision. diff --git a/agents/poe/work/queue-330/acceptance.mjs b/agents/poe/work/queue-330/acceptance.mjs index 93733ff81..2a1e103e4 100644 --- a/agents/poe/work/queue-330/acceptance.mjs +++ b/agents/poe/work/queue-330/acceptance.mjs @@ -94,6 +94,7 @@ try { })); } catch (error) { console.log('P4 empty-provider diagnostic ' + JSON.stringify({ + httpStatus: receipts.length === receiptCount + 1 ? receipts.at(-1).status : null, code: clientErrorCodes.includes(error.code) ? error.code : 'proxy-client-error', })); }