Keep the last usable /progress report when a refresh is incomplete #33
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/JamesCicada--GTAVI-Recomp!33
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-33"
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?
@RavenCurseBurg on GitHub · 2026-11-26 06:29 UTC · original
RavenCurseBurg:fix/cache-renderable-progress→main· +58 −4 · 2 files · 1 commits · open/progressdefers the Discord reply before fetching its data. A valid JSON response such as{}previously replaced the last good report, then raisedKeyErrorwhile building the reply. The user got no follow-up, and the bot cached the unusable value for five minutes.This change builds the embed inside the cache’s existing refresh operation. With a previous report, an incomplete response leaves it available. On a cold cache, the command sends its existing progress-page fallback. A later valid response can be used immediately.
Two offline command tests cover cold failure and the sequence good → incomplete → repaired. Both failed on the parent and pass here with discord.py 2.5.2. I also checked that the published-data format produces exactly the same embed from this repository’s current generated report. All three native Release CTests passed. Offline command regression on Ubuntu
AI-assisted with Codex + GPT-6.2 Astra (xhigh).
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.