Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail fast for attempts to use test --debug with a docker environment (Cherry-pick of #18560) #18568

Merged
merged 1 commit into from Mar 23, 2023

Conversation

stuhood
Copy link
Sponsor Member

@stuhood stuhood commented Mar 23, 2023

As described in #18212, test --debug currently silently uses the local environment to attempt to debug a target, which can cause a lot of confusion. Other goals like run at least render a warning.

Until #17182 is fixed, we should ensure that we fail fast for the case of test --debug instead.

Fixes #18212.

pantsbuild#18560)

As described in pantsbuild#18212, `test --debug` currently silently uses the local
environment to attempt to debug a target, which can cause a lot of
confusion. Other goals like `run` at least render a warning.

Until pantsbuild#17182 is fixed, we should ensure that we fail fast for the case
of `test --debug` instead.

Fixes pantsbuild#18212.
@stuhood stuhood added the category:bugfix Bug fixes for released features label Mar 23, 2023
@stuhood stuhood requested a review from benjyw March 23, 2023 16:28
@stuhood stuhood merged commit eaafd50 into pantsbuild:2.16.x Mar 23, 2023
18 checks passed
@stuhood stuhood deleted the cherry-pick-18560-to-2.16.x branch March 23, 2023 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:bugfix Bug fixes for released features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants