zsh-workers
 help / color / mirror / code / Atom feed
From: Chris Down <chris@chrisdown.name>
To: Daniel Shahaf <d.s@daniel.shahaf.name>
Cc: zsh-workers@zsh.org
Subject: Re: [PATCH v3 2/3] builtins: kill: Add `kill ''` regression test with explicit sigspec
Date: Tue, 18 Feb 2020 10:26:08 -0500	[thread overview]
Message-ID: <20200218152608.GA110547@chrisdown.name> (raw)
In-Reply-To: <20200218130406.25b9c8e8@tarpaulin.shahaf.local2>

Morning!

Daniel Shahaf writes:
>Chris Down wrote on Mon, 17 Feb 2020 10:12 -0500:
>> The version without a sigspec can't be added yet because it would still
>> kill the test runner even in expected-to-fail mode, see workers/45449
>> for discussion. For the same reason, we use a signal which is non-fatal
>> by default and unlikely to be sent by someone else, SIGURG, to do the
>> expected-to-fail case prior to the fix.
>
>Do you consider the rationale for using SIGURG important enough to be
>added in a code comment?

Hmm, when I was considering whether to write it in the commit message or in the 
file, my rationale was that after 3/3 we're still going to end up killing the 
whole process group if it regresses, so likely the only people who'd run into 
this distinction are those doing `git bisect`. As such the commit message 
seemed the best place to me. I'm neutral though :-)

>I've pushed this series to master with prose changes only.

Thank you, and thanks for your diligent review!

Chris

  reply	other threads:[~2020-02-18 15:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-17 15:11 [PATCH v3 1/3] builtins: kill: Add basic test suite Chris Down
2020-02-17 15:12 ` [PATCH v3 2/3] builtins: kill: Add `kill ''` regression test with explicit sigspec Chris Down
2020-02-17 15:12   ` [PATCH v3 3/3] builtins: kill: Do not signal current process group when pid is empty Chris Down
2020-02-18 13:04   ` [PATCH v3 2/3] builtins: kill: Add `kill ''` regression test with explicit sigspec Daniel Shahaf
2020-02-18 15:26     ` Chris Down [this message]
2020-02-18 16:42       ` Daniel Shahaf
2020-02-18 18:50         ` Chris Down
2020-02-18 19:37           ` Daniel Shahaf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200218152608.GA110547@chrisdown.name \
    --to=chris@chrisdown.name \
    --cc=d.s@daniel.shahaf.name \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).