• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 34787035382
93%

Build:
DEFAULT BRANCH: main
Ran 13 Sep 2026 10:42PM UTC
Jobs 11
Files 1783
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Sep 2026 10:30PM UTC coverage: 92.903% (+0.002%) from 92.901%
34787035382

push

github

web-flow
Fix interactive processes hanging on terminal read (#23659)

PR #23466 changed the way processes were spawned through ManagedChild.
Prior to that change, a spawned process would be created in a new
process group, in a new session, but that mechanism precluded a more
efficient process-spawning path. Ostensibly (per change history, local
comments, test coverage), the spawning of the child in a new session was
merely an implementation quirk of ensuring the child was spawned in a
new process group, to make it safe to kill that child's process group
later; the creation of the new session itself was incidental.
Eliminating the constraint of also creating the child in a new session
permitted the more efficient spawning path in #23466.

However, for spawned _interactive_ processes specifically there _is_ a
dependency on spawning in a new session, as revealed by #23628: when an
interactive process reasonably tries to read terminal input, and because
it wasn't spawned in a new session but instead into a (new) background
process group of the same session as the controlling terminal, it will
be signalled with SIGTTIN and suspended.

This change preserves the "fast-path" spawning mechanism for
non-interactive processes, but restores the spawning mechanism replaced
in #23466 for just interactive processes.

Also adds a test to protect against regressing this behavior again.

Notice: An LLM assisted identifying the callpath through which
interactive processes were ultimately spawned by ManagedChild, and wrote
an initial skeleton for this change and for a unittest. This code was
reviewed and edited by a human. All comments were written (or moved) by
a human. Style and naming choices were made by a human.

Fixes #23628

8 of 8 new or added lines in 1 file covered. (100.0%)

95687 of 102997 relevant lines covered (92.9%)

3.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 test_python_linux_x86_64_7/10 - 34787035382.1 13 Sep 2026 11:00PM UTC 1219
50.46
GitHub Action Run
2 test_python_linux_x86_64_8/10 - 34787035382.2 13 Sep 2026 11:00PM UTC 1214
52.73
GitHub Action Run
3 test_python_linux_x86_64_0/10 - 34787035382.3 13 Sep 2026 10:59PM UTC 1236
57.46
GitHub Action Run
4 test_python_linux_x86_64_3/10 - 34787035382.4 13 Sep 2026 10:59PM UTC 1214
52.39
GitHub Action Run
5 test_python_linux_x86_64_1/10 - 34787035382.5 13 Sep 2026 10:57PM UTC 1215
48.88
GitHub Action Run
6 test_python_linux_arm64 - 34787035382.6 13 Sep 2026 10:42PM UTC 1196
52.68
GitHub Action Run
7 test_python_linux_x86_64_4/10 - 34787035382.7 13 Sep 2026 10:59PM UTC 1245
59.05
GitHub Action Run
8 test_python_linux_x86_64_2/10 - 34787035382.8 13 Sep 2026 10:55PM UTC 1215
58.6
GitHub Action Run
9 test_python_linux_x86_64_6/10 - 34787035382.9 13 Sep 2026 10:55PM UTC 1212
50.06
GitHub Action Run
10 test_python_linux_x86_64_9/10 - 34787035382.10 13 Sep 2026 10:56PM UTC 1225
54.02
GitHub Action Run
11 test_python_linux_x86_64_5/10 - 34787035382.11 13 Sep 2026 10:56PM UTC 1230
60.27
GitHub Action Run
Source Files on build 34787035382
  • Tree
  • List 1783
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34787035382
  • 30aac137 on github
  • Prev Build on main (#34650094914)
  • Next Build on main (#34865332339)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc