Files
KohakuHub/scripts/dev
narugo1992 ede1d851ac seed(big-indexed-tar): plant 1000-pair fixture + close patch coverage gap
Two changes:

1. New `mai_lin/big-indexed-tar-bench` dataset seed: 1000
   hfutils.index-compatible tar/json pairs sit under `archives/`
   so the new file-list pager can be exercised against a directory
   that genuinely needs paging (40 pages at 50/page; 10 at 200/page).
   Every bundle clones the same minimal one-member tar — LakeFS
   dedupes by content hash so the underlying object storage stays
   one bundle, not 1000, and the seed runs in seconds instead of
   minutes.

2. RepoViewer pagination patch coverage: add 4 more cases that
   close the gap around the new code paths
   (`goToFirstFileListPage`, the paginated empty-search placeholder,
   and `findReadmeViaPathsInfo`'s success + failure modes). Patch
   coverage on the new code now lands at ~94% — the only remaining
   uncovered lines are the probeId staleness early-return inside
   the indexed-tar HEAD-probe pass, which is a race-condition path
   that does not have a deterministic test surface.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 01:09:14 +08:00
..
2026-04-21 12:50:30 +08:00