Skip to content

ci: repair red main (aarch64 dead code, stale validator test, notices flake) - #2

Merged
classeve-public merged 2 commits into
mainfrom
ci/repair-2026-09-18
Sep 19, 2026
Merged

classeve-public merged 2 commits into
mainfrom
ci/repair-2026-09-18

Conversation

@classeve-public

Copy link
Copy Markdown
Contributor

ci: repair red main — aarch64 dead code, stale validator test, notices flake

Three independent causes had left CI red on main since 2026-09-09:

  • layers.rs: gate schraudolph_exp to x86_64. Its only callers are the AVX2
    SiLU and softmax scalar tails, both #[cfg(target_arch = "x86_64")], so on
    aarch64 (macos-15, Apple Silicon) the function was dead code and clippy
    -D warnings failed. Gating the definition to match the callers fixes it.

  • test_raimodel.py: the reader's kernel maximum is 1024 (gemm.rs MAX_GROUPS,
    raimodel MAX_GEMM_GROUPS), but test_validate_model_config still fed it
    128-era configs (144 and 158 groups) that the validator now correctly
    accepts, so the expected "kernel maximum" rejection never fired. Use
    group_size=12 (1195 linear groups) and embed_group_size=2 (2048 embedding
    groups) so the rejection fires against the real limit.

  • ci.yml: the third-party-notices gate hard-failed when api.clearlydefined.io
    was unreachable, rotting main on a transient outage. When every retry fails
    the regenerated file is incomplete and the diff is a false positive, so warn
    and skip the inconclusive comparison; a genuinely stale file is still caught
    on any run where the lookup succeeds.

…s flake

Three independent causes had left CI red on main since 2026-09-09:

- layers.rs: gate schraudolph_exp to x86_64. Its only callers are the AVX2
  SiLU and softmax scalar tails, both #[cfg(target_arch = "x86_64")], so on
  aarch64 (macos-15, Apple Silicon) the function was dead code and clippy
  -D warnings failed. Gating the definition to match the callers fixes it.

- test_raimodel.py: the reader's kernel maximum is 1024 (gemm.rs MAX_GROUPS,
  raimodel MAX_GEMM_GROUPS), but test_validate_model_config still fed it
  128-era configs (144 and 158 groups) that the validator now correctly
  accepts, so the expected "kernel maximum" rejection never fired. Use
  group_size=12 (1195 linear groups) and embed_group_size=2 (2048 embedding
  groups) so the rejection fires against the real limit.

- ci.yml: the third-party-notices gate hard-failed when api.clearlydefined.io
  was unreachable, rotting main on a transient outage. When every retry fails
  the regenerated file is incomplete and the diff is a false positive, so warn
  and skip the inconclusive comparison; a genuinely stale file is still caught
  on any run where the lookup succeeds.
cargo audit flagged rustls 0.23.37 (RUSTSEC-2026-0285: TLS 1.3 handshake messages accepted across encryption-level boundaries, medium, fixed in 0.23.45). Semver-compatible patch (pulls rustls-webpki 0.103.15); lockfile-only. The advisory was published after this branch's earlier audit passed — the advisory-DB update that turned the gate red.
@classeve-public
classeve-public merged commit f456ea0 into main Sep 19, 2026
10 checks passed
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