Bug Test Automation Rework
Addresses reviewer threads on a bulk Bug regression test PR (test/{BUG_KEY}), updates test folders under testing/tests/{TC_KEY}/, re-verifies the bug fix, and pushes the reworked test branch.
Parameters
-
removeLabel— dropssm_bug_test_rework_triggeredafter the rework run. -
checkOpenPR— ensures an open bug test PR is present. -
testFilesGlob— glob filter for staged test files. -
autoStartReview/autoStartReviewConfigFile— launchespr_bug_test_automation_reviewafter pushing. -
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/bug_test_automation_rework.md
Attributes
| Attribute | Value |
|---|---|
| Job | Teammate |
| Config | bug_test_automation_rework.json |
| ContextId | bug_test_automation_rework |
| outputType | none |
| skipAIProcessing | true |
Prompt snapshot
Full prompt / instruction set: agents/snapshots/bug_test_automation_rework.md
Actions
preJSAction: checkWipLabel.js
Check WIP Label Pre-Action
- Source:
agents/js/checkWipLabel.js - Parameters (customParams):
branchCreateFnPathcheckOpenPRdryRun
preCliJSAction: preCliStoryTestAutomationSetup.js
Pre-CLI Story Test Automation Setup Action
- Source:
agents/js/preCliStoryTestAutomationSetup.js - Writes:
input/<KEY>/merge_conflicts.mdinput/<KEY>/review_policy.mdoutputs/review_replies.json
- Side effects:
- git push
- git checkout
- Parameters (customParams):
allowApproveWithSuggestionsbranchCreateFnPathdryRunimportantBlocksApprovalmaxReviewThreadsBeforeForceApprovetestFilesGlob
postJSAction: storyTestAutomationRework.js
Story Test Automation Rework Action
- Source:
agents/js/storyTestAutomationRework.js - Side effects:
- remove label “story_test_automation_rework_wip” (via tracker)
- remove label “bug_test_automation_rework_wip” (via tracker)
- post ticket comment (via tracker)
- move ticket to status (via tracker)
- git push
- git checkout
- git merge
- Parameters (customParams):
aiRepositoryconfigPathcontentOutputcontentOutput.targetdryRunlocalTeammateprojectKeyremoveLabelsmFallbacktrackerProvider
LLM step
- outputType:
none - Prompt snapshot:
agents/snapshots/bug_test_automation_rework.md
Custom params
responseTarget:"scm"removeLabel:"sm_bug_test_rework_triggered"checkOpenPR:truebranchCreateFnPath(used by JS action)dryRun(used by JS action)allowApproveWithSuggestions(used by JS action)importantBlocksApproval(used by JS action)maxReviewThreadsBeforeForceApprove(used by JS action)testFilesGlob(used by JS action)aiRepository(used by JS action)configPath(used by JS action)contentOutput(used by JS action)contentOutput.target(used by JS action)localTeammate(used by JS action)projectKey(used by JS action)smFallback(used by JS action)trackerProvider(used by JS action)
Generated by js/agentDocGenerator.js