From 0cc00ca9bb8472e3bfa42f6df5b05e5843972e34 Mon Sep 17 00:00:00 2001 From: Yuanhao Li Date: Sat, 11 Jul 2026 11:10:53 +0200 Subject: [PATCH] fix: restore --all-features on the MSRV job via yoagent-state 0.4.2 yoagent-state 0.4.2 makes its declared 1.85 MSRV true (let-chain removed upstream in yologdev/yoagent-state#1), so the gasp feature can be MSRV- checked again. Floor bumped to 0.4.2 so a 1.86 toolchain can never resolve the broken 0.4.1. The stale docs caveat is removed. Downstream verified against 0.4.2 before this change: yoagent's 392 tests, yoyo-evolve's gasp-emit (compiles), yyds-harness (0.2.x range, unaffected). This PR's own MSRV job is the final verdict for the 1.86 + --all-features combination. Co-Authored-By: Claude Fable 5 --- .github/workflows/ci.yml | 4 +--- Cargo.toml | 3 ++- docs/concepts/gasp.md | 3 --- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e6a3449..720b925 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,9 +58,7 @@ jobs: - uses: dtolnay/rust-toolchain@1.86 - uses: Swatinem/rust-cache@v2 - name: Check - # The optional `gasp` feature is excluded: yoagent-state currently - # requires a newer rustc (let-chains) than the crate's 1.86 MSRV. - run: cargo check --features openapi + run: cargo check --all-features # yoagent claims to be a tested GASP-conformant runtime — this job is the # test: emit an agent repo with the gasp bridge (mock provider, no network) diff --git a/Cargo.toml b/Cargo.toml index aebd90e..a782a75 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,7 +31,8 @@ rand = "0.10.0" base64 = "0.22" openapiv3 = { version = "2", optional = true } serde_yaml_ng = { version = "0.10", optional = true } -yoagent-state = { version = "0.4.1", optional = true } +# 0.4.2 floor: 0.4.1 declared MSRV 1.85 but required 1.88 (let-chain) +yoagent-state = { version = "0.4.2", optional = true } [features] openapi = ["dep:openapiv3", "dep:serde_yaml_ng", "reqwest/query"] diff --git a/docs/concepts/gasp.md b/docs/concepts/gasp.md index 4c825f6..6f790dc 100644 --- a/docs/concepts/gasp.md +++ b/docs/concepts/gasp.md @@ -16,9 +16,6 @@ agent-loop changes**: yoagent = { version = "0.11", features = ["gasp"] } ``` -> The `gasp` feature currently requires a newer Rust than the crate's 1.86 -> MSRV (its `yoagent-state` dependency uses let-chains, stable since 1.88). - ```rust use yoagent::gasp::{GaspRecorder, GoalRef};