Worked on some more #Gentoo global #jobserver goodies today.
Firstly, Portage jobserver support patch: #PyTest jobs will also be counted towards total job count.
Again, it's not a perfect solution, but it works reasonably. The plugin still starts -n jobs as specified by the arguments, but it acquired job tokens prior to executing every test, therefore delaying actual testing until tokens are available. It doesn't seem to cause noticeable overhead either.
A Comparison of Star Formation Rates by Different Tracers in Nearby Galaxies
Huynh Anh N. Le, Jong-Hak Woo, Yongquan Xue, Ashraf Ayubinia, Changseok Kim, Xiaozhi Lin
https://arxiv.org/abs/2510.05687