You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: lint, type-check and test the worker and shared packages #86
.github/workflows/ci.yml:38-42 type-checks only server and extension. eslint.config.js has no block for packages/worker or packages/shared (ESLint reports the worker file as ignored). The worker has no tests.
What happens
Contract drift between the worker and Express (headers, /health, sizes) reaches the default production backend without any check failing.
Fix
Add cd packages/worker && npx tsc --noEmit to CI, extend the TS ESLint block to packages/{worker,shared}/src/**/*.ts, and add a small vitest file that calls the worker's fetch(new Request(...)) directly to check sizes, CORS and Timing-Allow-Origin headers, and 404/415 responses.
Status on 2026-10-27: #100 adds ESLint and tsc --noEmit for services/worker, packages/shared and packages/reports to CI; worker tests already run. Closes when #100 merges.
Activity
ajithakdev commentedon Oct 26, 2026
Status on 2026-10-27: #100 adds ESLint and
tsc --noEmitforservices/worker,packages/sharedandpackages/reportsto CI; worker tests already run. Closes when #100 merges.ajithakdev commentedon Oct 30, 2026
Fixed in v2027.0.2 (#100): CI now lints and type-checks the worker, @meterx/shared and @meterx/reports.