Skip to content

Conversation

@crdant
Copy link
Member

@crdant crdant commented Oct 16, 2025

TL;DR

Lets Applications report their version information alongside instance status

Details

Extends the existing instance telemetry infrastructure with a set_version() method that mirrors the established set_status() pattern. Version information transmits through the X-Replicated-VersionLabel header during instance reporting, ensuring it reaches the vendor's dashboard alongside other telemetry data.

Both synchronous and asynchronous instance classes now support version reporting, and the example scripts demonstrate this capability through a --version command-line argument. The change also fixes an important detail in the customer service by setting "Stable" as the default channel instead of None, preventing potential issues with unspecified channels during customer creation.

Warning

Do not merge until replicatedhq/vandoor#8194 lands.

Adds a version string property to Instance and AsyncInstance that can be set via set_version() method. The version is sent as X-Replicated-VersionLabel header in instance telemetry reporting. Updates both example scripts to accept --version flag.

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

Co-Authored-By: Claude <[email protected]>
@crdant crdant merged commit b7d0003 into main Oct 16, 2025
5 checks passed
@crdant crdant deleted the chore/crdant/incorporates-version branch October 16, 2025 15:01
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.

3 participants