-
Notifications
You must be signed in to change notification settings - Fork 59
feat: workflow to polish CLI output with listr2 + chalk #585
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
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
4e77bdb
feat: add workflow to polish CLI output with listr2 + chalk
khaliqgant 959acd4
ci: add workflow validation and dry-run check on PR
khaliqgant fb69ea3
fix(ci): fetch full history for git diff, run dry-run on all workflow…
khaliqgant cefee35
feat(sdk): polish workflow CLI output with listr2 spinners and chalk …
khaliqgant 9f25a69
test: add smoke test workflow for listr2 output rendering
khaliqgant 53cd59f
fix: use ESM-compatible import for check-sdk step
khaliqgant fa4821b
feat(sdk): export createWorkflowRenderer for listr2 output in TS work…
khaliqgant 1be278b
fix: pre-attach catch to prevent unhandled rejection on fast-failing …
khaliqgant 730edad
fix: use worker preset for verify step, mute console during listr ren…
khaliqgant cadab2e
fix: filter [broker]/[workflow] noise, show observer URL, add unmount()
khaliqgant a9cd987
fix: add missing unhandled-rejection guards and output filter to YAML…
khaliqgant 2f45767
fix: address PR review feedback for workflow output polish
khaliqgant ff23241
fix: CI failures and skipped-step visibility
khaliqgant 3a8b77d
fix: detect claude CLI with inline args for MCP injection (#584)
khaliqgant f6b8765
chore(release): v3.2.8
actions-user 463af4e
bump versions (#590)
khaliqgant ef7cf4d
chore(release): v3.2.9
actions-user 18d8bb9
feat(sdk): polish workflow CLI output with listr2 spinners and chalk …
khaliqgant 01bb7b5
Merge main into feature/polish-workflow-output
khaliqgant 910326c
fix: regenerate lockfile with npm 11 for Node 24 ci compatibility
khaliqgant 0cc1822
fix: address remaining workflow review feedback
khaliqgant d85c7b7
Merge main into feature/polish-workflow-output
khaliqgant 23f9f91
fix: mark test-only MCP merge helpers as dead-code allowed
khaliqgant File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🟡 Trail left permanently in "active" state when workflow throws
trail startis called unconditionally at line 7, buttrail complete/trail abandonat lines 255-261 are only reached ifPromise.allon line 10 resolves successfully. Theexecute()method inpackages/sdk/src/workflows/runner.ts:1793-1814can throw before entering its internal try/catch (e.g., config validation failures, missing workflow name, path validation errors), which would causePromise.allto reject. Since there is no try/catch around theawait Promise.all(...)call, the rejection propagates as an unhandled error, skipping the trail finalization block entirely. The trajectory is left in "active" state indefinitely, polluting the trajectory index.The fix is to wrap the
Promise.alland subsequent logic in a try/catch/finally that ensurestrail abandonis called when an exception occurs.Prompt for agents
Was this helpful? React with 👍 or 👎 to provide feedback.