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
fix: harden investigator/update invariants and stabilize CI linting
Implement the tier #1/#2/#4 follow-up fixes and isolate them from unrelated workspace files.
Behavioral and type-safety fixes:
- remove unsafe tuple assertion in OpenAI investigator update flow by building old-claim ID tuples with explicit guards
- ensure update prompt tests use branded ClaimId values (matches stricter investigator input contract)
- add focused unit coverage for date parsing/optional-date strictness behavior
- fix extension API client initialization regression by importing DEFAULT_EXTENSION_SETTINGS
- tighten Substack fingerprint probing with explicit runtime type checks
- fix E2E variable shadowing in post-route regression tests
Shared helper cleanup:
- add extension-level describeError helper and Substack URL helper + unit tests
CI/lint stabilization:
- adjust ESLint type-aware project-service config to avoid parser/service failures on test files
- keep strict type-aware linting on production TS while using non-type-aware test lint rules
- disable unused-disable directive reporting noise in this flat config setup
- apply required Prettier formatting updates for files now checked by lint:ci
Validation run locally:
- pnpm typecheck
- pnpm lint:ci
- pnpm run test:unit:coverage
- pnpm run test:integration:api
- pnpm run test:e2e:extension:ci
(all passing)
0 commit comments