I'll do releases tomorrow, since it's late where I...
# development
h
I'll do releases tomorrow, since it's late where I am and there is some issue with the start_release.py script (on my machine it consistently receives a SIGINT when running the
git add
process, which causes
pants run
to auto-rerun the script, but since it's not idempotent due to the release branch already existing, it fails on that second run)
This is a race condition with the file watcher, which on my system manages to detect the new local file changes (VERSION and CONTRIBUTORS.md), and kill and restart the
run
goal before it completes, but I guess on others' systems the
run
completes before this happens.
Addressed in the documentation: https://github.com/pantsbuild/pants/pull/21081
Thing is, the process we're running is
restartable=False
, which gives a false sense of security. But here the watcher is rerunning the enclosing
run
goal.