Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use a subset in test fetcher if on main branch #28816

Merged
merged 1 commit into from
Mar 11, 2024
Merged

Conversation

ydshieh
Copy link
Collaborator

@ydshieh ydshieh commented Feb 1, 2024

What does this PR do?

[I don't like surprise, like you do I guess] 😉

Don't select a subset from the detected tests to run when they are many - if we are on the main branch.
This could detect any issue as early as at the merge time, not at the nightly run.

@ydshieh
Copy link
Collaborator Author

ydshieh commented Feb 1, 2024

Let me know if you want me to explore the option to block a PR being merged if the last commit message is not of the form

[no_filter] xxx yyy

@HuggingFaceDocBuilderDev

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.

@ydshieh ydshieh mentioned this pull request Feb 19, 2024
@huggingface huggingface deleted a comment from github-actions bot Mar 4, 2024
@ydshieh
Copy link
Collaborator Author

ydshieh commented Mar 6, 2024

@ArthurZucker I think this PR is good to preventing the surprising failures on CircleCI.

Copy link
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, trusting you on this one 🤗

Copy link
Collaborator

@amyeroberts amyeroberts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for flagging - LGTM, thanks for working on this @ydshieh!

@ydshieh ydshieh merged commit e5eb55b into main Mar 11, 2024
8 checks passed
@ydshieh ydshieh deleted the prevent_surprise branch March 11, 2024 15:58
itazap pushed a commit that referenced this pull request May 14, 2024
save ci life

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
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.

4 participants