Skip to content

Update Rust toolchains to nightly-2026-04-27#8682

Open
hash-worker[bot] wants to merge 2 commits intomainfrom
deps/rs/rust-toolchains
Open

Update Rust toolchains to nightly-2026-04-27#8682
hash-worker[bot] wants to merge 2 commits intomainfrom
deps/rs/rust-toolchains

Conversation

@hash-worker
Copy link
Copy Markdown
Contributor

@hash-worker hash-worker Bot commented Apr 30, 2026

This PR contains the following updates:

Package Update Change
rust patch 2026-04-132026-04-27

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 11am"
  • Automerge
    • "before 4am every weekday,every weekend"

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@hash-worker hash-worker Bot enabled auto-merge April 30, 2026 11:32
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hash Ready Ready Preview, Comment Apr 30, 2026 0:24am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
hashdotdesign-tokens Ignored Ignored Preview Apr 30, 2026 0:24am
petrinaut Skipped Skipped Comment Apr 30, 2026 0:24am

@cursor
Copy link
Copy Markdown

cursor Bot commented Apr 30, 2026

PR Summary

Medium Risk
Toolchain bumps can introduce new compiler/lint behavior and break builds in unrelated crates; the code changes themselves are small and largely type/import/const-qualification adjustments.

Overview
Updates the pinned Rust toolchain from nightly-2026-04-13 to nightly-2026-04-27 and refreshes error-stack rust-version badges to match.

Includes small compatibility cleanups: switch some ErrorKind::NotFound checks to core::io::ErrorKind, adjust test imports in harpc session server tests, and mark several slice-accessor methods as const fn (e.g., Labels::as_slice, SwitchTargets::{targets,targets_mut,values}).

Reviewed by Cursor Bugbot for commit 2f0d2b8. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions github-actions Bot added area/deps Relates to third-party dependencies (area) area/infra Relates to version control, CI, CD or IaC (area) area/libs > error-stack Affects the `error-stack` crate (library) area/libs Relates to first-party libraries/crates/packages (area) labels Apr 30, 2026
@augmentcode
Copy link
Copy Markdown

augmentcode Bot commented Apr 30, 2026

🤖 Augment PR Summary

Summary: Updates the repo Rust toolchain to nightly-2026-04-27 (from nightly-2026-04-13).

Changes: Aligns rust-toolchain.toml and the error-stack Rust version badges/documentation headers to reference the new nightly snapshot.

🤖 Was this summary useful? React with 👍 or 👎

Copy link
Copy Markdown

@augmentcode augmentcode Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

TimDiekmann
TimDiekmann previously approved these changes Apr 30, 2026
Copy link
Copy Markdown
Member

@TimDiekmann TimDiekmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should finally fix the bug about incremental compilation.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.08%. Comparing base (891f36f) to head (2f0d2b8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8682      +/-   ##
==========================================
- Coverage   62.08%   62.08%   -0.01%     
==========================================
  Files        1341     1341              
  Lines      135072   135072              
  Branches     5744     5744              
==========================================
- Hits        83856    83855       -1     
- Misses      50308    50309       +1     
  Partials      908      908              
Flag Coverage Δ
apps.hash-ai-worker-ts 1.41% <ø> (ø)
apps.hash-api 0.00% <ø> (ø)
local.hash-backend-utils 0.00% <ø> (ø)
local.hash-graph-sdk 9.63% <ø> (ø)
local.hash-isomorphic-utils 0.00% <ø> (ø)
rust.harpc-tower 67.03% <ø> (ø)
rust.hash-graph-api 2.52% <ø> (ø)
rust.hashql-ast 87.23% <ø> (ø)
rust.hashql-compiletest 29.63% <ø> (ø)
rust.hashql-core 82.29% <ø> (ø)
rust.hashql-diagnostics 72.43% <100.00%> (ø)
rust.hashql-eval 69.13% <ø> (ø)
rust.hashql-hir 89.06% <ø> (ø)
rust.hashql-mir 92.64% <100.00%> (ø)
rust.hashql-syntax-jexpr 94.05% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 30, 2026

Merging this PR will degrade performance by 20.54%

⚡ 1 improved benchmark
❌ 5 regressed benchmarks
✅ 74 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
👁 pattern_match_constant 180 ns 150.8 ns +19.34%
bit_matrix/dense/transitive_closure[200] 754.4 µs 907.1 µs -16.83%
bit_matrix/dense/transitive_closure[16] 4.8 µs 5.9 µs -19.31%
bit_matrix/dense/transitive_closure[64] 56.4 µs 71 µs -20.54%
bit_matrix/sparse/union_rows[200] 12.1 µs 13.8 µs -12.55%
bit_matrix/sparse/union_rows[64] 4 µs 4.5 µs -10.93%

Comparing deps/rs/rust-toolchains (2f0d2b8) with main (891f36f)

Open in CodSpeed

@TimDiekmann
Copy link
Copy Markdown
Member

@copilot fix the linting issues

Agent-Logs-Url: https://github.com/hashintel/hash/sessions/ef84b90d-bb07-4ff6-a47f-52ffd18f8e37

Co-authored-by: TimDiekmann <21277928+TimDiekmann@users.noreply.github.com>
auto-merge was automatically disabled April 30, 2026 12:18

Head branch was pushed to by a user without write access

@vercel vercel Bot temporarily deployed to Preview – petrinaut April 30, 2026 12:18 Inactive
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Copy Markdown

Copilot AI commented Apr 30, 2026

@copilot fix the linting issues

Fixed in commit 2f0d2b8. The changes address 4 clippy warnings introduced by the new nightly:

  • clippy::missing_const_for_fn: Added const to targets, targets_mut, and values in hashql/mir/src/body/terminator/switch_int.rs, and to as_slice in hashql/diagnostics/src/diagnostic/label.rs
  • clippy::std_instead_of_core: Changed std::io::ErrorKind to core::io::ErrorKind in harpc/net/src/session/server/test.rs and repo-chores/rust/src/sync_turborepo/mod.rs

TimDiekmann
TimDiekmann previously approved these changes Apr 30, 2026
@TimDiekmann TimDiekmann enabled auto-merge April 30, 2026 12:21
@github-actions github-actions Bot added the type/eng > backend Owned by the @backend team label Apr 30, 2026
@github-actions github-actions Bot dismissed stale reviews from TimDiekmann and TimDiekmann April 30, 2026 12:21
#![expect(clippy::significant_drop_tightening, reason = "test code")]
use alloc::sync::Arc;
use core::{
io::ErrorKind,
Ok(contents) => serde_json::from_str(&contents)
.change_context_lazy(|| SyncTurborepoError::ParseFile(path.to_owned())),
Err(err) if err.kind() == std::io::ErrorKind::NotFound => {
Err(err) if err.kind() == core::io::ErrorKind::NotFound => {
}
Ok(_) => {}
Err(err) if err.kind() == std::io::ErrorKind::NotFound => {}
Err(err) if err.kind() == core::io::ErrorKind::NotFound => {}
@TimDiekmann
Copy link
Copy Markdown
Member

Copilot missed half of the stuff, great. Very useful.

@hash-worker
Copy link
Copy Markdown
Contributor Author

hash-worker Bot commented May 4, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/deps Relates to third-party dependencies (area) area/infra Relates to version control, CI, CD or IaC (area) area/libs > error-stack Affects the `error-stack` crate (library) area/libs Relates to first-party libraries/crates/packages (area) type/eng > backend Owned by the @backend team

Development

Successfully merging this pull request may close these issues.

5 participants