Skip to content

Unit tests still red after the siblings port: 19 failures that predate it, with diagnoses #1379

Open

Description

@trissim

From CI run 45042436440 (job unit-subset, PR #1374), after the fixes already merged (#1375, #1377 and the paths_for change). These predate the port (none of the code they touch exists at 4c12d802, OpenHCS main on Nov 16); diagnoses are pm-trainer-e's, read from the tree.

  • tests/unit/test_debug_runtime.py (11): 7 x ExceptionDebugBoundary.validate_exception() missing 1 required positional argument: 'exception'; 2 x DebugPausedWorkerController has no attribute runtime_inspection_...; BeforeInvocationDebugBoundary has no attribute reports_output_ar...; a FileNotFoundError under the runner's openhcs/; a projection-message assert (...ImageMetadataPayload).
  • tests/unit/test_source_tile_geometry.py (4): 'MemoryType' object has no attribute 'import_module' (the vendored arraybridge v0.5.2 against the code); 2 of the 4 surface it as Failed to process pattern group A01_s{iii}_w1_z001_t001.tif.
  • tests/unit/test_primary_object_diagnostics.py (1): an AST text mismatch.
  • tests/unit/test_bioformats_microscope_handler.py (1): polystore.exceptions.MetadataNotFoundError: No declared OpenHCS proje....
  • tests/unit/test_cellprofiler_module_execution.py::test_image_measurement_table_retains_exact_declared_current_image and tests/unit/test_cellprofiler_artifact_declarations.py::test_measure_image_quality_all_loaded_uses_only_primary_plane_bindings: KeyError: No CellProfiler module declaration is registered for 'MeasureImageQuality'. A registry design gap, not a typo: the CellProfiler module registry discovers only the flat modules of openhcs.processing.backends.cellprofiler (external/metaclass-registry/.../core.py:380-381 refuses recursion for selected discovery), so declarations in family subpackages (image_quality.py, intensity.py, intensity_distribution.py, colocalization.py, object_filtering.py, object_overlap.py) are invisible cold unless another test imported them first. Two fixes: make selected discovery in metaclass-registry walk subpackages (recommended, the family layout is deliberate), or move those six files to the flat level (~10 import sites).

Also red on the same run: structural-ratchet (per-file counts in the job log) and the GUI modules that could not import SelectedTabToneColour (#1376 pins ui-theme).

Owner: pm-trainer-e after the second co-driver kind.

🤖 Generated with Claude Code

https://claude.ai/code/session_016gZLdxS38RuoZjQTydVqFS

Activity

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