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 — clears sm_test_rework_triggered after 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.md becomes the PR body/comment, so the output-format prompt is GitHub-Flavored Markdown even on Jira (conditions isResponseToScm.js / isResponseToTracker.js).

Human doc: agents/docs/agents/pr_test_automation_rework.md

Attributes

AttributeValue
JobTeammate
Configpr_test_automation_rework.json
ContextIdpr_test_automation_rework
outputTypenone
skipAIProcessingtrue

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):
    • branchCreateFnPath
    • checkOpenPR
    • dryRun

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):
    • allowApproveWithSuggestions
    • branchCreateFnPath
    • childQuestions
    • contexts
    • dryRun
    • fields
    • importantBlocksApproval
    • jql
    • maxReviewThreadsBeforeForceApprove
    • parentContextFetch

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):
    • aiRepository
    • commentMarkup
    • configPath
    • contentOutput
    • contentOutput.target
    • dryRun
    • feedbackLoop
    • localTeammate
    • projectKey
    • providerTransientBackoffSec
    • removeLabel
    • smFallback
    • trackerProvider

LLM step

  • outputType: none
  • Prompt snapshot: agents/snapshots/pr_test_automation_rework.md

Custom params

  • responseTarget: "scm"
  • removeLabel: "sm_test_rework_triggered"
  • checkOpenPR: true
  • branchCreateFnPath (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

View the agent config on GitHub →

Generated from pr_test_automation_rework.json in the agents repository and its human doc — edit either and the page follows. Last updated .