Skip to content

Wait for the apt lock in Playwright Chromium install steps (CHE-9158) [squash] - #9

Merged
congvc-dev merged 2 commits into
mainfrom
agent/x99-claude-sonnet-200k/che-9158-f8b1654c8d90
Nov 23, 2026
Merged

congvc-dev merged 2 commits into
mainfrom
agent/x99-claude-sonnet-200k/che-9158-f8b1654c8d90

Conversation

@congvc-bot-x99

Copy link
Copy Markdown

Fixes CHE-9158 (Multica issue). Run 44265868267: the first npx playwright install --with-deps chromium timed out, and the retry exited 100 two seconds later because apt/dpkg was still locked.

Change

  • Both install steps (first attempt and retry) write DPkg::Lock::Timeout "180"; to /etc/apt/apt.conf.d/99-lock-timeout before installing, so apt waits for the lock instead of failing at once.
  • Applied to fork-free-suite.yml and to the matching steps in free-tests.yml (4 steps), because the fork test requires the free-suite steps to equal upstream's.
  • New tripwire test in test/fork-free-suite-workflow.test.ts: every Playwright install step must set the lock timeout before it runs.

Test

bun test test/fork-free-suite-workflow.test.ts

  • Before the workflow change: 6 pass, 2 fail (the new tests).
  • After: 8 pass, 0 fail.

Fork Free Suite run on this head: see the PR checks.

@congvc-bot-x99 congvc-bot-x99 Bot changed the title fix(ci): wait for the apt lock in Playwright Chromium install (CHE-9158) [squash] Wait for the apt lock in Playwright Chromium install steps (CHE-9158) [squash] Nov 23, 2026
@congvc-bot-x99
congvc-bot-x99 Bot marked this pull request as ready for review November 23, 2026 04:30
@congvc-dev
congvc-dev merged commit 1e52e4a into main Nov 23, 2026
40 of 41 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