Release 2.1.135 (2026-07-13)¶
Bug fixes¶
- batch CI-evidence asset lookups into a single releases API call (#2326) Replace the per-release _has_evidence_asset(repo, tag) lookup (one gh release view per staged release) with a single paginated 'gh api repos/{owner}/{repo}/releases' call that builds a {tag -> has-evidence-asset} set once. Docs-build API calls drop from N (one per release) to at most one regardless of release count, shrinking GitHub's flakiness surface.
The resolver is lazy and cached: zero release pages make zero calls, one or more make exactly one. No-silent-failure is preserved -- a genuine gh error still propagates; an unauthenticated gh now surfaces a clean 'GH_TOKEN required' error instead of a raw traceback (still failing loudly). The evidence_asset_name helper stays the single source of the asset name, and stage_docs' pure Callable[[str], bool] interface is unchanged.