Skip to content

Fix: Add comprehensive unit tests for cargo-budget-report/src/deploy_cache.rs - #767

Merged
mergekeeper[bot] merged 4 commits into
Tollcraft:mainfrom
precious1joe:fix/issue-728-1790511119983
Sep 30, 2026
Merged

mergekeeper[bot] merged 4 commits into
Tollcraft:mainfrom
precious1joe:fix/issue-728-1790511119983

Conversation

@precious1joe

Copy link
Copy Markdown
Contributor

Closes #728

Changes

Remove trailing duplicate and orphaned test blocks in cargo-budget-report/src/deploy_cache.rs to fix unbalanced brackets.

Verification

✅ The repository's own CI was run on this branch (on the contributor's fork) before opening this PR: every check passed except lint, budget-check — they fail on main without this change too (the same CI run on the untouched base commit a861619), so they aren't caused by this PR. The change is within the issue's scope.

@drips-wave

drips-wave Bot commented Sep 27, 2026

Copy link
Copy Markdown

@precious1joe Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@mergekeeper

mergekeeper Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

MergeKeeper review

Scope: in scope for linked issue #728.
Verdict: clean

The pull request successfully adds comprehensive unit tests for cargo-budget-report/src/deploy_cache.rs covering happy paths, error handling, edge cases, and helper functions as requested by the issue.

Reviewed commit: a4ac58a2365b57bf8f9bfef3ef18413e173b2bab.
CI and merge eligibility are checked separately.

@mergekeeper

mergekeeper Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

MergeKeeper merge status

Status: blocked
PR state: open
Mergeability: mergeable
Checked commit: 35746e03dbef5672048ac2cc66a42bbc50edb147.

Reason: One or more required CI checks failed.

Failing checks:

Next steps:

  1. Open the failing check details above and fix the reported error.
  2. Run the same checks locally where possible.
  3. Commit and push the fix.
  4. MergeKeeper will automatically re-review the updated PR.

@mergekeeper

mergekeeper Bot commented Sep 30, 2026

Copy link
Copy Markdown

MergeKeeper review unavailable

AI provider failed: gemini-3.5-flash-lite (200)

No approval or merge action was taken.

Allison Muyideen Opeyemi added 2 commits September 30, 2026 11:01
Formatting only, to satisfy the repo's `cargo fmt --all -- --check` lint gate.
No behaviour changed.
`cargo clippy --workspace --all-targets -- -D warnings` denies
clippy::useless_format, so `format!("version = 999\n")` failed the lint gate.
`fs::write` takes any `AsRef<[u8]>`, so the literal can be passed directly;
the written bytes are unchanged.

Verified locally: cargo fmt --all -- --check clean, clippy -D warnings clean,
cargo test -p cargo-budget-report green.

@mergekeeper mergekeeper 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.

Approved

The pull request successfully adds comprehensive unit tests for cargo-budget-report/src/deploy_cache.rs covering happy paths, error handling, edge cases, and helper functions as requested by the issue.

@mergekeeper
mergekeeper Bot merged commit 5c7fc6e into Tollcraft:main Sep 30, 2026
8 checks passed
@mergekeeper

mergekeeper Bot commented Sep 30, 2026

Copy link
Copy Markdown

Merged

Merged with squash.

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.

Add comprehensive unit tests for cargo-budget-report/src/deploy_cache.rs

2 participants