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

desihub / fiberassign / 33925332132
66%
main: 66%

Build:
Build:
LAST BUILD BRANCH: mpl-updates-matterhorn-nevis
DEFAULT BRANCH: main
Ran 04 Sep 2026 10:30PM UTC
Jobs 1
Files 31
Run time 1min
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

04 Sep 2026 10:23PM UTC coverage: 65.785% (+0.06%) from 65.729%
33925332132

Pull #523

github

sbailey
Fix merge_results() reliance on mutated global state across worker processes

merge_results() mutated the module-level merged_targets_columns dict to
record *_TARGET columns discovered from the input catalogs, then relied on
worker processes (spawned via multiprocessing.Pool) reading that same
mutated global inside merge_results_tile(). This only worked because
Python <3.14 defaulted to the "fork" start method on Linux, where workers
inherit the parent's already-mutated memory. Python 3.14 changed the
default to "forkserver", where workers no longer see mutations made to the
parent's globals after the module was first imported, so the TARGETS HDU
of merged output files silently dropped columns like DESI_TARGET, and a
later read of those files (test_assign.py::TestAssign::test_io) crashed
with "ValueError: no field of name DESI_TARGET".

Compute the columns locally and pass them explicitly to merge_results_tile
via functools.partial so they are correctly propagated to worker processes
regardless of the multiprocessing start method.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Pull Request #523: Fix test tempdir races and multiprocessing usage

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

3978 of 6047 relevant lines covered (65.78%)

3167836.24 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
66.88
0.42% py/fiberassign/assign.py
Jobs
ID Job ID Ran Files Coverage
1 33925332132.1 04 Sep 2026 10:30PM UTC 31
65.78
GitHub Action Run
Source Files on build 33925332132
  • Tree
  • List 31
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33925332132
  • Pull Request #523
  • PR Base - main (#33695866399)
  • Delete
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