Skip to content

A detect clears the last attempt's note, and says which 503 it was - #198

Merged
pskeshu merged 1 commit into
developmentfrom
fix/detect-note
Sep 26, 2026
Merged

pskeshu merged 1 commit into
developmentfrom
fix/detect-note

Conversation

@pskeshu

@pskeshu pskeshu commented Sep 26, 2026

Copy link
Copy Markdown
Collaborator

why is this message? … Automatic detection is unavailable on this rig — mark by clicking the image.

A stale message, not a failed detection. The device-layer log shows the detect at 00:32:05 succeeding — four embryos, HTTP 200. The note came from an earlier press made in the half-minute between the page connecting (00:31:18) and the device layer attaching (00:31:50): the web route answered 503 Microscope not connected before ever reaching the microscope, the pane wrote its one sentence for any 503, and nothing cleared it when the next detect started — so it sat under the succeeding run.

  • A detect now clears the note before it starts.
  • The two 503s are told apart: "The microscope is still coming up — try again in a moment" vs "Automatic detection is unavailable on this rig". The second is permanent and was the wrong sentence for the case people actually hit.

Two source guards in tests/test_acquisition_configurator.py.

🤖 Generated with Claude Code

… 503 it was

"Automatic detection is unavailable on this rig" — under a detect that was,
at that moment, succeeding with four embryos. The note was from a press
made in the half-minute between the page connecting (00:31:18) and the
device layer attaching (00:31:50): the route answered 503 "Microscope not
connected" before reaching the microscope, the pane wrote its one sentence
for any 503, and nothing ever cleared it when the next detect started.

Two changes. A detect clears the note before it starts. And the two 503s
are told apart: "not connected" is a wait — the rig is still coming up —
while a device layer with no SAM is this rig's shape and will not change by
waiting. They were one sentence, and it was the wrong one for the case
people actually hit.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@pskeshu
pskeshu merged commit 04d0605 into development Sep 26, 2026
2 checks passed
@pskeshu
pskeshu deleted the fix/detect-note branch September 26, 2026 04:36
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