Create PR from fork - #1
webwarrior-ws wants to merge 3 commits into
Conversation
|
CI is broken |
5a98c87 to
82e1ec0
Compare
|
CI is still broken. @webwarrior-ws do you have github email notifications about this enabled? |
I've disabled notifications for CI failures because it's just noise in most cases. But I've seen that CI is still broken. It fails on "Upload coverage to Codecov". Perhaps authentication issue? I don't know what this Codecov service is. |
|
ok I thought it was still complaining about prettier format |
Let's create a PR upstream that changes that step to not be executed in forks. |
So can conventions' PR be merged now? |
Yes |
|
Ok done, but please rebase before testing |
82e1ec0 to
c738b24
Compare
|
It seems the experiment worked, so let's squash these commits and after that include the commit from PR2 as 1st commit of this one, to get green CI. |
92a9a7e to
6202e1e
Compare
Done. |
a8c21b8 to
52bf206
Compare
Let's add to this: "(especially in an environment where the repo to work with is public/open but direct commit access is not, while PRs are accepted from any github user account, regardless of the permissions of the latter)". After that, you can propose new PR upstream, with that single commit (not 2 commits). |
|
@webwarrior-ws Given that the maintainer merged already your first PR, you can actually remove that commit from here, rebase, and then propose the same commit that ends up here (same commit hash) in the new PR for upstream. Let's do this before or at EOD time, not Monday. Cheers |
Why was this not done? I still see the commit "GithubCI: don't run "Upload coverage to Codecov" step in forks" here |
If there are insufficient rights to push to the repository, agent will open a PR from a fork. This mirrors how human contributors work (especially in an environment where the repo to work with is public/open but direct commit access is not, while PRs are accepted from any github user account, regardless of the permissions of the latter).
52bf206 to
b07ed47
Compare
|
Missing commit that updates dist/ ? |
Fallow combined reportQuality gate passed No findings for this pull request. Generated by fallow. |
|
Upstream's commits are never titled "Build bundle" for dist/ updates. |
And added tests for new functionality.
2597938 to
68ea3ba
Compare
|
Should I update shaftoe#411 to this PR's branch? |
|
What do you think I'm going to reply to that? |
If I had to guess, I'd guess "yes". But I'd rather get an actual answer. |
|
You're wrong, I would reply: did you test this? And of course what I would hoping is that with this question you understand that I'm asking if you tested all scenarios: when it should create a fork when fork doesn't exist, when it should not create a fork because it already exists, and when it should not create a fork because pushing directly works. |
The second scenario was already tested. For the first one, I can ask pi to create a PR in repo where nodefect doesn't have a fork. But the third one I can't really test. Not for a situation where it's not nodefect's own repo. |
Why did you start testing this already? Please stop making me hand-hold you all the time, I told you you're a software developer, not a programmer.
Bullshit excuses, you can test it perfectly. If you need X, Y, Z in order to do it, you can ask me, instead of saying that you can't. |
|
BTW I REMIND YOU THAT CONVENTIONS IS POINTING AT PR3 NOW, NOT THIS PR. THEREFORE ANY TESTING YOU'RE DOING IS NOT AGAINST THIS CODE. (AND I CHECKED THAT BOTH BRANCHES DIFFER BEFORE POSTING THIS COMMENT.) |
They differ only in some debug output redirection. |
|
I don't care? I only care about commit hashes. If commit hashes are not the same, you're not testing the same thing. And same argument I will have whenever you intend to push this work to upstream PR later: I will compare commit hashes, and if they are not the same, I will not consider the work done. |
|
BTW upstream's PR's commit hash is f0d2, why the hell do we have a different commit hash here? fix that first before testing anything!!!!! |
Because these PRs are from different branches. I asked earlier if I should update upstream PR to this and you said to test first. |
|
I'M TALKING ABOUT THE 1ST COMMIT OF THIS PR!!!! NOT THE REST!!!! |
|
I KNOW THAT THIS PR HAS MORE COMMITS THAN UPSTREAM PR, I KNOW HOW TO COUNT!!! |
|
This PR was rebased. The upstream PR wasn't. |
|
YOU CREATED THE UPSTREAM PR AFTER YOUR 1ST PR WAS MERGED!!! THEREFORE THERE WAS NO NEED TO REBASE THIS |
|
FFS! even tho you created the 2nd upstream PR after your 1st was merged, you didn't rebase it before creating it!!! |
I rebased to get rid of "GithubCI: don't run "Upload coverage to Codecov" step in forks" commit. |
There was no need to. |
YOU SHOULD HAVE REBASED BEFORE CREATING THE 2ND UPSTREAM PR FFS! THIS WAY YOU WOULDNT HAVE NEEDED TO REBASE THIS REPO!!!!! |
|
Sighhhhhhhhhhhh, so now we need to force-push that upstream PR in order to update it, FFS |
You're allowed to do the above, now that I realise that there's no other way. BUT DO NOT UPDATE UPSTREAM PR UNTIL YOU HAVE TESTED ALL 3 SCENARIOS!!!!! AND I WANT ALL COMMIT HASHES TO MATCH!!!! |
|
I tried to test the first scenario: tarsgate/conventions#369 And it failed, but not because there's a bug in tools, but because the agent tried to open a PR against skynot from conventions repo. So I don't know what to make of it. |
What happens there is that you're not testing what I told you to test, you're testing a 4th scenario that we didn't talk about: when bot needs to create a PR on a repo that is different than where the workflow is running (and by different I mean completely different: we're not talking about a fork-or-not-fork difference, it's not conventions!). YOU HAVE TO TEST THOSE 3 SCENARIOS WITH THE CONVENTIONS REPO BECAUSE IT IS IN THE CONVENTIONS REPO WHERE THE BOT'S WORKFLOW IS!!!! |
|
Then I need:
|
Those things are better that you ask me in the channel so that I can do FASTER than acting on an email. |
Better to test scenario 2 before you ask me for that, no? This way you don't need to wait for me and can start working already. |
It was already tested. Or do you insist it to be re-tested with this particular branch? |
|
Testing scenario 2: tarsgate/conventions#370 |
COMMIT HASHES, DO THEY MATCH??? DONT TALK TO ME ABOUT BRANCHES!!!!! |
If there are no permissions to push to the repository in question.