Skip to content

[CI] make test_model_info_with_security for robust#4246

Merged
Wauplin merged 1 commit into
mainfrom
fix-transient-ci-error-test_model_info_with_security
May 21, 2026
Merged

[CI] make test_model_info_with_security for robust#4246
Wauplin merged 1 commit into
mainfrom
fix-transient-ci-error-test_model_info_with_security

Conversation

@Wauplin

@Wauplin Wauplin commented May 21, 2026

Copy link
Copy Markdown
Collaborator

Note

Low Risk
Test-only change that loosens assertions on the server-returned security_repo_status payload to avoid brittleness when the API response shape evolves.

Overview
Updates test_model_info_with_security to stop asserting an exact security_repo_status dict and instead validate only key invariants (object present, scansDone is a boolean, and filesWithIssues exists), making CI less sensitive to server-side response changes.

Reviewed by Cursor Bugbot for commit 49e3bfa. Bugbot is set up for automated code reviews on this repo. Configure here.

@Wauplin Wauplin merged commit 356b712 into main May 21, 2026
20 of 21 checks passed
@Wauplin Wauplin deleted the fix-transient-ci-error-test_model_info_with_security branch May 21, 2026 09:48
@bot-ci-comment

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@huggingface-hub-bot

Copy link
Copy Markdown
Contributor

This PR has been shipped as part of the v1.16.0 release.

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.

1 participant