feat(dashboard): update check logic: versions, GitHub release and compare answers, build wording

Pure part of the update check: tag versions compared numerically, the latest
release and compare answers read (GitHub's error bodies refused), and the
running build worded for people ("release v3.0.0", "a local development
build of commit 1a2b3c4d with uncommitted changes"). Tested with small
hand-written samples of the answers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-09-30 10:47:50 -05:00
parent 6df7d39eb8
commit a2cc0d5a82
9 changed files with 539 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{
"url": "https://api.github.com/repos/example/server/compare/1a2b3c4d5e6f...main",
"html_url": "https://github.com/example/server/compare/1a2b3c4d5e6f...main",
"permalink_url": "https://github.com/example/server/compare/example:1a2b3c4...example:9f8e7d6",
"status": "ahead",
"ahead_by": 12,
"behind_by": 0,
"total_commits": 12,
"commits": [],
"files": []
}