Add ability to rerun workflows with SSH, and a tool to get job SSH details#133
Open
pandaiolo wants to merge 5 commits intoCircleCI-Public:mainfrom
Open
Add ability to rerun workflows with SSH, and a tool to get job SSH details#133pandaiolo wants to merge 5 commits intoCircleCI-Public:mainfrom
pandaiolo wants to merge 5 commits intoCircleCI-Public:mainfrom
Conversation
Add enableSsh parameter to rerun_workflow tool to enable SSH debugging. Automatically reruns the last job in the workflow with SSH access.
Add new tool to retrieve SSH connection details for jobs rerun with SSH enabled. Supports automatic detection of SSH-enabled jobs and provides connection commands.
Fix linting issues in rerunWorkflow and getSshDetails tools.
Add Zod refinement to ensure either workflowId or workflowURL is provided.
Extract repeated "wait 30-60 seconds" messages into reusable constants to improve code maintainability.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #132
Problem
Debugging failed CircleCI jobs on the instance requires manually navigating the UI to rerun with SSH and find connection details. This is time-consuming and interrupts the development workflow.
Solution
1. Enhanced
rerun_workflowtoolenableSshparameter to automatically rerun the last job with SSH enabledenableSshandfromFailed)2. New
get_ssh_detailstoolUsage