Skip to content

[CI] Pin GitHub Actions to ubuntu-24.04 ahead of the ubuntu-latest migration to 26.04 #13567

Open

Description

@kaitlinnewson

Describe the issue

GitHub started moving the ubuntu-latest runner label to Ubuntu 26.04 on October 19, 2026 (actions/runner-images#14748 (actions/runner-images#14748)). The rollout is gradual, so CI jobs will start failing at random as more of them land on 26.04 runners.

I ran the OJS main CI matrix on ubuntu-26.04 with pkp/pkp-github-actions@v1. Every job failed during setup, before any tests ran:

  • tj-actions/install-postgresql@v3 fails on every job, regardless of database: sudo: 'apt-key': command not found. Ubuntu 26.04 no longer ships apt-key.

When I ran the same matrix with that step fixed (pkp/pkp-github-actions#103), these failures came next:

  • MySQL jobs: Package 'mysql-server-8.0' has no installation candidate. 26.04 doesn't have the 8.0 packages.
  • MariaDB jobs: ankane/setup-mariadb@v1 fails because MariaDB has no 10.11 repo for 26.04 (dlm.mariadb.com/.../10.11/repo/ubuntu resolute Release does not have a Release file).
  • All test jobs: Sendria crashes on startup because 26.04's system bcrypt 5 is incompatible with passlib (ValueError: password cannot be longer than 72 bytes). Email-dependent Cypress tests then fail with ECONNREFUSED 127.0.0.1:1080.
  • PostgreSQL: works on 26.04 (PG 18 is preinstalled) with the changes in make postgres installation more robust pkp-github-actions#103.
  • PHP 7.3/7.4/8.0 (stable-3_3_0, scheduled runs): not tested yet.

Proposed solution

  1. As an immediate fix, change runs-on: ubuntu-latest to runs-on: ubuntu-24.04 in the OJS, OMP and OPS CI workflows (main, stable-3_5_0, stable-3_4_0 and stable-3_3_0, including schedule.yml and test-vps-dataset.yaml on main).
  2. In a follow-up, make pkp-github-actions work on 26.04: MySQL 8.4, MariaDB setup, Sendria/bcrypt, old PHP versions. Then remove the pin or update it to 26.04. Plugin repos that use pkp-github-actions will need the same pin, or that follow-up fix.

Pull Requests

Plugins

Activity

  1. added
    Housekeeping:2:UrgentAny dependency management or refactor that must be done soon to fix or avoid a significant problem.
    on Oct 20, 2026
  2. added 3 commits that reference this issue on Nov 6, 2026
  3. self-assigned this
    on Nov 6, 2026
  4. added 10 commits that reference this issue on Nov 6, 2026
  5. 63 remaining items

  6. added 15 commits that reference this issue on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Housekeeping:2:UrgentAny dependency management or refactor that must be done soon to fix or avoid a significant problem.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions