Skip to content

test(hf-hub): batch-4 revision and history semantics - #29

Merged
DiTo97 merged 4 commits into
masterfrom
issue/28-hf-hub-batch4-revisions
Mar 12, 2026
Merged

test(hf-hub): batch-4 revision and history semantics#29
DiTo97 merged 4 commits into
masterfrom
issue/28-hf-hub-batch4-revisions

Conversation

@DiTo97

@DiTo97 DiTo97 commented Mar 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • start batch 4 of the huggingface_hub compatibility rollout for revision-aware metadata and download behavior
  • keep the scope limited to main, current head commit SHA, and correct missing-revision failures in the existing storage model
  • update the roadmap/checklist in the same PR as the executable work

Test plan

  • HF_ENDPOINT=http://localhost:8080 uv run --with pytest --with huggingface_hub --with requests pytest tests/integration/hf_hub/test_revisions_batch4.py -q
  • HF_ENDPOINT=http://localhost:8080 uv run --with pytest --with huggingface_hub --with requests pytest tests/integration/hf_hub -q
  • cargo test --workspace

Closes #28

馃 Generated with Claude Code

DiTo97 and others added 4 commits March 12, 2026 04:47
Close out the merged batch-3 tracker state and move the compatibility pointer to the new revision-focused batch so the next implementation slice starts from updated master.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Keep the roadmap and checklist aligned with the active compatibility workflow by recording the live batch-4 pull request alongside the issue link.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Make revision-aware metadata and download routes accept main and the current head SHA while rejecting unknown revisions so huggingface_hub stops treating arbitrary strings as valid read targets.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Apply the CI-required rustfmt signature wrapping for the batch-4 revision helper so the unit workflow validates the branch cleanly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@DiTo97
DiTo97 marked this pull request as ready for review March 12, 2026 04:02
@DiTo97
DiTo97 merged commit 1df4db1 into master Mar 12, 2026
2 checks passed
@DiTo97
DiTo97 deleted the issue/28-hf-hub-batch4-revisions branch March 12, 2026 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(hf-hub): batch-4 revision and history semantics

1 participant