Skip to content

Take the 1.13.0 current finder out of the Qt worker - #31

Merged
PEEKPerformer merged 1 commit into
mainfrom
stack/00-main-prep
Nov 16, 2026
Merged

PEEKPerformer merged 1 commit into
mainfrom
stack/00-main-prep

Conversation

@PEEKPerformer

Copy link
Copy Markdown
Owner

Summary

main has the 1.13.0 and 1.13.1 releases, which the stack above forked before. 1.13.0 put a four-point pre-run current finder in the Qt worker, the window and calculations.py. The stack moves the whole run procedure out of that worker into a Qt-free session layer, and its commits were written against the code without the finder, so the bottom of the stack no longer applied to main.

This PR removes the 1.13.0 finder and its tests so that the stack applies. Nothing else from 1.13.x changes: the logo and window icon, the packaging of the assets, the version (1.13.1) and the 1.13.0 and 1.13.1 changelog entries all stay.

The finder comes back in the last part of the stack (#30), in resistamet_gui/session/current_finder.py, where the PySide6 window, the HTTP API and the desktop app all reach it. There it no longer reads the current back from the instrument, discards readings after a range change, and asks before running at a limit.

main is without the finder between this PR and #30. Merge the stack through to #30 before tagging a release.

Stack

Part 0 of 28: the base the other 28 parts sit on. Targets main. Merge bottom-up with Rebase and merge.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing behavior to change)
  • Documentation only
  • CI / build / packaging only

Hardware testing

  • Tested against real hardware
  • Tested against software-only path
  • Not applicable

Test suite

  • QT_QPA_PLATFORM=offscreen pytest tests/ -v passes locally
  • Added new tests for new behavior, or explained why none are needed

The finder's own tests are removed with it; the ported finder's tests arrive with it in #30.

Behaviour change

Checklist

  • My changes follow the existing code style
  • I have updated README.md / version history if user-visible
  • I have read the CONTRIBUTING guidelines

The four-point pre-run current finder of 1.13.0 lives in the QThread
worker, the window and calculations.py. The commits that follow move
the whole run procedure out of that worker into a Qt-free session
layer, and were written against the code as it was before the finder.

This removes the finder and its tests so that those commits apply. It
comes back at the top of the stack, in session/current_finder.py,
where the window, the HTTP API and the desktop app all reach it. The
1.13.0 and 1.13.1 changelog entries, the version and the logo stay.
@PEEKPerformer
PEEKPerformer merged commit ba30582 into main Nov 16, 2026
5 of 8 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.

1 participant