Bump pestphp/pest from 4.4.3 to 4.6.1
Type: Pull Request
State: Closed
Association: Unknown
Comments: 1
(2 months ago)
(about 2 months ago)
(about 2 months ago)
dependencies php
⚠️ Dependabot is rebasing this PR ⚠️
Rebasing might not happen immediately, so don't worry if this takes some time.
Note: if you make any changes to this PR yourself, they will take precedence over the rebase.
Bumps pestphp/pest from 4.4.3 to 4.6.1.
Release notes
Sourced from pestphp/pest's releases.
v4.6.1
- fix: up to 30% faster boot times before your test suite runs (measured on laravel cloud)
- fix: if you pass --filter or a test file, --update-snapshots now only updates the snapshots that match
v4.6.0
- feat: time based sharding by
@nunomaduroin pestphp/pest#1671For better shard balance, Pest can distribute tests based on their actual execution time using the
--update-shardsoption. This ensures each shard takes roughly the same wall-clock time, minimizing how long your slowest CI job runs.Step 1: Generate the timing data by running your full test suite with
--update-shards:./vendor/bin/pest --update-shardsThis runs all tests and records each test class's duration into
tests/.pest/shards.json. You can also combine it with--parallelto speed things up:./vendor/bin/pest --parallel --update-shardsStep 2: Commit
tests/.pest/shards.jsonto your repository. This file is human-readable and looks like this:{ "timings": { "Tests\\Feature\\Payments\\StripeCheckoutTest": 1.608, "Tests\\Feature\\Reports\\SalesReportTest": 2.105, "Tests\\Unit\\Models\\UserTest": 0.050 }, "checksum": "...", "updated_at": "2026-04-14T10:30:00+00:00" }Step 3: When you run
--shardandtests/.pest/shards.jsonexists, Pest automatically uses time-balanced distribution:./vendor/bin/pest --shard=1/5The output will indicate that time-balanced sharding is active:
Shard: 1 of 5 — 12 files ran, out of 50 (time-balanced).v4.5.0
Announcement: x.com/enunomaduro/status/2042697927483609449
... (truncated)
Commits
87db0b4release: v4.6.16ba373achore: bumps phpunit945d476fix: allow to update individual screenshotsa8cf0fechore: improves CI2ae072bfeat: makes boot time much faster59d0669chore: missing header0dd1aa7fix: updating snapshots in--parallel4e03cd3release: v4.6.0eeab24eMerge pull request #1671 from pestphp/feat/time-based-sharding9b64d54removes time balanced- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
Technical Details
| ID: | 15394724 |
| UUID: | 4275592289 |
| Node ID: | PR_kwDOMhuaAs7S9SGp |
| Host: | GitHub |
| Repository: | OpenCourseMatch/OpenCourseMatch |