Skip to content

.github/workflows: Pin CI toolchain to 1.97.1 - #4

Merged
mohitranka merged 1 commit into
mainfrom
fix/ci-toolchain-msrv
Jul 29, 2026
Merged

mohitranka merged 1 commit into
mainfrom
fix/ci-toolchain-msrv

Conversation

@mohitranka

@mohitranka mohitranka commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

CI has been red on main since before the Blacksmith migration: cargo test --workspace --all-targets --locked fails with 95 E0658 errors while compiling neo_frizbee 0.11.0, which uses AVX-512 target features and stdarch_x86_avx512 intrinsics that were only stabilized in Rust 1.89.

The workflows pin toolchains well below that (dtolnay/[email protected] in CI, @1.86.0 in the release workflow), and also below the workspace's own declared rust-version = "1.97.1", so even without the AVX-512 issue the build would be rejected once it reached the workspace crates. This bumps all three pins to 1.97.1 so CI matches the declared MSRV.

      - uses: dtolnay/[email protected]

Verified with the 1.97.1 toolchain: cargo check --workspace --all-targets --locked and cargo fmt --all -- --check both pass.

Note: PR #3 was merged while this fix was being prepared, so it lands here on a fresh branch off main instead.


View with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is enabled.

The pinned 1.88.0/1.86.0 toolchains are below the workspace
rust-version (1.97.1), and neo_frizbee 0.11.0 needs the AVX-512
target features stabilized in Rust 1.89, so 'cargo test' failed
to compile with 95 E0658 errors.

Co-authored-by: Codesmith <[email protected]>
@mohitranka
mohitranka merged commit 4f76b0c into main Jul 29, 2026
0 of 2 checks passed
mohitranka added a commit that referenced this pull request Aug 1, 2026
.github/workflows: Pin CI toolchain to 1.97.1
mohitranka added a commit that referenced this pull request Aug 21, 2026
.github/workflows: Pin CI toolchain to 1.97.1
mohitranka added a commit that referenced this pull request Sep 11, 2026
.github/workflows: Pin CI toolchain to 1.97.1
mohitranka added a commit that referenced this pull request Sep 11, 2026
.github/workflows: Pin CI toolchain to 1.97.1
mohitranka added a commit that referenced this pull request Sep 14, 2026
The operator could already move over background tasks with `↑↓` and act on
them with `x`/`a`/`d`/`i`, but nothing drew them: `task_selection.task()` was
read only by the commands and by focus, never by a renderer, and every caller
of the layout passed `background_h = 0`, so the region `layout.rs` reserves
for the strip was always zero-height. The keys worked; the rows were
invisible.

The strip is now a real surface, docked between the outbound-message queue and
the composer. It is deliberately not a log: a `[✓]` row retires a minute after
it finished, and everything else waits for `x`.

Three rules are load-bearing, and each is pinned by a test:

- Ordering is blocked -> failed -> active -> queued -> done. `failed` outranks
  `active` because a failure is the only other state that can need an
  operator, and truncation takes from the tail, so the rows that get cut are
  always the ones still progressing or already finished. Naive ordering hides
  the failure first.
- `Cancelled` is not folded into `Done`. Sharing the TTL would have aged out a
  cancellation the operator never performed (a stopped session, an interrupted
  turn), leaving no evidence it happened.
- The strip yields before the transcript. The renderer only requests a height;
  `layout.rs` clamps it against the transcript's `Min` floor, so a merely
  running job can never take a row from the conversation.

Blocked rows also name the asker and draw the pending request (tool plus its
already-redacted arguments) on a second line, so "task #4 needs approval"
becomes "explore wants to run bash".

`started_at`/`finished_at` were already on `BackgroundTaskHandle`; the snapshot
now carries them for the elapsed column and the expiry clock.

Tests: 7 view-model, 5 widget, 2 snapshot. `cargo fmt --all -- --check` and
`cargo clippy --workspace --all-targets --locked -- -D warnings` clean.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant