[PR #1199] [CLOSED] update_check: improve robustness of update checks #105

Closed
opened 2026-08-11 21:18:05 +03:00 by mirror-bot · 0 comments

📋 Pull Request Information

Original PR: https://github.com/Flowseal/tg-ws-proxy/pull/1199
Author: @Doxinger
Created: 8/11/2026
Status: ❌ Closed

Base: main ← Head: patch-1


📝 Commits (1)

  • 642a51b update_check: improve robustness of update checks

📊 Changes

1 file changed (+211 additions, -98 deletions)

View changed files

📝 utils/update_check.py (+211 -98)

📄 Description

  • atomic and safe cache writes
  • protection against corrupted cache and invalid JSON
  • validation of GitHub API responses and asset lists
  • normalized version/tag handling (no more vv1.2.3)
  • safer update asset selection and state snapshot in get_status()

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Flowseal/tg-ws-proxy/pull/1199 **Author:** [@Doxinger](https://github.com/Doxinger) **Created:** 8/11/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`642a51b`](https://github.com/Flowseal/tg-ws-proxy/commit/642a51b883cf16ab7721df9b4d75983e701374ef) update_check: improve robustness of update checks ### 📊 Changes **1 file changed** (+211 additions, -98 deletions) <details> <summary>View changed files</summary> 📝 `utils/update_check.py` (+211 -98) </details> ### 📄 Description - atomic and safe cache writes - protection against corrupted cache and invalid JSON - validation of GitHub API responses and asset lists - normalized version/tag handling (no more vv1.2.3) - safer update asset selection and state snapshot in get_status() --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror-bot added the pull-request label 2026-08-11 21:18:05 +03:00
mirror-bot changed title from [PR #1199] update_check: improve robustness of update checks to [PR #1199] [CLOSED] update_check: improve robustness of update checks 2026-08-15 12:18:13 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Utilities/tg-ws-proxy#105