Skip to content

fix(ci): nightly fuzz + bench workflows actually run#194

Merged
avrabe merged 1 commit intomainfrom
fix/nightly-tests
May 2, 2026
Merged

fix(ci): nightly fuzz + bench workflows actually run#194
avrabe merged 1 commit intomainfrom
fix/nightly-tests

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented May 1, 2026

Summary

Both nightly workflows have failed since they were introduced on 2026-04-24 — silently providing zero coverage.

fuzz-nightly (#0a07f91): cargo-fuzz defaults to x86_64-unknown-linux-musl. Static libc is incompatible with AddressSanitizer; the build aborts in <20s. Add --target x86_64-unknown-linux-gnu (same fix as the PR-time fuzz smoke job, PR #142).

bench-nightly (#5268531): solver_worst_case/milp/worst_64 doesn't converge in reasonable time on ubuntu-latest. Gate behind SPAR_BENCH_SLOW_MILP=1 env var so the nightly job finishes; ad-hoc deep-bench runs can opt in. Add timeout-minutes: 60 ceiling.

Test plan

  • cargo build -p spar-solver --benches clean (verifies the env-gate compiles)
  • CI green
  • Next nightly cron actually completes

🤖 Generated with Claude Code

Both nightly workflows have failed since introduction (2026-04-24)
without ever succeeding — silently providing zero coverage.

**fuzz-nightly**: cargo-fuzz defaults to musl target whose static
libc is incompatible with AddressSanitizer; fails in <20s at the
build phase. Add `--target x86_64-unknown-linux-gnu` (same fix as
the PR-time fuzz smoke job in ci.yml from PR #142).

**bench-nightly**: solver_worst_case/milp/worst_64 doesn't converge
in any reasonable time on ubuntu-latest (single MILP solve takes
tens of minutes). Gate behind `SPAR_BENCH_SLOW_MILP=1` env var so
the nightly finishes; ad-hoc deep-bench runs can opt in. Plus
`timeout-minutes: 60` ceiling as belt-and-braces.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@avrabe avrabe merged commit ec6b6a2 into main May 2, 2026
16 checks passed
@avrabe avrabe deleted the fix/nightly-tests branch May 2, 2026 06:12
@codecov
Copy link
Copy Markdown

codecov Bot commented May 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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