Skip to content

Fix CI Chrome launch and keep production always on - #67

Merged
superchris merged 3 commits into
mainfrom
fix-ci-chrome
Nov 18, 2026
Merged

superchris merged 3 commits into
mainfrom
fix-ci-chrome

Conversation

@superchris

@superchris superchris commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Why

Both Fly apps (launch-cart, launch-cart-dev) are suspended with no machines, so nothing is serving requests. Recent commits never deployed because CI has failed on every push since the Nov 8 upgrade, and the deploy job depends on the test job.

The CI failure was Chrome not starting at all ("No usable sandbox!"). The upgrade moved CI to ubuntu-24.04 and added browser-actions/setup-chrome. That action installs Chrome into the tool cache without an AppArmor profile. Ubuntu 24.04 restricts unprivileged user namespaces through AppArmor, so that copy of Chrome can't create its sandbox.

Changes

  • CI: remove setup-chrome and use the Google Chrome and ChromeDriver preinstalled on the runner image (/usr/bin/google-chrome, $CHROMEWEBDRIVER/chromedriver).
  • Deploy: CI now deploys only to production. The launch-cart-dev deploy step is removed because that app is unused.
  • fly.toml: set primary_region = "ord" so prod runs in the same region as launch-cart-db. Set auto_stop_machines = "off" and min_machines_running = 1 so production never goes to sleep.

Verification

  • CI on this branch passes: 3 JS tests and 253 Elixir tests (13 Wallaby features, 240 tests). Run 44348475043
  • fly config validate passes for both configs.

Note

Merging deploys current main to production (launch-cart). That includes the Elixir 1.20.5 / LiveView 1.2.13 upgrade and the reply-to change, which have not run in production yet.

🤖 Generated with Claude Code

superchris and others added 3 commits November 18, 2026 11:32
The setup-chrome action installs Chrome into the tool cache without an
AppArmor profile, so on ubuntu-24.04 Chrome can't create its sandbox and
fails to launch ("No usable sandbox!"). The preinstalled Google Chrome
and ChromeDriver on the runner image don't have this problem.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pin launch-cart to ord alongside its database, and disable auto-stop
so production machines never go to sleep.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The dev app isn't used, so stop deploying to launch-cart-dev.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@superchris
superchris merged commit f1d9bb7 into main Nov 18, 2026
4 checks passed
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