From eb14a05736177fcaa72143d7702030a790fd7b8c Mon Sep 17 00:00:00 2001 From: soyuka Date: Sun, 16 Aug 2026 22:50:09 +0200 Subject: [PATCH] ci: align the whole symfony stack on the 8.1 edge job The job set minimum-stability to dev but pinned only framework-bundle and json-streamer to 8.1.x-dev, so serializer, property-info and type-info floated to 8.2.x-dev. Mixing Symfony minor dev branches is not supported and silently broke property discovery: nested objects serialized as {} and interface-backed DTO properties disappeared. Pin the serializer stack to 8.1.x-dev too so the job reports on Symfony 8.1 rather than on an unsupported combination. --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b07aa738ac..df8aa29a71 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -909,8 +909,11 @@ jobs: run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Allow unstable project dependencies run: composer config minimum-stability dev - - name: Force Symfony 8.1 dev for framework-bundle and json-streamer - run: composer require --dev --no-update --no-interaction "symfony/framework-bundle:8.1.x-dev" "symfony/json-streamer:8.1.x-dev" + # minimum-stability dev lets unpinned components float to the next minor's dev branch, and + # mixing Symfony minor dev branches is not supported: framework-bundle 8.1.x-dev with + # property-info/serializer/type-info 8.2.x-dev loses property metadata entirely + - name: Force Symfony 8.1 dev + run: composer require --dev --no-update --no-interaction "symfony/framework-bundle:8.1.x-dev" "symfony/json-streamer:8.1.x-dev" "symfony/serializer:8.1.x-dev" "symfony/property-info:8.1.x-dev" "symfony/type-info:8.1.x-dev" - name: Cache dependencies uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0 with: