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

pantsbuild / pants / 33038133062
93%

Build:
DEFAULT BRANCH: main
Ran 27 Aug 2026 04:15AM UTC
Jobs 11
Files 1782
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

27 Aug 2026 04:01AM UTC coverage: 92.895% (+0.002%) from 92.893%
33038133062

push

github

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

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 source, and ran the valid... (continued)

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

95490 of 102794 relevant lines covered (92.89%)

3.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 test_python_linux_x86_64_6/10 - 33038133062.1 27 Aug 2026 04:20AM UTC 1212
50.06
GitHub Action Run
2 test_python_linux_x86_64_5/10 - 33038133062.2 27 Aug 2026 04:20AM UTC 1230
60.24
GitHub Action Run
3 test_python_linux_x86_64_9/10 - 33038133062.3 27 Aug 2026 04:20AM UTC 1225
53.99
GitHub Action Run
4 test_python_linux_x86_64_8/10 - 33038133062.4 27 Aug 2026 04:23AM UTC 1214
52.75
GitHub Action Run
5 test_python_linux_x86_64_1/10 - 33038133062.5 27 Aug 2026 04:22AM UTC 1215
48.88
GitHub Action Run
6 test_python_linux_x86_64_7/10 - 33038133062.6 27 Aug 2026 04:25AM UTC 1219
50.49
GitHub Action Run
7 test_python_linux_x86_64_4/10 - 33038133062.7 27 Aug 2026 04:25AM UTC 1245
58.77
GitHub Action Run
8 test_python_linux_x86_64_0/10 - 33038133062.8 27 Aug 2026 04:23AM UTC 1236
57.49
GitHub Action Run
9 test_python_linux_x86_64_3/10 - 33038133062.9 27 Aug 2026 04:23AM UTC 1213
52.37
GitHub Action Run
10 test_python_linux_arm64 - 33038133062.10 27 Aug 2026 04:15AM UTC 1196
52.69
GitHub Action Run
11 test_python_linux_x86_64_2/10 - 33038133062.11 27 Aug 2026 04:20AM UTC 1215
58.6
GitHub Action Run
Source Files on build 33038133062
  • Tree
  • List 1782
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33038133062
  • 37996f29 on github
  • Prev Build on main (#32909570977)
  • Next Build on main (#33090306848)
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