Skip to content

fix the badge#127

Merged
SIDDHANTCOOKIE merged 1 commit into
mainfrom
chore/ci-setup
Jul 9, 2026
Merged

fix the badge#127
SIDDHANTCOOKIE merged 1 commit into
mainfrom
chore/ci-setup

Conversation

@SIDDHANTCOOKIE

@SIDDHANTCOOKIE SIDDHANTCOOKIE commented Jul 9, 2026

Copy link
Copy Markdown
Member

Addressed Issues:

Fixes #(TODO:issue number)

Screenshots/Recordings:

TODO: If applicable, add screenshots or recordings that demonstrate the interface before and after the changes.

Additional Notes:

AI Usage Disclosure:

We encourage contributors to use AI tools responsibly when creating Pull Requests. While AI can be a valuable aid, it is essential to ensure that your contributions meet the task requirements, build successfully, include relevant tests, and pass all linters. Submissions that do not meet these standards may be closed without warning to maintain the quality and integrity of the project. Please take the time to understand the changes you are proposing and their impact. AI slop is strongly discouraged and may lead to banning and blocking. Do not spam our repos with AI slop.

Check one of the checkboxes below:

  • This PR does not contain AI-generated code at all.
  • This PR contains AI-generated code. I have read the AI Usage Policy and this PR complies with this policy. I have tested the code locally and I am responsible for it.

I have used the following AI models and tools: TODO

Checklist

  • My PR addresses a single issue, fixes a single bug or makes a single improvement.
  • My code follows the project's code style and conventions
  • If applicable, I have made corresponding changes or additions to the documentation
  • If applicable, I have made corresponding changes or additions to tests
  • My changes generate no new warnings or errors
  • I have joined the Discord server and I will share a link to this PR with the project maintainers there
  • I have read the Contribution Guidelines
  • Once I submit my PR, CodeRabbit AI will automatically review it and I will address CodeRabbit's comments.
  • I have filled this PR template completely and carefully, and I understand that my PR may be closed without review otherwise.

Summary by CodeRabbit

  • Chores
    • Updated the coverage badge update workflow to use the generated coverage report badge format in the README.
    • Improved how the badge markup is inserted, keeping the displayed coverage badge consistent and better styled.

@SIDDHANTCOOKIE SIDDHANTCOOKIE merged commit 547cd83 into main Jul 9, 2026
5 of 6 checks passed
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

Coverage

Coverage Report
FileStmtsMissCoverMissing
minichain
   block.py881484%11, 15, 18–24, 73, 160, 165, 174, 176
   chain.py1673380%16, 21, 27, 31, 34, 38, 62–67, 74–75, 105–108, 141, 154–157, 167–168, 177–178, 181–182, 186–187, 224, 236–237
   contract.py1267342%11–12, 15–20, 36–80, 115, 123, 175–178, 186–201, 209–210, 212–213, 218–219, 221–222, 224–225, 227–228
   mempool.py591476%15–16, 30–32, 37–38, 40–41, 47, 50–51, 58–60
   mpt.py14379%18–20
   p2p.py26719627%27–28, 76, 79, 82, 85, 88–95, 98–99, 102–103, 108, 123, 126, 129–131, 134–136, 139, 142, 145, 149–150, 160–162, 173–187, 194–200, 209–263, 268–378
   persistence.py1713977%84, 90, 92, 133, 143–144, 223–224, 244, 247–248, 270, 282–293, 296–297, 303–307, 310–313, 316–320
   pow.py391464%26, 34, 44–46, 50–52, 62, 67–71
   rpc.py792371%41–42, 45, 61, 64, 68, 73–76, 78–88, 93–95
   state.py1352482%29, 48–49, 93, 105, 189–204, 225–228, 231–236
   validators.py9189%13
TOTAL124443465% 

Tests Skipped Failures Errors Time
74 0 💤 7 ❌ 0 🔥 18.063s ⏱️

@coderabbitai

coderabbitai Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 7ef79835-d253-48eb-95b7-90d47728ac55

📥 Commits

Reviewing files that changed from the base of the PR and between 12bf2b1 and 3a0eef3.

📒 Files selected for processing (1)
  • .github/workflows/update-badge.yml

Walkthrough

The update-badge.yml workflow step for refreshing the README coverage badge now sources badge content from the coverageHtml output instead of building a shields.io URL from coverage and color outputs. It rewrites the .svg link to add a style query parameter and uses sed to replace the README's marked coverage block.

Changes

Badge Update Workflow

Layer / File(s) Summary
Badge HTML derivation and README replacement
.github/workflows/update-badge.yml
Switches badge source from coverage/color outputs to coverageHtml, builds a BADGE variable, appends ?style=for-the-badge to the .svg link, and replaces the README's marked block via sed.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Possibly related PRs

Suggested labels: Bash Lang

Poem

A badge once drawn from shields so bright,
Now blooms from HTML, style-for-the-badge light 🐇
Sed swaps the block with a gentle hop,
Coverage shines from top to top!
Hooray, small tweak, big README pop! ✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/ci-setup

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant