Referencing non-existing SCons scripts has been upgraded from warning to fatal error in an SCons base-framework update.
https://github.com/SCons/scons/releases/tag/4.6.0
- Calling SConscript() with a nonexistent file is now an error.
Previously this succeeded - prior to SCons 3.0, silently; since 3.0, with
a warning. Developers can still instruct such an SConscript() call not
to fail by being explicit: pass keyword argument “must_exist=False”.
The “–warn=missing-sconscript” commandline option is no longer available
as the warning was part of the transitional phase.
This has been in the PIO Core since stable release 6.1.12 per commit, which was released on January 10th, 2024.
So the VSCode PlatformIO extensions likely updated your PIO core version to the latest (as it should), and with it that changed.