Repository navigation
feat(sensitive): Glance shows the fullest disk, its own version, and reads GitHub with a token - #1796
Merged
Merged
Conversation
…reads GitHub with a token Home's Estate panel names each host's fullest real disk, red from 90%. Maintenance gains a Glance card comparing the running image with the latest release, and both GitHub widgets send a no-permission token, so they no longer share the house's anonymous 60 requests an hour. 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.
What changed
node_filesystem_*, excluding tmpfs, overlay, fuse and NFS mounts). Below 70% it names only the fullest one. From 70% it lists every host at or above that, and from 90% it turns red. Those are the levels whereHostDiskFillingUpandHostDiskCriticalcan fire.sensitive-glanceon trinity, compared with GitHub's latestglanceapp/glancerelease, with a link to the release notes when trinity is behind.GLANCE_GITHUB_TOKEN, as the Glance card does.GLANCE_GITHUB_TOKEN: a fine-grained token for public repositories with no permissions. It is wired the same way as the other Glance secrets:compose.yaml,render-config.sh,seed-validation-env.sh,sensitive.example.yamlwith the steps to create one, the runbook's table, and the stack README. The encrypted value is insecrets/sensitive.sops.yaml.docs/security.md: the Glance bullet said it held two credentials, but it holds six. It now names each one and what it can read, and the list of hosts Glance fetches from adds Google Sheets and the podcasts' own feeds.Why
edenonce stopped work. Home now names the fullest disk without needing a click.Blast radius
The Glance container on trinity only: two page files and one environment variable.
compose.yamlrequiresGLANCE_GITHUB_TOKEN, somake up STACK=sensitiverefuses to run without it; it is in SOPS in this PR. When the token expires, both GitHub widgets say "GitHub answered 401", and nothing else is affected.Verification
python3 scripts/check_docs.pypasses../scripts/lint.shpasses, with 11 tools skipped locally because Docker isn't available there; CI runs them.🤖 Generated with Claude Code