Skip to content

ci: fix lints for rust 1.99 - #960

Merged
davidhewitt merged 1 commit into
mainfrom
rust-1.99
Oct 1, 2026
Merged

davidhewitt merged 1 commit into
mainfrom
rust-1.99

Conversation

@davidhewitt

@davidhewitt davidhewitt commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary by cubic

Fixes lints that fail on Rust 1.99 so CI passes on the new toolchain without changing behavior.

  • Switches fetch_update to the non-deprecated try_update for atomic baseline accounting.
  • Removes #[must_use] from iterator-returning methods where the lint no longer applies and drops stale #[expect(clippy::float_cmp)] attributes.
  • Simplifies redundant double borrows and iter_mut calls flagged by clippy.

Written for commit a9189a3. Summary will update on new commits.

Review in cubic

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

Branch diff: rust-1.99

Commit Message Production Test Other
a9189a3 ci: fix lints for rust 1.99 +4 -7 +0 -2 +0 -0
TOTAL +4 -7 +0 -2 +0 -0

@macroscopeapp

macroscopeapp Bot commented Oct 1, 2026

Copy link
Copy Markdown

Approvability

Verdict: Approved at a9189a3

Macroscope's review found this PR approvable — This six-file Rust 1.99 lint cleanup is predominantly mechanical: it changes diagnostics, equivalent iterator/borrow syntax, and test-only annotations. The production memory-accounting edit preserves the existing atomic update logic, with no material change to sandboxing, unsafe boundaries, public API shape, wire/snapshot formats, or release behavior.

Notes:

  • Your custom eligibility rules tell Macroscope not to weigh correctness findings, so they do not block approval.

You can add or adjust custom eligibility rules. Learn more.

@davidhewitt
davidhewitt enabled auto-merge (squash) October 1, 2026 14:15
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

Codecov Results 📊

❌ Patch coverage is 50.00%. Project has 47285 uncovered lines.
✅ Project coverage is 64.03%. Comparing base (base) to head (head).

Files with missing lines (1)
File Patch % Lines
crates/monty-types/src/resource.rs 0.00% ⚠️ 1 Missing
Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    63.83%    64.03%     +0.2%
==========================================
  Files          522       522         —
  Lines       130356    131459     +1103
  Branches    277824    279921     +2097
==========================================
+ Hits         83210     84174      +964
- Misses       47146     47285      +139
- Partials      5657      5697       +40

Generated by Codecov Action

@codecov

codecov Bot commented Oct 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@cubic-dev-ai cubic-dev-ai Bot left a comment

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.

No issues found across 6 files

Re-trigger cubic

@codspeed

codspeed Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will degrade performance by 4.43%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

❌ 2 regressed benchmarks
✅ 43 untouched benchmarks
⏩ 16 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
❌ session_load__monty 4.2 ms 4.4 ms -4.65%
❌ end_to_end__monty 62.3 µs 65 µs -4.21%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing rust-1.99 (a9189a3) with main (00e2caf)

Open in CodSpeed

Footnotes

  1. 16 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@davidhewitt
davidhewitt merged commit 505f104 into main Oct 1, 2026
46 of 47 checks passed
@davidhewitt
davidhewitt deleted the rust-1.99 branch October 1, 2026 14:27
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