Commit graph

23 commits

Author SHA1 Message Date
ThatGuySam
689fc0d13d refactor(scanner): type the worker path and align app-test results
Move the worker scanner surface into TypeScript, add a direct worker regression, and make the version=2 app-test path populate the same visible result data and final status as the legacy scanner. This keeps the refactor bounded while making the worker route safe to exercise.

Constraint: Must preserve the existing Apple Silicon app-test behavior while changing the worker internals
Rejected: Flip production to the worker path immediately | still needs the normal deploy path and broader production soak
Confidence: medium
Scope-risk: moderate
Reversibility: clean
Directive: Keep the version=2 adapter using the shared finishFileScan path until the legacy scanner can be removed entirely
Tested: pnpm run typecheck; pnpm exec vitest run test/scanner/client.test.ts; pnpm run test:browser (original workspace); netlify build --context deploy-preview (original workspace)
Not-tested: Browser suite from the clean clone environment (local Astro dev server startup timed out there)
2026-04-04 14:58:25 -05:00
ThatGuySam
fddfa9d5a4 update: disable ava test suites 2024-12-27 14:48:54 -06:00
Sam Carlton
8b15f2580b Pass all message details through receivers 2022-08-20 21:34:29 -05:00
Sam Carlton
d37603fcd5 Move scan business login into scan file 2022-08-07 14:33:58 -05:00
Sam Carlton
50e707a4ac Test using worker 2022-08-07 14:18:41 -05:00
Sam Carlton
ceba0cadaa Import vitest/web-worker 2022-08-05 14:10:31 -05:00
Sam Carlton
ffab2c6f67 Fix scanner cleint import 2022-07-21 22:14:14 -05:00
Sam Carlton
ca58913ccc Convertr scanner client to mjs 2022-07-21 21:52:12 -05:00
Sam Carlton
4d690b1856 Convert scanner test to module 2022-07-21 19:54:01 -05:00
Sam Carlton
31276924aa Add note about Coreform-Cubit 2022-07-18 21:38:15 -05:00
Sam Carlton
f98a3f7ae1 Add experimental 7z compressor 2022-07-18 21:23:21 -05:00
Sam Carlton
4b73486688 Delete existing archives 2022-07-18 21:22:48 -05:00
Sam Carlton
383a4b2730 Add notes on unsupported bundles 2022-07-18 21:21:53 -05:00
Sam Carlton
1f1adde7f9 Disable processorSubType test 2022-07-18 18:43:24 -05:00
Sam Carlton
e37d0418bd Use scan.supportedArchitectures getter 2022-07-18 18:43:12 -05:00
Sam Carlton
d9e37b473c Test that processorType is valid 2022-07-18 18:03:38 -05:00
Sam Carlton
b96353dc3c Expect processorSubType to be truthy 2022-07-18 16:55:44 -05:00
Sam Carlton
298436da95 Enable result info 2022-07-16 22:54:32 -05:00
Sam Carlton
70e72a86e4 Enable parsing macho file 2022-07-16 22:01:01 -05:00
Sam Carlton
33dbd93dec Test each app concurently 2022-07-16 18:46:09 -05:00
Sam Carlton
2a525d93d5 Test that App Scan can read plist 2022-07-16 18:37:42 -05:00
Sam Carlton
48d229dde1 Import scanner the same way it’s imported in usage 2022-07-16 13:58:44 -05:00
Sam Carlton
41283f9e6b Test that scanner can be intialized 2022-07-16 13:57:20 -05:00