Repository navigation
Description
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
- git checkout 71d5717 && npm ci
- npx tsc --noEmit
- 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 - 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
github-actions commentedon Nov 12, 2026
Discussions are carried on Discord.
Instead of commenting here, go to the Discord channel.
ayanasarkar commentedon Nov 12, 2026
can i work on this issue?
gitcordapp commentedon Nov 12, 2026
Link your account with Gitcord
Thanks for opening this issue, @ayanasarkar!
To receive Discord notifications and contributor tracking for this organization:
/link ayanasarkar/verify-link ayanasarkar)Once linked, Gitcord can notify you about assignments, mentions, and more.
— Posted by Gitcord
SYED-IRTEZA-HUSSAIN-RIZVI commentedon Nov 12, 2026
Hi @imxade, Can I work on this issue?
PinJinx commentedon Nov 15, 2026
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!
ayanasarkar commentedon Nov 15, 2026
sure i am on it
ci: add typecheck step and fix existing type errors (AOSSIE-Org#469)
ci: add typecheck step and fix existing type errors (AOSSIE-Org#469)