[PR #1439] [MERGED] Fix Rust clippy lifetime warning #5090

Closed
opened 2026-10-22 04:13:09 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1439
Author: @cha1latte
Created: 5/27/2026
Status: ✅ Merged
Merged: 5/27/2026
Merged by: @cha1latte

Base: refactor ← Head: fix/refactor-clippy-lifetime


📝 Commits (1)

  • 08e2fd0 Fix Rust clippy lifetime warning

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 src-tauri/src/commands/storage/commands/entities.rs (+3 -3)

📄 Description

Linked issue

Unblocks #1434

Why this change

  • The Rust Capability Layer CI job on #1434 fails on refactor because Rust 1.95 clippy now rejects an explicit lifetime in projection_field_selections.

What changed

  • Elided the needless lifetime in projection_field_selections.
  • No behavior change.

Refactor impact

Primary owner:

Rust storage

Impact areas reviewed:

  • src-tauri/src/commands/storage/commands/entities.rs

Boundary notes:

  • Rust-only clippy cleanup.
  • No schema, storage behavior, provider, prompt, dependency, or frontend changes.

Pressure points touched:

  • None.

Validation

  • pnpm check passes locally
  • pnpm typecheck passes locally
  • pnpm build passes locally
  • pnpm check:architecture passes locally
  • pnpm check:docs passes locally
  • cargo check --manifest-path src-tauri/Cargo.toml --workspace passes locally
  • Rust clippy/tests were run for Rust behavior changes
  • Browser or Tauri app manual verification completed
  • Playwright, screenshot, or recording evidence added for UI changes
  • Remote runtime smoke checked when relevant

Manual verification notes

  • Codex reproduced the CI blocker locally with cargo clippy --manifest-path src-tauri/Cargo.toml --workspace --all-targets -- -D warnings; it failed with clippy::needless_lifetimes at src-tauri/src/commands/storage/commands/entities.rs:136.
  • Codex verified the fix with cargo clippy --manifest-path src-tauri/Cargo.toml --workspace --all-targets -- -D warnings: passed.
  • Codex verified cargo check --manifest-path src-tauri/Cargo.toml --workspace: passed.
  • Bunny review pass completed before opening the PR.
  • graphify update . could not run because graphify is not available on PATH in this Codex session.

Docs and release impact

  • No docs changes needed
  • Updated README.md
  • Updated CONTRIBUTING.md
  • Updated docs/developer/
  • Updated repo skills or AGENTS.md
  • Confirmed this PR does not restore old staging/package-workspace/release claims

UI evidence

N/A: Rust clippy cleanup only.


🔄 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/Pasta-Devs/Marinara-Engine/pull/1439 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/27/2026 **Status:** ✅ Merged **Merged:** 5/27/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `refactor` ← **Head:** `fix/refactor-clippy-lifetime` --- ### 📝 Commits (1) - [`08e2fd0`](https://github.com/Pasta-Devs/Marinara-Engine/commit/08e2fd0bdabb96ddc505aa2d909faca4f085b5fe) Fix Rust clippy lifetime warning ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src-tauri/src/commands/storage/commands/entities.rs` (+3 -3) </details> ### 📄 Description ## Linked issue Unblocks #1434 ## Why this change - The `Rust Capability Layer` CI job on #1434 fails on `refactor` because Rust 1.95 clippy now rejects an explicit lifetime in `projection_field_selections`. ## What changed - Elided the needless lifetime in `projection_field_selections`. - No behavior change. ## Refactor impact Primary owner: Rust storage Impact areas reviewed: - `src-tauri/src/commands/storage/commands/entities.rs` Boundary notes: - Rust-only clippy cleanup. - No schema, storage behavior, provider, prompt, dependency, or frontend changes. Pressure points touched: - None. ## Validation - [ ] `pnpm check` passes locally - [ ] `pnpm typecheck` passes locally - [ ] `pnpm build` passes locally - [ ] `pnpm check:architecture` passes locally - [ ] `pnpm check:docs` passes locally - [ ] `cargo check --manifest-path src-tauri/Cargo.toml --workspace` passes locally - [ ] Rust clippy/tests were run for Rust behavior changes - [ ] Browser or Tauri app manual verification completed - [ ] Playwright, screenshot, or recording evidence added for UI changes - [ ] Remote runtime smoke checked when relevant ### Manual verification notes - Codex reproduced the CI blocker locally with `cargo clippy --manifest-path src-tauri/Cargo.toml --workspace --all-targets -- -D warnings`; it failed with `clippy::needless_lifetimes` at `src-tauri/src/commands/storage/commands/entities.rs:136`. - Codex verified the fix with `cargo clippy --manifest-path src-tauri/Cargo.toml --workspace --all-targets -- -D warnings`: passed. - Codex verified `cargo check --manifest-path src-tauri/Cargo.toml --workspace`: passed. - Bunny review pass completed before opening the PR. - `graphify update .` could not run because `graphify` is not available on PATH in this Codex session. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated `README.md` - [ ] Updated `CONTRIBUTING.md` - [ ] Updated `docs/developer/` - [ ] Updated repo skills or `AGENTS.md` - [ ] Confirmed this PR does not restore old staging/package-workspace/release claims ## UI evidence N/A: Rust clippy cleanup only. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:13:09 +07: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
Pasta-Devs/Marinara-Engine#5090
No description provided.