Skip to content

[Bug]: CI never runs a TypeScript typecheck; main fails tsc --noEmit with 9 errors #469

Open

Description

@ayanasarkar

Bug Description

.github/workflows/ci.yml (pull_request into main) only runs biome ci and npm run build. vite build does not type-check, so type errors can never fail CI, and package.json has no typecheck script. At main@71d5717, npx tsc --noEmit reports 9 errors. One of them (#450, missing execSync import in gstManager.ts) is a real runtime ReferenceError on Linux that a typecheck step would have caught. PR #461 (#461) touched src/server/clipboard.test.ts and merged with all 8 checks passing (including CI/validate), and that file still fails tsc today.

Steps to Reproduce

  1. git checkout 71d5717 && npm ci
  2. npx tsc --noEmit
  3. 9 errors: gstManager.ts(99,17) TS2304 Cannot find name 'execSync' (see [Bug]: ReferenceError: execSync is not defined during Linux audio monitor sink detection in gstManager #450), and 8x TS2740 in src/server/clipboard.test.ts (lines 66, 77, 87, 106, 123, 124, 139, 140): MockChildProcess is missing properties from ChildProcess
  4. Open .github/workflows/ci.yml: no step runs tsc

Expected Behavior

CI fails on type errors: a typecheck script (tsc --noEmit) exists and runs in ci.yml, once the existing errors are fixed. Related but separate: #456 (Vitest in CI) and #450 (execSync import). Happy to add the script, the CI step and a properly typed MockChildProcess mock if that is welcome.

Desktop Operating System

Windows 11

Client OS and browser

N/A - tooling/CI issue, no client involved

Rein Version

1.0.0 (main @ 71d5717)

Console Logs / Error Messages (Optional)

src/server/clipboard.test.ts(66,4): error TS2740: Type 'MockChildProcess' is missing the following properties from type 'ChildProcess': stderr, stdio, killed, connected, and 10 more.
src/server/clipboard.test.ts(77,36): error TS2740: Type 'MockChildProcess' is missing the following properties from type 'ChildProcess': stderr, stdio, killed, connected, and 10 more.
src/server/clipboard.test.ts(87,4): error TS2740: Type 'MockChildProcess' is missing the following properties from type 'ChildProcess': stderr, stdio, killed, connected, and 10 more.
src/server/clipboard.test.ts(106,36): error TS2740: Type 'MockChildProcess' is missing the following properties from type 'ChildProcess': stderr, stdio, killed, connected, and 10 more.
src/server/clipboard.test.ts(123,25): error TS2740: Type 'MockChildProcess' is missing the following properties from type 'ChildProcess': stderr, stdio, killed, connected, and 10 more.
src/server/clipboard.test.ts(124,25): error TS2740: Type 'MockChildProcess' is missing the following properties from type 'ChildProcess': stderr, stdio, killed, connected, and 10 more.
src/server/clipboard.test.ts(139,25): error TS2740: Type 'MockChildProcess' is missing the following properties from type 'ChildProcess': stderr, stdio, killed, connected, and 10 more.
src/server/clipboard.test.ts(140,25): error TS2740: Type 'MockChildProcess' is missing the following properties from type 'ChildProcess': stderr, stdio, killed, connected, and 10 more.
src/server/gstreamer/gstManager.ts(99,17): error TS2304: Cannot find name 'execSync'.

Screenshots / Recordings (Optional)

No response

Checklist

  • I have searched for existing issues to avoid duplicates

Activity

  1. github-actions commented on Nov 12, 2026

    @github-actions

    Discussions are carried on Discord.

    Instead of commenting here, go to the Discord channel.

  2. ayanasarkar commented on Nov 12, 2026

    @ayanasarkar
    Author

    can i work on this issue?

  3. gitcordapp commented on Nov 12, 2026

    @gitcordapp

    Link your account with Gitcord

    Thanks for opening this issue, @ayanasarkar!

    To receive Discord notifications and contributor tracking for this organization:

    1. Join Discord: https://discord.gg/hjUhu33uAn
    2. In Discord, run /link ayanasarkar
    3. Paste the verification code into your GitHub bio (or a public gist)
    4. Click Verify in Discord (or run /verify-link ayanasarkar)

    Once linked, Gitcord can notify you about assignments, mentions, and more.

    — Posted by Gitcord

  4. SYED-IRTEZA-HUSSAIN-RIZVI commented on Nov 12, 2026

    @SYED-IRTEZA-HUSSAIN-RIZVI

    Hi @imxade, Can I work on this issue?

  5. PinJinx commented on Nov 15, 2026

    @PinJinx
    Contributor

    Since @ayanasarkar was the one who originally created this issue, I'd like to give them the first opportunity to work on it.

    everyone else who have already submitted PRs for this issue, I'll temporarily close those PRs to avoid multiple people working on the same thing.

    If @ayanasarkar is not interested in working on it or doesn't respond within a reasonable timeframe, I'll review the existing PRs and merge the most suitable one.

    Thanks for your understanding!

  6. ayanasarkar commented on Nov 15, 2026

    @ayanasarkar
    Author

    Since @ayanasarkar was the one who originally created this issue, I'd like to give them the first opportunity to work on it.

    everyone else who have already submitted PRs for this issue, I'll temporarily close those PRs to avoid multiple people working on the same thing.

    If @ayanasarkar is not interested in working on it or doesn't respond within a reasonable timeframe, I'll review the existing PRs and merge the most suitable one.

    Thanks for your understanding!

    sure i am on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions