Skip to content

Source tile geometry and primary object diagnostics tests: the arraybridge MemoryType call and the moved morphology import - #1380

Merged
trissim merged 2 commits into
mainfrom
port/siblings-latest
Nov 22, 2026
Merged

trissim merged 2 commits into
mainfrom
port/siblings-latest

Conversation

@trissim

@trissim trissim commented Nov 22, 2026

Copy link
Copy Markdown
Collaborator

Commits by pm-trainer-e, each with its focused tests in its message (31 passed in test_source_tile_geometry, 14 in test_primary_object_diagnostics):

  • blending.py:57 called MemoryType(...).import_module(), which arraybridge 0.5.2 does not have; a MemoryType names a library and its module is MemoryType.library.module (the only caller left).
  • test_primary_object_diagnostics normalizes the refactors made since its pinned SHA; it now also knows the morphology backend moved into morphology_family. In CI it additionally needs the pinned a0263e82 in the clone's history (a shallow clone lacks it), tracked in the issue.

Remaining on #1379: the two MeasureImageQuality tests (registry discovery of family subpackages) and the bioformats test (passes locally; a CI environment gap).

Maintainer instruction to merge: Tristan, bus message 32383 (5f618fde8035).

🤖 Generated with Claude Code

https://claude.ai/code/session_016gZLdxS38RuoZjQTydVqFS

…untime follows the package split

The boundary members' methods are called on classes (debug_runtime.py:1176-1178) but were
instance methods, so ExceptionDebugBoundary.validate_exception and the trait's projections
raised TypeError. They are classmethods now, naming the boundary by cls.name.

The tests asserted a reports_output_artifacts attribute that was never declared (membership in
ReportsOutputArtifactsDebugBoundary is the fact), read openhcs/core/debug.py (now the debug/
package), expected the pre-move payload module path, and called a controller method that is the
module function debug_views.runtime_inspection_view. 11 failed before, 51 pass.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016gZLdxTa9e8d6J4PvBWMM9
…dy test knows the morphology move

blending.py:57 called MemoryType(...).import_module(), which arraybridge 0.5.2 does not have: a
MemoryType is the name of a library and its module is MemoryType.library.module. This is the
one caller left; test_source_tile_geometry went 4 failed to 31 passed, 2 skipped.

test_processing_body_is_unchanged_except_same_run_evidence_capture compares the function with a
pinned baseline after normalizing the refactors made since (payload accessors, label variants);
it did not know the morphology backend moved into morphology_family, so every run failed on the
import line alone. It does now: 14 passed. It also needs a0263e8 in the clone's history, which a
shallow checkout lacks, so CI has to fetch it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016gZLdxTa9e8d6J4PvBWMM9
@trissim
trissim merged commit e6a4a5e into main Nov 22, 2026
4 of 5 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.

2 participants