_DEFAULT_BG_THREADS is exported in src/fromager/bootstrapper/__init__.py via __all__ but uses a leading underscore, sending mixed signals about whether it's public API. It's used by src/fromager/commands/bootstrap.py as a CLI default value.
Pre-existing naming from the original monolithic bootstrapper.py, surfaced during review of #1226.
Option A: Remove from __all__ and keep the underscore. The commands/ package is internal to fromager, so accessing it as a private name is fine.
Option B: Rename to DEFAULT_BG_THREADS (drop underscore) and keep in __all__, making it an explicit public API.
_DEFAULT_BG_THREADSis exported insrc/fromager/bootstrapper/__init__.pyvia__all__but uses a leading underscore, sending mixed signals about whether it's public API. It's used bysrc/fromager/commands/bootstrap.pyas a CLI default value.Pre-existing naming from the original monolithic
bootstrapper.py, surfaced during review of #1226.Option A: Remove from
__all__and keep the underscore. Thecommands/package is internal to fromager, so accessing it as a private name is fine.Option B: Rename to
DEFAULT_BG_THREADS(drop underscore) and keep in__all__, making it an explicit public API.