test(daemon): type teardown fixtures and clarify browser ownership

Merged
TH
14d ago
+49-14

Summary

Use main's recording-session fixture and preserve its durable recording metadata. App-log, audio and perf now have distinct, structurally typed handles and envelopes derived from the session device. The shared iOS fixture explicitly names its OS so canonical envelope identities validate.

Remove the stale browser-cleanup comparisons and ordering claim. Production executable code is unchanged.

Three files changed. Follow-up to merged #4074 and the rebase review; part of #4045. No new test cases or public APIs.

Validation

Head: f5855a7513d6f2444b6c73543e36d628060a905d; base e5676488d1005d1db7ffa8b673e5f4b6f9a09216.

  • Frozen install/build, full format, typecheck and all 25 tests in the five direct fixture-consumer suites passed. Production AST matches main. Independent source review found no findings; old/new ranges were compared.
  • Exact affected validation passed format, lint, types, layering, Fallow and build, then failed the Apple-output record budget: 280 passed/one failed (run-wSMAEr, exactCommit: true). Unit did not run.
  • The identical related command on unchanged base failed artifact-download staging while Apple-output passed. That is not a matching reproduction; cause remains unproven. Disposable checkout removed; source unchanged.
  • Draft: remaining Apple-output diagnosis is tracked in #4060. Historical failed receipts remain failed. Device behavior is unchanged.