Skip to content

fix(io): validate camera statuses and all-cameras-failed sessions - #51

Merged
larsrollik merged 1 commit into
mainfrom
bug/validate-camera-status
Nov 25, 2026
Merged

larsrollik merged 1 commit into
mainfrom
bug/validate-camera-status

Conversation

@larsrollik

Copy link
Copy Markdown
Member

Goal

msw data validate reported the camera status partial as unknown and passed a session in which every camera failed.

Approach

The vocabulary now matches what the camera writer produces (complete, partial, failed). partial still has data from the working cameras, so it is a normal end; failed is an issue like aborted. Degraded-but-usable states are warnings, total loss is a failure.

Changes

  • add partial and failed to ACQUISITION_STATUSES; partial joins the normal ends
  • fail a behaviour acquisition whose cameras: record has only failed groups
  • warn when some camera groups failed

References

Closes: #49
Closes: #50

Goal: validate flagged the camera status 'partial' as unknown and
passed sessions in which every camera failed.

Changes:
- add 'partial' and 'failed' to the acquisition status vocabulary
- treat 'partial' as a normal end and 'failed' as an issue
- fail a behaviour acquisition whose camera record has only failed groups
- warn when some camera groups failed

References:

Closes: #49
Closes: #50
@larsrollik
larsrollik requested a review from a team as a code owner November 25, 2026 11:41
@larsrollik
larsrollik merged commit cc7ea68 into main Nov 25, 2026
7 checks passed
@larsrollik
larsrollik deleted the bug/validate-camera-status branch November 25, 2026 12:12
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.

msw data validate passes a session in which every camera failed msw data validate flags the camera status 'partial' as unknown

1 participant