Skip to content

Add rerun option to forge test command#28

Closed
Dargon789 wants to merge 3 commits into
mainfrom
Dargon789-patch-3
Closed

Add rerun option to forge test command#28
Dargon789 wants to merge 3 commits into
mainfrom
Dargon789-patch-3

Conversation

@Dargon789

@Dargon789 Dargon789 commented Jan 28, 2026

Copy link
Copy Markdown
Owner

Summary by Sourcery

CI:

  • Update the CI workflow to run forge test --rerun after the standard forge test -vvv step.

Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@vercel

This comment was marked as abuse.

@sourcery-ai

sourcery-ai Bot commented Jan 28, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Adds an additional forge test --rerun invocation to the CI workflow so that failed tests are rerun during the GitHub Actions test job.

Sequence diagram for CI forge test rerun behavior

sequenceDiagram
  actor Developer
  participant GitHub as GitHub_Actions
  participant Job as CI_Test_Job
  participant Forge as Forge_CLI

  Developer->>GitHub: Push_or_open_pull_request
  GitHub->>Job: Trigger_ci_workflow
  Job->>Forge: forge_test_vvv
  Forge-->>Job: Initial_test_results
  Job->>Forge: forge_test_rerun
  Forge-->>Job: Rerun_failed_tests_results
  Job-->>GitHub: Report_combined_test_status
Loading

File-Level Changes

Change Details Files
Update CI workflow to run forge tests twice, including a rerun pass.
  • Extend the test job script to invoke forge test --rerun after the initial forge test -vvv run
  • Keep existing environment variable configuration and job structure unchanged
.github/workflows/ci.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@snyk-io

snyk-io Bot commented Jan 28, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
@vercel

This comment was marked as abuse.

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.

Sequence diagram for Merkle-backed wrapped signature verification in IthacaAccount # Sequence diagram for simulateMulticall3CombinedGas flow

1 participant