Skip to content

ci(e2e): build the Debian package on a hosted runner #5530

Open

Description

@matthewgrossman

User Story

As a contributor waiting on Branch E2E, I want the tmachine E2E rows to start as soon as their inputs are ready, so that a PR's E2E result arrives sooner.

Description

In Branch E2E, the tmachine rows wait for prepare-integration, which waits for the Debian package (build-deb). The deb was the last input to finish in runs 43312288101, 43257220972 and 43237169662, 5.1, 7.1 and 5.4 minutes after the next-latest input (the RPM).

The deb job is mostly overhead. It runs on the self-hosted linux-*-cpu8 pool inside the ~1.5 GB CI image. Waiting for a runner took 0.5–3.6 min and starting the container ~85 s, for an ~20 s dpkg-deb build. In two of those three runs, the VM driver build that build-deb waits for finished at the same time as the RPM, so the deb job's own queue and startup caused most of the delay.

Proposed change

Run the deb job on GitHub-hosted ubuntu-24.04 with no job container. package-deb.sh needs only install, sed, gzip and dpkg-deb, and takes the target architecture from OPENSHELL_DEB_ARCH, so both architectures build on amd64.

Every caller keeps building the same deb, including the VM driver. Making the deb optional without the VM driver was considered and dropped: Branch E2E would then test a different package than the one we release.

podman-e2e-integration always ends the run, so the rows starting earlier shortens the whole run by the same amount.

Context

Definition of Done

  • The deb job runs on a hosted runner without the CI container.
  • Every caller still produces a deb that includes the VM driver.
  • Branch E2E passes, and the PR records before/after row start times.

Activity

  1. added
    area:buildCI/CD workflows, releases, build targets, packaging, and artifact publication.
    topic:testingUnit, integration, regression, conformance, E2E tests, coverage, flakes, and test infrastructure.
    on Nov 13, 2026
  2. added
    topic:dxMaking OpenShell easy to contribute to for humans and agents.
    and removed
    topic:testingUnit, integration, regression, conformance, E2E tests, coverage, flakes, and test infrastructure.
    on Nov 15, 2026
  3. changed the title [-]ci(e2e): don't make the Branch E2E deb wait for the VM driver[/-] [+]ci(e2e): build the Debian package on a hosted runner[/+] on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:buildCI/CD workflows, releases, build targets, packaging, and artifact publication.topic:dxMaking OpenShell easy to contribute to for humans and agents.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions