I pinpointed this new functionality as the culprit for the recent issues with the NArm suspension guardians: this was happening because of the subprocess Python module used to launch the set_LNFS_* scripts: the newly used subprocess.check_call instruction is a blocking instruction, meaning that the following Python code was not executed until a good returncode was acquired from the interpreter. The net effect was that, in the DOWN state of ITF_LOCK, nothing after such call was executed until the call itself was concluded; namely, this meant setting the managed nodes to DOWN and turning off the main LSC_ENABLE flag, resulting in very high corrections being sent to mirrors for several seconds after the unlock. I made a few lock/unlock tests switching between the old and new configurations and this seems reproducible.
As a countermeasure I simply put the offending call at the very end of the main() function of the DOWN state, so now everything is put down before reinstating the 6 MHz amplitude.
This kind of call is also made several times during the lock acquisition, and it feels related to some lock acquisition failures I observed during the week, as the main ones happen while going to dark fringe and to LOW_NOISE_2, in the latter case resulting in several additional seconds where the ETM actuators are halfway through the switch from LN1 to LN2; for safety, I moved the LNFS stuff at the end of the main() in the LOCKED_PRITF_DF state, and at the end of the run() function in LOW_NOISE_2.
The following lock acquisitions will be monitored to ensure the correct behaviour.