Repository navigation
Conversation
Nothing conclusive. Jobs remained flaky with all known failure modes. Sometimes they run green on first run, sometimes they fail. Hard to tell more without seeing failure stats for the last 30 days or so. Follow-up to 2701ac6 curl#19421
taskkill againtaskkill
There was a problem hiding this comment.
Pull request overview
This PR re-enables the taskkill command in Windows CI workflows after a ~30-day trial period where it was disabled. The trial showed that disabling taskkill did not resolve the flakiness issues in the CI jobs, so this change reverts to the original behavior.
- Removes the
CURL_TEST_NO_TASKKILL: '1'environment variable from the workflow-level configuration - Re-enables process termination via
taskkillin the test helper code (tests/processhelp.pm)
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Hard to tell more without seeing failure stats for the last 30 days or so.
What data would be useful to you here? Failures are in the Test Clutch summary
page, but I guess all that scrolling doesn't make it easy to see. Maybe a
little graph of the summary data for each job over the last 3 months?
|
I think a graph would be helpful, yes. It may help seeing if |
As an experiment. Ref: curl#21035 Follow-up to f450f38 curl#19897 Follow-up to 2701ac6 curl#19421
As an experiment. Also: - processhelp.pm: log when `taskkill` is force-skipped. Ref: curl#21035 Follow-up to f450f38 curl#19897 Follow-up to 2701ac6 curl#19421 Closes curl#21039
curl already built like this in UWP mode; add a macro to allow building regular Win32 targets too, meaning without the hidden GUI window, window handler, and thus without support for shutting down `servers.exe` gracefully. To test the server in CI as a plain console app and remove one component/variable from the system, in an effort chasing flaky runs. The graceful option was used by `taskkill` (without `-f`) in runtests, and it has been disabled (in favor of always `-f` (forced) kill), in an attempt to avoid taskkill hanging. Those resolved, but general CI flakiness remained. We see `taskkill` invoked seldom per job, and in most of these cases it doesn't find the PID requested. It means the graceful option is not actually used since 2025-04, and rather rarely before that. Also just today, the callback and main loop received a few updates to avoid potentially unsafe calls and interaction with the ctrl handler. Not expecting anything breakthrough here. Also graceful shutdown is a useful feature to cleanup properly and to be in sync with other platforms. Also: GHA/windows: enable in Windows CI jobs. Ref: https://learn.microsoft.com/windows/console/registering-a-control-handler-function#listen-with-hidden-window-example Follow-up to 7db9947 #22045 Follow-up to 9ea4881 #22487 Follow-up to b11e002 #22495 Follow-up to 208b877 #21039 Follow-up to f450f38 #19897 Follow-up to 2701ac6 #19421 Follow-up to 4e203f6 #17054 Closes #22496
Nothing conclusive for the last ~30 days when
taskkillwas madea no-op. Jobs remained flaky with all known failure modes. Sometimes
they finish green on the first run, sometimes they fail. Hard to say
more without comparing detailed stats for this period and the
preceding (or upcoming) one.
In almost all runs, the PID to be killed did not exist at the time of
check.
Follow-up to 2701ac6 #19421