Skip to content

fix(coder): report a missing browser instead of dying when $HOME/browsers is absent - #106

Merged
brianjfox merged 1 commit into
mainfrom
fix/check-app-missing-browsers-main
Nov 2, 2026
Merged

brianjfox merged 1 commit into
mainfrom
fix/check-app-missing-browsers-main

Conversation

@brianjfox

Copy link
Copy Markdown
Contributor

Closes #98

What

check-app reports "nothing under $HOME/browsers" when that folder does not exist, instead of dying on the glob.

Why

With no headless shell unpacked, the folder is absent and the glob over it threw ENOENT before the check printed a checklist, so the coder saw a crash rather than the finding the check already has words for. Details in #98.

Changes

  • workflows/coder/check/check-app.ts: installedBrowsers reads the folder and treats a missing one as an empty one; any other error is still thrown.

@corbits-triage

corbits-triage Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Triage: Pass

No changes needed from you. A maintainer will review this pull request.

Triage will approve, request review.

@brianjfox
brianjfox added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit f9f3370 Nov 2, 2026
9 checks passed
@linear-code

linear-code Bot commented Nov 3, 2026

Copy link
Copy Markdown

CL-11875

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

check-app dies with ENOENT instead of reporting the missing browser when $HOME/browsers is absent

1 participant