Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 94612200BDA for ; Tue, 13 Dec 2016 18:38:44 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 92FA9160B23; Tue, 13 Dec 2016 17:38:44 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B57CC160B07 for ; Tue, 13 Dec 2016 18:38:43 +0100 (CET) Received: (qmail 77080 invoked by uid 500); 13 Dec 2016 17:38:43 -0000 Mailing-List: contact dev-help@asterixdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.apache.org Delivered-To: mailing list dev@asterixdb.apache.org Received: (qmail 77068 invoked by uid 99); 13 Dec 2016 17:38:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2016 17:38:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 3678BCF2BF for ; Tue, 13 Dec 2016 17:38:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.899 X-Spam-Level: * X-Spam-Status: No, score=1.899 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id rwiFKBBsKdjN for ; Tue, 13 Dec 2016 17:38:40 +0000 (UTC) Received: from mail-pg0-f44.google.com (mail-pg0-f44.google.com [74.125.83.44]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 6F9CE5F177 for ; Tue, 13 Dec 2016 17:38:40 +0000 (UTC) Received: by mail-pg0-f44.google.com with SMTP id x23so49903758pgx.1 for ; Tue, 13 Dec 2016 09:38:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=vTv1j5Qh32DtU7eFrf7w9awRECf8SMdwbzubsczt/tw=; b=t2JAaNekyduoHOKYFXwpZa7DfSGz0B7jv1czpqA9WcPYt0nzkp5cRvNcrR4e0FHqce FgvcyieeD+j/tSUM7qo76u6RIlGCmDq+X1/hqpqMtJIxMPqkeDrF/TltPEPismtWoJ59 9owRBUIenAJ0//0PUsbZMNoAsj2VLZCLNlBK5nCCCUN658asw7cIpW0iuiBrcjHxJuVn bpRh9URnBl8bCpiX7PKJVVyfRv+vLBAkm1pjQOIBI75Bws5qdsQlhOe7SNagR5SyLk7K LhwdHCqZUYqUCAZRBnB5VtvQ8JUGm8Sx8RG7QmnjUo/7siEcf1273cs3iq0Ge+CE70jW hLkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=vTv1j5Qh32DtU7eFrf7w9awRECf8SMdwbzubsczt/tw=; b=D/j4B6MhLcUvkZh3AHzrCNkqc8Re6a7DpqXG83BgGP3pVw4jd8/UftFVrqZx7qQacP I6VqfnvEloDAzGfiXlyfTJ+bfNmOLAf/eIMUGW/TU6AqZXWxNTWcnI9dpY2aQ7GxqmD/ MG1VRm7yoHsYjHzzDGkq+e52TykdIuN8YKTxCmLNzGUIv205YXu+xYLRd0GpKSuiiRXi FoXTK2WeCTlIZ0nbol78OhWgjNPWqIEK2GP6Ao8wvEmiVii+H1o/WHpbO2GAadZ8RMwl DZuOha/DyObFyA4zf72EaRELr+NTQEtDHvUb69CX+JAyuXCK9Pi+7mAg6ce5fenBxZUV POZA== X-Gm-Message-State: AKaTC00O+8Tk0LG+0j4fIWSvVletR8R3PUz+dYm4mu/cysobPDDoCSKqv16laEA37Z8YVg== X-Received: by 10.98.201.66 with SMTP id k63mr103352033pfg.108.1481650713066; Tue, 13 Dec 2016 09:38:33 -0800 (PST) Received: from mikejcarey.hq.couchbase.com ([206.169.106.2]) by smtp.googlemail.com with ESMTPSA id s4sm81308136pfb.55.2016.12.13.09.38.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Dec 2016 09:38:32 -0800 (PST) Subject: Re: [DISCUSS] Improving reviews To: dev@asterixdb.apache.org References: <36DF04AB-7D48-45E8-A7ED-10C51DD4DD19@apache.org> From: Mike Carey Message-ID: <96ebe4f5-78aa-8175-db12-429c7b471556@gmail.com> Date: Tue, 13 Dec 2016 09:38:32 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------1ABDDDBBF7935CF1C0C2E7DD" archived-at: Tue, 13 Dec 2016 17:38:44 -0000 --------------1ABDDDBBF7935CF1C0C2E7DD Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit +1 on 72 hours as a strong guidelined as well. My thoughts are: 1. Code reviews are important - IMO we should most certainly not do away with them. This is especially true, I think, in a world where a number of the contributors are grad students. In addition to making sure that all new code is reasonably "industrial strength" (for an open source definition of industry), it's probably very valuable to their longer-term education. 2. 72 hours will only be feasible (or reasonable) if people follow the guidelines that are probably too often ignored - i.e., people need to be more self-checking. If something can be done independent of something else, do NOT bundle those things. If you are doing some refactoring as part of a big technical change, first do the refactoring - then do the change separately. Changes involving large numbers of lines of code throughout the system should almost "never" be complex technical changes. And if you haven't first addressed the automated comments, or test failures - don't put your stuff up for review with people attached. (And if someone asks you to review something that's broken in one of those ways, give it a fast negative review and move on; your time should not be wasted on ill-prepared changes.) 3. We should indeed set up an automated e-mail that makes all too-long reviews' statuses visible. However, exceeding 72 hours should NOT default to acceptance - that would defeat reviews - it should simply lead to fair game to increasingly/publically harass the slow reviewer. :-) 4. If you aren't going to be able to review something, speak up right away - don't just let things sit. 5. For substantial technical changes/additions, it would be nice somehow (suggestions?) to have their review requests be accompanied by the provision of a short design document overview-ing the change's design. Cheers (from a Dilbert-manager-like guy on the team), Mike On 12/12/16 10:17 PM, Michael Blow wrote: > +1 on 72h- seems reasonable. > > The forthcoming reporting can clearly indicate the age of reviews and if > they are approaching / exceeding the SLA. > > I think it would be good to get code coverage information integrated with > the reviews- it seems helpful to know if added / modified code is being > exercised by tests. > > On Wed, Dec 7, 2016 at 12:25 PM Ian Maxon wrote: > >> I think that if we can all agree on what a reasonable upper-bound timeframe >> is for addressing reviews and comments is, it'd help a lot. 72h seems fine >> to me. I think that we all have been on either side of having a review held >> up and it can get aggravating and draw things out un-necessarily. >> >> On Wed, Dec 7, 2016 at 7:31 AM, Murtadha Hubail >> wrote: >> >>> I’m for any type of improvement of the current code review process. >>> Currently, I have only few hours a week to contribute to the project and >>> almost every week I start working on a new change. As the number of >> touched >>> classes on the change increases, I just decide to abandon it and start >>> looking for another change that might be smaller. I do this because I >> know >>> the bigger change will be stuck in the code review queue and when that >>> happens I feel discouraged from contributing and my contribution doesn’t >>> add a value to the system. >>> >>> Even though the proposed idea might not solve all the issues in the >>> current code review process, I believe it is definitely going to improve >> it >>> (and encourage more contributions). >>> >>> Cheers, >>> Murtadha >>>> On Dec 6, 2016, at 9:49 AM, Till Westmann wrote: >>>> >>>> Hi, >>>> >>>> today a few of us had a discussion about how we could make the >> reviewing >>>> process moving along a little smoother. The goal is to increase the >>> likeliness >>>> that the reviews and review comments get addressed reasonably quickly. >>> To do >>>> that, the proposal is to >>>> a) try to keep ourselves to some time limit up to which a reviewer or >>> author >>>> responds to a review or a comment and to >>>> a) regularly report via e-mail about open reviews and how long they >> have >>> been >>>> open (Ian already has filed an issue to automate this [1]). >>>> Of course one is not always able to spend the time to do a thorough >>> review [2] >>>> / respond fully to comments, but in this case we should aim to let the >>> other >>>> participants know within the time limit that the task is not feasible >> so >>> that >>>> they adapt their plan accordingly. >>>> The first proposal for the time limit would be 72h (which is taken from >>> the >>>> minimal time that a [VOTE] stays open to allow people in all different >>>> locations and timezones to vote). >>>> Another goal would be to abandon reviews, if nobody seems to be working >>> on them >>>> for a while (and we’d need to find out what "a while" could be). >>>> >>>> Thoughts on this? >>>> A good idea or too much process? >>>> Is the time limit reasonable? >>>> Please let us know what you think (ideally more than a +1 or a -1 ...) >>>> >>>> Cheers, >>>> Till >>>> >>>> [1] https://issues.apache.org/jira/browse/ASTERIXDB-1745 >>>> [2] https://cwiki.apache.org/confluence/display/ASTERIXDB/Code+Reviews >>> --------------1ABDDDBBF7935CF1C0C2E7DD--