Skip to content

Finalised offline server version retrieval tests#989

Merged
wk9874 merged 2 commits into
devfrom
kzscisoft/offline-version-retrieval
Jul 20, 2026
Merged

Finalised offline server version retrieval tests#989
wk9874 merged 2 commits into
devfrom
kzscisoft/offline-version-retrieval

Conversation

@kzscisoft

Copy link
Copy Markdown
Collaborator

Retrieve Version Offline Using Sender

Issue: N/A

Python Version(s) Tested: 3.14

Operating System(s): Ubuntu 26.04

Documentation PR: N/A

📝 Summary

Allows connectors and other use cases to access the server and noSim versions via the simvue.Run._user_config.server_version and simvue.Run._user_config.nosim_version attributes offline.
This assumes a Sender is running.

🔄 Changes

  • Adds ServerVersionAction to upload actions in the Sender which periodically checks server version and writes to cache.
  • SimvueConfiguration reads this file on run launch, if the mode is "offline" and this file exists then the version is read from that.

✔️ Checklist

  • Unit and integration tests passing.
  • Pre-commit hooks passing.
  • Quality checks passing.
  • Updated the documentation.

@kzscisoft
kzscisoft requested a review from wk9874 July 15, 2026 07:44
@kzscisoft kzscisoft added enhancement New feature or request python Pull requests that update python code offline labels Jul 20, 2026

@wk9874 wk9874 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@wk9874
wk9874 merged commit d89b955 into dev Jul 20, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request offline python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants