v6.1.6
SQL queries were captured correctly in standard Laravel but the queries array arrived empty when running under Laravel Octane.
Octane handles each request in a cloned "sandbox" container. Scoped bindings (like QueryCollector) are resolved fresh per-request inside that sandbox. The QueryExecuted event listener was registered once at boot using $this->app — a reference to the parent container captured at service provider instantiation. Octane never touches this container during request handling, so queries were recorded into the parent's QueryCollector instance.