-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
Enhance the console log messages when settings discovery fails for a script to provide clearer feedback to the user about the potential cause and risks.
- Review
discoverScriptSettings
andupdateScriptSettingsCache
insrc/python_executor.ts
. - When discovery fails (timeout, non-zero exit, parse error, missing marker - if implemented), ensure
plugin.logWarn
orplugin.logError
messages clearly state:- The script path.
- The specific reason for failure (timeout, exit code, parse error).
- A warning about potential unintended code execution if the script didn't handle
--get-settings-json
. - A recommendation to use the
define_settings
/_handle_cli_args
structure.
- (Optional) Consider adding a non-persistent
Notice
after a manual "Refresh Definitions" if any scripts failed discovery.
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers