e-volv

CI playbook

WriteTestsonCommand

Comment /write-tests on a PR and an agent writes, runs, and pushes tests to the branch.

Comment /write-tests on a pull request and an agent writes tests covering the PR's changes, runs them against the branch, and pushes them to the PR's own head branch. GitHub is the supported provider at ship time.

Identifier
write-tests-command
Version
1.0.1
Steps
3
Triggers
1
  • ci
  • testing
  • slash-command
  • interactive
  • automated

When it runs

Slash commandslash_command
Command
/write-tests

Only when all hold

  • actor.username not contains [bot]

The pipeline

The graph below is the one the workflow opens with in the builder — same steps, same layout, drawn on the same canvas. The run playing through it is a simulation; the branches and conditions are real.

  1. 01
    /write-tests on a PRtrigger

    The event that starts the run.

  2. 02
    Clone PR Head Refgit.clone

    Shallow-clones the repository at the right ref.

  3. 03
    Write and Push Testsagent.run

    One agent works the task with its toolkit.

The agent

Test Author

Base type
Senior Developer
Temperature
0.2
Max iterations
45
Tools
11

Git provider · 4

  • read_pull_requestRead Pull Request · read
  • get_pull_request_diffGet Pull Request Diff · read
  • create_or_update_fileCreate or Update File · write
  • add_comment_to_pull_requestAdd Comment to Pull Request · write

Filesystem · 4

  • read_fileRead File · read
  • list_dirList Directory · read
  • write_fileWrite File · write
  • edit_fileEdit File · write

Code search · 1

  • code_searchCode Search · read

Terminal · 1

  • run_terminal_cmdRun Terminal Command · write

Status · 1

  • update_statusUpdate Status · write