GitHub
09/19/2025, 1:16 AMFileNotFoundError in plugin execution
Pull request opened by edgarrmondragon
## Description
## Related Issues
• Closes #XXXX
## Summary by Sourcery
Handle FileNotFoundError more precisely during plugin execution by introducing ExecutableNotFoundError for missing executables and preserving original errors for other file access failures, with corresponding test coverage enhancements
New Features:
• Introduce ExecutableNotFoundError to explicitly represent missing plugin executables
• Differentiate between missing executables and plugin file access errors by inspecting FileNotFoundError.filename
Enhancements:
• Update the invocation pipeline to raise ExecutableNotFoundError only when the executable path itself is absent and rethrow other file errors unchanged
• Refactor test_unknown_command to assert on the exception instance and its command attribute
Tests:
• Add async tests for missing executable and missing plugin file scenarios
• Add direct tests to verify ExecutableNotFoundError messaging and usage
meltano/meltanoGitHub
09/19/2025, 1:16 AMFileNotFoundError in plugin execution
Pull request ready for review by edgarrmondragon
meltano/meltanoGitHub
09/19/2025, 3:31 PM