Skip to content

feat(dev): complete nginx WSI rehearsal stack - #90

Closed
raylim wants to merge 20 commits into
cBioPortal:masterfrom
raylim:agent/wsi-nginx-keycloak-rehearsal
Closed

raylim wants to merge 20 commits into
cBioPortal:masterfrom
raylim:agent/wsi-nginx-keycloak-rehearsal

Conversation

@raylim

@raylim raylim commented Jul 21, 2026 •

Copy link
Copy Markdown

Summary

  • Route development WSI traffic through the nginx same-origin namespace.
  • Add the slide-viewer and Redis services to the development compose stack.
  • Configure cBioPortal and the tile server with matching WSI capability settings.
  • Proxy backend, authentication, tile, thumbnail, and annotation requests through nginx.
  • Keep production thumbnail publication and Databricks execution outside Compose.

Ownership and request flow

The production WSI Databricks bundle is owned by PDM PR #24 and publishes the fingerprint-bound serving manifest, canonical de-identified associations, and sample summary. Tile-server PR #37 publishes/serves thumbnail artifacts and consumes those tables. The cBioPortal core importer validates and publishes the normalized ClickHouse release; the backend authorizes hierarchy and slide-access requests; the tile server serves only capability-authorized pixels, thumbnails, and annotations.

This compose PR is the browser-visible rehearsal boundary and does not add a second ClickHouse loader or Databricks producer.

Validation

  • docker compose config --quiet: passed
  • Generated nginx configuration: passed nginx -t
  • Authenticated live contract: 4/4 passed
  • Complete importer-backed, nginx-proxied WSI browser profile: 42/42 passed

The 42 browser cases cover pathology timeline/tab/count behavior, exact linkout scoping, zero-slide facets, RHS variants, annotation layers/colors/CRUD/all drawing tools, post-draw navigation, pan/zoom/debounce behavior, same-origin routing, and share/hash restoration.

Machine-specific credentials and local environment overrides used by the development host are intentionally excluded from this PR.

Related implementation

@raylim
raylim force-pushed the agent/wsi-nginx-keycloak-rehearsal branch from 150fce5 to 444ac09 Compare August 19, 2026 23:05
@raylim
raylim marked this pull request as ready for review August 19, 2026 23:05
@raylim

raylim commented Aug 28, 2026

Copy link
Copy Markdown
Author

Cross-stack validation has been refreshed against the updated frontend, backend, annotation tile-server, and importer-backed COAD data: the authenticated live contract passed 4/4, and the complete nginx-proxied WSI Playwright profile passed 42/42.

No compose code was added in this update. Machine-specific credentials and local host overrides remain excluded from the PR.

@raylim

raylim commented Sep 15, 2026

Copy link
Copy Markdown
Author

Superseded by #97, rebased onto current master with exact hydration and release verification.

@raylim raylim closed this Sep 15, 2026
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