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

[ci] skip doc jobs - circleCI is not reliable - disable skip for now #8926

Merged
merged 18 commits into from
Dec 4, 2020

Conversation

stas00
Copy link
Contributor

@stas00 stas00 commented Dec 4, 2020

We can't do reliable skipping if we can't get a reliable range of changes and cirlcleCI is all over
e.g. in this PR #8918 it changed pipeline.git.base_revision on every commit resulting only the changes from last commit appearing as a change for the whole PR, which is very bad, since the PR could be failing tests, but the last commit's changes in doc file only will make it appear that everything is green, which could be very misleading.

I wasn't able to reproduce this yet another edge case (see attempts below), but we clearly have that happened in #8918

So this PR disables the magic until I hope I get a solution from circleCI devs which we are discussing via their support.

I'm leaving the printouts in place to continue diagnosing the issue.

It could also be that we won't be able to do that if we don't find a reliable to way to get such a simple information from circleCI, then I will remove it completely.

Thank you for bearing with me, as this is a nice-to-have but not an essential feature.

@LysandreJik, @sgugger

@stas00 stas00 changed the title [wip] [ci] skip doc jobs - testing edge case [ci] skip doc jobs - circleCI is not reliable Dec 4, 2020
@stas00 stas00 changed the title [ci] skip doc jobs - circleCI is not reliable [ci] skip doc jobs - circleCI is not reliable - disable skip for now Dec 4, 2020
@stas00 stas00 merged commit 73c51f7 into huggingface:master Dec 4, 2020
@stas00 stas00 deleted the ci-doc-skip-edge-case branch December 4, 2020 18:13
@sgugger
Copy link
Collaborator

sgugger commented Dec 4, 2020

Thanks for investigating this!

@stas00
Copy link
Contributor Author

stas00 commented Dec 4, 2020

The thread discussing getting a reliable range of changes on CircleCI is here:
https://discuss.circleci.com/t/pipeline-git-base-revision-is-completely-unreliable/38301

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.

None yet

2 participants