No failure classification in run_log #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Category: Observability · Priority: MED
Summary
pipeline.pyrecords every run torun_logwith a free-textnotesfield. It does not distinguish 4xx (config bug, e.g. bad token) vs 5xx (upstream blip) vs 429 (rate limit). Every failure looks identical.Why it matters
Without classification, nothing can programmatically decide retry vs fix vs alert. An expired API token (fix now) is indistinguishable from a GitHub hiccup (retry later).
What happens if not done
Operators must read raw logs by hand to diagnose; automation of remediation/alerting (issue #3) is impossible.
Suggested approach
Add a
failure_classcolumn (4xx/5xx/429/zero_fetch) populated by the shared retry helper (issue #1). Keepnotesfor detail.Resolved by PR #12 (commit
feba2fe).failure_classcolumn added torun_logwith values4xx/5xx/429/error/zero_fetch. Populated by the shared retry helper.Resolved by PR #12 (commit
feba2fe). failure_class column added to run_log with values 4xx/5xx/429/error/zero_fetch. Populated by the shared retry helper.