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
Sam Carlton
c2021fe6fd
Fix v2 scans timing out after finishing
2022-08-07 16:07:30 -05:00
Sam Carlton
9e1a7c0158
Fix scan page not receiving v2 messages
2022-08-07 16:07:01 -05:00
Sam Carlton
dcf0a3a265
Use runScanWorker for v2 scan
2022-08-07 15:15:01 -05:00
Sam Carlton
b857977fbe
Reenable V2 Scanner
2022-07-27 21:25:49 -05:00
Sam Carlton
f22bfe4d03
Import zip.js at top
2022-07-22 12:20:12 -05:00
Sam Carlton
9e16769fa5
Disable v2 scanner
2022-07-21 22:57:41 -05:00
Sam Carlton
622856cacb
Move pretty bytes with other modules
2022-07-21 22:15:56 -05:00
Sam Carlton
ca58913ccc
Convertr scanner client to mjs
2022-07-21 21:52:12 -05:00
Sam Carlton
78f3b7a04a
Enable new scan with version 2 query parameter
2022-07-21 21:48:21 -05:00
Sam Carlton
e58e245225
Fix misspelling
2022-07-16 13:55:05 -05:00
Sam Carlton
78174b242e
Use import() for zip js
2022-05-03 15:08:13 -05:00
Sam Carlton
0f6dbb47d5
Add makeObservableArray function
2022-05-02 22:49:36 -05:00
Sam Carlton
b90f726bc1
Import prettyBytes
2022-05-02 22:13:48 -05:00
Sam Carlton
27ebf55bb7
Use check-types helper
2021-11-28 23:44:06 -06:00
Sam Carlton
41c0457fcd
Double scan timeout
2021-04-23 13:29:52 -05:00
Sam Carlton
0b1382986e
Add suggestion for decompressiono error
2021-03-08 12:16:21 -06:00
Sam Carlton
5fb6c9aa04
Fix reporting empty message
2021-02-16 15:38:20 -06:00
Sam Carlton
56a21124d2
Report supported app version when found
2021-02-16 12:18:42 -06:00
Sam Carlton
879d27dcb4
Only scan bundle execuable macho file
2021-02-06 22:03:30 -06:00
Sam Carlton
148f1c41b1
Clean up loggers
2021-02-06 16:53:39 -06:00
Sam Carlton
a70a58ff20
Save scans
2021-02-06 16:22:56 -06:00
Sam Carlton
b5adbe5b78
Display app and binary size
2021-02-03 14:27:36 -06:00
Sam Carlton
fef66dfd3c
Don’t rescan files
2021-02-02 23:22:19 -06:00
Sam Carlton
d0aea7031b
Clean up code
2021-02-02 23:18:11 -06:00
Sam Carlton
f3b8fcdc09
Specify app file is not native
2021-02-02 23:18:04 -06:00
Sam Carlton
522cc8b704
Move native apps to top
2021-02-02 23:17:42 -06:00
Sam Carlton
2338aeceb1
Find and use app info file
2021-02-02 22:17:48 -06:00
Sam Carlton
48522c7ddd
Move non-native app note to page
2021-02-02 21:24:53 -06:00
Sam Carlton
c53cab6a01
Make unsupported icon to be closer to ‘not native’
2021-02-02 14:44:16 -06:00
Sam Carlton
f07355215b
Use clearer verbiage in status messsages
2021-01-30 21:00:26 -06:00
Sam Carlton
98418133d5
Add one second delay between promises
2021-01-30 19:25:24 -06:00
Sam Carlton
cd8dba8c95
Use question mark emoji for failed processing
2021-01-30 19:08:27 -06:00
Sam Carlton
918a703df7
Report app status
2021-01-30 18:13:06 -06:00
Sam Carlton
04c0b7aeae
Comment and clean code
2021-01-30 15:11:28 -06:00
Sam Carlton
8c716cd145
Move Mach-o search code to findMachOEntries
2021-01-30 15:06:55 -06:00
Sam Carlton
9f2fbda601
Add finished scan states
2021-01-30 14:48:06 -06:00
Sam Carlton
7b8021e35b
Support matching multiple mach-o files
2021-01-30 13:50:57 -06:00
Sam Carlton
e694b96580
Unzip and Read Mach-o files via scanner
2021-01-30 00:48:36 -06:00