Skip to content

Fix TypeScript type check CI failure: rootDir/tests conflict#5

Merged
mrjf merged 3 commits intocopilot/autoloop-build-tsb-pandas-migrationfrom
copilot/fix-github-actions-workflow
Apr 3, 2026
Merged

Fix TypeScript type check CI failure: rootDir/tests conflict#5
mrjf merged 3 commits intocopilot/autoloop-build-tsb-pandas-migrationfrom
copilot/fix-github-actions-workflow

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 3, 2026

tsc --noEmit was failing because tsconfig.json included tests/**/* while rootDir was set to ./src, causing two errors:

  • TS6059: test files not under rootDir
  • TS5097: .ts extension imports (e.g. from "../src/index.ts") disallowed without allowImportingTsExtensions

Changes

tsconfig.json

  • rootDir: "./src"rootDir: "." — both src/ and tests/ now under root scope
  • Added allowImportingTsExtensions: true — permits Bun-style .ts extension imports
  • Added noEmit: true — required by allowImportingTsExtensions; actual builds use bun build, not tsc

.gitignore (new)

  • Excludes node_modules/, dist/, *.tsbuildinfo, package-lock.json
Original prompt

Fix the failing GitHub Actions workflow Test & Lint
Analyze the workflow logs, identify the root cause of the failure, and implement a fix.
Check run ID: 69871714029
Job URL: https://github.com/githubnext/tsessebe/actions/runs/23954876432/job/69871714029

Copilot AI changed the title [WIP] Fix failing GitHub Actions workflow Test & Lint Fix TypeScript type check CI failure: rootDir/tests conflict Apr 3, 2026
Copilot finished work on behalf of mrjf April 3, 2026 17:25
Copilot AI requested a review from mrjf April 3, 2026 17:25
@mrjf mrjf marked this pull request as ready for review April 3, 2026 17:48
@mrjf mrjf merged commit ff64eb3 into copilot/autoloop-build-tsb-pandas-migration Apr 3, 2026
@mrjf mrjf deleted the copilot/fix-github-actions-workflow branch April 3, 2026 17:49
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.

2 participants