Skip to content

IBX-11181, IBX-12271: Merged branch '4.6' into 5.0 - #921

Merged
Steveb-p merged 3 commits into
5.0from
merge/4.6-to-5.0
Oct 30, 2026
Merged

Steveb-p merged 3 commits into
5.0from
merge/4.6-to-5.0

Conversation

barw4 and others added 3 commits October 29, 2026 10:55
For more details see https://ibexa.atlassian.net/browse/IBX-11181 and #699

Key changes:

* Made `TrustedHeaderClientIpEventSubscriber` declare the peer a trusted proxy when a request arrives via Fastly (`Client-Cdn: fastly`) on Ibexa Cloud

* Skipped the subscriber when `framework.trusted_proxies` is not configured, so it never trusts every forwarded header

* Removed the `ibexa.trusted_header_client_ip_name` setting and the header remapping to `X-Forwarded-For` built on it

* Rewrote `TrustedHeaderClientIpEventSubscriberTest` for the new behaviour
@sonarqubecloud

Copy link
Copy Markdown

@Steveb-p
Steveb-p merged commit 3e78787 into 5.0 Oct 30, 2026
20 checks passed
@Steveb-p
Steveb-p deleted the merge/4.6-to-5.0 branch October 30, 2026 10:26
@Steveb-p

Copy link
Copy Markdown
Contributor

Hey Vidar, I finished #921, then merged 4.6 up to 5.0 and 6.0 for #920/#922/#923. The 5.0 → 6.0 merge brought #699 and #910 into 6.0 as well, so I resolved those conflicts myself. I followed what you did on 5.0, but please take a look at c73b4b1 in case I got something wrong:

  • Removed TrustedHeaderClientIpEventSubscriber along with its test, the service definition, ibexa.trusted_header_client_ip_name and its baseline entries. On 6.0 the only changes to them were to the test (PHPUnit 11 / Symfony 8), so nothing else was lost.
  • Removed .github/workflows/gha-docker-solr.yaml and docker/solr/Dockerfile (6.0 had changed both in IBX-12271: Migrated Solr image to version 10.0 #828 for Solr 10). As far as I can tell, ibexa/solr's 6.0 docker/Dockerfile builds the same Solr 10.0.0 image; the only difference is that it copies the config from its own checkout instead of cloning. So backend-ci.yaml on 6.0 now uses ghcr.io/ibexa/solr:6.0.

One thing on 5.0 too: the auto-merge carried ghcr.io/ibexa/solr:4.6 over from #922, so I switched it to ghcr.io/ibexa/solr:5.0 in a7526e8. The Solr integration suite passed locally on both 5.0 and 6.0 against those images.

One question: ibexa/cloud#13 is still open, so 5.0 and 6.0 have no subscriber and its replacement hasn't landed yet. Is that expected for now, or should it land soon? Shout if anything here should've been done differently :)

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 Ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants