Print more info in logs when configuration changes mid-run
Hello @dbeltran and @bdepaula,
Summary of the feature
Having the dynamic changes of parameters on the conf files is useful, but right now, the users are not aware of it when something changes, so I think it would be useful to print in the output a message when the configuration is updated mid-run, similar to what is done when some job changes the status via the pkl/updated_list
feature. A simple message would suffice so the user can confirm that the changes have been read or not.
Describe your use case
Some of the users, in auto-ecearth3, run different members with different configurations to compare them, and launch the autosubmit run -rm fcXX
, then while it is running they are already doing the changes for the new member to run. In this case, the message would be useful so they know that they are changing the already running member.
Another case would be when the users need to change some later job that has been misconfigured, but it hasn't started running yet, right now, most of the users stop the experiment because they don't know or aren't sure if the changes they have done are taken into account. If the message is printed into the log, they will see the change and be sure if the run needs to be stopped or not.
Describe the problem (and propose a solution if you have one)
The problem is the misinformation when changing the configuration of the experiment mid-run. The user doesn't know if the change has been taken into account or not. The solution would be to print the changed parameter (old and new if possible) within a message in the log.
As far as I know, dynamically updating the settings works in both AS 3 and 4, but in autosubmit 3 there is an issue with duplicated parameters between config files (for example, QUEUE is defined in platforms and might be overwritten in JOBS, then cannot be updated in JOBS), in autosubmit 4 it works for all parameters (correct me if I'm wrong). In these cases where it cannot be updated it would also be useful to print a message telling the user that it hasn't been updated and that the run needs to be stopped for it to take effect.