Skip to content

Consolidate open AI bot PRs: Bolt optimizations and dependabot update#60

Draft
Copilot wants to merge 3 commits intomasterfrom
copilot/merge-ai-bot-mrs
Draft

Consolidate open AI bot PRs: Bolt optimizations and dependabot update#60
Copilot wants to merge 3 commits intomasterfrom
copilot/merge-ai-bot-mrs

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 8, 2026

Merges remaining changes from ~25 open Bolt AI PRs (#34#57) and dependabot PR #33 into a single commit. Many PRs had overlapping or already-merged changes (Value Display, Context lock optimizations, Token as_str()); this extracts only the delta.

Clippy / idiomatic Rust fixes (from PR #34)

  • parser.rs: Remove unnecessary & on op args in exec_unary/exec_binary, into_iteriter in describe(), lifetime annotations on cur_tok/next
  • tokenizer.rs: Field shorthand, remove unnecessary return, is_ascii_digit()/is_ascii_lowercase()/is_ascii_uppercase() instead of manual range checks, lifetime annotations, Copy instead of .clone() for Token
  • operator.rs / function.rs: Field shorthand ({ store } not { store: store })
  • operator.rs: *precedence instead of precedence.clone() for i32
  • descriptor.rs: Replace is_none() + unwrap() with .cloned()

Parser expr formatting (from PR #55)

  • list_expr / map_expr / chain_expr: push('x') instead of push_str("x"), borrow instead of clone in map_expr, drop &")".to_string() in binary_expr

Dependency update (from PR #33)

  • Bump transitive dep bytes 1.4.0 → 1.11.1

Bolt learnings

  • Added Display optimization entry to .jules/bolt.md

Copilot AI and others added 2 commits April 8, 2026 06:48
…ytes dependency

Merges changes from the following open AI bot PRs:
- PRs #34-43: Clippy fixes, field shorthand, lifetime annotations, iterator optimizations
- PRs #45-55: Value Display, parser list/map/chain expr optimizations
- PRs #56-57: Token string allocation optimizations (already in codebase)
- PR #33: Bump bytes 1.4.0 -> 1.11.1 (dependabot)
- PR #38: Value Display formatting (already in codebase)

Changes applied:
- parser.rs: Remove unnecessary & on op args, into_iter -> iter in describe(),
  push_str("x") -> push('x'), borrow instead of clone in map_expr, lifetime annotations
- tokenizer.rs: Field shorthand, remove unnecessary return, use is_ascii_*() methods,
  lifetime annotations, Copy instead of clone for Token
- operator.rs: Field shorthand for all managers, *precedence instead of clone()
- function.rs: Field shorthand
- descriptor.rs: Use ? operator for early return
- lib.rs: Explicit lifetime annotation on parse_expression
- .jules/bolt.md: Add Display optimization learning
- Cargo.lock: Bump bytes 1.4.0 -> 1.11.1

Agent-Logs-Url: https://github.com/ashyanSpada/expression_engine_rs/sessions/e76f8236-8653-4bc9-bf47-86b983ff48e3

Co-authored-by: ashyanSpada <22587148+ashyanSpada@users.noreply.github.com>
Copilot AI changed the title [WIP] Merge merge requests created by AI bot Consolidate open AI bot PRs: Bolt optimizations and dependabot update Apr 8, 2026
Copilot AI requested a review from ashyanSpada April 8, 2026 06:52
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.

2 participants