Skip to content

Wire internal slide-viewer annotations to Lakebase - #508

Draft
raylim wants to merge 2 commits into
knowledgesystems:masterfrom
raylim:codex/slide-viewer-annotation-lakebase
Draft

raylim wants to merge 2 commits into
knowledgesystems:masterfrom
raylim:codex/slide-viewer-annotation-lakebase

Conversation

@raylim

@raylim raylim commented Jun 26, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

This PR wires the native WSI annotation backend into the current slide-viewer-triage deployment.

  • Adds /wsi/annotations and /wsi/agent ingress routes.
  • Requires the Lakebase/Postgres annotation DSN from slide-viewer-secrets.
  • Enables annotation authorization for the internal viewer.
  • Keeps the research-agent UI disabled for the initial annotation rollout.

Dependency and rollout

This is intended to follow the canonical WSI deployment work in PR #507. The annotation and agent backend services are implemented in tile-server PRs #4 and #40.

Before rollout, provision the following key in the existing slide-viewer-secrets Secret through the private portal-configuration workflow (follow-up PR portal-configuration#73):

ANNOTATION_DATABASE_URL

The value must be a TLS-enabled Lakebase/Postgres connection string. It is deliberately a required Secret reference so a missing production database cannot silently fall back to SQLite.

WSI_AGENT_ENABLED remains false here. Enable it only after the agent backend is deployed and its provider credentials/configuration have been validated.

@raylim
raylim force-pushed the codex/slide-viewer-annotation-lakebase branch from f10b68f to f4e73bc Compare July 22, 2026 22:28
@raylim raylim changed the title [codex] Wire slide-viewer annotations to Lakebase [codex] Wire internal slide-viewer annotations to Lakebase Jul 22, 2026
@raylim
raylim force-pushed the codex/slide-viewer-annotation-lakebase branch from f4e73bc to f5ceeae Compare July 22, 2026 22:29
@raylim
raylim force-pushed the codex/slide-viewer-annotation-lakebase branch from f5ceeae to d07426b Compare September 21, 2026 17:01
@raylim raylim changed the title [codex] Wire internal slide-viewer annotations to Lakebase Wire internal slide-viewer annotations to Lakebase Sep 21, 2026

This branch has not been deployed

No deployments
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