Skip to content

IBX-11778: Merged branch '4.6' into 5.0 - #120

Draft
alongosz wants to merge 5 commits into
5.0from
merge/4.6-to-5.0
Draft

IBX-11778: Merged branch '4.6' into 5.0#120
alongosz wants to merge 5 commits into
5.0from
merge/4.6-to-5.0

Conversation

@alongosz

Copy link
Copy Markdown
Member

Caution

This is a merge pull request

🎫 Issue IBX-11778

Related PRs:

Description:

Not pushed straight to 5.0 like the rest of this merge-up batch, because #119's
Solr/Java change needed a closer look.

#119 added a per-Solr-version JDK mapping on 4.6 — Solr 7.7 needs Java 11, its
bin/solr passes the CMS GC flags that JDK 14 removed. It merged in here
without a conflict, which is exactly why it nearly went unnoticed. It shouldn't
come across: 5.0 supports Solr 8.11.1+ and 9.8.1+ only, 7.7 is 4.6. So the
7.7.3 leg in our matrix has been testing a version 5.0 doesn't support.

  • Merged branch '4.6' into 5.0integration-tests.yaml was the only
    conflict. Kept 5.0's php-version matrix (8.3) against IBX-11778: Updated GitHub Actions workflows to org standard #119's hardcoded
    7.4, took the rest of the standardization (Ibexa composer-install,
    checkout@v7, ubuntu-26.04, stale main trigger dropped)
  • [GHA] Dropped the 7.7.3 leg and flattened the JDK pin to Temurin 17 —
    with 7.7 gone the mapping has a single value left. Java 17 is still needed:
    ubuntu-26.04 ships Java 25 and Solr 9.8.1 won't start under it
  • [GHA][Rector PHP] Reused the shared Rector workflow — inline rector job
    in backend-ci.yaml replaced by a rector.yaml calling
    ibexa/gh-workflows, same as the rest of the batch

Kept the Solr 7.7 drop out of the merge commit on purpose, so the 5.0-only
decision stays visible and revertable on its own.

For QA:

No QA required. CI here is the check.

Documentation:

No documentation required.

🤖 Generated with Claude Code

alongosz and others added 4 commits September 11, 2026 16:44
For more details see https://ibexa.atlassian.net/browse/IBX-11778 and #119

Key changes:

* Renamed the CI workflow to `Backend CI` and added a `workflow_dispatch` trigger for manual runs

* Standardized runners to `ubuntu-26.04` and updated `actions/checkout` to v7 across workflows

* Passed the PHP version explicitly to the shared `composer-install` action instead of relying on matrix fallback

* Fixed `check-cs` step in `backend-ci.yaml` so pipeline failures are no longer masked, using `set -euo pipefail`

* Fixed Solr integration tests on `ubuntu-26.04` by pinning per-version JDKs via `actions/setup-java` (Java 11 for Solr 7.7.3, Java 17 for 8.11.2/9.8.1) instead of the default Java 25, and removed the redundant standalone `setup-php` step

* Removed the deprecated `pr-assign.yaml` workflow and dropped non-existent `main`/`master` branches from push triggers

---------

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
# Conflicts:
#	.github/workflows/integration-tests.yaml
Ibexa DXP 5.0 supports Solr 8.11.1+ and 9.8.1+ only. Solr 7.7 is 4.6, so
the 7.7.3 matrix leg here has been testing an unsupported version.

#119 added a per-Solr-version JDK mapping on 4.6, because Solr 7.7 needs
Java 11 - its bin/solr passes the CMS garbage collector flags that JDK 14
removed. It came across in the merge without a conflict. With 7.7.3 gone
the mapping has a single value left, so it collapses back to a flat
Temurin 17, which is what the runner needs anyway: ubuntu-26.04 ships
Java 25 and Solr 9.8.1 will not start under it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Replaced the inline rector job in backend-ci.yaml with a dedicated
rector.yaml calling ibexa/gh-workflows' reusable Rector workflow, matching
the org standard and ibexa/core.

The 4.6 GHA standardization could not cover this: Rector exists only on
5.0+ branches, so a merge-up leaves the old form in place and git reports
no conflict for it.

This also retires the repository's last Node.js 20 action: the inline job
used ramsey/composer-install@v3, whose pinned actions/cache 4.2.4 runs on
Node 20, which is removed from the runners on 2026-09-16. Its
shivammathur/setup-php step goes away with it, since the reusable workflow
installs PHP itself.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@alongosz alongosz added the Fast-forward merge PR should be merged in a fast-forward way label Sep 11, 2026
@sonarqubecloud

Copy link
Copy Markdown

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

Labels

Fast-forward merge PR should be merged in a fast-forward way

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants