Repository navigation
Conversation
The Hub download at the end of test_read_yaml is out of scope for a test whose docstring says "verify that reading a model's YAML file from disk works". It made the test dependent on HuggingFace Hub availability and caused intermittent CI failures when the Hub ref-resolution API returned 429. The Hub path is already exercised by test_canned_input combo fixtures when Hub is accessible. Closes generative-computing#1193 Assisted-by: Claude Code Signed-off-by: Nigel Jones <[email protected]>
planetf1
force-pushed
the
fix/1193-pin-revision-in-test-read-yaml
branch
from
June 3, 2026 17:50
a4aafb7 to
4d076e1
Compare
Contributor
Author
|
Closing — fixing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Issue
Fixes #1193
Description
The Hub call at the end of
test_read_yamlwas out of scope for a test whose docstring says "verify that reading a model's YAML file from disk works". It made the test dependent on HuggingFace Hub availability and caused intermittent CI failures when the Hub ref-resolution API returned 429 — the Hub client couldn't fall back to a local cache because CI has no cached snapshot for the defaultrevision="main"resolution.Removing those lines makes the test purely disk-based, matching its stated purpose. The Hub download path is already exercised by the
test_canned_inputcombo fixtures when Hub is accessible.Testing
Attribution
Adding a new component, requirement, sampling strategy, or tool?