[Bug]: CI never runs a TypeScript typecheck; main fails `tsc --noEmit` with 9 errors
Maintainers usually reply within 2 days
@ayanasarkar is already working on this.
Since Nov 15, 2026.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 65/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- github-actions, typescript
Research direction
Start by reading .github/workflows/ci.yml and package.json, then run npx tsc --noEmit to confirm the reported errors in src/server/clipboard.test.ts and src/server/gstreamer/gstManager.ts. Add a typecheck script and CI step after the existing type errors are resolved. Done when CI runs the typecheck and fails on TypeScript errors.
Written by the indexing model from the issue text.
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 (https://github.com/AOSSIE-Org/Rein/pull/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 #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
- Dominant language
- TypeScript
- Stars
- 55
- Forks
- 120
- Avg merge
- 4d 5h
- Merged PRs (30d)
- 24
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AOSSIE-Org/Rein
-
[Bug]: JSON body null returns 500 on /api/clipboard/copy and /api/clipboard/pastePossibly taken A pull request linked to this issue is open or already merged. Openbug enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
AOSSIE-Org/Rein#522 · 1 comment ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AOSSIE-Org/Rein#509 · 3 comments ·
Maintainers usually reply within 2 days
-
[Bug]: Session tokens expire 10 days after creation regardless of use (touchToken is never called)Possibly taken @Ankitavasudev claimed this 12 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
AOSSIE-Org/Rein#466 · 6 comments · 1 assignee ·
Maintainers usually reply within 2 days
-
[Bug]: Uploaded files are saved with garbled non-ASCII names and overwrite existing files with the same namePossibly taken @Aryan-en claimed this 23 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
AOSSIE-Org/Rein#458 · 5 comments ·
Maintainers usually reply within 2 days
-
[Bug]: Missing WebRTC playoutDelayHint introduces 50-100ms artificial latency and redundant MediaStream recreation triggers video pipeline reloadPossibly taken @MPoojaSiyag claimed this 1 day ago. Openbug enhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
AOSSIE-Org/Rein#523 · 1 comment ·
Maintainers usually reply within 2 days
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
review-followup
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
griffinwork40/agent-afk#5387 ·
Maintainers usually reply within 1 day
-
bug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CodeManufactoryLLC/Code60#358 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
android:plan ios:plan main:plan packages:learn
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day