Skip to content

gpu-gates: drop the dead feature-off stub main from 112 bins (mirrors #99) - #133

Merged
midagedev merged 1 commit into
mainfrom
avlp-99-dead-stubs
Oct 13, 2026
Merged

midagedev merged 1 commit into
mainfrom
avlp-99-dead-stubs

Conversation

@midagedev

Copy link
Copy Markdown
Owner

Mirrors #99 by @avlp12 (their commit, authorship kept), rebased on main (5c98cc7) so the review job can run (fork PRs are refused by pull_request_target). No new stub mains on main since; no changes beyond the rebase.

Prepared by the bloomery AI assistant for @midagedev.

… declare required-features (#12)

Each of these bins has a [[bin]] entry whose required-features turn on the
feature its `#[cfg(not(...))] fn main()` stub tests (deepseek41 and
glm5next pull in gpu; all(mimo2, glm5next) is covered by the three
features gate_mimo2_serve requires), so cargo never builds the bin
without them and the stub that printed a hint and exited 2 could not be
reached. The real `main` keeps its positive cfg.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@midagedev midagedev added the gpu The card engine: crates/gpu*, crates/app label Oct 13, 2026
@github-actions github-actions Bot added the needs-gpu Changes code a card must check, and carries no gate run on a card label Oct 13, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: CLEAN: Cargo already excludes all 112 deleted feature-off stubs through required-features; working entry points are unchanged.

Checked

Duplicates: 0 new items checked; no dryer pairs available.
Complexity: crapper flagged no functions; only inactive entry points were deleted.
Silent failure: 0 new sites; all 112 removed error exits were unreachable through Cargo.
Tests: no tests or assertions changed; mutation checks do not apply.
Gates: no pins, thresholds, gate clauses or working gate entry points changed.
Features: all 112 manifest targets checked across 64 input feature combinations; requirements always enable the retained main.
Performance: no hot path changes; enabled implementation text is unchanged in all 112 files.
Escape catalog: C1–C4 do not match.

Notes

dryer did not run: diagnostics reports no changed Rust files under crates/, although all 112 changed files are there.
No GPU gate evidence was supplied. Runtime gates and PTX scans were not run.

Card check: needs-gpu. This pull request changes crates/gpu-gates/src/bin/bloomery_chat.rs, crates/gpu-gates/src/bin/bloomery_serve.rs, crates/gpu-gates/src/bin/bloomery_serve_ds41.rs … and carries no gate run on a card (CONTRIBUTING's evidence list); a maintainer adds gpu-verified after one.

🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)

@midagedev
midagedev merged commit a7ed8b5 into main Oct 13, 2026
6 checks passed
@midagedev midagedev removed the needs-gpu Changes code a card must check, and carries no gate run on a card label Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gpu The card engine: crates/gpu*, crates/app gpu-verified

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants