feat(devices): show agent release semver and build info in AGENT card #75

Merged
Claude-Run merged 1 commit from feat/VAPP-64-agent-card-release-version into main 2026-07-01 13:56:36 +02:00
Member

Populate the device detail AGENT card from the node doc's agent release
metadata instead of the numeric protocol constant, and surface build
info alongside it.

  • models: add agent_githash and agent_builddate string fields to Device.
  • server_fns: read agent_version from agent.semver, falling back to the numeric protocol ver (stringified) for pre-upgrade agents so the field is never blank; read agent.githash and agent.builddate.
  • device_detail: add a dedicated "Build" fact rendering {githash} ({builddate}), with each missing half shown as - and the whole fact collapsing to a single - when no build info is reported. Covered by unit tests.

The display side degrades gracefully today (fields render - / fall back) and lights up fully once the linked VS-79 server persistence lands.

#VAPP-64

Populate the device detail AGENT card from the node doc's agent release metadata instead of the numeric protocol constant, and surface build info alongside it. - models: add agent_githash and agent_builddate string fields to Device. - server_fns: read agent_version from agent.semver, falling back to the numeric protocol ver (stringified) for pre-upgrade agents so the field is never blank; read agent.githash and agent.builddate. - device_detail: add a dedicated "Build" fact rendering {githash} ({builddate}), with each missing half shown as - and the whole fact collapsing to a single - when no build info is reported. Covered by unit tests. The display side degrades gracefully today (fields render - / fall back) and lights up fully once the linked VS-79 server persistence lands. #VAPP-64
feat(devices): show agent release semver and build info in AGENT card
All checks were successful
Check / fmt + clippy + build + tests (pull_request) Successful in 33s
Create release / Create release from merged PR (pull_request) Has been skipped
e778e84b5a
Populate the device detail AGENT card from the node doc's agent release
metadata instead of the numeric protocol constant, and surface build
info alongside it.

- models: add agent_githash and agent_builddate string fields to Device.
- server_fns: read agent_version from agent.semver, falling back to the numeric protocol ver (stringified) for pre-upgrade agents so the field is never blank; read agent.githash and agent.builddate.
- device_detail: add a dedicated "Build" fact rendering {githash} ({builddate}), with each missing half shown as - and the whole fact collapsing to a single - when no build info is reported. Covered by unit tests.

The display side degrades gracefully today (fields render - / fall back) and lights up fully once the linked VS-79 server persistence lands.

#VAPP-64
Claude-Run deleted branch feat/VAPP-64-agent-card-release-version 2026-07-01 13:56:36 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/vervain-apps!75
No description provided.