)]}'
{
  "commit": "6f4385712e2aceeac8a7ba8cec9f41fd4ab8aa6c",
  "tree": "cb391f1c1242d76ca92eec4a13d2ede079b37037",
  "parents": [
    "d37783b6e5b44aba63e2aa5208070688770b9caa"
  ],
  "author": {
    "name": "Ralf W. Grosse-Kunstleve",
    "email": "rwgkio@gmail.com",
    "time": "Sat Oct 31 11:10:26 2026 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sat Oct 31 11:10:26 2026 -0700"
  },
  "message": "test: consolidate GIL subprocess runs (#6212)\n\n* test: batch GIL subprocess checks while preserving first-use coverage\n\nRun all 17 basic cases in three subprocess batches: the child\u0027s main\nthread, eight sequential workers per case, and eight parallel workers\nper case. Keep two isolated cross-module initialization cases in each\nmode to exercise first use with the GIL held and released. Later cases\nin a batch intentionally share interpreter state.\n\nRemove the separate one-worker parametrization, which is covered by\nthe first sequential worker. Each case still creates fresh workers;\nthere is no persistent thread pool. Keep the factory-construction\nregression and subprocess-harness checks separate.\n\nTrack the current case in shared memory so failures identify it without\nprinting progress on successful runs. Allow another execution interval\nwhen a batch advances to a new case, retaining at least ten seconds for\neach case rather than imposing a ten-second budget on the whole batch.\nA deadlock can take one additional interval to detect.\n\nThis reduces child processes from 71 to 12. A serial CPython 3.14.4 run\nof test_gil_scoped.py took 3.97 seconds, down from 18.74 seconds before\nconsolidation, including the new worker-exception regression tests.\n\n* test: use a pipe for GIL subprocess progress\n\nThe shared ctypes progress counter can raise FileExistsError before\nstarting a child process on Windows PyPy (pypy/pypy#3488). Replace it\nwith a one-way pipe carrying the current case index.\n\nKeep the progress callback in the parent, drain pending messages for\nfailure diagnostics, and retain the last index after EOF. Close both\nendpoints after subprocess cleanup. This preserves the batched cases\nand their progress-aware execution allowance.\n\nAdd a regression that makes multiprocessing.Value raise the same error\nand verifies that a subprocess batch still succeeds. The regression\nfails against the previous helper.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2072e2661f2362c765d1373c19aef049e4ba6deb",
      "old_mode": 33188,
      "old_path": "tests/test_gil_scoped.py",
      "new_id": "599f377e09a113dbe9aafb7a732022509fa4b33a",
      "new_mode": 33188,
      "new_path": "tests/test_gil_scoped.py"
    }
  ]
}
