Skip to content

ci: drop the Miri job - #503

Merged
xxx merged 1 commit into
masterfrom
chore/drop-miri-job
Aug 21, 2026
Merged

ci: drop the Miri job#503
xxx merged 1 commit into
masterfrom
chore/drop-miri-job

Conversation

@xxx

@xxx xxx commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

On the Linux runner every unsafe block in glass-clip-shim-windows and glass-windows sits behind #[cfg(windows)], so cargo miri test was interpreting 117 tests' worth of entirely safe code — the same tests check already runs, with no UB available for Miri to find. The Win32 hook, the user32 detours and the named-pipe server are FFI, which Miri cannot execute at all; those stay covered on-box and by review.

Also removes the now-dead #[cfg_attr(miri, ignore)] and the doc comments that claimed Miri coverage.

Needs a ruleset edit before merge: Miri (UB check · pure crates) is still a required status check, so this PR will sit unmergeable until it is dropped from the ruleset.

🤖 Generated with Claude Code

On the Linux runner every `unsafe` block in glass-clip-shim-windows and
glass-windows is behind `#[cfg(windows)]`, so `cargo miri test` interpreted
117 tests' worth of entirely safe code — the same tests the `check` job
already runs, with no UB left for Miri to find. The Win32 hook, the detours
and the named-pipe server are FFI, which Miri cannot execute at all; they
stay covered by the on-box suite and review.

Also drops the now-dead `#[cfg_attr(miri, ignore)]` and the doc comments
claiming Miri coverage.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@xxx
xxx merged commit 4378781 into master Aug 21, 2026
17 checks passed
@xxx
xxx deleted the chore/drop-miri-job branch August 21, 2026 17:53
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