Skip to content

test(cli): bisect to find hanging test#617

Closed
travis wants to merge 1 commit intomainfrom
fix/cli-test-bisect
Closed

test(cli): bisect to find hanging test#617
travis wants to merge 1 commit intomainfrom
fix/cli-test-bisect

Conversation

@travis
Copy link
Copy Markdown
Contributor

@travis travis commented Jan 6, 2026

Summary

  • Disabled all CLI tests to establish a passing baseline
  • Will incrementally re-enable tests to identify which one causes CI to hang

Test plan

  • Verify CI passes with all tests disabled
  • Re-enable tests one suite at a time
  • Identify the problematic test

🤖 Generated with Claude Code

The CLI tests were causing CI to hang for 6 hours after tests completed.
Through a bisection approach, we discovered that rewriting the test files
from scratch (while keeping the same test logic) fixes the hang.

This suggests there was some invisible character, encoding issue, or
subtle structural problem in the original files that was causing
processes to not exit properly.

Changes:
- Rewrote bin.spec.js from scratch with same tests
- All 59 tests pass in CI

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@travis travis force-pushed the fix/cli-test-bisect branch from bb3793a to f8dc617 Compare January 6, 2026 15:57
@travis travis closed this Jan 6, 2026
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.

1 participant