Skip to content

Add ratchet coverage action#12

Merged
leynos merged 9 commits intomainfrom
ldlbxs-codex/create-ratcheting-coverage-action-with-caching
Jun 23, 2025
Merged

Add ratchet coverage action#12
leynos merged 9 commits intomainfrom
ldlbxs-codex/create-ratcheting-coverage-action-with-caching

Conversation

@leynos
Copy link
Copy Markdown
Owner

@leynos leynos commented Jun 22, 2025

Summary

  • add args input to ratchet coverage action
  • validate numeric values before bc comparison
  • document args input with default value
  • update changelog with v1.0.1 notes
  • ensure bc installed on Windows runners
  • expand README with caching and requirements info

Testing

  • shellcheck .github/actions/ratchet-coverage/action.yml (fails: SC2296, SC1130, etc.)

https://chatgpt.com/codex/tasks/task_e_685833bc868c8322bc657544a8d76023

Summary by Sourcery

Add a new GitHub composite action for ratcheting Rust coverage baselines with configurable arguments, cross-platform float comparisons, and caching support.

New Features:

  • Introduce a new ratchet-coverage action to run cargo llvm-cov, compare against a stored baseline, and fail on coverage regressions
  • Add an args input for passing custom arguments to cargo llvm-cov
  • Cache the coverage baseline and cargo artifacts between runs for faster workflows
  • Automatically install bc on Windows runners to support float comparisons

Enhancements:

  • Validate that both current and baseline coverage values are numeric before performing comparisons

Documentation:

  • Add a dedicated README for the ratchet-coverage action and update the main README with usage, caching, and requirements details
  • Update the CHANGELOG with v1.0.1 release notes

Summary by CodeRabbit

  • New Features
    • Introduced a new GitHub Action, "Ratchet coverage", for automated Rust code coverage checks and baseline enforcement with caching and validation.
  • Documentation
    • Added comprehensive documentation and usage instructions for the new action, including a changelog and README.
    • Updated the main README to list the new action.
  • Chores
    • Added a CODEOWNERS file assigning ownership of GitHub Actions directories.

@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented Jun 22, 2025

Reviewer's Guide

This PR enhances the Ratchet coverage GitHub Action by adding a flexible args input, enforcing robust numeric validation, ensuring cross-platform compatibility with bc on Windows, improving caching for both the baseline and cargo artifacts, and updating documentation, changelog, and ownership.

Sequence diagram for the ratchet coverage action execution flow

sequenceDiagram
    actor User
    participant Workflow
    participant Cache
    participant Cargo
    participant MSYS2 as "MSYS2 (Windows only)"
    participant BC as "bc"

    User->>Workflow: Trigger workflow with Ratchet coverage action
    Workflow->>Cache: Restore baseline file
    Workflow->>Cache: Restore cargo artifacts
    Workflow->>Cargo: Install cargo-llvm-cov
    alt On Windows
        Workflow->>MSYS2: Install bc
    end
    Workflow->>Cargo: Run cargo llvm-cov with args
    Cargo-->>Workflow: Output coverage percent
    Workflow->>BC: Compare current and baseline coverage
    alt Coverage decreased
        Workflow-->>User: Fail workflow
    else Coverage maintained/increased
        Workflow->>Cache: Save updated baseline
        Workflow-->>User: Pass workflow
    end
Loading

Entity relationship diagram for baseline and coverage artifacts caching

erDiagram
    WORKFLOW ||--o{ BASELINE_CACHE : uses
    WORKFLOW ||--o{ CARGO_CACHE : uses
    WORKFLOW {
      string baseline_file
      string args
      float percent
    }
    BASELINE_CACHE {
      string file_path
      float baseline_percent
    }
    CARGO_CACHE {
      string cargo_bin
      string cargo_registry
      string cargo_git
      string target_dir
    }
Loading

Class diagram for the Ratchet coverage action inputs and outputs

classDiagram
    class RatchetCoverageAction {
        +String baseline-file = ".coverage-baseline"
        +String args = ""
        +String percent
    }
    RatchetCoverageAction : +run()
    RatchetCoverageAction : +validateCoverage()
    RatchetCoverageAction : +compareWithBaseline()
    RatchetCoverageAction : +updateBaseline()
    RatchetCoverageAction : +cacheArtifacts()
    RatchetCoverageAction : +installDependencies()
    RatchetCoverageAction : +outputPercent()
Loading

File-Level Changes

Change Details Files
Introduce flexible args input for custom cargo llvm-cov flags
  • Add args input with description and default in action.yml
  • Integrate ${{ inputs.args }} into the coverage command
  • Expose args in action metadata
.github/actions/ratchet-coverage/action.yml
Validate and sanitize coverage values before comparison
  • Validate current and baseline with regex to ensure numeric format
  • Default malformed baseline to zero
  • Fail early on invalid current value
.github/actions/ratchet-coverage/action.yml
Ensure floating-point comparisons work on Windows
  • Add conditional step to install bc via MSYS2 on Windows runners
.github/actions/ratchet-coverage/action.yml
Enhance caching for faster repeated runs
  • Restore and save baseline file using actions/cache
  • Cache cargo artifacts and cargo-llvm-cov binary keyed by OS and Cargo.lock
.github/actions/ratchet-coverage/action.yml
Expand and update action documentation
  • Update main README to list the Ratchet coverage action
  • Add a comprehensive README for ratchet-coverage covering inputs, outputs, example, caching, and requirements
README.md
.github/actions/ratchet-coverage/README.md
Update changelog entries and add ownership
  • Add v1.0.1+ release notes in CHANGELOG.md
  • Add CODEOWNERS file for the action directory
.github/actions/ratchet-coverage/CHANGELOG.md
CODEOWNERS

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

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 22, 2025

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

A new GitHub Action called "Ratchet coverage" has been introduced, including its implementation, documentation, changelog, and ownership assignment. The action enforces a code coverage baseline for Rust projects using cargo llvm-cov, updating the baseline only if coverage does not decrease. Documentation and ownership files were also added or updated.

Changes

File(s) Change Summary
.github/actions/ratchet-coverage/action.yml Added a composite GitHub Action for Rust coverage baseline enforcement using cargo llvm-cov, with caching, validation, and baseline update.
.github/actions/ratchet-coverage/README.md,
.github/actions/ratchet-coverage/CHANGELOG.md
Added documentation and changelog for the new "ratchet-coverage" GitHub Action.
CODEOWNERS Assigned @leynos as code owner for all actions under .github/actions/, including the new action.
README.md Listed the new "Ratchet coverage" action in the available actions table.

Sequence Diagram(s)

sequenceDiagram
    participant Workflow
    participant RatchetCoverageAction
    participant Cache
    participant CargoLlvmCov

    Workflow->>RatchetCoverageAction: Start Action
    RatchetCoverageAction->>Cache: Restore baseline file
    RatchetCoverageAction->>Cache: Restore cargo cache
    RatchetCoverageAction->>CargoLlvmCov: Install if needed
    RatchetCoverageAction->>CargoLlvmCov: Run coverage with args
    CargoLlvmCov-->>RatchetCoverageAction: Return coverage percent
    RatchetCoverageAction->>RatchetCoverageAction: Validate coverage values
    RatchetCoverageAction->>RatchetCoverageAction: Compare with baseline
    alt Coverage < Baseline
        RatchetCoverageAction->>Workflow: Fail action (coverage decreased)
    else Coverage >= Baseline
        RatchetCoverageAction->>Cache: Update baseline file in cache
        RatchetCoverageAction->>Workflow: Output new coverage percent
    end
Loading

Poem

In the warren of code where Rust bunnies dwell,
A ratchet now guards where the coverage fell.
With caches and baselines, so clever and neat,
It hops through your tests, ensuring no defeat.
Cheers to the action, may coverage not dip—
🐇✨ Hop on, dear devs, let quality equip!

✨ Finishing Touches
🧪 Generate Unit Tests
  • Create PR with Unit Tests
  • Post Copyable Unit Tests in Comment
  • Commit Unit Tests in branch ldlbxs-codex/create-ratcheting-coverage-action-with-caching

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai auto-generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@leynos leynos changed the title Address feedback on ratchet coverage action Add ratchet coverage action Jun 22, 2025
Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-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.

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

Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments

### Comment 1
<location> `.github/actions/ratchet-coverage/action.yml:50` </location>
<code_context>
+        set -euo pipefail
+        output=$(cargo tarpaulin --out lcov ${{ inputs.args }})
+        echo "$output"
+        percent=$(echo "$output" | grep -oE '[0-9]+\.[0-9]+(?=%)' | head -n1)
+        echo "percent=$percent" >> "$GITHUB_OUTPUT"
+      shell: bash
</code_context>

<issue_to_address>
Coverage percentage extraction may fail for integer-only outputs.

Update the regex to '[0-9]+(\.[0-9]+)?(?=%)' to match both integer and decimal coverage values.
</issue_to_address>

<suggested_fix>
<<<<<<< SEARCH
        percent=$(echo "$output" | grep -oE '[0-9]+\.[0-9]+(?=%)' | head -n1)
=======
        percent=$(echo "$output" | grep -oE '[0-9]+(\.[0-9]+)?(?=%)' | head -n1)
>>>>>>> REPLACE

</suggested_fix>

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.

Comment thread .github/actions/ratchet-coverage/action.yml Outdated
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 4

📜 Review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c384881 and 593cb9a.

📒 Files selected for processing (5)
  • .github/actions/ratchet-coverage/CHANGELOG.md (1 hunks)
  • .github/actions/ratchet-coverage/README.md (1 hunks)
  • .github/actions/ratchet-coverage/action.yml (1 hunks)
  • CODEOWNERS (1 hunks)
  • README.md (1 hunks)
🔇 Additional comments (3)
CODEOWNERS (1)

1-5: Ownership assignments look good
Ownership of the new ratchet-coverage directory (and existing actions) is clearly defined and points to the correct user.

README.md (1)

12-12: New action documented correctly
The "Ratchet coverage" entry matches the existing table format, with the correct path and version.

.github/actions/ratchet-coverage/CHANGELOG.md (1)

3-7: Changelog entries are consistent
The v1.0.1 and v1.0.0 entries accurately describe the addition of the args input and the numeric validation enhancement.

Comment thread .github/actions/ratchet-coverage/README.md
Comment thread .github/actions/ratchet-coverage/action.yml Outdated
Comment thread .github/actions/ratchet-coverage/action.yml Outdated
@leynos
Copy link
Copy Markdown
Owner Author

leynos commented Jun 23, 2025

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 23, 2025

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@leynos
Copy link
Copy Markdown
Owner Author

leynos commented Jun 23, 2025

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 23, 2025

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@leynos
Copy link
Copy Markdown
Owner Author

leynos commented Jun 23, 2025

@sourcery-ai review

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-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.

Hey @leynos - I've reviewed your changes - here's some feedback:

  • Pin a specific cargo-tarpaulin version in the install step (e.g. cargo install cargo-tarpaulin --version x.y.z) to avoid unexpected updates breaking the action.
  • The PR summary mentions installing bc on Windows, but the action actually fails early on non-Linux runners—either implement the Windows install or update the docs to remove that bullet.
  • Clarify in the README that this composite action expects a Rust toolchain (e.g. via your setup-rust action) to already be installed before running tarpaulin.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Pin a specific cargo-tarpaulin version in the install step (e.g. `cargo install cargo-tarpaulin --version x.y.z`) to avoid unexpected updates breaking the action.
- The PR summary mentions installing `bc` on Windows, but the action actually fails early on non-Linux runners—either implement the Windows install or update the docs to remove that bullet.
- Clarify in the README that this composite action expects a Rust toolchain (e.g. via your setup-rust action) to already be installed before running tarpaulin.

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.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

📜 Review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 593cb9a and 601d262.

📒 Files selected for processing (3)
  • .github/actions/ratchet-coverage/CHANGELOG.md (1 hunks)
  • .github/actions/ratchet-coverage/README.md (1 hunks)
  • .github/actions/ratchet-coverage/action.yml (1 hunks)
🧰 Additional context used
🪛 LanguageTool
.github/actions/ratchet-coverage/CHANGELOG.md

[uncategorized] ~7-~7: Possible missing comma found.
Context: ...e values before comparison - Fail early on non-Linux runners - Handle integer cove...

(AI_HYDRA_LEO_MISSING_COMMA)

🔇 Additional comments (6)
.github/actions/ratchet-coverage/README.md (1)

1-46: Documentation is clear and accurate.
The README correctly details inputs, outputs, usage examples and platform requirements for the Ratchet coverage action.

.github/actions/ratchet-coverage/action.yml (5)

1-18: Inputs and outputs are clearly defined.
The baseline-file and args inputs, along with the percent output, are well documented and have sensible defaults.


19-27: Platform check and baseline restore steps are correctly implemented.
Failing early on non-Linux runners and restoring the baseline cache with a consistent key are both handled properly.


28-43: Caching and installation steps look good.
The cache for cargo artifacts and the installation of cargo-tarpaulin are correctly set up to speed up repeated runs.


44-51: Coverage extraction and percentage parsing are implemented robustly.
The regex handles both integer and decimal percentages and writes the result to GITHUB_OUTPUT as expected.


79-85: Saving the updated baseline cache uses consistent keys.
The final cache step correctly reuses the same key and path, ensuring that the new baseline is stored for subsequent runs.

Comment on lines +5 to +8
- Add `args` input and include it in tarpaulin command
- Validate numeric coverage values before comparison
- Fail early on non-Linux runners
- Handle integer coverage values in output parsing
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🧹 Nitpick (assertive)

Ensure consistent punctuation in v1.0.1 bullets.

The bullet items under v1.0.1 lack trailing periods, whereas the v1.0.0 entry ends with one. Add a period to each list item for consistency:

- Add `args` input and include it in tarpaulin command
- Validate numeric coverage values before comparison
- Fail early on non-Linux runners
- Handle integer coverage values in output parsing
+ Add `args` input and include it in tarpaulin command.
+ Validate numeric coverage values before comparison.
+ Fail early on non-Linux runners.
+ Handle integer coverage values in output parsing.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- Add `args` input and include it in tarpaulin command
- Validate numeric coverage values before comparison
- Fail early on non-Linux runners
- Handle integer coverage values in output parsing
- Add `args` input and include it in tarpaulin command.
- Validate numeric coverage values before comparison.
- Fail early on non-Linux runners.
- Handle integer coverage values in output parsing.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~7-~7: Possible missing comma found.
Context: ...e values before comparison - Fail early on non-Linux runners - Handle integer cove...

(AI_HYDRA_LEO_MISSING_COMMA)

🤖 Prompt for AI Agents
In .github/actions/ratchet-coverage/CHANGELOG.md around lines 5 to 8, the bullet
points under v1.0.1 are missing trailing periods, unlike the v1.0.0 entry which
ends with periods. Add a period at the end of each bullet item in the v1.0.1
list to ensure consistent punctuation formatting.

Comment thread .github/actions/ratchet-coverage/action.yml
@leynos
Copy link
Copy Markdown
Owner Author

leynos commented Jun 23, 2025

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 23, 2025

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 6

📜 Review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 601d262 and 1cbb900.

📒 Files selected for processing (3)
  • .github/actions/ratchet-coverage/CHANGELOG.md (1 hunks)
  • .github/actions/ratchet-coverage/README.md (1 hunks)
  • .github/actions/ratchet-coverage/action.yml (1 hunks)
🧰 Additional context used
🪛 LanguageTool
.github/actions/ratchet-coverage/CHANGELOG.md

[uncategorized] ~9-~9: You might be missing the article “the” here.
Context: ...1 - Add args input and include it in tarpaulin command. - Validate numeric coverage va...

(AI_EN_LECTOR_MISSING_DETERMINER_THE)

.github/actions/ratchet-coverage/README.md

[uncategorized] ~31-~31: Use a comma before ‘so’ if it connects two independent clauses (unless they are closely connected and short).
Context: ... on Windows, bc is installed via MSYS2 so the float comparison works the same eve...

(COMMA_COMPOUND_SENTENCE_2)


[uncategorized] ~45-~45: A comma might be missing here.
Context: ...arpaulin` only supports Linux. On other platforms the step is skipped. Release history i...

(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)

🪛 YAMLlint (1.37.1)
.github/actions/ratchet-coverage/action.yml

[error] 20-20: syntax error: mapping values are not allowed here

(syntax)

Comment thread .github/actions/ratchet-coverage/CHANGELOG.md Outdated
Comment thread .github/actions/ratchet-coverage/CHANGELOG.md Outdated
Comment thread .github/actions/ratchet-coverage/README.md Outdated
Comment thread .github/actions/ratchet-coverage/README.md Outdated
Comment thread .github/actions/ratchet-coverage/action.yml Outdated
Comment thread .github/actions/ratchet-coverage/action.yml
@leynos
Copy link
Copy Markdown
Owner Author

leynos commented Jun 23, 2025

@sourcery-ai review

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-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.

Hey @leynos - 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.

@leynos
Copy link
Copy Markdown
Owner Author

leynos commented Jun 23, 2025

@sourcery-ai review

@leynos
Copy link
Copy Markdown
Owner Author

leynos commented Jun 23, 2025

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 23, 2025

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-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.

Hey @leynos - 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.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1cbb900 and acce072.

📒 Files selected for processing (3)
  • .github/actions/ratchet-coverage/CHANGELOG.md (1 hunks)
  • .github/actions/ratchet-coverage/README.md (1 hunks)
  • .github/actions/ratchet-coverage/action.yml (1 hunks)
🧰 Additional context used
🪛 LanguageTool
.github/actions/ratchet-coverage/CHANGELOG.md

[uncategorized] ~9-~9: Use a comma before ‘so’ if it connects two independent clauses (unless they are closely connected and short).
Context: .... ## v1.0.3 - Remove Linux-only gating so the action runs on all runners. ## v1....

(COMMA_COMPOUND_SENTENCE_2)

.github/actions/ratchet-coverage/README.md

[uncategorized] ~29-~29: Possible missing comma found.
Context: ...e args: --workspace ``` On Windows runners bc is installed via MSYS2, so the flo...

(AI_HYDRA_LEO_MISSING_COMMA)

🔇 Additional comments (2)
.github/actions/ratchet-coverage/README.md (1)

1-55: Skip README review: no issues found.

.github/actions/ratchet-coverage/action.yml (1)

1-88: No changes needed.

Comment thread .github/actions/ratchet-coverage/CHANGELOG.md Outdated
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@leynos leynos merged commit 389e772 into main Jun 23, 2025
1 check passed
@leynos leynos deleted the ldlbxs-codex/create-ratcheting-coverage-action-with-caching branch June 23, 2025 19:29
@coderabbitai coderabbitai Bot mentioned this pull request Jul 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant