Skip to content

wsi: complete source-bound serving and route loads through core importer - #17

Merged
raylim merged 6 commits into
mainfrom
agent/wsi-readiness-probes
Aug 14, 2026
Merged

raylim merged 6 commits into
mainfrom
agent/wsi-readiness-probes

Conversation

@raylim

@raylim raylim commented Aug 7, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Complete the source-bound WSI serving integration while keeping the tile server read-only with respect to ClickHouse.

  • Enforce the v2 slide-scoped capability contract for tile and thumbnail requests.
  • Keep thumbnail generation, canonical association SQL, and offline export tooling for producing the WSI study files.
  • Remove the standalone ClickHouse hierarchy writer and its tests.
  • Route WSI loading through the standard cBioPortal core importer using metaImport.py -s or metaImport.py -d.
  • Update runbooks and rollout documentation to make the ownership boundary explicit.

Ownership and cutover

Databricks/canonical ETL emits meta_wsi.txt and data_wsi.txt. The cBioPortal core study importer validates the canonical contract, resolves portal identifiers, and publishes the normalized ClickHouse release. The backend reads that release and issues source-bound access bundles. This tile server serves only the exact source URL and authorized pixel/thumbnail requests.

The removed loader is no longer supported; retaining a second ClickHouse writer would allow releases to diverge from the normal cBioPortal import route.

Validation

  • Python compilation checks for touched tools and tests
  • git diff --check
  • Focused WSI checks passed where the local environment supported them
  • The repository pytest launcher is unusable in this checkout because its configured Python interpreter is missing

Related work

Review fixes applied

  • Existing successful thumbnail-registry rows with missing tile_metadata_json are selected for regeneration during migration, including retry-only mode.
  • CORS preflight OPTIONS requests bypass capability validation so browser requests carrying Authorization can reach the CORS middleware; authenticated GET and thumbnail requests remain protected.

@raylim
raylim force-pushed the agent/wsi-readiness-probes branch from 3ef612e to fe23a31 Compare August 7, 2026 20:39
@raylim
raylim marked this pull request as ready for review August 7, 2026 20:40
@raylim raylim changed the title wsi: add readiness probe contract wsi: complete source-bound serving and rollout integration Aug 13, 2026
@raylim raylim changed the title wsi: complete source-bound serving and rollout integration wsi: complete source-bound serving and route loads through core importer Aug 13, 2026
@raylim
raylim merged commit dbaf619 into main Aug 14, 2026
1 check 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.

1 participant