Skip to content

Make Twitch GQL recovery self-healing - #18

Merged
HimanM merged 1 commit into
mainfrom
fix/gql-self-healing
Sep 7, 2026
Merged

Make Twitch GQL recovery self-healing#18
HimanM merged 1 commit into
mainfrom
fix/gql-self-healing

Conversation

@HimanM

@HimanM HimanM commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • refresh the Inventory, Campaigns, and GameDirectory persisted-query hashes
  • retry PersistedQueryNotFound responses with capped backoff and fresh HTTP connections instead of terminating the miner
  • warn in the UI and deduplicated operational Discord notifications when a query remains unavailable for 15 minutes
  • automatically restart the Linux web miner engine after unexpected failures while respecting manual stops

Verification

  • python -m unittest discover -s tests -p "test_web*.py" -v
  • python -m unittest discover -s tests -p "test_frontend_injection.py" -v
  • python -m unittest discover -s tests -p "test_installer.py" -v
  • python -m compileall -q tui tdminer.py network/twitch.py core/utils.py web tdminer_web.py tui/manager.py
  • bash -n scripts/install.sh
  • npm run build --prefix web/frontend (generated assets unchanged)

@HimanM
HimanM merged commit 5e1657c into main Sep 7, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant