github-actions[bot] opened a new pull request, #67975: URL: https://github.com/apache/airflow/pull/67975
The update-breeze-cmd-output hook invokes 'breeze' from PATH, which is normally the uvx shim (ADR 0017) running from a cached build. uvx does not rebuild a local path dependency on --refresh/--reinstall (only --no-cache does), so after editing dev/breeze the hook computes command hashes and option groups from stale code: it misses a needed image regeneration, or worse, reverts a correctly regenerated image back to the stale version during commit. Prepend the local breeze sources to PYTHONPATH for the hook's breeze subprocesses so the in-process computation (and the help rendering it spawns) always reflects the current worktree source, while third-party deps still resolve from the breeze environment. CI is unaffected (it installs breeze fresh from the same checkout). Also wrap the hook body in main() so the new helper is unit-testable. (cherry picked from commit c67bba009b31a369c0cef41fc2c69a2383d9cd86) Co-authored-by: Jarek Potiuk <[email protected]> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
