Skip to content

Run the test and desktop workflows on the branch - #11

Merged
PEEKPerformer merged 5 commits into
stack/08-desktop-uifrom
stack/09-ci
Nov 16, 2026
Merged

PEEKPerformer merged 5 commits into
stack/08-desktop-uifrom
stack/09-ci

Conversation

@PEEKPerformer

@PEEKPerformer PEEKPerformer commented Sep 22, 2026 •

Copy link
Copy Markdown
Owner

Summary

The tests and desktop workflows run on the migration branch; Windows checkouts get LF for generated files and POSIX result paths; the MSI bundler gets a numeric pre-release version. One behaviour fix rode along because CI found it: a stop during a settle is a stop, not a fault.

Stack

Part 9 of 28. Targets stack/08-desktop-ui; PR 10 targets this branch. Merge bottom-up with Rebase and merge so the commits and their messages survive. The stack is phase0/reviewable-baseline cut into reviewable pieces; the last PR's tree is that branch's tree.

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 — 869 passed at this PR's head
  • Added new tests for new behavior, or explained why none are needed

How to verify:

QT_QPA_PLATFORM=offscreen pytest tests/ -v

Checklist

  • My changes follow the existing code style
  • I have updated README.md / version history if user-visible — the changelog's Unreleased section covers the whole stack and lands in PR 21
  • I have read the CONTRIBUTING guidelines

Packaging problems should surface while the work is fresh, not at the first
tag. Branch builds upload artifacts only; releases stay tag-only.
The first Windows runs found two platform assumptions. The contract-types
check compared a CRLF checkout against LF output and called it stale: the
generated files are now pinned to LF in .gitattributes and the check
normalises line endings, since a line ending is not a contract change. And the
results route returned OS-native separators, so a Windows client got
alice\file.csv; paths are POSIX on every platform — they are keys the client
hands back, and Path resolves either separator.
PR-42a made settles interruptible by raising RunStopped, but two handlers
caught it as an ordinary exception: the output-on block reported 'Error
turning on output' and the delta read loop counted it as a read error, and the
run-level RunStopped handler sat after 'except Exception' where it could never
fire. In the PySide6 app the spurious error opened a modal — which is what hung
the Linux e2e job at test_close_event_stops_worker_cleanly.

RunStopped now re-raises through both inner handlers and is listed first at
the run level. Two tests pin it: stopping in the initial settle and in a delta
polarity settle produce no error and return promptly.

Also: the instrument lock waits up to 3 s for a holder that is on its way out.
The GUI clears its running flag on acquisition_finished, before the worker's
cleanup releases the lock, so Start pressed right after Stop could find the
previous run still holding the file and be refused as another process.
WiX requires a pre-release identifier to be numeric, so 2.0.0-dev cannot build
an msi. 2.0.0-1 says the same thing in a form every bundler accepts.
@PEEKPerformer
PEEKPerformer merged commit 85c67ef into stack/08-desktop-ui Nov 16, 2026
4 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