- Notifications
You must be signed in to change notification settings - Fork1.1k
chore: improvecoder server ux#14761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ethanndickson commentedSep 23, 2024
This stack of pull requests is managed by Graphite.Learn more about stacking. Join@ethanndickson and the rest of your teammates on |
bf8650d to0dc2a89CompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
0dc2a89 toc628077Compareammario commentedSep 23, 2024
Looks clean. Thank you. |
dannykopping commentedSep 30, 2024
@ethanndickson heads up: this seems to open the access URL even if it's a slim build (and therefore has no UI bundled). |

Uh oh!
There was an error while loading.Please reload this page.
Closescoder/internal#54.
Currently,
coder serverdoesn't take any steps to ensure the access URL it outputs stands out among the initial stream of logs.To address this, this PR:
Wraps the access URL in a colourful box (ANSI bright blue (12) box, ANSI magenta (5) hyperlink)

Opens the access URL in the default browser, if the
BROWSERenv var is set, and if outputting to a TTY. Can be disabled using--no-open. This is the same behaviour ascoder login.Improves the naming of some loggers, as some logs were previously duplicated with no indication as to why.
Changes some startup logs from
infotodebugThe full startup output is now:
I'd argue the remaining
infolevel logs are appropriate, I think something like how many provisioners are running, and what terraform version they're running are worth outputting by default, but very much open to thoughts.