Skip to content

docs(witan): drop the direct-store-URI cutover alternative from the migration runbook - #260

Open
blarghmatey wants to merge 1 commit into
mainfrom
docs-witan-migration-runbook-target-only
Open

docs(witan): drop the direct-store-URI cutover alternative from the migration runbook#260
blarghmatey wants to merge 1 commit into
mainfrom
docs-witan-migration-runbook-target-only

Conversation

@blarghmatey

Copy link
Copy Markdown
Member

What are the relevant tickets?

N/A

Description (What does it do?)

  • Removes docs/migration-runbook.md's "If you have cluster credentials" subsection — a port-forward + raw OMNIGRAPH_BEARER_TOKEN alternative to the self-service local-to-shared cutover.
  • Adds a note to the "Local → shared: the cutover" section stating the WITAN_TARGET-selected MCP path is now the only supported way to run this cutover, and why the direct-store-URI variant was removed.

How can this be tested?

Read-through only — no code changes. Confirmed no other section links to or references the removed subsection (grep -n "cluster credentials\|port-forward\|OMNIGRAPH_BEARER_TOKEN" against the file before/after).

Additional Context

Found during the production go-live: passing --target <the deployment's MCP URL> to witan migrate merge looks like it should work the same way --target works everywhere else in the same command, but RemoteServerProxy.merge_store refuses a target argument outright once a deployment is selected (the destination is resolved server-side from the caller's own identity, not client-named). The removed subsection offered a second, direct-URI way to do the identical cutover and used that same --target <URI> shape, so it was a live source of the same confusion rather than a genuinely different tool for a genuinely different job. witan whoami --target <name> / witan login --target <name> already establish --target <name> meaning a named config target elsewhere in this CLI; migrate merge --target is the one command where it still means a literal destination store URI. Unifying that is a real option (see the parallel thread on this in the current session) but out of scope for this docs-only fix.

…igration runbook

The port-forward + raw bearer-token variant of the local-to-shared cutover
used --target <URI> the same way every other migrate merge invocation does,
but against a deployment that flag is refused outright (the destination is
resolved server-side from the caller's own identity). Trying it against the
production deployment during the go-live produced exactly that confusion.
Removed the alternative and pointed at WITAN_TARGET as the only supported
self-service path.
Copilot AI balanced review requested due to automatic review settings August 19, 2026 20:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Witan migration runbook to discourage direct-store-URI cutovers.

Changes:

  • Removes the cluster-credential port-forward subsection.
  • Declares the WITAN_TARGET MCP path as the supported self-service cutover route.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +254 to +255
**only supported way** to run this cutover: there is no direct-store-URI
alternative for it, on purpose — a port-forward + raw bearer token variant
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