Contributions
Shaping the tools I use every day, one pull request at a time
A hand-picked selection: only the contributions worth reading about, not every merged pull request.
Stop setup:install hanging in integration test runs — on GitHub
Any prompt raised during install left the test bootstrap waiting for an answer nobody could type, so CI hung until it timed out. --no-interaction turns that into a clean failure.
Install ps so Magento integration tests stop crashing — on GitHub
Without ps in the image, Magento’s memory estimation fell through to its Windows code path and died with sh: tasklist.exe: not found. A genuinely great error message to debug on Linux.
Run ExtensionChecker without a working Magento install — on GitHub
The dependency scanner required a fully bootstrapped Magento, which is precisely what you do not have when auditing a pile of modules in CI.
Correct the documented PHP compatibility range — on GitHub
composer.json and reality both said PHP 8.1 worked; the README still said otherwise, and teams believe the README.
Fix ignored date parameters in the transaction backfill command — on GitHub
taxjar:transactions:sync -f 2022/02/10 silently ignored the date: the observer read from/to while the command passed from_date/to_date. Every backfill quietly synced the wrong range.
Remove the redundant COUNT() call on the first page of results — on GitHub
Every paginated grid calculated the last page number so it could redirect out-of-range requests — including when you were already on page one. Admin category edit was one of many pages paying for it.
Cache the repeated category query in ElasticSuite — on GitHub
Blackfire showed the same database call executed three times while rendering a category page. Kept the result in an object cache for the request.
Introduce BlockByIdentifier for CMS blocks — on GitHub
The old CMS block widget loaded through AbstractModel::load and returned the same cache identity regardless of store scope — so one identifier reused across store views served the wrong content. A new class rather than a breaking change to the old one.
Extract request-to-model mapping into a hydrator — on GitHub
Adding one field to a menu meant inheriting the whole Save controller. With a hydrator service, an after plugin is enough.
Only merged work is listed here, and only the parts worth a comment — the full history, including everything still in review, lives on GitHub.
The orders grid issued one query per row for Mailchimp data. Prefetching cut over 20% of the grid load locally — more on any environment with real network latency to the database.