Repository navigation
Conversation
www.neos.io enabled an HTTP->HTTPS 301 redirect (2026-11-26 ~17:02Z). Neos\Flow\Tests\Functional\Http\Client\CurlEngineTest::getRequestReturnsResponse fetches http://www.neos.io without CURLOPT_FOLLOWLOCATION, so it receives the empty 301 body and fails asserting the page content. The sibling redirectsAreFollowed is unaffected: it enables CURLOPT_FOLLOWLOCATION and the new redirect gives it a real redirect to follow. Change 1: neos-https-redirect.patch changes getRequestReturnsResponse to request https://www.neos.io (content assertion unchanged), applied like the other repository patches under dockerfiles/frameworks/contrib/flow/. Change 2: the flow framework tests build the datadog/dd-trace-ci:php-framework-flow image from this repository instead of pulling the published Docker Hub image. That image was last pushed 2025-05-20 and no CI job republishes it, so repository patches only take effect when a maintainer runs 'make -C dockerfiles/frameworks publish_framework_flow'; the flaky-auth-date.patch from #4463 never shipped in the image for the same reason. Building in-pipeline makes every patch effective; make build/publish_framework_flow are unchanged. Verified locally: built the image from this branch (git apply of all four flow patches succeeds) and ran the CurlEngineTest suite inside it against mysql 5.7 - OK (2 tests, 2 assertions); reverting only the URL back to http in the built image reproduces the CI failure exactly.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
More details
The Flow targets build the image containing the HTTPS patch before running, ensuring the fix reaches CI. Static review and Make dry runs found no actionable defect; a full image build and framework execution remain unverified.
🤖 Bits Code Review · Commit fa86af9
❌ ErrorsYour PR has failed checks. Please review the issues below and take necessary action before merging. 🚦 4 Pipeline jobs failed
ℹ️ InfoNo other issues found (see more)🧪 All tests passed 🎯 Code Coverage (details) Useful? React with 👍 / 👎 This comment will be updated automatically if new data arrives.🔗 Commit SHA: d4e33bd | Docs | View more details | Give us feedback! |
The flow framework tests go back to pulling the published datadog/dd-trace-ci:php-framework-flow image, exactly as before this branch touched the Makefile. These images change rarely enough that the accepted flow is a manual publish by a maintainer with Docker Hub credentials, not a ~15 minute image build in every pipeline. Add a section to dockerfiles/frameworks/README.md documenting that the patches under contrib/ are applied at image build time and only take effect in CI once 'make -C dockerfiles/frameworks publish_framework_flow' publishes the image, and that the flaky-auth-date.patch from #4463 went stale this way (the image was last published 2025-05-20, so that patch has still never run in CI).
Benchmarks [ tracer ]Benchmark execution time: 2026-11-26 22:37:02 Comparing candidate commit d4e33bd in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 218 metrics, 0 unstable metrics.
|
Description
The
framework test: [flow]and[flow_no_ddtrace]jobs fail on every PR (and on master) inNeos\Flow\Tests\Functional\Http\Client\CurlEngineTest::getRequestReturnsResponse:www.neos.io started redirecting HTTP to HTTPS with a 301 today (~17:02Z, 2026-11-26):
The test fetches
http://www.neos.iothrough Flow'sCurlEnginewithoutCURLOPT_FOLLOWLOCATION, so it gets the empty 301 body and the content assertion fails. The siblingredirectsAreFollowedtest is unaffected: it enablesCURLOPT_FOLLOWLOCATIONby design, and the new redirect gives it a real redirect to follow (it also runs first, and the suite uses--stop-on-failure, so a failure there would have surfaced before this one).neos-https-redirect.patchchangesgetRequestReturnsResponseto requesthttps://www.neos.io(content assertion unchanged).https://www.neos.ioserves the same page:The patch is wired into the Dockerfile like the other repository patches under
dockerfiles/frameworks/contrib/flow/.One caveat: the flow jobs pull the published
datadog/dd-trace-ci:php-framework-flowDocker Hub image, which is only republished when a maintainer with Docker Hub credentials runsmake -C dockerfiles/frameworks publish_framework_flow- there is no CI job for it. That image was last pushed 2025-05-20, soflaky-auth-date.patchfrom #4463 has still never actually run in CI, and this patch is in the same position.framework test: [flow]and[flow_no_ddtrace]will stay red on this PR until someone publishes the patched image with that command - that publish is the follow-up action this PR needs. Everything else on the PR should be green.This gap is now documented in
dockerfiles/frameworks/README.md: patches undercontrib/apply at image build time and only take effect in CI after the matching publish target runs.Verified locally by building the image the same way
make build_framework_flowdoes, from this branch: thegit apply *.patchstep succeeds with all four flow patches, and theCurlEngineTestsuite passes inside the built image against mysql 5.7 -OK (2 tests, 2 assertions). Reverting only the URL back tohttpin the built image reproduces the CI failure exactly.Notes:
Reviewer checklist