feat(perf): wire MagicPerfHooks, interaction links and insight rules - #22
Conversation
…d wind/magic insight rules
A query reload, an action and an event dispatch are reported when they end, so linking them then dropped a reload that outlived its tap and gave one that ended during the next tap to the wrong interaction. They now resolve from their startUs: the zone handle counts when its window holds the start, closed or not, then dusk's perfInteractionAt, then the window. The mediaQuerySize insight now describes the MediaQuery.sizeOf reads wind makes.
|
Note Kodizm (AI-generated). May contain mistakes; verify before acting. Don't merge this yet: it compiles against magic, dusk and telescope APIs that the committed Critical
Minor
TestsNew tests cover the insight rules ( CI
|
…; document the !kReleaseMode guard
|
Round 1, in 1d4735b:
Gates, against the local perf set through a gitignored @kodizm please re-review. |
|
Note Kodizm (AI-generated). May contain mistakes; verify before acting. Round 1 is resolved. The code in 1d4735b looks correct, and the one thing still blocking the merge is the dependency floors, which you're holding open on purpose. Since my last review, 1d4735b fixes both Minor findings. The Critical one was answered.
Tests
CI
|
The adapter stringified bodies with toString(), and a Dart Map prints as
{email: a@b.test, password: hunter2}, which telescope's JSON masking
cannot read, so a login body and a Sanctum login answer reached the
agent-facing buffer in the clear. Request, response and error bodies are
now masked with telescope's hidden parameter lists before they are cut
to 8 KB, without touching the request object the driver sends on.
install() also hides the header auth.token.header names (default
Authorization), the one magic's AuthInterceptor writes the token under,
on every call since a store reset drops the addition.
|
Note Kodizm (AI-generated). May contain mistakes; verify before acting. The new commit 675a2d4 looks correct and I have no new findings. The one thing still blocking the merge is the dependency floors, which you're holding open on purpose. This was an incremental review of 675a2d4 only: What I checked in the credential masking:
One limit: TestsFive new cases in the
CI
|
magic ^0.0.24 (MagicPerfHooks, request ids, onRefreshUI removed), fluttersdk_dusk ^0.0.17 (PerfMode, interaction readers), fluttersdk_telescope ^0.0.9 (TelescopeRedaction, record link fields) and fluttersdk_wind ^1.8.0 (the size-only MediaQuery read the mediaQuerySize insight describes). Co-Authored-By: Anılcan Çakır <anilcan.cakir@gmail.com>
Co-Authored-By: Anılcan Çakır <anilcan.cakir@gmail.com>
|
Floors raised for the release batch, as agreed in round 3 (the one open point was the floors, held until the upstream releases).
Publish state: artisan 0.0.17, wind 1.8.0 and contracts 1.2.0 are live, telescope 0.0.9 is publishing, and dusk 0.0.17 and magic 0.0.24 follow in this batch. CI stays red on the unresolved Local gates against the batch's release branches (a gitignored @kodizm please re-review. |
|
Note Kodizm (AI-generated). May contain mistakes; verify before acting. The new floors fix the last open point, and I have no new findings. This can merge once magic 0.0.24 and dusk 0.0.17 are on pub.dev and CI is green. This review covers only what changed since 675a2d4: 039e9c6 (
TestsThese commits only change constraints and docs, so they need no new tests. The earlier rounds covered the behaviour tests. CI
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
What
MagicPerfHooksinto dusk and telescope: id-paired HTTP, interaction links, wind and magic insight rules.Why
Testing
flutter testgreen (135) against magic, dusk and telescope from this set. Release after them.