Files
pitchfast/backlog/tasks/task-22 - Add-source-assertions-for-Convex-AL2023-Chromium-lib-setup.md

1.7 KiB

id, title, status, assignee, created_date, updated_date, labels, dependencies, priority, ordinal
id title status assignee created_date updated_date labels dependencies priority ordinal
TASK-22 Add source assertions for Convex AL2023 Chromium lib setup Done
2026-06-04 16:37 2026-06-10 19:27
high 24000

Description

Add tests that fail until websiteEnrichmentAction explicitly handles AL2023 shared libs for chromium-min packaging in Convex.

Acceptance Criteria

  • #1 Test asserts chromium-min dynamic import exposes inflate/setupLambdaEnvironment or explicit LD_LIBRARY_PATH handling for /tmp/al2023/lib.
  • #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.