Skip to content

fix(engine): skip the TypeScript check until dependencies are installed - #2343

Merged
LHagfoss merged 1 commit into
mainfrom
fix/engine-skip-tsc-without-deps
Oct 23, 2026
Merged

LHagfoss merged 1 commit into
mainfrom
fix/engine-skip-tsc-without-deps

Conversation

@LHagfoss

Copy link
Copy Markdown
Owner

What

After each write to a project with a tsconfig.json, the harness ran bunx tsc --noEmit even before bun install. It failed with TS2688: Cannot find type definition file for 'bun-types' and was reported as __BUILD_UNVERIFIED__, so the model kept explaining the same failure (session 01a16a48…, 6 times). When a project has package.json and no node_modules in its folder or any folder above, the check is now skipped and says why: dependencies are not installed; install them, then verify.

Changelog

The agent no longer runs a failing TypeScript check before a project's dependencies are installed.

Testing

cargo test --workspace (new typescript_check_waits_for_installed_dependencies).

https://claude.ai/code/session_019NPDUr9WpDReZsGXHf8XW7

@LHagfoss
LHagfoss merged commit 8280eff into main Oct 23, 2026
2 checks passed
@LHagfoss
LHagfoss deleted the fix/engine-skip-tsc-without-deps branch October 23, 2026 20:56
@github-actions github-actions Bot added the fix A bug fix label Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant