Working on 2 boards can confuse IDE configs

IDE 2.3.6. I have a ESP-CYD (display) connected to one USB port (creates /dev/ttyUSB0) and an ESP32 S3 that uses /dev/ttyACM0.
The ESP32 works with the 'board' ESP32-S3-BOX (may work with others), the CYD with ESP32-2432S028R CYD.
The sketches, in their IDE instances, of both can be open at same time and remember their respective boards and ports but sometimes they lose the settings and have to be reset manually.

I am doing something similar. What is your question, I have to frequently restart the two sketches (same sketch, a transceiver)

It's a bug report, the config should consistently remember the settings for each sketch. Are bugs reported elsewhere?

Bugs should be reported at GitHub · Where software is built. You however need to be able to describe the steps that consistently reproduce the issue.

And I guess that will be a problem with intermittent failure.

Maybe I have been tolerating a 'bug' for years, but I am not aware of or have any expectation that the IDE or Mac will remember anything about my boards or ports, as I can change them willy-nilly. I look forward to seeing Arduino's response.

Arduino IDE 2.x records the board, custom board option menu (e.g., Tools > Processor), port, and programmer configuration on a per-sketch basis. When you open a sketch, Arduino IDE is automatically configured as it was the last time you had that sketch open.

This information is associated with the sketch using the path of the sketch as a key, so the configuration will be reset if you open a sketch after moving it to a different location on the drive.

Of course this system doesn't limit your ability to change the configuration. If you select a different board, custom board option, port, or programmer, the stored configuration data for the sketch will be updated.

GREAT, didn't notice that. I may have put myself off during the last few days as I was opening two instances of the IDE. One was opened the usual way, the 2nd via the 'open-n-a "Arduino IDE.App"' method. I was losing board info, but maybe because I plugged in the USB-C cables differently. I am done with that project, so I won't get to test it again, but since it was the same sketch open twice, it sounds like it shouldn't work in any case. My two IDEs open on the same sketch is an outlier, to be sure.