Skip to content

[Turbo] Conflict with Mercure >=0.7.0 <0.7.2#3614

Merged
Kocal merged 1 commit into
symfony:3.xfrom
Kocal:turbo-fix-lowest-deps-test
Jun 1, 2026
Merged

[Turbo] Conflict with Mercure >=0.7.0 <0.7.2#3614
Kocal merged 1 commit into
symfony:3.xfrom
Kocal:turbo-fix-lowest-deps-test

Conversation

@Kocal
Copy link
Copy Markdown
Member

@Kocal Kocal commented Jun 1, 2026

Q A
Bug fix? yes
New feature? no
Deprecations? no
Documentation? no
Issues Fix #...
License MIT

Fix https://github.com/symfony/ux/actions/runs/26723428765/job/78754475199

1) Symfony\UX\Turbo\Tests\Bridge\Mercure\MercureStreamSourceRendererTest::testRenderTurboStreamFrom with data set "string topic — public" ('{{ turbo_stream_from('a_topic') }}', [], '<turbo-mercure-stream-source ...ource>')
Twig\Error\RuntimeError: Unable to load the "Symfony\Component\Mercure\Twig\MercureExtension" runtime in "__string_template__99d0892f0ab319d56791b4f8d3f0ecca" at line 1.

/home/runner/work/ux/ux/src/Turbo/vendor/twig/twig/src/Environment.php:681
/home/runner/work/ux/ux/src/Turbo/src/Bridge/Mercure/MercureStreamSourceRenderer.php:56
/home/runner/work/ux/ux/src/Turbo/src/Twig/TurboRuntime.php:47
/tmp/ux_turbo/cache/test/twig/ff/ff27dce2fa029d54bfa6c1e850f34dad.php:45
/home/runner/work/ux/ux/src/Turbo/vendor/twig/twig/src/Template.php:411
/home/runner/work/ux/ux/src/Turbo/vendor/twig/twig/src/Template.php:366
/home/runner/work/ux/ux/src/Turbo/vendor/twig/twig/src/Template.php:381
/home/runner/work/ux/ux/src/Turbo/vendor/twig/twig/src/TemplateWrapper.php:51
/home/runner/work/ux/ux/src/Turbo/tests/Bridge/Mercure/MercureStreamSourceRendererTest.php:29

Fix https://github.com/symfony/ux/actions/runs/26723428765/job/78754475199

```
1) Symfony\UX\Turbo\Tests\Bridge\Mercure\MercureStreamSourceRendererTest::testRenderTurboStreamFrom with data set "string topic — public" ('{{ turbo_stream_from('a_topic') }}', [], '<turbo-mercure-stream-source ...ource>')
Twig\Error\RuntimeError: Unable to load the "Symfony\Component\Mercure\Twig\MercureExtension" runtime in "__string_template__99d0892f0ab319d56791b4f8d3f0ecca" at line 1.

/home/runner/work/ux/ux/src/Turbo/vendor/twig/twig/src/Environment.php:681
/home/runner/work/ux/ux/src/Turbo/src/Bridge/Mercure/MercureStreamSourceRenderer.php:56
/home/runner/work/ux/ux/src/Turbo/src/Twig/TurboRuntime.php:47
/tmp/ux_turbo/cache/test/twig/ff/ff27dce2fa029d54bfa6c1e850f34dad.php:45
/home/runner/work/ux/ux/src/Turbo/vendor/twig/twig/src/Template.php:411
/home/runner/work/ux/ux/src/Turbo/vendor/twig/twig/src/Template.php:366
/home/runner/work/ux/ux/src/Turbo/vendor/twig/twig/src/Template.php:381
/home/runner/work/ux/ux/src/Turbo/vendor/twig/twig/src/TemplateWrapper.php:51
/home/runner/work/ux/ux/src/Turbo/tests/Bridge/Mercure/MercureStreamSourceRendererTest.php:29
```
@Kocal Kocal self-assigned this Jun 1, 2026
@carsonbot carsonbot added Bug Bug Fix Turbo Status: Needs Review Needs to be reviewed labels Jun 1, 2026
@Kocal Kocal merged commit 1b00cfe into symfony:3.x Jun 1, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Bug Fix Status: Needs Review Needs to be reviewed Turbo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants