Skip to content

Skip installing xvfb and chromium in CI #16872

Description

@janbrasna

Description

One of the less reliable things in GHA here is apt-install of things. Last time it took 120min+ to install chromium at mere 25kBps, but even on a good day the usual apt-get update && apt-get install chromium-browser xvfb spends time pulling manifests, restarting daemons etc., setting up snapd, and then installing the apps… without any caching always relying on canonical infra providing these… usually taking at least 2mins, but often spending several times longer on a step that is probably not even necessary:

  1. Both xvfb and chromium are however already preinstalled in the runner, and don't need installing or updating. (Their versions are kept up-to-date via weekly runner image rollouts, but otherwise consistent between the runs helping reproducibility.)
  2. Looking into what jasmine runs, I even doubt the installed chromium is ever used afterwards — one set runs system firefox via geckodriver, the other runs system chrome via matching chromedriver version, all preinstalled on the runner.

Quick PoC shows the action runs fine without any additional installs.


Success Criteria

  • Reproducible versions are preferred instead of always pulling the latest over and over
  • Tooling uses whatever binaries are available on the runner, without overriding the installs
  • FE tests finish twice as fast

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions