Move to the toolchain the target GPUI revision requires

Stage 2 of decision 0023, alone and on published gpui 0.2.2, so that a lint
change and a framework API change cannot be mistaken for each other later.
Zed's revision ce48461e pins Rust 1.97.1; staying on 1.94.1 would mean taking
the compiler move and the dependency move in one unattributable step.

The record warned that three minor versions of new pedantic lints would land
as hard errors under -D warnings. They did not: the whole workspace produced
one lint at four sites, all of them a Duration built from a smaller unit than
it needed. Five minutes, not a day. Recorded because the estimate was wrong in
the cheap direction and the next person planning this should know the shape of
it.

Published gpui 0.2.2 compiles unchanged on 1.97.1; the UI gate passes with 79
tests. That was the one thing this stage existed to find out.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SPYebLiN2w4TqnHUYGdECq
This commit is contained in:
Metal Agent
2026-09-01 13:16:51 -07:00
co-authored by Claude Opus 5
parent b6dc70f9fa
commit 8016ebb1d1
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ resolver = "2"
[workspace.package]
version = "0.0.1"
edition = "2024"
rust-version = "1.94"
rust-version = "1.97"
license = "Apache-2.0"
repository = "https://git.karti.ai/lumbridge-public/lumbridge-code"
+1 -1
View File
@@ -1017,7 +1017,7 @@ mod tests {
projects_root: root.clone(),
rate_limit_feed: root.join("feed.jsonl"),
oauth: ClaudeOauthOptions::disabled(),
poll_interval: Duration::from_secs(60),
poll_interval: Duration::from_mins(1),
})
.expect("starts");
let started = std::time::Instant::now();
+2 -2
View File
@@ -44,9 +44,9 @@ const MAX_RESPONSE_BYTES: u64 = 256 * 1024;
const REQUEST_TIMEOUT: Duration = Duration::from_secs(10);
/// The endpoint rate-limits under polling, so this is deliberately slow. The
/// status line covers the gap between refreshes for free.
pub const MIN_REFRESH_INTERVAL: Duration = Duration::from_secs(300);
pub const MIN_REFRESH_INTERVAL: Duration = Duration::from_mins(5);
/// How long to stand down after the endpoint says we are asking too often.
pub const BACKOFF_AFTER_429: Duration = Duration::from_secs(1_800);
pub const BACKOFF_AFTER_429: Duration = Duration::from_mins(30);
/// A bound on how many per-model limits will be tracked, so a response cannot
/// grow the footer without limit.
const MAX_SCOPED_WINDOWS: usize = 6;
+1 -1
View File
@@ -65,7 +65,7 @@ impl Default for CodexProbeOptions {
fn default() -> Self {
Self {
program: "codex".to_owned(),
poll_interval: Duration::from_secs(60),
poll_interval: Duration::from_mins(1),
client_name: "lumbridge".to_owned(),
client_version: env!("CARGO_PKG_VERSION").to_owned(),
}
+1 -1
View File
@@ -1,4 +1,4 @@
[toolchain]
channel = "1.94.1"
channel = "1.97.1"
components = ["clippy", "rustfmt"]
profile = "minimal"