shahar1 opened a new pull request, #76587: URL: https://github.com/apache/airflow/pull/76587
`breeze verify` lists the Breeze test suite as a host command, but three tests in `test_shim_version_check.py` fail when `CI` is unset and the console is narrow, for example in an agent session or a small terminal: - `test_warn_if_shim_outdated_older_installed` - `test_warn_if_shim_outdated_pre_versioning_shim` - `test_launcher_check_prefers_shim_version` Outside CI, the Breeze console has no fixed width, so Rich wraps at the detected width. With a long `tmp_path`, the asserted text `needs to be upgraded` no longer stays on one line. CI sets a width of 202, so these tests pass there. An autouse fixture now sets a wide console for this test file and clears the cached console around each test. Only the test file changes. Checks run locally: - `test_shim_version_check.py`: 34 passed, with `CI` unset and with `CI=true`. The 3 tests fail on `main` with `CI` unset. - Full Breeze suite with `CI` unset: only `test_reproducible_build_matches_svn` failed. That is a local Docker sandbox limit unrelated to this change, and CI skips the test. `test_publish_docs_to_s3.py` and `test_release_management_commands.py` were left out because they could not be collected locally (`botocore[crt]` missing). - `prek` pre-commit hooks passed on commit. Manual-stage hooks were not run. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 5.5) Generated-by: Claude Code (Opus 5.5) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01BVx6g81h72xzQEWosS3eMm -- 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]
