Skip to content

fix(staged): return raw endpoint for local projects instead of rewriting to workstation URL#482

Merged
matt2e merged 1 commit intomainfrom
incorrect-endpoint
Mar 26, 2026
Merged

fix(staged): return raw endpoint for local projects instead of rewriting to workstation URL#482
matt2e merged 1 commit intomainfrom
incorrect-endpoint

Conversation

@matt2e
Copy link
Copy Markdown
Contributor

@matt2e matt2e commented Mar 26, 2026

Summary

  • For local (non-remote) projects, getEndpointCopyUrl now returns the raw endpoint string directly instead of attempting to rewrite it as a workstation URL, which would produce an incorrect result.

Test plan

  • Verify that copying an endpoint URL for a local project returns the original endpoint
  • Verify that remote project endpoint URLs still get rewritten correctly

🤖 Generated with Claude Code

…ing to workstation URL

The getEndpointCopyUrl function was unconditionally rewriting endpoints
to the remote workstation URL format (workstation-{id}-{port}--domain),
even for local projects. Since local projects have no workstationId,
this produced URLs like workstation-null-5173--blox.blox.sqprod.co.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@matt2e matt2e requested review from baxen and wesbillman as code owners March 26, 2026 00:17
@matt2e matt2e merged commit 49839df into main Mar 26, 2026
3 checks passed
@matt2e matt2e deleted the incorrect-endpoint branch March 26, 2026 00:18
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