Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Fails to execute bash, despite console showing it executed the test set.

Open tangentially opened this issue 6 months ago • 4 comments

Before opening, please confirm:

Operating System

darwin

Kiro Version

0.12.155

Bug Description

Currently it's trying to execute node / jest test cases, and encountering "TY=not a tty" error each time.

Kiro block has been added to .bashrc

Kiro CLI post block. Keep at the bottom of this file.

[[ -f "${HOME}/Library/Application Support/kiro-cli/shell/bashrc.post.bash" ]] && builtin source "${HOME}/Library/Application Support/kiro-cli/shell/bashrc.post.bash"

Steps to Reproduce

  1. Make a change with Kiro
  2. Have Kiro execute test cases (in this case, npx jest --testPathPattern='mytestsuite' --no-coverage --forceExit
  3. Observe it keep trying multiple ways and only have "TY=not a tty" in the output section
  4. Notice Kiro terminal output shows succesful execution of test suite.

Expected Behavior

Kiro sees the same output as in the Kiro terminal output window.

Conversation ID

968ee2ba-d4bb-42d7-ae77-fa83a26a3e71 968ee2ba-d4bb-42d7-ae77-fa83a26a3e71 968ee2ba-d4bb-42d7-ae77-fa83a26a3e71 968ee2ba-d4bb-42d7-ae77-fa83a26a3e71 968ee2ba-d4bb-42d7-ae77-fa83a26a3e71

Additional Context

No response

tangentially avatar Jun 02 '26 14:06 tangentially

🤖 Potential Duplicate Detected

This issue appears to be similar to:

What happens next?

  • ⏰ This issue will be automatically closed in 3 days
  • 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
  • 💬 Comment on the original issue if you have additional information

Why is this marked as duplicate? Both issues report problems with executeBash functionality - the new issue describes executeBash failing with 'TY=not a tty' error while showing successful execution in terminal, and issue #7491 reports executeBash dropping parameters after context compaction. Both involve executeBash not working as expected.

github-actions[bot] avatar Jun 02 '26 14:06 github-actions[bot]

This issue has been automatically closed as it appears to be a duplicate of #7491.

If you believe this is incorrect, please comment on this issue and a maintainer will review it.

github-actions[bot] avatar Jun 06 '26 00:06 github-actions[bot]

Not a duplicate.

tangentially avatar Jun 19 '26 14:06 tangentially

Thank you for your feedback! 🙏

The duplicate label has been removed and this issue has been sent back for maintainer review.

A maintainer will review this issue shortly.

github-actions[bot] avatar Jun 19 '26 14:06 github-actions[bot]