[PR #200] [MERGED] refactor: optimize code to fix clippy warning on rust v1.98 #248

Closed
opened 2026-10-29 14:21:28 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/kvcache-ai/AgentENV/pull/200
Author: @LSX-s-Software
Created: 8/21/2026
Status: ✅ Merged
Merged: 8/21/2026
Merged by: @yingdi-shan

Base: main ← Head: fix/clippy


📝 Commits (1)

  • 84af488 refactor: optimize code to fix clippy warning on rust v1.98

📊 Changes

3 files changed (+32 additions, -41 deletions)

View changed files

📝 src/api/proxy.rs (+29 -38)
📝 storage/overlaybd/src/compression/zfile.rs (+2 -2)
📝 storage/overlaybd/src/prefetch.rs (+1 -1)

📄 Description

What

Optimize code to fix clippy warning on rust v1.98.

Why

Rust has released a new stable version v1.98, causing clippy to complain about existing code and failing the CI.

Validation

  • make fmt
  • make clippy
  • make test-unit
  • Relevant Rust integration tests
  • make -C services test (required when services/ changes)
  • Generated clients/server regenerated with the documented make target
  • Documentation updated
  • Benchmarks or performance comparison completed

Checklist

  • The PR contains one coherent change and no unrelated formatting or refactoring.
  • New behavior is covered by tests, or I explained why testing is impractical.
  • Logs and examples contain no credentials, tokens, or private registry information.
  • I did not manually edit generated code without updating its source and regenerating it.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/kvcache-ai/AgentENV/pull/200 **Author:** [@LSX-s-Software](https://github.com/LSX-s-Software) **Created:** 8/21/2026 **Status:** ✅ Merged **Merged:** 8/21/2026 **Merged by:** [@yingdi-shan](https://github.com/yingdi-shan) **Base:** `main` ← **Head:** `fix/clippy` --- ### 📝 Commits (1) - [`84af488`](https://github.com/kvcache-ai/AgentENV/commit/84af48872f05e52f6b306f51ee923618ee3c557a) refactor: optimize code to fix clippy warning on rust v1.98 ### 📊 Changes **3 files changed** (+32 additions, -41 deletions) <details> <summary>View changed files</summary> 📝 `src/api/proxy.rs` (+29 -38) 📝 `storage/overlaybd/src/compression/zfile.rs` (+2 -2) 📝 `storage/overlaybd/src/prefetch.rs` (+1 -1) </details> ### 📄 Description ## What Optimize code to fix clippy warning on rust v1.98. ## Why Rust has released a new stable version v1.98, causing clippy to complain about existing code and failing the CI. ## Validation - [x] `make fmt` - [x] `make clippy` - [x] `make test-unit` - [x] Relevant Rust integration tests - [ ] `make -C services test` (required when `services/` changes) - [ ] Generated clients/server regenerated with the documented `make` target - [ ] Documentation updated - [ ] Benchmarks or performance comparison completed ## Checklist - [x] The PR contains one coherent change and no unrelated formatting or refactoring. - [x] New behavior is covered by tests, or I explained why testing is impractical. - [x] Logs and examples contain no credentials, tokens, or private registry information. - [x] I did not manually edit generated code without updating its source and regenerating it. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-29 14:21:28 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kvcache-ai/AgentENV#248
No description provided.