Skip to content

ci: run unit tests and typecheck before proxy integration - #87

Merged
proxymesh merged 2 commits into
mainfrom
cursor/ci-unit-tests-d8f0
Nov 2, 2026
Merged

proxymesh merged 2 commits into
mainfrom
cursor/ci-unit-tests-d8f0

Conversation

@proxymeshai

@proxymeshai proxymeshai commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Unit tests and the typecheck run inside the existing integration job, immediately after npm ci and before the PROXY_URL check. No new workflow.

npm run test:unit was already that step. This adds npm run test:types next to it, so both finish before any proxy secret is required. The separate CI workflow from the first draft is removed.

tsconfig.json drops baseUrl. TypeScript 7.0.2 removed that option, so npm run test:types failed on current main. paths still typecheck.

Test plan

  • npm run test:unit — 23 passed, 0 failed (includes the undici tunnel and got proxy-bypass cases)
  • npm run test:types — passes after removing baseUrl
  • actionlint on the integration workflow
  • integration check on this PR: unit tests (23 passed) and typecheck succeeded before the live proxy tests, which also passed
Open in Web Open in Cursor 

cursoragent and others added 2 commits November 2, 2026 22:21
The integration job is the only test check, and it does not run on pushes
to main. Add a secret-free CI workflow for npm run test:unit and
npm run test:types.

TypeScript 7 removed baseUrl, which made the existing typecheck script fail.
Drop that option so the types job can pass.

Co-authored-by: ProxyMesh AI <proxymeshai@users.noreply.github.com>
Drop the separate workflow. Unit tests already run after install; add
the typecheck step beside them, before the PROXY_URL check.

Co-authored-by: ProxyMesh AI <proxymeshai@users.noreply.github.com>
@cursor cursor Bot changed the title ci: run unit tests and typecheck on pull requests and main ci: run unit tests and typecheck before proxy integration Nov 2, 2026
@proxymeshai
proxymeshai marked this pull request as ready for review November 2, 2026 22:23
@proxymesh
proxymesh merged commit 0df55c6 into main Nov 2, 2026
2 checks passed
@proxymesh
proxymesh deleted the cursor/ci-unit-tests-d8f0 branch November 2, 2026 22:25
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.

3 participants