Tarantool development patches archive
 help / color / mirror / Atom feed
From: Evgeniy Temirgaleev via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Sergey Bronnikov <sergeyb@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH luajit v3 2/2] Improve CLI signal handling on POSIX.
Date: Tue, 24 Nov 2026 17:23:17 +0300	[thread overview]
Message-ID: <76e8361a-f425-4478-97e9-e442e0aedc63@tarantool.org> (raw)
In-Reply-To: <96c727fe-9975-4186-9cda-b56e9ee6c8ad@tarantool.org>

Hi, Sergey! Thanks for review!

Last comment fixed. The branch was force pushed, v4 patch set was emailed.

On 11/24/26 3:09 PM, Sergey Bronnikov wrote:
> Hello,
> 
> please see comments below.
> 
> Please resend series after fixes.
> 
> Sergey
> 
> On 11/15/26 23:40, Evgeniy Temirgaleev wrote:
> 
> <snipped>
> 
>>
>>>> + jit.os ~= 'Linux' and
>>>> +                                           jit.os ~= 'OSX' and
>>>> +                                           jit.os ~= 'POSIX',
>>>> +})
>>>> +
>>>> +local ffi = require('ffi')
>>>> +ffi.cdef[[
>>>> +  int kill(int pid, int sig);
>>>> +]]
>>>> +local SIGINT = 2
>>>> +
>>>> +test:plan(1)
>>>> +local utils = require('utils')
>>>> +local script = utils.exec.test_data(arg, 'script.lua')
>>>> +local cmd = ('exec %s %s 2>&1'):format(utils.exec.luacmd(arg), script)
>>> The suite skips signal/timing-sensitive tests under Valgrind via
>>> `os.getenv('LUAJIT_TEST_USE_VALGRIND')`, while this one still does 
>>> not. The
>>> Valgrind CI job runs the whole `tarantool-tests` suite, and here the 
>>> child is
>>> spawned through `luacmd()`, so it is wrapped in Valgrind as well, 
>>> which makes
>>> startup and signal delivery slower. I could not check this locally 
>>> (no Valgrind
>>> in this environment). Is running this test under Valgrind 
>>> intentional, or would
>>> the usual skip condition be safer?
>> I tried to run CI several times and can't reproduce a fail in the 
>> Valgrind environment with the test. I shall add the skip if you will 
>> insist.
>>
> ok, let's keep as is.
>> ---
>>
>> <snipped>
>>
>>>> diff --git a/test/tarantool-tests/lj-noticket-fix-cli-posix-sigint- 
>>>> handling/script.lua b/test/tarantool-tests/lj-noticket-fix-cli- 
>>>> posix- sigint-handling/script.lua
>>>> new file mode 100644
>>>> index 00000000..d2430a52
>>>> --- /dev/null
>>>> +++ b/test/tarantool-tests/lj-noticket-fix-cli-posix-sigint- 
>>>> handling/ script.lua
>>>> @@ -0,0 +1,26 @@
>>>> +local ffi = require('ffi')
>>>> +
>>>
>>> the version at the branch contains a comment missed here:
>>>
>>>  > +-- The script runs via 'popen()' with closed pipe read-end,
> 
>  > -- The script runs via 'popen("r")' by the test process and the
> 
> popen has another prototype: io.popen (prog [, mode]) [1], please fix. 
> Also,
> 
> replace apostrophes by backticks for popen.
> 
> 1. https://www.lua.org/manual/5.1/manual.html#pdf-io.popen
> 
> 
> <snipped>

-- 
--
Best regards,
Evgeniy Temirgaleev


      reply	other threads:[~2026-11-24 14:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-01 23:59 [Tarantool-patches] [PATCH luajit v3 0/2] " Evgeniy Temirgaleev via Tarantool-patches
2026-11-01 23:59 ` [Tarantool-patches] [PATCH luajit v3 1/2] test: refactored utils.exec.makecmd Evgeniy Temirgaleev via Tarantool-patches
2026-11-03 11:55   ` Sergey Kaplun via Tarantool-patches
2026-11-05 15:24     ` Evgeniy Temirgaleev via Tarantool-patches
2026-11-06 14:37   ` Sergey Bronnikov via Tarantool-patches
2026-11-09  2:16     ` Evgeniy Temirgaleev via Tarantool-patches
2026-11-01 23:59 ` [Tarantool-patches] [PATCH luajit v3 2/2] Improve CLI signal handling on POSIX Evgeniy Temirgaleev via Tarantool-patches
2026-11-03 12:14   ` Sergey Kaplun via Tarantool-patches
2026-11-08 22:00     ` Evgeniy Temirgaleev via Tarantool-patches
2026-11-12  9:31   ` Sergey Bronnikov via Tarantool-patches
2026-11-15 20:40     ` Evgeniy Temirgaleev via Tarantool-patches
2026-11-24 12:09       ` Sergey Bronnikov via Tarantool-patches
2026-11-24 14:23         ` Evgeniy Temirgaleev via Tarantool-patches [this message]

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=76e8361a-f425-4478-97e9-e442e0aedc63@tarantool.org \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=e.temirgaleev@tarantool.org \
    --cc=sergeyb@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH luajit v3 2/2] Improve CLI signal handling on POSIX.' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox