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

Deployment target tag warning in process editor not considering all associated target tags #9210

Open
patrick-smergut-octopus opened this issue Jan 15, 2025 · 0 comments
Labels
kind/bug This issue represents a verified problem we are committed to solving

Comments

@patrick-smergut-octopus
Copy link

patrick-smergut-octopus commented Jan 15, 2025

Severity

Will incorrectly warn any users with more than a few (4?) matching targets

Version

2024.4.7020

Latest Version

None

What happened?

The deployment target tag warning is displayed for any unique tags not associated with the first few targets presented in the short preview list. For example, if there are 4 deployment targets in the preview list with a tag of test-tag-one, and a 5th one not shown in the list with test-tag-two, then a warning will be shown for test-tag-two.

The warning should be suppressed for all associated tags, not just the ones associated with targets presented in the short preview list.

This doesn't seem to impact deployments, only the warning presented in the deployment process editor.

Reproduction

  1. Add 5 targets (with the 5th being alphanumerically last) to an instance with the following tags:
    • Targets 1-4: Tag: Tag1, Env: Test
    • Target 5: Tag: Tag2, Env: Development
  2. Create a new project with a 'Run a Script' step that deploys to targets with the tags Tag1, Tag2
  3. Check the warning at the top of the deployment process to see 'Tag2' isn't associated, even though Target 5 is associated

Image

Error and Stacktrace

More Information

Internal reproduction here.

Related to enhancement: #9045

Workaround

No response

@patrick-smergut-octopus patrick-smergut-octopus added the kind/bug This issue represents a verified problem we are committed to solving label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This issue represents a verified problem we are committed to solving
Projects
None yet
Development

No branches or pull requests

1 participant