Skip to content

Add CI workflow with supercov coverage floors - #33

Merged
Nedomas merged 1 commit into
mainfrom
e2e-ci
Oct 17, 2026
Merged

Nedomas merged 1 commit into
mainfrom
e2e-ci

Conversation

@Nedomas

@Nedomas Nedomas commented Oct 17, 2026

Copy link
Copy Markdown
Member

Third of three stacked PRs (tests → source changes → CI).

What

Adds .github/workflows/test.yml, the repo's first CI. On every PR and on pushes to main, three jobs run in parallel, each with a Postgres service container:

  • server: builds @superinterface/react (the server imports its build), then runs the full server suite under supercov.
  • react: builds react, then runs the vitest suite, which starts the real server.
  • embeds: installs Chromium, builds root-element, react and javascript, then runs both Playwright suites.

.github/scripts/checkCoverage.mjs fails a job when its tests fail, its supercov run isn't valid, or coverage drops below the floor:

Package Lines Branches MC/DC
server, javascript, root-element 100% 100% 100%
react 100% ≥ 99.3% ≥ 99.4% (two documented gaps)

Secrets

Real-provider integration tests read TEST_OPENAI_API_KEY, TEST_ANTHROPIC_API_KEY, TEST_GOOGLE_API_KEY, TEST_OPENROUTER_API_KEY and the TEST_AZURE_* values (same names as packages/server/.env.test). Without them those tests skip with a reason and CI stays green; Docker computer-use tests skip in CI because the computer-use-mcp repo isn't checked out.

Verified

All three jobs' steps pass locally in a clean checkout without .env files or provider keys. This PR's own run is the first on GitHub.

@vercel

vercel Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
superinterface-examples-audio-thread Ready Ready Preview Oct 17, 2026 10:18am UTC
superinterface-examples-audio-thread-dialog-realtime Ready Ready Preview Oct 17, 2026 10:18am UTC
superinterface-examples-code-canvas Ready Ready Preview Oct 17, 2026 10:18am UTC
superinterface-examples-components Ready Ready Preview Oct 17, 2026 10:18am UTC
superinterface-examples-form-filling Ready Ready Preview Oct 17, 2026 10:18am UTC
superinterface-examples-group-iframe Building Building Preview Oct 17, 2026 10:18am UTC
superinterface-examples-primitives Ready Ready Preview Oct 17, 2026 10:18am UTC
superinterface-examples-reset-thread Ready Ready Preview Oct 17, 2026 10:18am UTC
superinterface-examples-self-hosted Ready Ready Preview Oct 17, 2026 10:18am UTC
superinterface-examples-thread Ready Ready Preview Oct 17, 2026 10:18am UTC
superinterface-examples-thread-dialog Ready Ready Preview Oct 17, 2026 10:18am UTC
superinterface-examples-thread-dialog-script-tag Building Building Preview Oct 17, 2026 10:18am UTC

Request Review

@Nedomas
Nedomas changed the base branch from e2e-src to main October 17, 2026 10:23
@Nedomas
Nedomas merged commit 170705d into main Oct 17, 2026
16 checks passed
@Nedomas
Nedomas deleted the e2e-ci branch October 17, 2026 10:36

This branch was successfully deployed

12 active deployments
Preview – superinterface-examples-components — 7ffb1001 Deployed Oct 17, 2026 by vercel[bot]
Preview – superinterface-examples-code-canvas — 7ffb1001 Deployed Oct 17, 2026 by vercel[bot]
Preview – superinterface-examples-audio-thread — 7ffb1001 Deployed Oct 17, 2026 by vercel[bot]
Preview – superinterface-examples-audio-thread-dialog-realtime — 7ffb1001 Deployed Oct 17, 2026 by vercel[bot]
Preview – superinterface-examples-self-hosted — 7ffb1001 Deployed Oct 17, 2026 by vercel[bot]
Preview – superinterface-examples-form-filling — 7ffb1001 Deployed Oct 17, 2026 by vercel[bot]
Preview – superinterface-examples-primitives — 7ffb1001 Deployed Oct 17, 2026 by vercel[bot]
Preview – superinterface-examples-reset-thread — 7ffb1001 Deployed Oct 17, 2026 by vercel[bot]
Preview – superinterface-examples-thread-dialog — 7ffb1001 Deployed Oct 17, 2026 by vercel[bot]
Preview – superinterface-examples-thread — 7ffb1001 Deployed Oct 17, 2026 by vercel[bot]
Preview – superinterface-examples-thread-dialog-script-tag — 7ffb1001 Deployed Oct 17, 2026 by vercel[bot]
Preview – superinterface-examples-group-iframe — 7ffb1001 Deployed Oct 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant