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

pantsbuild / pants / 33198315340
93%
main: 93%

Build:
Build:
LAST BUILD BRANCH: create_uv_venv_atomically
DEFAULT BRANCH: main
Ran 28 Aug 2026 06:33PM UTC
Jobs 11
Files 1774
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

28 Aug 2026 06:13PM UTC coverage: 92.959% (-0.006%) from 92.965%
33198315340

push

github

web-flow
Restart pantsd when `[GLOBAL].plugins` changes (Cherry-pick of #23650) (#23656)

Fixes #23649.

`[GLOBAL].plugins` was not marked `daemon=True`, so changing it only
reinitialized the scheduler. `pantsd` resolves plugins into its own
process, and `PluginResolver.resolve` derives each resolve's constraints
from that process's `sys.path`, so a surviving daemon keeps constraining
later resolves to the versions it resolved first. Fingerprinting the
option for the daemon replaces the process instead, so the next resolve
starts from a clean `sys.path`.

### Validation

Built from source at 2.34.0.dev3 and run against the private monorepo
where this was first hit, which pins `plugins = ["botocore==1.43.73"]`.
Same repo, same sequence, bumping the pin to `botocore==1.43.74`, with
only the patch differing.

Without the patch the daemon is reused (pid 2314187 on both runs) and
the resolve fails:

```
pip: ERROR: ResolutionImpossible
pip:      The user requested botocore==1.43.74
pip:      The user requested (constraint) botocore==1.43.73
```

With the patch the daemon is replaced (pid 2320168 becomes 2320670) and
the same run exits 0.

Supporting checks on that build:

- Repeating a value does not restart the daemon, so this does not
over-invalidate.
- `pants test src/python/pants/pantsd/pantsd_integration_test.py` passes
in 3m35s.
- `cargo test -p pantsd` passes, including `test_find_pantsd`, which
launches a daemon and rediscovers it through `fingerprint_compute`.
- `pants test src/python/pants/option/global_options_test.py
src/python/pants/option/options_bootstrapper_test.py` passes.

The Python and Rust option lists are asserted to match on every
invocation, so the second commit is what lets the first one run at all.
Further detail on the resolve chain is in the comment below.

### LLM assistance

Claude Code (Opus 5) did the code archaeology through
`PluginResolver.resolve` and `PantsDaemonCore.prepare`, wrote the patch
and the test, built the engine from s... (continued)

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

6 existing lines in 2 files now uncovered.

94570 of 101733 relevant lines covered (92.96%)

3.69 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
98.49
-0.75% src/python/pants/engine/fs_test.py
1
92.81
-0.16% src/python/pants/engine/internals/graph.py
Jobs
ID Job ID Ran Files Coverage
1 test_python_linux_x86_64_4/10 - 33198315340.1 28 Aug 2026 06:46PM UTC 1242
58.97
GitHub Action Run
2 test_python_linux_x86_64_7/10 - 33198315340.2 28 Aug 2026 06:45PM UTC 1213
50.85
GitHub Action Run
3 test_python_linux_x86_64_9/10 - 33198315340.3 28 Aug 2026 06:40PM UTC 1222
54.07
GitHub Action Run
4 test_python_linux_x86_64_5/10 - 33198315340.4 28 Aug 2026 06:39PM UTC 1226
60.09
GitHub Action Run
5 test_python_linux_x86_64_2/10 - 33198315340.5 28 Aug 2026 06:39PM UTC 1212
58.66
GitHub Action Run
6 test_python_linux_x86_64_0/10 - 33198315340.6 28 Aug 2026 06:42PM UTC 1232
57.37
GitHub Action Run
7 test_python_linux_x86_64_3/10 - 33198315340.7 28 Aug 2026 06:43PM UTC 1210
53.74
GitHub Action Run
8 test_python_linux_x86_64_8/10 - 33198315340.8 28 Aug 2026 06:44PM UTC 1211
52.94
GitHub Action Run
9 test_python_linux_arm64 - 33198315340.9 28 Aug 2026 06:33PM UTC 1191
51.83
GitHub Action Run
10 test_python_linux_x86_64_6/10 - 33198315340.10 28 Aug 2026 06:39PM UTC 1208
50.11
GitHub Action Run
11 test_python_linux_x86_64_1/10 - 33198315340.11 28 Aug 2026 06:41PM UTC 1211
48.91
GitHub Action Run
Source Files on build 33198315340
  • Tree
  • List 1774
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33198315340
  • 4a3c9ca6 on github
  • Prev Build on 2.33.x (#33104020829)
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