Skip to content

openshell-next tracking job: install the Rust version the branch needs #118

In review

Description

@ilanh

The scheduled openshell-next job (.github/workflows/openshell-next.yml, which runs from main) installs a hard-coded Rust 1.94. OpenShell v0.1.11-pre.2 declares rust-version = "1.95", so the job's test step has failed since Nov 27 (for example https://github.com/ilanh/openshell-annotate/actions/runs/46283051368). #117 fixed the branch's own CI, but the tracking job still pins 1.94.

A related bug: when main and the branch both change the pin, scripts/openshell-next.sh sync resolves the conflict by taking main's whole Cargo.toml and re-applying the newer tag. That silently resets the branch's rust-version (now 1.95, from #117) to main's 1.94. I reproduced this locally with main's script.

Fix: install the highest rust-version of openshell-annotate and the locked ai-openshell/openshell crates (read with cargo metadata), after the merge and bump steps, so the toolchain follows the branch instead of drifting. Also keep the branch's higher rust-version in sync. Replaces #112, which hard-coded 1.95 and had no issue or DCO sign-off.

Activity

  1. added
    openshell-next
    on Nov 30, 2026
  2. github-actions commented on Nov 30, 2026

    @github-actions

    openshell-next check (pin v0.1.11-pre.2) ❌

    Merge of main ❌ failed
    Pin update ⏭️ skipped
    Tests (fmt, clippy, test, docs) ⏭️ skipped
    Branch openshell-next @ 58c2a756b093
    Tracking PR #82
    Run https://github.com/ilanh/openshell-annotate/actions/runs/46450834212

    Merging main failed (usually a conflict outside Cargo.toml/Cargo.lock, which needs resolving by hand); nothing was pushed:

    Auto-merging AGENTS.md
    CONFLICT (content): Merge conflict in AGENTS.md
    Auto-merging CHANGELOG.md
    CONFLICT (content): Merge conflict in CHANGELOG.md
    Auto-merging Cargo.lock
    CONFLICT (content): Merge conflict in Cargo.lock
    Auto-merging Cargo.toml
    CONFLICT (content): Merge conflict in Cargo.toml
    Auto-merging Dockerfile
    Auto-merging README.md
    Auto-merging docs/DEVELOPING.md
    CONFLICT (content): Merge conflict in docs/DEVELOPING.md
    Automatic merge failed; fix conflicts and then commit the result.
    conflicts outside Cargo.toml/Cargo.lock need a human:
    AGENTS.md
    CHANGELOG.md
    docs/DEVELOPING.md
    
  3. github-actions commented on Nov 30, 2026

    @github-actions

    openshell-next check (pin v0.1.11-pre.2) ❌

    Merge of main ❌ failed
    Pin update ⏭️ skipped
    Tests (fmt, clippy, test, docs) ⏭️ skipped
    Branch openshell-next @ 58c2a756b093
    Tracking PR #82
    Run https://github.com/ilanh/openshell-annotate/actions/runs/46504074646

    Merging main failed (usually a conflict outside Cargo.toml/Cargo.lock, which needs resolving by hand); nothing was pushed:

    Auto-merging AGENTS.md
    CONFLICT (content): Merge conflict in AGENTS.md
    Auto-merging CHANGELOG.md
    CONFLICT (content): Merge conflict in CHANGELOG.md
    Auto-merging Cargo.lock
    CONFLICT (content): Merge conflict in Cargo.lock
    Auto-merging Cargo.toml
    CONFLICT (content): Merge conflict in Cargo.toml
    Auto-merging Dockerfile
    Auto-merging README.md
    Auto-merging docs/DEVELOPING.md
    CONFLICT (content): Merge conflict in docs/DEVELOPING.md
    Automatic merge failed; fix conflicts and then commit the result.
    conflicts outside Cargo.toml/Cargo.lock need a human:
    AGENTS.md
    CHANGELOG.md
    docs/DEVELOPING.md
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    openshell-next

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions