Skip to content

Conversation

@srperens
Copy link
Collaborator

Summary

  • Generate unique BUILD_ID (UUID) on each backend build
  • Frontend compares build_id on reconnect and reloads if changed
  • Display build_id in Version & Build section on info page
  • Add --version-info CLI flag for detailed version output
  • Log version info at backend startup
  • Improve GPU stats display (1 decimal for temp/power, show memory used/total)

Test plan

  • Build backend, note build_id in info page
  • Rebuild backend, verify frontend auto-reloads on reconnect
  • Test --version-info CLI flag
  • Verify GPU stats display formatting

🤖 Generated with Claude Code

Per Enstedt and others added 2 commits December 19, 2025 11:36
- Generate unique BUILD_ID (UUID) on each backend build
- Backend exposes build_id via /api/version endpoint
- Frontend compares build_id on reconnect and reloads if changed
- Display build_id in Version & Build section on info page
- Add --version-info CLI flag for detailed version output
- Log version info at backend startup

This ensures the frontend WASM is always in sync with the backend
after a rebuild, preventing stale frontend code from running.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Show temp and power values with 1 decimal place
- Show GPU memory as "X% (used / total GB)" like system memory

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@srperens srperens merged commit 77241f0 into main Dec 19, 2025
5 checks passed
@srperens srperens deleted the fix/frontend-reload-on-backend-update branch December 19, 2025 10:42
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.

2 participants