GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Cherry-picker: Remove BACKPORT_COMPLETE. UNSET state after finished. by Mariatta · Pull Request #315 · python/core-workflow Conversation
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
webknjaz
approved these changes
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
|
@Mariatta I know what the problem is! 🎉 So |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Solutions:
- &install-and-test-cherry-picker ... git: depth: 200 ... |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🐍🌚🤖 @Mariatta, I've formatted these files using
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
| ], | ||
| ) | ||
| @mock.patch("os.path.exists") | ||
| @mock.patch("cherry_picker.cherry_picker.validate_sha") |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Why?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
These tests aren't testing validate_sha itself, but the other functionalities. I think it is ok to be mocked.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I think that mocking validate_sha is wrong. This way you'll just completely disable testing of the specific code path. It doesn't cure the root of the issue but only symptoms. Along with that, it makes the project vulnerable to regressions.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
hm, but changing it to recent sha also only delays the problem, same issue will happen again in the future. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🐍🌚🤖 @Mariatta, I've formatted these files using
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@Mariatta I think you should just make git clone deeper. Or if you're worried about the delay, it's possible to disable |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🐍🌚🤖 @Mariatta, I've formatted these files using
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks, I've disabled git depth in travis CI and reverted the mocks. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@Mariatta great! P.S. One small feedback about |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.