Skip to content

CI robustness: stop the Chromium install from hanging for an hour on GitHub-hosted runners. Check current upstream main first. #3411

Closed

Description

@propr-dev

CI robustness: stop the Chromium install from hanging for an hour on GitHub-hosted runners. Check current upstream main first.

Observed twice in a row on PR #3410 (pr-build-check 'Validate Changes', step 'Install Chromium for PWA Smoke Test', runs 41253187588 attempts 1–2): scripts/ci-install-chromium.sh runs npx playwright install --with-deps chromium on hosted runners. Its apt-get update logged Ign: for every http://azure.archive.ubuntu.com/ubuntu noble* index, then stalled after fetching the archive.ubuntu.com InRelease files, and sat for 59–76 minutes until I cancelled the job. The step has no timeout, so each hang blocks the PR for an hour. Other PRs' identical steps finished in about 1 minute on runners with a working mirror. Hosted runners are also migrating ubuntu-latest to Ubuntu 26 (runner notice), so don't hard-code noble.

Fix:

  1. Add a step-level timeout-minutes (for example 10) to every step that runs ci-install-chromium.sh, in pr-build-check.yml and any other workflow (pr-test-on-label, nightly, desktop and preview workflows), so a hang fails fast.
  2. Make the hosted-runner path resilient: run apt with bounded network timeouts and retries (for example -o Acquire::Retries=3 -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30), and if an attempt times out, retry the whole install once. Keep using Playwright's dependency list rather than hand-maintaining packages. Keep the self-hosted path (no --with-deps) unchanged.
  3. Keep fail-closed behaviour: a genuinely failing install must still fail the step, never skip the smoke test silently.
  4. Add tests in the repo's workflow-contract style (every Chromium install step has a timeout; the script applies the apt timeouts and retry) and an [Unreleased] CHANGELOG line under CI/tooling if the repo records those.

One focused PR ready for review. Do not auto-merge, tag, publish or deploy.


Submitted by @integry through ProPR.

Activity

  1. propr-dev commented on Nov 1, 2026

    @propr-dev
    ContributorAuthor

    🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: claude
    • Model: claude-opus-5-5
    • Branch: 3411/claude-opus-5-5-ci-robustness-stop-the-ch-20261101-0257-fou
    • Base Branch: main
    • Worktree: issue-3411-20261101-0257-claude-opus-5-5-fou

    🔍 Track Task Execution

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions