Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

fix(ci): pin transitive thiserror minimum in minimal-versions (#2795)

Worktrunk Botade8530ff3ba
diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml
index 32cb23f6d..659e429fb 100644
--- a/.github/workflows/nightly.yaml
+++ b/.github/workflows/nightly.yaml
@@ -265,7 +265,15 @@ jobs:
key: minimal-versions
- name: Resolve to minimum versions
- run: cargo update -Z minimal-versions
+ run: |
+ cargo update -Z minimal-versions
+ # filedescriptor 0.8.3 declares `thiserror = "^1.0"` but uses `#[from]`,
+ # which is unsupported in thiserror 1.0.0/1.0.1 (it was added in 1.0.2).
+ # Under -Z minimal-versions the resolver picks 1.0.0, which fails to
+ # compile. Bump the floor to a known-good version that has `#[from]`.
+ # (Upstream filedescriptor hasn't been touched since 2025-02-11; we
+ # can't fix this at the source.)
+ cargo update -p thiserror@1 --precise 1.0.7
- name: cargo check
run: cargo check --workspace --all-targets