Skip to content

Conversation

@kim-em
Copy link
Contributor

@kim-em kim-em commented Jan 6, 2026

This PR:

  • Adds Cache/README.md documenting the cache system, environment variables, and how to set up custom endpoints
  • Renames USE_FRO_CACHE to MATHLIB_CACHE_USE_CLOUDFLARE for consistent MATHLIB_CACHE_* prefix across all cache environment variables
  • Updates the help text in Cache/Main.lean to document the --repo option and environment variables
  • Fixes help text saying "Run 'mk'" (should be "Run 'pack'")

🤖 Prepared with Claude Code

…E_CLOUDFLARE

This PR:
- Adds `Cache/README.md` documenting the cache system, environment variables,
  and how to set up custom endpoints
- Renames `USE_FRO_CACHE` to `MATHLIB_CACHE_USE_CLOUDFLARE` for consistent
  `MATHLIB_CACHE_*` prefix across all cache environment variables
- Updates the help text in `Cache/Main.lean` to document the `--repo` option
  and environment variables
- Fixes help text saying "Run 'mk'" (should be "Run 'pack'")

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@kim-em kim-em force-pushed the cache-documentation-and-rename branch from 1ee3ccc to 266c421 Compare January 6, 2026 02:27
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

PR summary 15f6691e7a

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@github-actions github-actions bot added the CI Modifies the continuous integration setup or other automation label Jan 6, 2026
@mathlib4-merge-conflict-bot
Copy link
Collaborator

This pull request has conflicts, please merge master and resolve them.

@mathlib4-merge-conflict-bot mathlib4-merge-conflict-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jan 6, 2026
Resolve conflicts by keeping master's `initialize` blocks for URL and UPLOAD_URL
with MATHLIB_CACHE_GET_URL/MATHLIB_CACHE_PUT_URL support, while using the
renamed `useCloudflareCache` (from `useFROCache`) and `MATHLIB_CACHE_USE_CLOUDFLARE`
(from `USE_FRO_CACHE`) environment variable.
@github-actions github-actions bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jan 6, 2026
Copy link
Contributor

@bryangingechen bryangingechen left a comment

Choose a reason for hiding this comment

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

Thanks!
bors r+

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the ready-to-merge This PR has been sent to bors. label Jan 6, 2026
mathlib-bors bot pushed a commit that referenced this pull request Jan 6, 2026
…E_CLOUDFLARE (#33647)

This PR:
- Adds `Cache/README.md` documenting the cache system, environment variables, and how to set up custom endpoints
- Renames `USE_FRO_CACHE` to `MATHLIB_CACHE_USE_CLOUDFLARE` for consistent `MATHLIB_CACHE_*` prefix across all cache environment variables
- Updates the help text in `Cache/Main.lean` to document the `--repo` option and environment variables
- Fixes help text saying "Run 'mk'" (should be "Run 'pack'")

🤖 Prepared with Claude Code
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jan 6, 2026

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore(Cache): add README and rename USE_FRO_CACHE to MATHLIB_CACHE_USE_CLOUDFLARE [Merged by Bors] - chore(Cache): add README and rename USE_FRO_CACHE to MATHLIB_CACHE_USE_CLOUDFLARE Jan 6, 2026
@mathlib-bors mathlib-bors bot closed this Jan 6, 2026
@adomani adomani mentioned this pull request Jan 16, 2026
goliath-klein pushed a commit to PrParadoxy/mathlib4 that referenced this pull request Jan 24, 2026
…E_CLOUDFLARE (leanprover-community#33647)

This PR:
- Adds `Cache/README.md` documenting the cache system, environment variables, and how to set up custom endpoints
- Renames `USE_FRO_CACHE` to `MATHLIB_CACHE_USE_CLOUDFLARE` for consistent `MATHLIB_CACHE_*` prefix across all cache environment variables
- Updates the help text in `Cache/Main.lean` to document the `--repo` option and environment variables
- Fixes help text saying "Run 'mk'" (should be "Run 'pack'")

🤖 Prepared with Claude Code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Modifies the continuous integration setup or other automation ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants