model-writtenrun 9801 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Noah Misch reported concurrent builds of isolation-test executables breaking parallel check-world and installcheck-world, and proposed building src/test/isolation during every normal build and installation after a temp-install-only approach proved insufficient #1.
- The initial patch landed unchanged as de0aca6a82, fixing the isolation executable race described in #1.
- Noah then reported concurrent installations of directories referenced by multiple EXTRA_INSTALL variables and supplied a shell demonstration of crash-aware bakery locking as a possible general solution #2.
- Performance measurements led Noah toward a C locking helper, fewer recursive make calls and a whitelist of directories requiring locks; he also described installation stamps to prevent repeated overwrites and tracking lock holders to avoid recursive deadlocks #3.
- Noah ultimately abandoned general locking because maintaining and validating its whitelist was too costly, instead attaching a targeted patch that processes EXTRA_INSTALL serially during the first temp-install and pointing to separate work on conflicting writes in src/test/regress #4.
- The final posting reported 110 successful parallel build-and-test iterations and additional checks at higher parallelism, while explicitly leaving clean-tree parallel src/bin builds and installcheck-world outside the targeted fixes #4.
- The final attachment landed through 76f7b0b08a, which extracted stderr logging, and aa019da523, which applied the serial checkprep implementation; together they reproduce #4, completing both attached fixes without implementing general directory locking.