Skip to content

[13.x] Update SupportBinaryCodecTest - #61512

Merged
taylorotwell merged 1 commit into
laravel:13.xfrom
jackbayliss:adjust-testIsBinary
Sep 10, 2026
Merged

taylorotwell merged 1 commit into
laravel:13.xfrom
jackbayliss:adjust-testIsBinary

Conversation

@jackbayliss

@jackbayliss jackbayliss commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

This flaked on me here https://github.com/laravel/framework/actions/runs/34403846162/job/102641947163?pr=61511#step:5:287

random_bytes(16) can actually return valid UTF8, so, this PR makes sure it doesn't flake

\xE3\x81 is just part of a (japanese) byte sequence so, this always be true... (could argue we could remove it, but at least this covers more than 1 set)

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown

Thanks for submitting a PR!

Note that draft PRs are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@jackbayliss jackbayliss changed the title [13.x] Update SupportBinaryCodecTest.php [13.x] Update SupportBinaryCodecTest Sep 9, 2026
@jackbayliss
jackbayliss marked this pull request as ready for review September 9, 2026 21:09
@taylorotwell
taylorotwell merged commit 7c94543 into laravel:13.x Sep 10, 2026
56 checks passed
@jackbayliss
jackbayliss deleted the adjust-testIsBinary branch September 10, 2026 08:39
binaryfire added a commit to hypervel/components-backup that referenced this pull request Oct 1, 2026
Add the deterministic incomplete UTF-8 sequence from upstream. Retain the existing regression proving that binary UUID bytes can also be valid UTF-8.

Upstream: laravel/framework#61512

Framework source: 7068848dfe48fc3a433598e09ce798799d442a52.
Documentation source: laravel/docs 13.x at ec28ad6ee78ebeada6095e05d33da7e8c42dd6dc.

Validated with affected tests, repository formatting, full source and type-fixture analysis, and the full parallel test suite.
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.

2 participants