Skip to content

Run release currency through the shared hygiene workflow - #40

Merged
imanimanyara merged 3 commits into
mainfrom
ci/shared-tag-currency
Nov 2, 2026
Merged

imanimanyara merged 3 commits into
mainfrom
ci/shared-tag-currency

Conversation

@imanimanyara

Copy link
Copy Markdown
Member

Summary

  • .github/workflows/tag-currency.yml: the release-currency job calls laranail/.github/.github/workflows/hygiene.yml@main (tag currency only), which runs laranail/package-tools' canonical script. Release tags are immutable, so a tag behind main becomes a warning that a release is due (Treat a tag behind main as a due release, never a tag to move package-tools#91) rather than a red run.
  • scripts/verify-tag-currency.sh is deprecated in place, not removed. It prints a ::notice, then delegates to the canonical script when the installed vendor/laranail/package-tools copy already follows the immutable-tag model and gh is available. Otherwise it keeps working, with the force-push advice replaced by the next patch to cut. Earliest removal: the next minor release.
  • CHANGELOG [Unreleased]: Changed and Deprecated entries.

Checks run locally

YAML parses; shellcheck clean. Both script paths were smoke-tested against the live repo: the fallback prints cut v0.1.1, and delegation to the new canonical prints ::warning title=Release due:: and exits 0. Neither path prints tag -f or --force.

No release tag is cut here; v0.1.1 waits on the owner.

The local copy of verify-tag-currency.sh still carried the moving-tag model
and told a maintainer to force-push a moved tag, which contradicts the rule
that a public release tag is never moved. The weekly check now calls
laranail/.github's hygiene workflow, which runs laranail/package-tools'
canonical script: a tag behind main is a warning that a release is due.

The local script is deprecated in place. It prints a notice and delegates to
the canonical script when an installed copy already follows the immutable-tag
model, and otherwise keeps working, now advising the next patch.
Copilot AI balanced review requested due to automatic review settings November 2, 2026 12:35

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 insufficient remaining quota. Try requesting a review at a lower effort level.

imanimanyara and others added 2 commits November 2, 2026 12:36
PHPStan's strict rules now report negating a mixed value. Casting keeps the
same truthiness the bare negation had.
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown

Benchmark results

Scenario Optimizations Native Laravel Optimized Speedup Δ vs base
Product import — 500 items, simple rules Wildcard, fast-check 145.3ms 2.5ms ~58x +0%
Nested order lines — 1000 orders × 5 line items Wildcard, fast-check (nested) 716.3ms 14.9ms ~48x +1%
Event scheduling — 100 items, field-ref dates Wildcard, partial fast-check 22.5ms 1.0ms ~22x +0%
Article submission — 50 items, custom Rule objects Wildcard only 8.3ms 2.2ms ~4x +0%
Conditional import — 100 items, 47 conditional fields Wildcard, pre-evaluation 187.4ms 40.8ms ~5x +3%
Login form — 3 fields, no wildcards Fast-check (flat) 0.1ms 0.0ms ~9x —

@imanimanyara
imanimanyara merged commit 5526487 into main Nov 2, 2026
11 checks passed
@imanimanyara
imanimanyara deleted the ci/shared-tag-currency branch November 2, 2026 13:01
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