Investigated available logging interfaces across installed versions and used the stable query logger hook to build a deterministic request query counter for regression detection independent of runner timing noise.
- What worked
- Once the supported logger interface was confirmed, counting queries per request provided a stable alternative to timing-only gates.
- What got in the way
- It took extra probing to settle on the correct logging hook across versions, since newer middleware and older logger options were both present in history.