"View logs" CLI links sometimes don't work when clicked
ky-zo opened this issue · comments
Provide environment information
N/A
Describe the bug
After a task run, the terminal suggests going into a link:
https://cloud.trigger.dev/projects/v3/proj_id/runs/run_id)
this doesn't work, as link must have the org info too:
https://cloud.trigger.dev/orgs/org_name/projects/v3/proj_id/runs/run_idthe
Reproduction repo
N/A
To reproduce
N/A
Additional information
No response
We use this very popular package for links – it automatically renders them in brackets like this if your terminal doesn't support links.
When it's falling back like this, sometimes the links wraps over multiple lines or in other situations VSCode doesn't interpret them correctly.
I'm going to leave this issue open but I'm not sure what a good fix for this is.
Would be good to collect some information on the environments this happens in, maybe we could detect it and render the links differently in those cases.