Skip to content

Pass a tag that is behind main only by CI commits - #34

Merged
imanimanyara merged 2 commits into
mainfrom
ci/tag-currency-ci-only
Oct 6, 2026
Merged

imanimanyara merged 2 commits into
mainfrom
ci/tag-currency-ci-only

Conversation

@imanimanyara

Copy link
Copy Markdown
Member

The release-currency check failed whenever main gained a commit, including
Dependabot's weekly .github/ bumps, which ship nothing. It now passes a
tag behind main only by .github/-only commits, and tells a package on
real releases to cut a patch instead of moving a published tag. Same rule
as laranail/package-tools' canonical script.

The release-currency check failed whenever main gained a commit, including
Dependabot's weekly .github/ bumps, which ship nothing. It now passes a
tag behind main only by .github/-only commits, and tells a package on
real releases to cut a patch instead of moving a published tag. Same rule
as laranail/package-tools' canonical script.
Copilot AI balanced review requested due to automatic review settings October 6, 2026 14:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

PHPStan 2.3.0 binds $this inside Closure::call(), so the tests' calls to
FormRequest::createDefaultValidator() are now typed as the Validator
contract, which has no passes(), and expect() could not resolve its type
(44 errors). A typed helper, defaultValidatorFor(), asserts the concrete
validator HasFluentRules returns and serves all 68 call sites.

Its new unused-variable rule found three checks the tests never made;
they now assert ($errors empty, the compiled custom rule present, the
caught exception's class) instead of dropping the variables. Passes on
both PHPStan 2.2.17 and 2.3.0; src/ is unchanged.
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

Benchmark results

Scenario Optimizations Native Laravel Optimized Speedup Δ vs base
Product import — 500 items, simple rules Wildcard, fast-check 194.5ms 3.5ms ~56x +0%
Nested order lines — 1000 orders × 5 line items Wildcard, fast-check (nested) 944.3ms 19.7ms ~48x -3%
Event scheduling — 100 items, field-ref dates Wildcard, partial fast-check 33.7ms 1.4ms ~24x +0%
Article submission — 50 items, custom Rule objects Wildcard only 11.0ms 3.2ms ~3x +0%
Conditional import — 100 items, 47 conditional fields Wildcard, pre-evaluation 254.4ms 55.3ms ~5x +1%
Login form — 3 fields, no wildcards Fast-check (flat) 0.2ms 0.0ms ~9x —

@imanimanyara
imanimanyara merged commit 56a0b76 into main Oct 6, 2026
9 checks passed
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