Fails to execute bash, despite console showing it executed the test set.
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
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
- Make a change with Kiro
- Have Kiro execute test cases (in this case, npx jest --testPathPattern='mytestsuite' --no-coverage --forceExit
- Observe it keep trying multiple ways and only have "TY=not a tty" in the output section
- 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
🤖 Potential Duplicate Detected
This issue appears to be similar to:
- #7491: fsWrite and executeBash drop parameters after context compaction (85% similar)
- #6717: executeBash: Terminal hangs after successful command, agent receives "Signal was cancelled" (85% similar)
- #6238: Regression in 1.27.0: shell tool keeps stdin open, causing kubectl exec --stdin=true to hang (82% similar)
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.
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.
Not a duplicate.
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.