Skip to content

There is no indication of running an outdated version of coder agent #2083

Closed
@mafredri

Description

@mafredri

Steps to Reproduce

  1. Run coder server (not --dev which cleans up on interrupt)
  2. Create a workspace using e.g. the docker template
  3. Stop coder server
  4. Update coder server
  5. Restart coder server
  6. Observe old agent reconnects without indication

Expected

There should be some indication that the connected agent is a different version than the server.

  • The agent would report its version
  • The server would log the agent version when it connects (possibly warn of version mismatch)
  • The server would store agent version in database
  • coder list would show outdated agent status
  • The web UI would show outdated agent status (possibly add an option to trigger an update, how that would work in practice is TBD)

Actual

There is no indication of possible server/agent version mismatch.

Notes

I believe this will be important in the future to ensure we're not debugging issues that only happens during mismatches between the versions. Ideally patch and minor version mismatches would be safe/backwards compatible, but I doubt this will always be the case.

Metadata

Metadata

Assignees

Labels

apiArea: HTTP APIsiteArea: frontend dashboard

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions