Skip to content

feat: add unit test retry command and feedback retry UX#209

Merged
jy-tan merged 3 commits intomainfrom
run-retry-feedback
Mar 24, 2026
Merged

feat: add unit test retry command and feedback retry UX#209
jy-tan merged 3 commits intomainfrom
run-retry-feedback

Conversation

@jy-tan
Copy link
Contributor

@jy-tan jy-tan commented Mar 24, 2026

Summary

Add CLI support for retrying unit test runs directly, and extend unit test feedback flows so agents can attach broad run-level guidance and trigger retries from the same command.

Changes

  • Add tusk unit retry plus a matching API client method for the new retry endpoint
  • Extend tusk unit feedback with --retry so feedback submission can optionally trigger a new retry run in one step
  • Document run_feedback.comment as broad retry guidance rather than generic feedback, and update examples to show more concrete retry instructions
  • Expand tusk unit get-run next steps to explain when to retry versus when to keep changes local and make small edits
  • Update help docs and the main unit README so retry guidance, command examples, and expectations stay consistent across help surfaces

@jy-tan jy-tan requested a review from sohil-kshirsagar March 24, 2026 22:44
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 6 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="cmd/short_docs/unit/overview.md">

<violation number="1" location="cmd/short_docs/unit/overview.md:16">
P3: Fix the typo in this user-facing sentence (`may a take` → `may take`) to keep the retry guidance clear and polished.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Copy link
Contributor

@sohil-kshirsagar sohil-kshirsagar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just confirming, when agent is trying to get runs status for a commit sha, we do show multiple retries properly?

@jy-tan jy-tan merged commit d74dc1c into main Mar 24, 2026
13 checks passed
@jy-tan jy-tan deleted the run-retry-feedback branch March 24, 2026 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants