fix(hfs): 固定 Hugging Face 客户端并对齐可选 Secret - #14
Merged
Conversation
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.
结果与边界
Space deploy workflow 与 Bucket storage sampler 固定到
huggingface_hub==1.5.0/click==8.3.3的真实接口,并将默认禁用的 admin 凭据改为 optional Secret。变更
8.3.3,关闭CVE-2026-7246 / GHSA-47fr-3ffg-hgmw;huggingface_hub==1.5.0合同保持不变。HfApi.space_info()/get_space_variables()与 module CLI upload/download,保留 tree/provenance/checksum/逐字节 readback。HfApi.bucket_info()读取 accounting,module CLI recursive JSON listing 可见树,并拒绝版本漂移。hf、不存在的 Bucket info JSON 参数与非结构化 parsing 回归。兼容性
验证
b4a1c0671a8b9fdfddf613179dc018ccd559cdd5scripts/validate-contract.sh(含 Nginx syntax)、Bash syntax、git diff --check:PASS风险与 Review focus