-
Notifications
You must be signed in to change notification settings - Fork 3.9k
chore: add changelog entry for PR #9275 #9278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Move error tracking logic to separate module to break circular dependency between index.ts and exit.ts. This was causing esbuild to generate invalid code with misplaced await keywords. - Create new errorTracking.ts module - Move hasUnhandledError flag and related functions to errorTracking.ts - Update imports in index.ts and exit.ts to use new module Co-authored-by: nate <[email protected]>
Co-authored-by: peter-parker <[email protected]> Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 1 file
📚 Documentation UpdateI've created PR #9279 with documentation updates for the error handling improvements. The documentation includes:
These changes ensure users understand how to properly use exit codes in automation workflows and how to debug issues when they occur. cc: This addresses the documentation needs for PR #9275's error handling improvements. |
0788183 to
635aa42
Compare
…or handling - Increase waitForNextRender timeout from 500ms to 1000ms for slower CI environments (especially macOS) - Increase waitForCondition default timeout from 2000ms to 5000ms - Add error throwing to waitForCondition when timeout is reached - Update special characters test to use waitForCondition instead of waitForNextRender This fixes failing tests on macOS Node 18: - 'handles special characters in input without crashing [REMOTE MODE]' - 'filters slash commands when typing /log [LOCAL MODE]' Co-authored-by: peter-parker <[email protected]> Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <[email protected]>
|
Fixed macOS test flakiness by increasing timeouts in test helpers. The failing tests should now pass. |
Co-authored-by: peter-parker <[email protected]> Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <[email protected]>
Summary of ChangesThis PR fixes the failing macOS test on Node 18 by addressing test timing issues: Changes Made:
Tests Fixed:
Root Cause:The TUI (Terminal UI) rendering in the Ink framework takes longer on macOS CI runners than on other platforms. The tests were checking the frame content before the UI had finished rendering, causing them to see the frame border ( The fix ensures tests wait for the actual content to appear before making assertions. Note: The PR Checks workflow may require approval from a maintainer to run since it includes test file changes. |
This PR adds a changelog entry for PR #9275.
This agent session was co-authored by peter-parker and Continue.
Summary by cubic
Add a changelog entry for PR #9275 to document the new behavior for unhandled errors. It notes that the process now exits with a non-zero code, and also fixes a CLI build issue by moving error tracking to its own module and stabilizes macOS tests with longer timeouts.
Written for commit 6bb97c7. Summary will update automatically on new commits.