Skip to content

simulate: link to the dashboard of the project the run belongs to - #948

Merged
u9g merged 1 commit into
mainfrom
jason/simulate-dashboard-from-project
Aug 28, 2026
Merged

simulate: link to the dashboard of the project the run belongs to#948
u9g merged 1 commit into
mainfrom
jason/simulate-dashboard-from-project

Conversation

@u9g

@u9g u9g commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

The simulate TUI derived its dashboard links from --server-url, so a run under a staging project against the default server URL linked to the production dashboard.

Derive the dashboard host from the project URL instead, using the same cloudProject mapping lk agent dev already uses (wss://p.staging.livekit.cloudcloud.staging.livekit.io), and fall back to the --server-url derivation for unrecognized hosts. All dashboard links (run, job, item, report, transcript refs) go through dashboardBaseURL, so they all follow the project.

The dashboard URL was derived from --server-url, so a staging project run
against the default server URL linked to the production dashboard. Derive it
from the project URL instead, the same way `lk agent dev` does, falling back
to the --server-url derivation for unrecognized hosts.
@u9g
u9g force-pushed the jason/simulate-dashboard-from-project branch from 5bf746f to b0eb7ed Compare August 27, 2026 20:53
@u9g
u9g merged commit fac6f94 into main Aug 28, 2026
22 checks passed
@u9g
u9g deleted the jason/simulate-dashboard-from-project branch August 28, 2026 17:38
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