Repository navigation
fix(dashboard): re-seed disk page on upgrade + fix nightly macOS/Linux builds (v0.21.12) - #321
Merged
Merged
Conversation
…cOS + Linux sidecar builds (v0.21.12) Dashboard: /dashboard served ~/.hyperia/dashboard/index.html, seeded from the embedded page only when the file was missing — so the first-ever seed was served forever and no upgrade ever reached it (proto_viz broken on 0.21.11 because a months-old page was still being served). A `.seed` stamp now records which embedded page was last written; when the build's page changes, the disk copy is replaced (backed up to index.html.bak-<ms> first if hand-edited). Edits within a build still win. The version poll re-seeds too, so open tabs reload onto the new page. Nightly: port build.yml's fixes — install libasound2-dev on Linux (alsa-sys failed), and build the x86_64-apple-darwin sidecar with --no-default-features (ort has no prebuilt ONNX Runtime there). Only Windows had been building. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dashboard viz broken after upgrade
/dashboardserves~/.hyperia/dashboard/index.html, but only seeded it from the embedded page when the file was missing — so the first-ever seed was served forever and no upgrade reached it. On 0.21.11 a 70 KB page from Oct 23 was being served instead of the current 211 KB one, breaking#proto_viz.sync_dashboard_seed(sidecar/src/dashboard.rs) now keeps a.seedstamp (FNV-1a of the embedded page). When the build's page changes, the disk copy is replaced — backed up toindex.html.bak-<ms>first if it was hand-edited. Edits within a build still win./api/dashboard/versionre-seeds too, so open tabs reload onto the new page.Nightly only built Windows
Last 5 nightlies failed on Linux + macOS. Ported build.yml's existing fixes into nightly.yml:
libasound2-dev pkg-config(alsa-sysbuild script failed)--no-default-features(orthas no prebuilt ONNX Runtime for x86_64-apple-darwin)Version bumped to 0.21.12.
🤖 Generated with Claude Code