Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Nov 28, 2023

When pre-commits are run and breeze shell is opened they were both attempting to use the same port forwarding. However pre-commits do not ever need port forwarding because the forwarded ports are only needed when you run breeze shell interactively.

This is a follow-up afte #35862.

This PR removes port forwarding when "pre-commit" project name is used to run breeze shell command.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

When pre-commits are run and breeze shell is opened they were
both attempting to use the same port forwarding. However pre-commits
do not ever need port forwarding because the forwarded ports are
only needed when you run breeze shell interactively.

This is a follow-up afte apache#35862.

This PR removes port forwarding when "pre-commit" project name is
used to run breeze shell command.
Copy link
Contributor

@amoghrajesh amoghrajesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@potiuk potiuk merged commit ad04d2a into apache:main Nov 28, 2023
@potiuk potiuk deleted the do-not-forward-ports-for-pre-commits branch November 28, 2023 13:02
potiuk added a commit that referenced this pull request Dec 15, 2023
…5922)

When pre-commits are run and breeze shell is opened they were
both attempting to use the same port forwarding. However pre-commits
do not ever need port forwarding because the forwarded ports are
only needed when you run breeze shell interactively.

This is a follow-up afte #35862.

This PR removes port forwarding when "pre-commit" project name is
used to run breeze shell command.

(cherry picked from commit ad04d2a)
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants