Loading workspace insights... Statistics interval
7 days30 daysLatest CI Pipeline Executions
03bbdaf7 ci: type-check examples/** and testing/** to catch call-site regressions (#820)
`test:pr`/`test:ci` excluded examples/** and testing/** from every target, so
`test:types` never checked the apps where the library is actually consumed —
call-site type regressions (e.g. a provider summarize adapter not assignable to
`summarize()`) slipped through CI. Because those surfaces were never type-checked,
they had also accumulated ~80 latent type errors.
CI wiring:
- test:pr / test:ci now run a second pass — `test:types` over examples/** and
testing/** — after the existing packages-only run. Heavy targets (build/lib/...)
stay excluded; only the cheap, high-value type check is added.
- Add `test:types:examples` convenience script and document the gate in CLAUDE.md.
Coverage:
- Add a `test:types` target to every example/testing project that lacked one
(e2e, panel, react-native-chat, react-native-smoke). ts-angular-chat type-checks
templates via `ngc`, resolved from an existing @angular/build peer (no new dep,
no lockfile change).
Fixes (examples/testing drift from the current API; nothing under packages/**):
- ts-react-chat, ts-solid-chat, ts-code-mode-web: MediaPrompt, maxTokens→modelOptions,
ContentPart[] narrowing, transport XOR, onResult result-type inference (#848).
- testing/e2e: drop poisoning `as never` model casts, fix adapter/tool typings,
OpenRouter summarize httpClient header injection.
- testing/panel: AnyAdapter factory maps, AG-UI EventType migration, remove dead
app.config.ts (Vinxi-era), rewrite createEventRecording to emit AG-UI StreamChunks.
Guard:
- packages/ai-grok/tests/summarize-callsite-type-safety.test.ts asserts the
grokSummarize → summarize() contract in an included package — a positive
assertion now that the options-shape fix (#854) has landed, so a regression
surfaces as a real type error instead of silently.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> 4d617a60 ci: type-check examples/** and testing/** to catch call-site regressions (#820)
`test:pr`/`test:ci` excluded examples/** and testing/** from every target, so
`test:types` never checked the apps where the library is actually consumed —
call-site type regressions (e.g. a provider summarize adapter not assignable to
`summarize()`) slipped through CI. Because those surfaces were never type-checked,
they had also accumulated ~80 latent type errors.
CI wiring:
- test:pr / test:ci now run a second pass — `test:types` over examples/** and
testing/** — after the existing packages-only run. Heavy targets (build/lib/...)
stay excluded; only the cheap, high-value type check is added.
- Add `test:types:examples` convenience script and document the gate in CLAUDE.md.
Coverage:
- Add a `test:types` target to every example/testing project that lacked one
(e2e, panel, react-native-chat, react-native-smoke). ts-angular-chat type-checks
templates via `ngc`, resolved from an existing @angular/build peer (no new dep,
no lockfile change).
Fixes (examples/testing drift from the current API; nothing under packages/**):
- ts-react-chat, ts-solid-chat, ts-code-mode-web: MediaPrompt, maxTokens→modelOptions,
ContentPart[] narrowing, transport XOR.
- testing/e2e: drop poisoning `as never` model casts, fix adapter/tool typings,
OpenRouter summarize httpClient header injection.
- testing/panel: AnyAdapter factory maps, AG-UI EventType migration, remove dead
app.config.ts (Vinxi-era), rewrite createEventRecording to emit AG-UI StreamChunks.
Guard:
- packages/ai-grok/tests/summarize-callsite-type-safety.test.ts asserts the
grokSummarize → summarize() contract in an included package (@ts-expect-error
tracks the known #821 options-shape bug; flips positive when #835 lands).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>