Skip to content

v0.5.1: restore SimBrief generation, report cancelled turns - #37

Merged
hudsonaikins merged 1 commit into
mainfrom
fix/v0.5.1
Nov 13, 2026
Merged

hudsonaikins merged 1 commit into
mainfrom
fix/v0.5.1

Conversation

@hudsonaikins

Copy link
Copy Markdown
Contributor

Incident

v0.5.0 (Worker bcca9620) failed every SimBrief generation before the click. Container log at 2026-11-13 05:05:30 UTC:
playwright/driver/node: error while loading shared libraries: libatomic.so.1: cannot open shared object file.
Dependabot #33 bumped playwright from 1.64.1 to 1.65.0. Its driver needs libatomic.so.1, and python:3.12-slim doesn't have it. Unit tests mock the browser, so CI never started the driver. Production was rolled back to v0.4.7 (Worker 42d1aede).

Fix

  • Pin playwright==1.64.1, the version proven in production through v0.4.7.
  • turn_status returns cancelled after cancel_trip. It used to repeat the cached approval_required and its "call approve_dispatch" instruction, which the live v0.5.0 cancellation test caught. There is a regression test, and it fails without the fix.
  • New CI job image builds the Dockerfile and starts the Playwright driver inside it.

Verification (local)

  • The driver check inside the image fails on the v0.5.0 source with Exception: Connection closed while reading from the driver, the same error as production. It passes on this branch with playwright driver ok.
  • pytest: 478 passed, 3 skipped. Ruff check and format are clean.
  • Production live acceptance, including the cancellation trip, runs after release.

🤖 Generated with Claude Code

Pin playwright to 1.64.1: the 1.65.0 driver needs libatomic.so.1, absent from python:3.12-slim, so v0.5.0 failed every Generate before the click. turn_status now reports cancelled after cancel_trip instead of the withdrawn approval_required result. CI builds the container image and starts the Playwright driver inside it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hudsonaikins
hudsonaikins merged commit 238f05c into main Nov 13, 2026
4 of 5 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