Skip to content

Setup skill: make the check write JUnit and coverage, and have the agent pass them to the comment #286

Description

@k-sok

Why

The comment on the pull request is what a reviewer of an agent's work reads, and today it says only which command ran on which tree: no test count, no coverage. report --markdown can add both from a JUnit and a coverage file, but the instruction the setup skill writes into CLAUDE.md/AGENTS.md (step 8) uses the bare call, and the skill never makes the check write those files. So no agent ever passes them.

Expected

  • When the check runs a test runner that can write JUnit or a coverage report (pytest, jest, vitest, node's test runner with a reporter, …), the setup skill makes the check command write them to fixed paths at the top of the worktree (e.g. pytest --junitxml=… -o junit_family=xunit1, --cov-report=json:…), after asking the user, and adds the paths to .gitignore if needed. It never changes what the check checks.
  • The step 8 instruction passes those files: prepush-ci report --markdown --result passed --tree "$(git rev-parse 'HEAD^{tree}')" --junit <path> --coverage <path>, and says to leave out a file the push did not write in this run (the check was not run again).
  • It says that the post-push hook (step 9) writes the short comment right after the push, and the agent's call then updates the same comment with these facts.
  • The README's hook post-push and report --markdown sections say the same in one sentence each.

Activity

  1. added theissue type on Oct 23, 2026
  2. added
    turn:spec
    and removed
    turn:spec
    on Oct 23, 2026
  3. cogc-factory commented on Oct 23, 2026

    @cogc-factory
    Contributor

    Closed by #288, which the factory merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions