Skip to content

Fix tests against qcodes main while keeping 0.58.0 support - #246

Merged
jenshnielsen merged 1 commit into
QCoDeS:mainfrom
jenshnielsen:fix_qcodes_0_59_tests
Aug 28, 2026
Merged

Fix tests against qcodes main while keeping 0.58.0 support#246
jenshnielsen merged 1 commit into
QCoDeS:mainfrom
jenshnielsen:fix_qcodes_0_59_tests

Conversation

@jenshnielsen

Copy link
Copy Markdown
Contributor

QCoDeS made snapshot timestamps timezone aware and changed the default snapshot update to Only_invalid, which broke two tests here.

  • Emit the loop ts_start/ts_end metadata in the same timezone aware ISO format QCoDeS now uses for parameter snapshots.
  • Accept both the timezone aware and the older naive timestamp spelling when checking snapshot timestamps, so the tests pass on qcodes 0.58.0 as well.
  • Prime the cache of the aborting parameter in test_halt so that the snapshots taken while setting up the loop are served from the cache and no longer consume the abort counter.

QCoDeS made snapshot timestamps timezone aware and changed the default
snapshot `update` to `Only_invalid`, which broke two tests here.

* Emit the loop `ts_start`/`ts_end` metadata in the same timezone
  aware ISO format QCoDeS now uses for parameter snapshots.
* Accept both the timezone aware and the older naive timestamp spelling
  when checking snapshot timestamps, so the tests pass on qcodes 0.58.0
  as well.
* Prime the cache of the aborting parameter in `test_halt` so that the
  snapshots taken while setting up the loop are served from the cache
  and no longer consume the abort counter.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jenshnielsen
jenshnielsen enabled auto-merge August 28, 2026 09:22
@jenshnielsen
jenshnielsen added this pull request to the merge queue Aug 28, 2026
Merged via the queue into QCoDeS:main with commit b9226f9 Aug 28, 2026
9 checks passed
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.

2 participants