--- id: TASK-22 title: Add source assertions for Convex AL2023 Chromium lib setup status: Done assignee: [] created_date: '2026-06-04 16:37' updated_date: '2026-06-10 19:27' labels: [] dependencies: [] priority: high ordinal: 24000 --- ## Description Add tests that fail until websiteEnrichmentAction explicitly handles AL2023 shared libs for chromium-min packaging in Convex. ## Acceptance Criteria - [x] #1 Test asserts chromium-min dynamic import exposes inflate/setupLambdaEnvironment or explicit LD_LIBRARY_PATH handling for /tmp/al2023/lib. - [x] #2 Assertion checks that runtime setup runs before Playwright launch and after executablePath resolution. ## Implementation Plan 1. Add source assertions for AL2023 runtime setup and launch ordering 2. Run focused website-enrichment action test 3. Confirm failing output and report ## Implementation Notes Added source-only assertion in tests/website-enrichment-action.test.ts for AL2023 lib setup. Targeted run `pnpm tsc -p tsconfig.test.json && node --test .test-output/tests/website-enrichment-action.test.js` currently fails as expected on current action source (missing setup/LD_LIBRARY_PATH/al2023 archive handling). GREEN follow-up completed: runtime action now exposes chromium-min inflate/setupLambdaEnvironment, prepares /tmp/al2023/lib after executablePath resolution and before Playwright launch, and focused/full verification passes. ## Final Summary Closed per explicit user request while switching project tracking to pitchfast.