Commit Graph
678 Commits
Author SHA1 Message Date
morluto 9a9ee6cf3d test(web): consolidate network capture queue lifecycle checks (#13125) 2026-11-21 15:25:13 +00:00
morluto c09a27770f test(web): exercise encoded query limits across heap sizes (#13123)
* test(web): exercise encoded query limits across heap sizes

* test(web): isolate capacity fixture from browser globals
2026-11-21 15:25:09 +00:00
morluto b5cb5e2f0d test(web): consolidate saved scenario path checks (#13122) 2026-11-21 10:18:21 -05:00
morluto 648d1f8f9d test(web): consolidate UI response observation lifecycle checks (#13121) 2026-11-21 15:14:26 +00:00
morluto 6ae91b2a10 test(web): consolidate scenario response body bounds (#13120) 2026-11-21 15:12:13 +00:00
morluto 6ecafb590e test(web): control scenario request deadline phases (#13119) 2026-11-21 10:06:56 -05:00
morluto fba0e43af3 test(web): consolidate exact response number checks (#13118) 2026-11-21 10:03:33 -05:00
morluto ad4c558789 test(web): consolidate scenario request cleanup checks (#13116) 2026-11-21 15:02:30 +00:00
morluto 447b79139c test(web): consolidate scenario storage identity checks (#13115) 2026-11-21 14:47:45 +00:00
morluto f27aa1ad90 test(web): eliminate wall-clock waits from storage cleanup checks (#13114) 2026-11-21 14:38:31 +00:00
morluto 3c4450ac7e test(web): exercise real browser release during scenario cleanup (#13113) 2026-11-21 09:28:36 -05:00
morluto bb18055d12 test(web): consolidate service-worker policy lifecycle checks (#13112) 2026-11-21 09:20:42 -05:00
morluto 15d511951f test(web): consolidate DOM base URL and origin checks (#13108) 2026-11-21 14:04:11 +00:00
morluto c451857d38 test(web): consolidate XHTML SVG namespace proofs (#13105) 2026-11-21 08:56:47 -05:00
morluto 4ad0e3ea78 test(web): consolidate DOM snapshot position and SVG proofs (#13104) 2026-11-21 08:53:31 -05:00
morluto de6e5ff9e0 test(web): consolidate CDP policy and metadata proofs (#13102) 2026-11-21 08:41:54 -05:00
morluto 97f10e8957 test(web): consolidate passive CDP response header proofs (#13099) 2026-11-21 13:33:44 +00:00
morluto e6df39bbba test(web): consolidate Browser worker inventory proofs (#13098) 2026-11-21 08:25:28 -05:00
morluto 15855137b7 test(web): consolidate CDP binary body proofs (#13097)
* test(web): consolidate CDP UTF-8 response proofs

* test(web): consolidate cache byte fingerprint proofs

* test(web): check cache digests by entry identity
2026-11-21 13:22:15 +00:00
morluto e76b521461 test(web): consolidate CDP response body lifecycle proofs (#13094)
* test(web): consolidate CDP response body lifecycle proofs

* test(web): assert response diagnostic provenance
2026-11-21 07:53:59 -05:00
morluto 47a108e64e test(web): consolidate passive CDP event fact proofs (#13093) 2026-11-21 07:44:03 -05:00
morluto 750120a4ce test(web): consolidate passive CDP admission proofs (#13092)
* test(web): consolidate passive CDP frame claim proofs

* test(web): consolidate passive CDP event budget proofs
2026-11-21 12:37:56 +00:00
morluto cc24a0b4c0 test(web): consolidate CDP context retention proofs (#13090) 2026-11-21 12:19:01 +00:00
morluto 2d9c208817 test(web): consolidate capture completeness proofs (#13089) 2026-11-21 07:15:46 -05:00
morluto ca1c3284ba test(web): verify importer integrity through Chromium (#13076) 2026-11-21 11:23:56 +00:00
morluto 82224d9f6c test(web): consolidate artifact cleanup ownership proofs (#13077) 2026-11-21 11:18:32 +00:00
morluto f63915d6f2 test(web): consolidate interrupted module resolution evidence (#13072) 2026-11-21 05:58:59 -05:00
morluto 7b3457cdfe test(sourcemap): consolidate fetch deadline and cleanup proofs (#13062)
* test(sourcemap): prove admitted deadline cancels before reading

* test(sourcemap): consolidate HTTP cleanup and deadline evidence
2026-11-21 04:59:36 -05:00
morluto a9c9a530c0 test(sourcemap): consolidate browser evidence and interpretation budgets (#13061)
* test(sourcemap): consolidate interpretation budget lifetime checks

* test(sourcemap): share browser HTTP evidence fixtures
2026-11-21 09:54:33 +00:00
morluto c3406087b7 test(sourcemap): consolidate fetch cancellation and response ownership checks (#13059)
test(sourcemap): observe late fetch cleanup ownership
2026-11-21 09:41:06 +00:00
morluto 2533a8b32b fix(electron): preserve waits and cancellation through renderer shutdown (#12972)
* fix(electron): preserve scenario waits through renderer crashes

* fix(electron): retain action cancellation across final Inspector failure

* fix(electron): collect active state in a single Inspector call
2026-11-21 03:08:49 +00:00
morluto 6d74dbe5cc test(electron): consolidate capture cleanup coverage (#12958)
* test(electron): consolidate capture cleanup coverage

* test(electron): point lifecycle coverage to retained cleanup proof
2026-11-20 23:39:35 +00:00
morluto 32e5f5bc1c test(electron): consolidate action and projection coverage (#12959)
* test(electron): consolidate action and projection coverage

* style(tests): format Electron action diagnostics assertion
2026-11-20 23:39:25 +00:00
morluto 8d2eb16710 test(electron): consolidate fuse preflight coverage (#12957)
* test(electron): consolidate fuse preflight coverage

* test(electron): assert fuse cancellation reason identity
2026-11-20 23:33:47 +00:00
morluto 2bac1b5add test(electron): consolidate file admission and cleanup coverage (#12953) 2026-11-20 23:12:10 +00:00
morluto 70eb0b6722 test(browser): verify result budgets and memory attribution structurally (#12886) 2026-11-20 16:51:12 +00:00
morluto 87940b192c test(browser): consolidate worker framing and cleanup checks (#12885)
* test(browser): synchronize worker stderr and final cleanup checks

* test(browser): consolidate exact worker control frame coverage
2026-11-20 16:42:27 +00:00
morluto 9ab18ba1da test(browser): sharpen HAR malformed input and producer guard checks (#12805)
* test(har): sharpen producer admission checks

* test(browser): construct empty HAR failure markers explicitly
2026-11-20 13:01:38 +00:00
morluto 6bb47ed777 test(browser): verify loopback lease order without a timing race (#12786)
* test(browser): prove loopback attach order without sleeps

* test(browser): join both attach attempts during cleanup
2026-11-20 12:41:51 +00:00
morluto fc5ba5473b test(browser): catch permissive decoding of malformed wire payloads (#12792)
test(browser): catch permissive response body decoding
2026-11-20 12:40:25 +00:00
morlutoandCursor Agent be14c9d475 test: own temporary directories through createTestTempDirectory in src/ tests (#12725)
Give per-test temporary directories to the shared helper so Vitest removes
them after the case. Keep directories whose lifetime is the assertion, or
that are shared from beforeAll, on their existing cleanup.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-11-20 04:10:06 +00:00
Taksh Kothari 79171a4d02 fix(browser): keep failed trace response statuses unknown (#12724)
Use the recorded HTTP response owner for Playwright trace headlines.
Preserve producer status sentinels and failure facts in the raw record,
without presenting unavailable responses as observed HTTP status codes.
2026-11-19 23:10:03 -05:00
74bdfd2ec2 test: assert structured recovery facts instead of recovery wording in src tests (#12721)
* test: assert structured recovery facts instead of recovery wording in src tests

Replace recovery-sentence locks with the structured fields that already
carry those facts, and own Batch 4 temporary directories through
createTestTempDirectory.

* test(hopper): keep recovery order that retry_action does not carry

retry_action names restart or unknown. It does not say to read
provider_operation_health before retrying, or to close_binary before
opening and retrying. Those order checks stay.

Co-authored-by: morluto <morluto@users.noreply.github.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: morluto <morluto@users.noreply.github.com>
2026-11-19 23:05:20 -05:00
morluto 2837de5159 fix(har): retain Playwright 1.64.1 bracketed IPv6 addresses (#12456) 2026-11-19 18:04:38 +00:00
morluto 6b4d1f7d9d fix(trace): retain cancellation after an earlier decode refusal (#12334) 2026-11-19 12:57:39 +00:00
morluto 7d5e9be81c fix(trace): report the enforced JSON parser limit (#12335)
fix(browser): report Playwright trace parser limits
2026-11-19 12:57:34 +00:00
b6363efc97 refactor(errors): compose multi-part provider cleanup failures through one owner (#12002)
* refactor(errors): compose multi-part provider cleanup failures through one owner

CdpBrowserProvider, CdpElectronProvider, FridaInstrumentationManager and
PlaywrightBrowserScenarioProvider each built the same composite by hand: a
ProviderCleanupError listing the parts' resources, an AggregateError cause,
and bindCleanupDependencies over the parts. providerCleanupErrorFromFailures
in src/domain/analysisErrorCleanup.ts now owns that composition. `causes`
keeps non-AnalysisError failures in the aggregate cause without making them
own completion, as the CDP providers did; `message` keeps the aggregate
messages Frida and Playwright used.

Tests: helper unit tests, new close-composition tests for both CDP providers,
and a Playwright test with two failed cleanup retries. They pass on the base
revision and on this change, and fail when the helper drops the dependency
binding, the extra causes or the message.

Lowers the cleanup-dependency-binding baseline to 43 files / 73 sites.

Refs #11859

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* style(test): format the Playwright cleanup test with oxfmt

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(errors): assert cleanup composition facts instead of reason prose

Follows docs/development/testing.md: the close-composition tests now check
provider, operation, resources, aggregate causes and completion, not the
explanatory reason or aggregate message. A harmless wording change passes;
a lost binding, lost cause or wrong operation still fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Anant Mandanka <anant.mandanka@renaissancejewel.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 12:51:28 +00:00
ClarkandClark 7bc8a62c21 refactor(errors): inherit live cleanup ownership through shared domain helper (#12077)
Co-authored-by: Clark <301422770+clark970417-eng@users.noreply.github.com>
2026-11-19 07:31:26 -05:00
morluto cf6116a284 fix(web): recover type-wrapped source-map requires (#12304) 2026-11-19 12:11:43 +00:00
morluto 95b4b8445c fix(captures): report the enforced Protobuf decode budget (#12300) 2026-11-19 12:02:55 +00:00