From f2ef97eae89b885ad619cc810399caa087316be9 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 13 Mar 2026 22:00:05 +0000 Subject: [PATCH 1/4] build: pin Rust toolchain to 1.85.0 Co-authored-by: EvalOpsBot --- .github/workflows/ci.yml | 6 +++--- .github/workflows/eval.yml | 2 +- .github/workflows/release.yml | 2 +- Cargo.toml | 1 + rust-toolchain.toml | 3 +++ 5 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 rust-toolchain.toml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index befb6a6..b156232 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: node-version: '20' - name: Build frontend run: cd web && npm ci && npm run build - - uses: dtolnay/rust-toolchain@stable + - uses: dtolnay/rust-toolchain@1.85.0 with: components: rustfmt, clippy - uses: Swatinem/rust-cache@v2 @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable + - uses: dtolnay/rust-toolchain@1.85.0 - uses: Swatinem/rust-cache@v2 - name: Install cargo-audit run: cargo install cargo-audit --locked @@ -53,7 +53,7 @@ jobs: node-version: '20' - name: Build frontend run: cd web && npm ci && npm run build - - uses: dtolnay/rust-toolchain@stable + - uses: dtolnay/rust-toolchain@1.85.0 - uses: Swatinem/rust-cache@v2 - name: Test run: cargo test diff --git a/.github/workflows/eval.yml b/.github/workflows/eval.yml index 337e9ae..d06e572 100644 --- a/.github/workflows/eval.yml +++ b/.github/workflows/eval.yml @@ -37,7 +37,7 @@ jobs: with: fetch-depth: 0 - - uses: dtolnay/rust-toolchain@stable + - uses: dtolnay/rust-toolchain@1.85.0 if: ${{ steps.secret-check.outputs.configured == 'true' }} - uses: Swatinem/rust-cache@v2 if: ${{ steps.secret-check.outputs.configured == 'true' }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7e2d4da..666a790 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -110,7 +110,7 @@ jobs: run: cd web && npm ci && npm run build - name: Install Rust - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@1.85.0 with: targets: ${{ matrix.target }} diff --git a/Cargo.toml b/Cargo.toml index 08e84c7..c962f75 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,7 @@ name = "diffscope" version = "0.5.3" edition = "2021" +rust-version = "1.85" authors = ["Jonathan Haas "] description = "A composable code review engine with smart analysis, confidence scoring, and professional reporting" license = "Apache-2.0" diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..b475f2f --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,3 @@ +[toolchain] +channel = "1.85.0" +components = ["rustfmt", "clippy"] From 249a5348d781dcf5e4e37703eda722b067d4a179 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 13 Mar 2026 22:01:10 +0000 Subject: [PATCH 2/4] build: raise pinned Rust toolchain to 1.88.0 Co-authored-by: EvalOpsBot --- .github/workflows/ci.yml | 6 +++--- .github/workflows/eval.yml | 2 +- .github/workflows/release.yml | 2 +- Cargo.toml | 2 +- rust-toolchain.toml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b156232..3d53b6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: node-version: '20' - name: Build frontend run: cd web && npm ci && npm run build - - uses: dtolnay/rust-toolchain@1.85.0 + - uses: dtolnay/rust-toolchain@1.88.0 with: components: rustfmt, clippy - uses: Swatinem/rust-cache@v2 @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@1.85.0 + - uses: dtolnay/rust-toolchain@1.88.0 - uses: Swatinem/rust-cache@v2 - name: Install cargo-audit run: cargo install cargo-audit --locked @@ -53,7 +53,7 @@ jobs: node-version: '20' - name: Build frontend run: cd web && npm ci && npm run build - - uses: dtolnay/rust-toolchain@1.85.0 + - uses: dtolnay/rust-toolchain@1.88.0 - uses: Swatinem/rust-cache@v2 - name: Test run: cargo test diff --git a/.github/workflows/eval.yml b/.github/workflows/eval.yml index d06e572..09c2eca 100644 --- a/.github/workflows/eval.yml +++ b/.github/workflows/eval.yml @@ -37,7 +37,7 @@ jobs: with: fetch-depth: 0 - - uses: dtolnay/rust-toolchain@1.85.0 + - uses: dtolnay/rust-toolchain@1.88.0 if: ${{ steps.secret-check.outputs.configured == 'true' }} - uses: Swatinem/rust-cache@v2 if: ${{ steps.secret-check.outputs.configured == 'true' }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 666a790..21a3b9f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -110,7 +110,7 @@ jobs: run: cd web && npm ci && npm run build - name: Install Rust - uses: dtolnay/rust-toolchain@1.85.0 + uses: dtolnay/rust-toolchain@1.88.0 with: targets: ${{ matrix.target }} diff --git a/Cargo.toml b/Cargo.toml index c962f75..bb93410 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "diffscope" version = "0.5.3" edition = "2021" -rust-version = "1.85" +rust-version = "1.88" authors = ["Jonathan Haas "] description = "A composable code review engine with smart analysis, confidence scoring, and professional reporting" license = "Apache-2.0" diff --git a/rust-toolchain.toml b/rust-toolchain.toml index b475f2f..7855e6d 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.85.0" +channel = "1.88.0" components = ["rustfmt", "clippy"] From 943fe7a72bad03c1a9ccbef346a1c2dfb71832d2 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 13 Mar 2026 22:03:36 +0000 Subject: [PATCH 3/4] build: keep placeholder frontend dist directory Co-authored-by: EvalOpsBot --- web/.gitignore | 3 ++- web/dist/.gitkeep | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 web/dist/.gitkeep diff --git a/web/.gitignore b/web/.gitignore index a547bf3..12990e2 100644 --- a/web/.gitignore +++ b/web/.gitignore @@ -8,7 +8,8 @@ pnpm-debug.log* lerna-debug.log* node_modules -dist +dist/* +!dist/.gitkeep dist-ssr *.local diff --git a/web/dist/.gitkeep b/web/dist/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/web/dist/.gitkeep @@ -0,0 +1 @@ + From 1317fc4f4aa0bd3d60d891ff4d96affdec483772 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 13 Mar 2026 22:05:36 +0000 Subject: [PATCH 4/4] lint: allow uninlined format args during toolchain upgrade Co-authored-by: EvalOpsBot --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index 16f7cca..7c2779f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,5 @@ +#![allow(clippy::uninlined_format_args)] + mod adapters; mod commands; mod config;