Skip to content

Comments

fix: Update tests post-bun support; follows #115#116

Draft
tode-rl wants to merge 14 commits intomainfrom
feat/bun-support-test-updates
Draft

fix: Update tests post-bun support; follows #115#116
tode-rl wants to merge 14 commits intomainfrom
feat/bun-support-test-updates

Conversation

@tode-rl
Copy link
Contributor

@tode-rl tode-rl commented Feb 17, 2026

Description

Note: PR titles should follow Conventional Commits format (e.g., feat(devbox): add support for custom env vars or fix(snapshot): resolve pagination issue) as they are used for automatic release notes generation.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Code refactoring
  • Performance improvement
  • Test updates

Related Issues

Closes #

Changes Made

Testing

  • I have tested locally
  • I have added/updated tests
  • All existing tests pass

Checklist

  • My code follows the code style of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Screenshots (if applicable)

Additional Notes

tode-rl and others added 14 commits February 16, 2026 12:48
Add optional Bun support alongside existing pnpm/Node.js workflow:

- Add Bun-specific scripts to package.json (dev:bun, start:bun, test:bun)
- Apply stdin workaround in menu.tsx for Ink TUI compatibility with Bun
- Update README.md with Bun development instructions
- Update CONTRIBUTING.md with detailed Bun setup and usage
- Add comprehensive investigation docs (BUN_MIGRATION_FINDINGS.md)
- Add implementation guide (BUN_IMPLEMENTATION_GUIDE.md)
- Add TUI testing guide (TEST_BUN_TUI.md)
- Include test files for Bun+Ink compatibility verification

The workaround (process.stdin.resume()) addresses Bun issue #6862
and enables full TUI functionality. Both CLI and TUI modes confirmed
working with Bun 1.3.9.

This is a non-breaking change - pnpm remains the default and primary
package manager. Bun is offered as an optional faster alternative for
contributors.

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

Co-Authored-By: Claude <noreply@anthropic.com>
Add scripts to build standalone executables with Bun:
- build:exe - Build for current platform
- build:exe:macos, build:exe:linux, build:exe:windows - Platform-specific
- build:exe:all - Build for all platforms

Note: Currently experimental due to Bun bundler limitations with
Ink's yoga-layout dependency. Runtime version works perfectly.

Also updated:
- .gitignore to exclude built executables
- README.md with executable build instructions and caveat
- CONTRIBUTING.md with detailed build info and known limitations
Add build-executables job to release workflow that:
- Builds executables for all 5 platforms (macOS arm64/x64, Linux x64/arm64, Windows x64)
- Uses Bun cross-compilation to build from single runner
- Generates checksums for all built executables
- Uploads executables as release assets
- Adds installation instructions to release notes
- Handles build failures gracefully (current Bun/Ink limitation)

Workflow triggers when release-please creates a new release on main branch.

Once Bun resolves the yoga-layout bundling issue, executables will
automatically be built and attached to all future releases.
Update BUN_IMPLEMENTATION_GUIDE.md to document the new GitHub Actions
workflow that builds executables on release.
…udes tests

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@tode-rl tode-rl changed the title Feat/bun support test updates fix: Update tests post-bun support; follows # 115 Feb 17, 2026
@tode-rl tode-rl changed the title fix: Update tests post-bun support; follows # 115 fix: Update tests post-bun support; follows #115 Feb 17, 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