#9600 fix: Fix plugin definition only once when locking plugins with `meltano lock`
Pull request opened by
edgarrmondragon
## Description
## Related Issues
• Closes #XXXX
## Summary by Sourcery
Prevent redundant plugin fetch in meltano lock by using ensure_parent=False, migrate lock command messaging to use logger, and adjust tests to capture logs via stderr
Bug Fixes:
• Prevent unnecessary plugin definition fetches when locking plugins by passing ensure_parent=False
Enhancements:
• Replace click output in the lock command with structured logger calls
• Log lock command messages (info, warning, error) instead of using click.secho/echo
Tests:
• Update lock command tests to include debug log flags and assert log messages on stderr
meltano/meltano