Skip to content

Compile the fixture views before the browser server starts (1.x) - #3

Merged
MoamenEltouny merged 2 commits into
1.xfrom
fix/browser-wait-1.x
Oct 23, 2026
Merged

MoamenEltouny merged 2 commits into
1.xfrom
fix/browser-wait-1.x

Conversation

@MoamenEltouny

@MoamenEltouny MoamenEltouny commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Browser tests intermittently failed on CI with a RootTagMissingFromViewException: the fixture server runs several PHP workers, Blade writes a compiled view without a lock, and a worker that read it while another one was still writing it rendered an empty view. It only hit the first visit of a view on a cold cache, which is why it was always the first browser project and always a different test, on 2.x, 3.x, and 4.x code alike.

tests/Browser/compile.php now compiles every fixture view before php -S starts, at the same paths the workers use, so the workers only read compiled views. The earlier fifteen-second wait is reverted: it only made the failure slower.

Test tooling only; no release.

@MoamenEltouny MoamenEltouny changed the title Allow browser assertions 15 seconds on busy runners (1.x) Compile the fixture views before the browser server starts (1.x) Oct 23, 2026
@MoamenEltouny
MoamenEltouny merged commit aef8ec6 into 1.x Oct 23, 2026
10 checks passed
@MoamenEltouny
MoamenEltouny deleted the fix/browser-wait-1.x branch October 24, 2026 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant