Pr Test Automation Rework
Applies PR review feedback and CI fixes for a single-Test-Case automation pull request (In Rework), updating outputs/test_automation_result.json and pushing changes to the test branch.
Parameters
-
removeLabel— clearssm_test_rework_triggeredafter pushing rework commits. -
checkOpenPR— requires an open test PR before running rework. -
autoStartReview/autoStartReviewConfigFile— re-runs the test PR review workflow after rework is pushed. -
responseTarget:"scm"—outputs/response.mdbecomes the PR body/comment, so the output-format prompt is GitHub-Flavored Markdown even on Jira (conditionsisResponseToScm.js/isResponseToTracker.js).
Human doc: agents/docs/agents/pr_test_automation_rework.md
Attributes
| Attribute | Value |
|---|---|
| Job | Teammate |
| Config | pr_test_automation_rework.json |
| ContextId | pr_test_automation_rework |
| outputType | none |
| skipAIProcessing | true |
Prompt snapshot
Full prompt / instruction set: agents/snapshots/pr_test_automation_rework.md
Actions
preJSAction: checkWipLabel.js
Check WIP Label Pre-Action
- Source:
agents/js/checkWipLabel.js - Parameters (customParams):
branchCreateFnPathcheckOpenPRdryRun
preCliJSAction: preCliTestReworkSetup.js
Pre-CLI Test Rework Setup Action (preCliJSAction for pr_test_automation_rework)
- Source:
agents/js/preCliTestReworkSetup.js - Side effects:
- post ticket comment (via tracker)
- move ticket to status (via tracker)
- git checkout
- git merge
- Parameters (customParams):
allowApproveWithSuggestionsbranchCreateFnPathchildQuestionscontextsdryRunfieldsimportantBlocksApprovaljqlmaxReviewThreadsBeforeForceApproveparentContextFetch
postJSAction: postTestReworkResults.js
Post Test Rework Results Action (postJSAction for pr_test_automation_rework)
- Source:
agents/js/postTestReworkResults.js - Side effects:
- post ticket comment (via tracker)
- git push
- git checkout
- git merge
- Parameters (customParams):
aiRepositorycommentMarkupconfigPathcontentOutputcontentOutput.targetdryRunfeedbackLooplocalTeammateprojectKeyproviderTransientBackoffSecremoveLabelsmFallbacktrackerProvider
LLM step
- outputType:
none - Prompt snapshot:
agents/snapshots/pr_test_automation_rework.md
Custom params
responseTarget:"scm"removeLabel:"sm_test_rework_triggered"checkOpenPR:truebranchCreateFnPath(used by JS action)dryRun(used by JS action)allowApproveWithSuggestions(used by JS action)childQuestions(used by JS action)contexts(used by JS action)fields(used by JS action)importantBlocksApproval(used by JS action)jql(used by JS action)maxReviewThreadsBeforeForceApprove(used by JS action)parentContextFetch(used by JS action)aiRepository(used by JS action)commentMarkup(used by JS action)configPath(used by JS action)contentOutput(used by JS action)contentOutput.target(used by JS action)feedbackLoop(used by JS action)localTeammate(used by JS action)projectKey(used by JS action)providerTransientBackoffSec(used by JS action)smFallback(used by JS action)trackerProvider(used by JS action)
Generated by js/agentDocGenerator.js