Skip to content

IBX-11778: Updated GitHub Actions workflows to org standard - #119

Merged
alongosz merged 3 commits into
4.6from
ibx-11778-gha-workflows-update
Sep 11, 2026
Merged

IBX-11778: Updated GitHub Actions workflows to org standard#119
alongosz merged 3 commits into
4.6from
ibx-11778-gha-workflows-update

Conversation

@alongosz

@alongosz alongosz commented Sep 6, 2026

Copy link
Copy Markdown
Member
🎫 Issue IBX-11778

Related PRs:

Description:

Part of the fleet-wide GHA workflow standardization (wave 10; sample: ibexa/taxonomy#444). Changes:

  • Renamed the CI workflow to Backend CI and added a bare workflow_dispatch trigger (IBX-12062, per the admin-ui#1999 PoC — without Slack notification parts).
  • Updated third-party actions to their latest versions (MAJOR bumps included) and standardized runners to ubuntu-26.04.
  • Passed the PHP version to the shared composer-install action explicitly (IBX-11907).
  • Dropped non-existent main/master branches from push triggers.
  • Removed the deprecated pr-assign.yaml workflow.
  • Guarded the code style check with set -euo pipefail so check-cs failures are no longer masked (canonical fix from IBX-11853 / bundle-generator#45).
  • integration-tests.yaml (Solr integration): no PHP matrix, so its composer-install step got a concrete php-version: '7.4' (what its standalone setup-php step used); that now-redundant setup-php step was removed.
  • Set up Temurin 17 via actions/setup-java before Init Solr. The ubuntu-26.04 image ships Java 25 as the default JDK, which Solr 7.7.3 and 9.8.1 do not support, so all 8 of their matrix legs died in Init Solr (run 34035174326): Java 25 detected. Enabled workaround for SOLR-16463 ... Still not seeing Solr listening on 8983 after 180 seconds. ubuntu-24.04 (last green 4.6 run, 2026-05-21) shipped Java 17. Pinning the JDK instead of the runner keeps the standardized ubuntu-26.04 in place. 8.11.2 was green on Java 25 already, 17 is closer to what that version officially supports anyway.

For QA:

Verify CI is green. Backend CI can now also be run manually via workflow dispatch.

Documentation:

No documentation required.

🤖 Generated with Claude Code

- Renamed the CI workflow to Backend CI and added a bare
  workflow_dispatch trigger (IBX-12062 PoC follow-up, without the
  Slack notification parts)
- Updated actions/checkout to v7
- Standardized runners to ubuntu-26.04
- Dropped non-existent main branch from push triggers
- Removed the deprecated pr-assign.yaml workflow
- Passed the PHP version to the composer-install action explicitly;
  the implicit matrix.php fallback inside the action is kept only for
  backwards compatibility (IBX-11907, gh-workflows#115)
- Dropped the redundant standalone setup-php step from the Solr
  integration tests job, superseded by the action's own PHP setup
- Guarded the code style check against masked pipe failures; without
  pipefail the check-cs exit code was swallowed by the pipe into cs2pr
  (IBX-11853, bundle-generator#45)
alongosz and others added 2 commits September 6, 2026 21:56
The ubuntu-26.04 runner image ships Java 25, which neither Solr 7.7.3
nor 9.8.1 can start under, failing all eight of their matrix legs in
the "Init Solr" step. Set up Temurin 17 explicitly instead, the LTS
release supported by every Solr version in the matrix.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Solr 7.7.3 does not start on Java 17 either: its bin/solr passes the CMS
garbage collector flags, which JDK 14 removed, so the JVM exits before
writing solr.log. Solr 7.7 supports Java 8 and 11 only.

Moved java-version into the matrix so 7.7.3 runs on Temurin 11, while
8.11.2 and 9.8.1 stay on 17, where they are already green.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@sonarqubecloud

sonarqubecloud Bot commented Sep 6, 2026

Copy link
Copy Markdown

@alongosz
alongosz merged commit 6753405 into 4.6 Sep 11, 2026
22 checks passed
@alongosz
alongosz deleted the ibx-11778-gha-workflows-update branch September 11, 2026 14:44
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.

4 participants