refactor(bootstrapper): apply review follow-ups to _cache module#1248
Conversation
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughThe cache helpers Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Tick the box to add this pull request to the merge queue (same as
|
|
|
@Mergifyio rebase |
🛑 The pull request rule doesn't match anymoreDetailsThis action has been cancelled. |
Add docstring to `Bootstrapper` class describing it as an iterative DFS engine to be used as a context manager. Rename private `_cache` functions that cross module boundaries to drop the leading underscore, reflecting their role as internal-but-public APIs within the bootstrapper package: - `_find_cached_wheel` → `find_cached_wheel` - `_bg_prepare_prebuilt` → `bg_prepare_prebuilt` Update all call sites in `_bootstrapper.py`, `_prepare_source.py`, `_resolve.py`, and tests. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
2495247 to
04ee072
Compare
Add docstring to
Bootstrapperclass describing it as an iterative DFS engine to be used as a context manager.Rename private
_cachefunctions that cross module boundaries to drop the leading underscore, reflecting their role as internal-but-public APIs within the bootstrapper package:_find_cached_wheel→find_cached_wheel_bg_prepare_prebuilt→bg_prepare_prebuiltUpdate all call sites in
_bootstrapper.py,_prepare_source.py,_resolve.py, and tests.