Skip to content

Commit 415e371

Browse files
authored
fix(ci): generate registry.json before starter deployed smoke tests (CopilotKit#4247)
## Summary Fixes the repeating "Starter Deployed Smoke Test Failed — 0 failure(s) — job-level error" alerts in #oss-alerts. **Root cause:** `integration-smoke.spec.ts` imports `registry.json`, which is now gitignored (generated at build time, removed from tracking in PR CopilotKit#4236). The CI workflow didn't run the generator before tests, so the import fails with "Cannot find module." **Fix:** Add a `generate-registry` step before the Playwright test run. ## Test plan - [ ] Next scheduled run (or manual dispatch) passes without "Cannot find module" error - [ ] #oss-alerts stops receiving "job-level error" messages
2 parents ec938b6 + 1baf168 commit 415e371

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/test_smoke-starter-deployed.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ jobs:
6969
run: npm ci
7070
working-directory: showcase/tests
7171

72+
- name: Generate registry data
73+
run: |
74+
cd showcase/scripts && npm ci && node node_modules/tsx/dist/cli.mjs generate-registry.ts
75+
7276
- name: Install Playwright
7377
working-directory: showcase/tests
7478
run: npx playwright install chromium --with-deps

0 commit comments

Comments
 (0)