You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
publish: classify capture and gh failures so callers stop retrying blind #151
Over 2026-11-03..08 the publish tool returned 106 gh-failed and 73 payload-unreadable errors, and in every case the next call repeated identical arguments (about half then succeeded). payload-unreadable covers missing file, directory, symlink, size, permission and wrong-cwd resolution alike; gh-failed gives no exit code or category. About 28 further calls failed schema validation without saying which fields the kind needs.
For gh failures: exit code and a whitelisted category from stderr (rate-limit, not-found, auth, validation, network), never raw stderr, plus the advice "retry once for rate-limit/network, otherwise fix the request".
Validation errors list the required fields for the kind.
Supersedes the mechanism behind #129 (security-advisories failing with opaque gh-failed); that issue keeps its specific endpoint question.
Status
State: Done — Shipped in v2026.11.09 Branch: - Scope: branch fix/publish-error-classes; planning, GPT implementer after limit lifts Plan: Capture failures get whitelisted subcodes from error.code (not-found with resolved path, symlink, not-file, permission); gh failures add exit code, a closed-set category matched on bounded stderr and advice, never stderr text; validation errors list required fields. Delivered: - #162 Remaining: To be confirmed. Follow-ups: None.
Delivered in #162 and released in v2026.11.09: publish failures now name the capture, validation or gh category with a retry hint, without echoing payload text or gh output.
Activity
woksin commentedon Nov 9, 2026
Delivered in #162 and released in v2026.11.09:
publishfailures now name the capture, validation orghcategory with a retry hint, without echoing payload text orghoutput.