Repository navigation
Conversation
Hosts with a Tupaia checkout at /home/ubuntu/tupaia now report a `tupaia` application so Canopy creates one, letting the machine be ranked and its issues reach incidents. Tupaia carries no application checks; its version is the checked-out commit read from the git directory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Tzq5SfWsJpLpoBxsSG6MVg
Draft
7 tasks
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.
Why
Canopy only creates applications from what a box reports. A machine with no applications can never be ranked, so its issues never reach an incident. Tupaia servers are about to run alertd (see beyondessential/tupaia and beyondessential/ops PRs on the same branch name), so alertd now reports a
tupaiaapplication for them.What changed
SUBJ): an agent reportstupaiawhen/home/ubuntu/tupaia/package.jsonexists and itsnameistupaia. The application has no checks of its own; machine checks run as normal, and no Tamanu or Postgres checks run for it..gitwithout spawning git. It is omitted when it can't be determined.tupaia.rsmodule, anApplicationKind::Tupaiavariant, aTupaiaInfopayload (tupaiaVersion), and the sweep wiring that goes with them. Unit and sweep tests are included.Checks
cargo test -p bestool-alertdpasses (554 tests). Clippy reports no new warnings, and the code is formatted.🦸 Review Hero
🤖 Generated with Claude Code
https://claude.ai/code/session_01Tzq5SfWsJpLpoBxsSG6MVg
Generated by Claude Code