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
API result status discards error details (always "error - temporary") #509
All API handlers hardcode status: "error - temporary" in their catch blocks. The real error type and message only survive inside the rendered SVG content. Callers that read result.status cannot tell what went wrong.
Update on the design: the first implementation appended the details to the status string (error - temporary (MAX_RETRY: ...)). Review of that PR showed it breaks the exact status === "error - temporary" comparisons in apps/backend/router.js, which would cache transient errors for 10 hours instead of 10 minutes.
The final design keeps status stable and adds an optional structured field instead:
Thanks for bringing this up and for the corresponding PR!
I will have to see when I find the time to review and merge the changes. In the meantime the fail_on_error option might be helpful for your situation.
I would like to better understand what problem you encountered. What kind of "unattended job" are you running - simply github-readme-stats-action? And what caused the temporary error for you?
Activity
luojiyin1987 commentedon Aug 24, 2026
Update on the design: the first implementation appended the details to the status string (
error - temporary (MAX_RETRY: ...)). Review of that PR showed it breaks the exactstatus === "error - temporary"comparisons inapps/backend/router.js, which would cache transient errors for 10 hours instead of 10 minutes.The final design keeps
statusstable and adds an optional structured field instead:See PR #511 for the reworked diff.
martin-mfg commentedon Aug 24, 2026
Thanks for bringing this up and for the corresponding PR!
I will have to see when I find the time to review and merge the changes. In the meantime the
fail_on_erroroption might be helpful for your situation.I would like to better understand what problem you encountered. What kind of "unattended job" are you running - simply github-readme-stats-action? And what caused the temporary error for you?PS: Found the answer in vizrtluo#1:
feat(api,error): include structured error details in API results (#511)