-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Compare difference between primer runs and post comment #6723
Conversation
Pull Request Test Coverage Report for Build 2402208248
π - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome π€© !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Terrific! I have two comments that I think are important to discuss before we merge this and turn this feature "on", even though I should have brought them up earlier :D
I'm definitely in favor of punting the |
Well I jusst merged |
@jacobtylerwalls That doesn't look good: You said you could reproduce locally? Could you check what is up with those |
@jacobtylerwalls It just seems as if |
I'm about to take a look. I agree we will punt if we're doing everything right. In the meantime, did you notice git.exc.NoSuchPathError: /home/runner/work/pylint/pylint/tests/.pylint_primer_tests/pytest-dev/pytest ? |
Yeah that's another thing which I am not sure we can/should fix right now. Whenever we add a new package to prime on the Edit: It's stuff like this that makes me nudge towards only running with |
Got it. Forgot that adding |
Completely agree. In fact, we might even consider not running |
If you don't mind, could you just do that now: open and merge a PR that adds pytest? And then this PR should get past that failure. It's worth going a little slower on this first PR, it helps me understand what I'm reviewing! |
Do we know what the double slashes in the URLs are doing there? |
What about wrapping the diffed items in a |
Good idea! That might interfere with code snippets at some point, but for now it is absolutely better! |
Agreed. I see this locally even after the changes we just did. Let's go back to ignoring them and add a comment that it's currently nondeterministic. We have various issues open, I don't know that we need another. |
Should be fixed!
Added!
Re-added! Edit: Test run and comment can be seen here: DanielNoord#145 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonderful!
@Pierre-Sassoulas Do you want to do one final review? We changes some stuff around based on @jacobtylerwalls's very useful suggestions! |
Just wanted to say that this is awesome and will be very valuable in the future! Great work. π |
Type of Changes
Description
Ref. #5364
Example can be seen here:
DanielNoord#145
We can't show the code in a code snippet easily as the normal functionality Github offers only works for permalinks within the same repository. So we would need to create a script that downloads the code ourselves or store it as an artefact in the CI runs. For now, I think this should be fine though.
I'm not 100% confident that this won't crash as it is quite hard to test this. The comment workflow needs to be on the default branch and I could only do so much testing on my local fork.
Therefore I have only set three packages up for priming with this system so that the others can be taken care of by the others.