Skip to content

chore: update mathlib name in nightly-testing workflow#98

Merged
kim-em merged 1 commit intomainfrom
chore/update-mathlib-name-nightly-testing
Oct 14, 2025
Merged

chore: update mathlib name in nightly-testing workflow#98
kim-em merged 1 commit intomainfrom
chore/update-mathlib-name-nightly-testing

Conversation

@kim-em
Copy link
Copy Markdown
Collaborator

@kim-em kim-em commented Oct 14, 2025

Summary

  • Updates bump_toolchain_nightly-testing.yml to change the mathlib dependency name from mathlib to mathlib-nightly-testing in lakefile.toml
  • This ensures the workflow correctly references the nightly-testing variant of mathlib, not just updating the rev

Changes

  • Added sed command to update name = "mathlib" to name = "mathlib-nightly-testing"
  • This runs alongside the existing rev update

Test plan

  • Verify the workflow runs successfully on the next scheduled execution or manual trigger
  • Confirm lakefile.toml on nightly-testing branch has both correct name and rev after workflow runs

🤖 Generated with Claude Code

Update the bump_toolchain_nightly-testing workflow to change the mathlib
dependency name to mathlib-nightly-testing in addition to updating the rev.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@kim-em kim-em requested a review from fmontesi as a code owner October 14, 2025 01:09
@kim-em kim-em merged commit 23a5fae into main Oct 14, 2025
4 checks passed
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on November 11

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

# Update the mathlib rev in lakefile.toml to use the nightly-testing tag

# Update the mathlib name and rev in lakefile.toml to use nightly-testing
sed -i "s/name = \"mathlib\"/name = \"mathlib-nightly-testing\"/" lakefile.toml
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: Sed Command Fails on Flexible TOML Formatting

The sed command updating the mathlib dependency name in lakefile.toml is overly strict. It assumes exact whitespace around the = and specific quote usage. This can cause it to silently fail if the file's formatting differs, leaving the dependency name unchanged while the rev updates, potentially leading to an inconsistent state and build failures.

Fix in Cursor Fix in Web

thomaskwaring pushed a commit to thomaskwaring/cslib_SKI that referenced this pull request Apr 6, 2026
## Summary
- Updates `bump_toolchain_nightly-testing.yml` to change the mathlib
dependency name from `mathlib` to `mathlib-nightly-testing` in
`lakefile.toml`
- This ensures the workflow correctly references the nightly-testing
variant of mathlib, not just updating the rev

## Changes
- Added `sed` command to update `name = "mathlib"` to `name =
"mathlib-nightly-testing"`
- This runs alongside the existing `rev` update

## Test plan
- [ ] Verify the workflow runs successfully on the next scheduled
execution or manual trigger
- [ ] Confirm `lakefile.toml` on `nightly-testing` branch has both
correct name and rev after workflow runs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
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