Skip to content

Streaming source-window admission mistakes an RGB channel axis for X #282

Closed

Description

@trissim

Owner: parent integration thread, existing PR159. A current-main regression was
reproduced using the real streaming request and persisted RGB fixture, not a
scientific or held-out image.

Reproducer: run tests/unit/test_streaming_service.py::test_stream_images_derives_rgb_channel_axis_before_viewer_dispatch.
The8x9x3 TIFF decodes with declared channel axis2 and source spatial domain8x9.
ImageStreamingRequest.require_image_window nevertheless takes array.shape[-2:]
and validates9x3, rejecting the source before viewer dispatch. The saved original
failure is viewer-installed-first-failure-20260930.xml in the persistent parent
ledger.

Correction in PR159 current4cfe230f9 uses the existing
ImagePayloadMetadata.spatial_shape_yx authority, preserving channel/plane-aware
geometry and rejection of missing Y/X or out-of-domain crops. No new channel
heuristic, image reshaping, viewer-only workaround or metadata registry.
113 installed core/viewer/Fiji checks passed after this correction; native
viewer transport acceptance is recorded separately and is not biological QA.

Acceptance: retain that RGB counterexample and scalar/crop controls, verify
source-aligned installed streaming, and merge the existing reviewed PR. This
issue is not closed merely because focused checks passed.

Activity

  1. trissim commented on Sep 30, 2026

    @trissim
    CollaboratorAuthor

    Correction is published in existing PR159, with the original RGB failure preserved and 113 final installed core/viewer/Fiji cases passing at frozen4cfe source. A separate actual installed MCP/Napari journey streams two tiny grayscale source-projected channels, returns typed state, captures both fresh-client views, verifies loopback listeners and closes only its disposable test viewer. That proves the common entrypoint/transport route, not a native RGB rendering or biological acceptance claim. This issue remains open until its full acceptance boundary is satisfied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions