Commit graph

8 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
0a85f4d48d update: refactor main into vitest
Some checks failed
Deploy to Cloudflare Workers with Wrangler / Deploy (push) Has been cancelled
Run Ava Tests / build (14.x) (push) Has been cancelled
Run Ava Tests / build (15.x) (push) Has been cancelled
2025-02-10 20:27:05 -06:00
ThatGuySam
0afc64c5e9 update: enable api client test again 2025-01-11 19:27:02 -06:00
ThatGuySam
559e47c8fa update: enable helpers again 2024-12-27 15:25:57 -06:00
ThatGuySam
411df75c52 update enable listings tests
Some checks failed
Deploy to Cloudflare Workers with Wrangler / Deploy (push) Has been cancelled
Run Ava Tests / build (14.x) (push) Has been cancelled
Run Ava Tests / build (15.x) (push) Has been cancelled
2024-12-27 15:19:56 -06:00
ThatGuySam
48be5593d3 update: refactor primary prebuild tests to vitest 2024-12-27 15:07:28 -06:00
ThatGuySam
bff6fd4494 update: refactor filters test to vitest 2024-12-27 15:04:46 -06:00
ThatGuySam
fddfa9d5a4 update: disable ava test suites 2024-12-27 14:48:54 -06:00