| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
/cc @nodejs/build |
Sorry, something went wrong.
|
A little more use of the bunyan logger, really valuable for doing post-mortem on PRs in production. See ./lib/node-repo.js for inspiration. Other than that it looks good enough to test live IMO 👍 Couple of notes for future improvements:
The latter is already an issue, and might be subject to a bigger discussion. E.g. for the Travis build poller (./lib/pollTravis.js) where a redeploy could easily make inline status on a PR stall for eternity. |
Sorry, something went wrong.
Definitely a bug, but pushing anything to the PR branch will unblock that. |
Sorry, something went wrong.
Definitely, tho I assume not many contributors would know that. |
Sorry, something went wrong.
|
Updated and I tried to get it working at TestOrgPleaseIgnore/node#31 but I wasn't able to get the new label removal working? I have no idea how to test this, there are so many (necessary) moving parts. 😓 |
Sorry, something went wrong.
|
Yeah I've noticed that as well, it's generally quite painful to test much On Friday, 4 November 2016, Jeremiah Senkpiel notifications@github.com
|
Sorry, something went wrong.
|
Should $NODE_REPO_DIR be an empty directory, or should the node repo already be cloned into that directory? I might get that setup in the ansible playbook before merging/deploying this. |
Sorry, something went wrong.
|
@phillipj it will need to be a github clone of the node repo. I thought of adding cloning logic into this but decided against it. |
Sorry, something went wrong.
|
Looping @mscdex's comment (#77 (comment)) from the original thread which I somehow missed:
Thoughts everyone? |
Sorry, something went wrong.
|
I think we should stick with lts-watch. As the primary user of them at this time what I mostly care about is getting rid of unlabelled commits. People are pretty good at knowing that a commit is not properly labelled, and every commit is going to be audited one more time before it is backported. Adding an extra label is just another step that we will have to add to the auditing process. edit: just to clarify... what I think we should be optimizing for is ensuring that commits are properly labelled for backporting, the fact that it "lands cleanly or doesn't" is simply a heuristic we can use for this |
Sorry, something went wrong.
@Fishrock123 sounds good. I'll be able to fix what's needed in the bot's ansible playbook, so we're sure the server running the bot, has the repo checked out and gets $NODE_REPO_DIR set. |
Sorry, something went wrong.
|
@phillipj what's your thoughts on moving this forward? Should I just try to test it more? |
Sorry, something went wrong.
These changes clones the nodejs/node repository required for the bot to automatically attempt backport of new PRs. Refs nodejs/github-bot#90
|
@Fishrock123 mainly getting some feedback on nodejs/build#531, otherwise it LGTM. After that, if you feel confident enough to test it on the actual node repo, I'm totally fine with that. Just got auto deploy upon merge to master working here, so you'll be able to deploy this yourself when you feel like it. |
Sorry, something went wrong.
These changes clones the nodejs/node repository required for the bot to automatically attempt backport of new PRs. Refs nodejs/github-bot#90 PR-URL: #531 Reviewed-By: Johan Bergström <johan@bergstroem.nu>
|
@Fishrock123 it's ready -- the bot server now has the nodejs/node repo cloned and $NODE_REPO_DIR set to the repo directory |
Sorry, something went wrong.
|
Awesome, really looking forward to seeing this in action! 😃 |
Sorry, something went wrong.
|
nodejs/node#9648 appeared to be a case where the script failed prematurely because I was pointing to the wrong git remote (upstream) as it were on my machine. 187cbd8 should fix that by running git commands against origin. |
Sorry, something went wrong.
|
I think having the bot applying the dont-land-on-* labels is a bit of a misnomer. My understanding of those labels is that they indicate intention, not whether the PR can currently be backported cleanly or not. I think the recent PR that @Fishrock123 pointed out is a good example of this problem. I think a different set of labels should be used by the bot, but the problem with that is that we're already hitting the 100 label ceiling (this is a separate issue that needs discussion too, because not everyone is aware of it). |
Sorry, something went wrong.
We directly check dont-land-on-* labels as part of the release process, along with semver-*. They already do not just indicate intention, they are used as a hard stop measure for PRs that should not land to the specified branch. |
Sorry, something went wrong.
|
something's still not right: nodejs/node#9472 |
Sorry, something went wrong.
|
Another: nodejs/node#9637 015096f - disabling for now, I clearly don't have something right still, although to dig further I'll need more debug output from here on than the default logger provides. 😞 |
Sorry, something went wrong.
|
Ping me if you need some help debugging on the bot server, e.g. do a clean checkout of the node repo again. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This is a script to automatically check if PRs can cleanly land on staging branches in the node repo.
I've been using TestOrgPleaseIgnore/node#29 and TestOrgPleaseIgnore/node#30 to test it and it seems to be working fine now.
This is however a first iteration and I'm sure it can be improved lots.
cc @nodejs/github-bot & @thealphanerd
Edit: some unresolved questions/issues: