Open Source
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. Articles about Magento and Adobe Commerce are on the blog.
Escape table names so encryption key rotation survives them — on GitHub
Table names containing special characters broke the generated SQL mid-rotation — a bad moment to discover a quoting bug, given what the tool is re-encrypting.
Prefetch orders to kill an N+1 in the admin grid — 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.
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.
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.
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.
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.
Repair test names so silently skipped Page Builder tests run again — on GitHub
Test class names did not match their file names, so MFTF never collected them — a green suite that was quietly running less than it claimed. Renaming across 71 files put the tests back, along with the failures they had been hiding.
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 plugin injects the WAF eagerly, so every request paid for a point SELECT on the
flagtable before it could decode the rules — a round trip for a value that only changes when the five-minute cron writes it. Caching in front of that lookup, without reintroducing the cache-only storage the module had deliberately dropped, sincecache:flushor a disabled cache type must not leave the WAF ruleless.