Skip to content

Enable code coverage.#32

Merged
wpak-ai merged 3 commits into
cppalliance:developfrom
AuraMindNest:fix/enable-coverage
May 7, 2026
Merged

Enable code coverage.#32
wpak-ai merged 3 commits into
cppalliance:developfrom
AuraMindNest:fix/enable-coverage

Conversation

@AuraMindNest
Copy link
Copy Markdown
Collaborator

@AuraMindNest AuraMindNest commented May 6, 2026

Closes #33

Summary by CodeRabbit

  • Chores
    • Adjusted coverage configuration for reporting behavior.
    • Updated an internal test expectation to reflect a changed query count during language setup.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 6, 2026

📝 Walkthrough

Walkthrough

Removed informational: true from Codecov patch coverage status and adjusted a unit test to expect one additional database query in weblate/lang/tests.py.

Changes

Codecov Configuration

Layer / File(s) Summary
Configuration
codecov.yml
Removed informational: true from coverage.status.patch.default; target: 100 unchanged.

Test Expectation Update

Layer / File(s) Summary
Test Assertion
weblate/lang/tests.py
CommandTest.test_setuplang updated to expect 4 DB queries (was 3) when calling call_command("setuplang").
Tests
weblate/lang/tests.py
Only the assertion around assertNumQueries changed; no other test logic modified.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 A tiny tweak, a gentle thump,
Flags fall silent, tests adjust the jump.
One more query, one less doubt,
Hops of code keep the garden sprout. 🥕

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The title 'Enable code coverage' is vague and does not clearly describe the actual changes made in the changeset. Consider a more specific title that reflects the actual changes, such as 'Remove informational flag from codecov.yml' or 'Update codecov configuration and test assertions'.
✅ Passed checks (3 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


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 and usage tips.

@cppalliance cppalliance deleted a comment from codecov Bot May 7, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.43%. Comparing base (eaaff34) to head (0624600).

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@AuraMindNest AuraMindNest requested review from henry0816191 and jonathanMLDev and removed request for jonathanMLDev May 7, 2026 05:34
@AuraMindNest AuraMindNest requested a review from wpak-ai May 7, 2026 15:13
@wpak-ai wpak-ai merged commit d5029e2 into cppalliance:develop May 7, 2026
55 checks passed
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.

Enable code coverage of Weblate

3 participants