-
Notifications
You must be signed in to change notification settings - Fork 2
[Test] Compile and smoke-run examples/ in CI #545
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestinfrastructureCI / build / live-integration testsCI / build / live-integration testspriority: highTop priority — high impact, plan nextTop priority — high impact, plan nextproduction-goalBlocks or defines the path to production readinessBlocks or defines the path to production readiness
Description
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestinfrastructureCI / build / live-integration testsCI / build / live-integration testspriority: highTop priority — high impact, plan nextTop priority — high impact, plan nextproduction-goalBlocks or defines the path to production readinessBlocks or defines the path to production readiness
Use case
examples/(81 standalone snippets + the chat and voice apps) is never compiled and never executed by CI: no workflow or package script references it, it is excluded from the build tsconfig, and the only config that would type-check it (typecheck:dev) runs nowhere. The chat/voicesmoke-test.tsfiles exist but are documented as manual and wired to nothing; exactly one example has any test. AGENTS.md declares examples part of the breaking-change adoption sweep — nothing enforces that, so examples rot silently and first-impression code is the least-verified code in the repo.Proposed approach
typecheck:dev(prerequisite).tests/smoke/run-cases.mjs, which can likely be generalized.examples/chat/smoke-test.tsandexamples/voice/smoke-test.tsinto the same job.Acceptance criteria
Related