Skip to content

fix(tui): use is_none_or for loaded thread budget - #715

Merged
GraciousGazelles merged 1 commit into
mainfrom
repair/current-main-tui-clippy-w12498
Sep 1, 2026
Merged

GraciousGazelles merged 1 commit into
mainfrom
repair/current-main-tui-clippy-w12498

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Summary

  • replace the Rust 1.96 Clippy-suggested Option::map_or(true, ...) with Option::is_none_or(...) in the loaded-thread budget guard
  • preserve the existing predicate and behavior for both None and Some values

Validation

  • git diff --check
  • rustfmt --check codex-rs/tui/src/app/session_lifecycle.rs
  • hosted CI required checks

This is a one-file, one-expression modernization. No tests, APIs, or unrelated behavior are changed.

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Sep 1, 2026
Merged via the queue into main with commit 23041df Sep 1, 2026
142 of 146 checks passed
@GraciousGazelles
GraciousGazelles deleted the repair/current-main-tui-clippy-w12498 branch September 1, 2026 23:16
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