Sitelet https://github.com/nodejs/node/issues/8554
Skip to content

Adopting project workflow to new GitHub features #8554

Description

@Trott

At the @nodejs/ctc meeting yesterday, @ChALkeR brought up the possibility of using some of the new GitHub tools and features to assist the workflow of landing code in this repository.

I'm particularly interested in whether the GitHub pull request approval feature might help us make things more robust. First, unlike leaving an "LGTM" comment, an approval gets removed if the code changes after the approval is made. I think that's a Good Thing (although others may find it irksome for small fixes perhaps?).

I wonder if approvals might make it reliable to use tools (like I believe @evanlucas has been working on) to generate the metadata for a pull request. I imagine searching comments for the string "LGTM" is imperfect. But it seems likely a list of approving collaborators can be obtained reliably from an API call.

I'm not sure what other features @ChALkeR or others might have in mind too. So, yeah, opening an issue for discussion. @nodejs/collaborators

Activity

  1. added
    metaIssues and PRs related to the general management of the project.
    on Sep 15, 2016
  2. imyller commented on Sep 15, 2016

    @imyller
    Member

    I'm +1 for using new PR code review and approval features.

    We can also comment the review approval with familiar "LGTM" for time being.

    About API: looks like only early-access GitHub GraphQL API allows access to reviews and list of approving collaborators.

  3. Qard commented on Sep 15, 2016

    @Qard
    Member

    I'd agree that approval invalidation on code change is mostly a nice feature, but it might be a bit annoying to have to reapprove after asking that metadata get added to the commit. I'm still +1 though.

  4. targos commented on Sep 16, 2016

    @targos
    Member

    @Trott

    an approval gets removed if the code changes after the approval is made.

    I'm not sure that's true. I force pushed changes to #8552 and your approval is still there.

  5. jasnell commented on Sep 16, 2016

    @jasnell
    Member

    Big +1 on using the new tools.

  6. jbergstroem commented on Sep 16, 2016

    @jbergstroem
    Member

    One step closer to automating landing pull requests 🎉 I'm also for this but need to do some reading to better understand how we can use this from github-bot and other places. We're doing testing over at https://github.com/TestOrgPleaseIgnore if someone wants a playground.

  7. imyller commented on Sep 16, 2016

    @imyller
    Member

    Of the newly introduced features, the GitHub Projects could be used to better coordinate and track any efforts spanning across multiple issues and pull requests.

    Currently many older & open issues remain forgotten and it's hard to keep up with the specific efforts overall progress.

    https://help.github.com/articles/tracking-the-progress-of-your-work-with-projects/

    Few examples:

    • WHATWG URL implementation that has multiple related issues open
    • async_wrap, async_hooks
    • Major V8 version upgrades (spanning multiple PRs)
  8. jbergstroem commented on Sep 21, 2016

    @jbergstroem
    Member

    Just want to reference #8675 here. As much as I like all new features introduced I can't help but feel that jumping on board now would be slightly premature. We still have to figure out scenarios where LGTM/"review approved" (or -1/denied) doesn't get properly zeroed on new commits to PR. It can also stall PR's with "pending reviews". These problems obviously outside of these features too, but I can't help feel like these features should be able to solve use cases like that.

  9. ChALkeR commented on Dec 8, 2016

    @ChALkeR
    Member

    New stuff: review requests for PRs and the search at the very top (Pull requests, Issues).

    This is wonderful, as I have 6k+ of unread notifications and sometimes miss the ones that @mention me. It should be better now =).

  10. Trott commented on Jul 15, 2017

    @Trott
    MemberAuthor

    This issue has been inactive for sufficiently long that it seems like perhaps it should be closed. Feel free to re-open (or leave a comment requesting that it be re-opened) if you disagree. I'm just tidying up and not acting on a super-strong opinion or anything like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    metaIssues and PRs related to the general management of the project.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions