Closed dominiklohmann closed 1 year ago
This was already done as part of https://github.com/tenzir/issues/issues/573
The /list-nodes
endpoint in staging now returns last_version
like this:
{
"nodes": [
{
"name": "adhoc-node",
"node_id": "n-jriwsn6s",
"create_date_time": "2023-08-28T09:02:50.170974+00:00",
"last_version": "v4.0.1",
"connected": true,
"lifecycle_state": "connected",
"demo": false
}
]
The string is populated from the value of tenzir::version::version
that the node sends when connecting to the platform.
I think last_version
is a bit confusing in the long run - it reads too much like latest_version
. I don't know how much effort is it to change it to something more verbose is though.
@dit7ya do you have a counter proposal? what is missing from last_version
?
Why not just version
?
We added last_
as a semantic hint that this is the "last seen version", which applies better in the case where the node is disconnected.
last_known_version
or last_seen_version
sound descriptive enough for me.
We want to let users know when their Tenzir Nodes must be updated.
Which update states can a node be in?
The goal of this roadmap item is to make the states (3) and (4) visible to the user in the frontend. Let's call (3) outdated and (4) unsupported nodes.