mirror of
https://github.com/leanprover/lean4.git
synced 2026-03-17 18:34:06 +00:00
This PR removes the unnecessary check for the batteries `nightly-testing-YYYY-MM-DD` tag that blocks mathlib CI from running. ## Problem Currently, when fixing mathlib's nightly-testing branch, the workflow requires BOTH batteries and mathlib to have `nightly-testing-YYYY-MM-DD` tags before mathlib CI can run on lean4 PRs. This creates a false dependency: 1. Fix mathlib nightly-testing (including fixing batteries build) 2. Mathlib CI succeeds → creates mathlib tag → advances `nightly-with-mathlib` 3. But batteries test suite fails → no batteries tag created 4. lean4 PR can't run mathlib CI because batteries tag doesn't exist 5. Bot suggests rebasing onto `nightly-with-mathlib`, but this doesn't help ## Solution Remove the batteries tag check because: - Mathlib CI already depends on batteries (builds it as a dependency) - If batteries is broken, mathlib CI will detect it - The batteries testing branch creation already has fallback logic (falls back to `nightly-testing` branch if tag doesn't exist) This allows mathlib CI to run as soon as mathlib is ready, which is the actual blocker. See discussion at https://leanprover.zulipchat.com/#narrow/channel/428973-nightly-testing/topic/Mathlib.20status.20updates/near/564136025 🤖 Prepared with Claude Code Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>