Retry Merge Test
Retries merging an approved single-Test-Case automation pull request (retryMergeTestPR.js), re-attempting the merge and updating the Test Case ticket status.
Parameters
removeLabel— removessm_retry_merge_test_triggeredonce the retry completes.checkOpenPR— skips tickets without an open test-case PR.testCaseMerge— test-case PR merge configuration overrides.autoStartRework/autoStartReworkConfigFile— triggerspr_test_automation_reworkwhen the test PR cannot be merged cleanly.maxAutoReworkRounds— maximum auto-started rework rounds (rework-round-Non the ticket, default3) before the ticket is labeledneeds-humanand no further rework is chained.
Human doc: agents/docs/agents/retry_merge_test.md
Attributes
| Attribute | Value |
|---|---|
| Job | Teammate |
| Config | retry_merge_test.json |
| ContextId | retry_merge_test |
| outputType | none |
| skipAIProcessing | true |
Prompt snapshot
Full prompt / instruction set: agents/snapshots/retry_merge_test.md
Actions
preJSAction: checkWipLabel.js
Check WIP Label Pre-Action
- Source:
agents/js/checkWipLabel.js - Parameters (customParams):
branchCreateFnPathcheckOpenPRdryRun
postJSAction: retryMergePR.js
retryMergePR.js
- Source:
agents/js/retryMergePR.js - Side effects:
- post ticket comment (via tracker)
- Parameters (customParams):
aiRepositoryautoStartReworkautoStartReworkConfigFileconfigPathcontentOutputcontentOutput.targetdryRunlocalTeammatemaxAutoReworkRoundsprojectKeyremoveLabelsmFallbacktestCaseMergetrackerProvider
LLM step
- outputType:
none - Prompt snapshot:
agents/snapshots/retry_merge_test.md
Custom params
removeLabel:"sm_test_merge_triggered"testCaseMerge:truecheckOpenPR:truebranchCreateFnPath(used by JS action)dryRun(used by JS action)aiRepository(used by JS action)autoStartRework(used by JS action)autoStartReworkConfigFile(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)maxAutoReworkRounds(used by JS action)projectKey(used by JS action)smFallback(used by JS action)trackerProvider(used by JS action)
Generated by js/agentDocGenerator.js