Repository navigation
feat: add install metadata fields to the install heartbeat - #69
Merged
Merged
Conversation
Adds optional timezone, appLanguage, SIP account counts (total / registered / failed), recordingEnabled, automationEnabled, transcriptionReady, signedIn, cpuCores and memoryGb to InstallHeartbeatFleet. All additive: an all-None fleet still serializes to the same key set, and older bodies without the keys still parse. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012shihqNTmmedv4ukxLjCFr
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.
Adds optional install-metadata fields to
InstallHeartbeatFleet(flattened into thePOST /api/voice/installs/heartbeatbody). All follow the existing style —Option<…>with#[serde(default, skip_serializing_if = "Option::is_none")], camelCase on the wire — and absent means "not reported by this build", never "no"/zero.timezonetimezoneOption<String>— IANA zone, e.g.Pacific/Auckland(never city/IP-derived)app_languageappLanguageOption<String>— the app's UI language code (en,zh-Hans,pt-BR), can differ from systemlocalesip_accounts_totalsipAccountsTotalOption<u32>sip_accounts_registeredsipAccountsRegisteredOption<u32>sip_accounts_failedsipAccountsFailedOption<u32>recording_enabledrecordingEnabledOption<bool>automation_enabledautomationEnabledOption<bool>transcription_readytranscriptionReadyOption<bool>signed_insignedInOption<bool>— yes/no only, no identitycpu_corescpuCoresOption<u32>— logical CPUsmemory_gbmemoryGbOption<u32>— total RAM rounded to whole GBRelease-train note: the platform (
wavekat-platform) must accept these keys before a consumer sends them; this crate needs a release beforewavekat-voicecan use them.Related PRs
Review together; merge top to bottom.
voice_installs/voice_clientsPRIVACY_VERSION2026-10-08InstallHeartbeatFleetTests
Nonefleet serializes to exactly the pre-fleet key set.full_install_heartbeat_fleet()helper, every field set) serializes each new key in camelCase with the right JSON type, and round-trips.None; the existing no-fleet-keys body still parses to the default.cargo test(122 + 2 passed),cargo clippy --all-targets -- -D warnings,cargo fmtclean.🤖 Generated with Claude Code
https://claude.ai/code/session_012shihqNTmmedv4ukxLjCFr