Skip to content

Stop telling people to visit a URL that 404s - #14

Merged
Zenofex merged 2 commits into
mainfrom
fix/doctor-auth-advice
Sep 27, 2026
Merged

Zenofex merged 2 commits into
mainfrom
fix/doctor-auth-advice

Conversation

@Zenofex

@Zenofex Zenofex commented Sep 27, 2026

Copy link
Copy Markdown
Contributor

Every "get an API key" message pointed at https://bootintel.com/settings/api-keys. That page does not exist and never has — there is no /settings route on the site at all. Keys live at /dashboard/developer.

Six places said otherwise: doctor, whoami (twice), scan --api (twice), and analyze --api.

It surfaced because someone ran bootintel doctor on a Mac and pasted the output. That line had been wrong for as long as it existed, and no test could have caught it: it is a string, and the route it names lives in a different repo.

The advice was also stale in a way introduced by the login work. API-key auth is gated at Pro, so for anyone below that tier the instruction was not just a broken link but the wrong action. These messages now recommend bootintel login first, which is the path for a person at a terminal, and mention API keys as the CI and scripting option they are.

Tests, clippy under -D warnings, and rustfmt all clean.

Zenofex and others added 2 commits September 27, 2026 09:17
Every "get an API key" message pointed at
https://bootintel.com/settings/api-keys. That page does not exist and never
has: there is no /settings route on the site at all. Keys live at
/dashboard/developer. Six places said otherwise: doctor, whoami twice,
scan --api twice, and analyze --api.

It surfaced because someone ran `bootintel doctor` on a Mac and pasted the
output. That line had presumably been wrong for as long as it existed, and no
test could have caught it: it is a string, and the route it names is in a
different repo.

The advice was also stale in a way I introduced. API-key auth is gated at Pro,
so for anyone below that tier the instruction was not merely a broken link but
the wrong action entirely. These messages now recommend `bootintel login`
first, which is the path for a person at a terminal, and mention keys as the
CI and scripting option they are.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Rewriting the --api message dropped the ${API_KEY_ENV} interpolation, which
made the constant dead code and broke clippy under -D warnings. Naming the
variable is useful to the reader anyway, so it goes back in the message rather
than the constant coming out.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@Zenofex
Zenofex merged commit c936be1 into main Sep 27, 2026
11 checks passed
@Zenofex
Zenofex deleted the fix/doctor-auth-advice branch September 27, 2026 09:26
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