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

close #307 by removing logic which adds duplicate anchors to local tasks #308

Merged

Conversation

northdpole
Copy link
Contributor

No description provided.

@northdpole northdpole requested a review from ptzianos August 19, 2024 10:53
Copy link
Contributor

@ptzianos ptzianos left a comment

Choose a reason for hiding this comment

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

ProcessTasks does more than just add the anchor step.

  • Why are the other operations done ProcessTassk ok to skip?
  • Why wasn't this bug caught by tests?
  • And why is this change not tested to prevent future issues like this?
  • Why isn't the solution to make the addAnchor* helpers idempotent?

@northdpole northdpole force-pushed the fix-duplicate-draconctl-anchors-for-local-components branch from 9b549ef to 9c501ff Compare August 19, 2024 21:59
@northdpole
Copy link
Contributor Author

ProcessTasks does more than just add the anchor step.

  • Why are the other operations done ProcessTassk ok to skip?
  • Why wasn't this bug caught by tests?
  • And why is this change not tested to prevent future issues like this?
  • Why isn't the solution to make the addAnchor* helpers idempotent?

fixed all of these, also made the add env vars idempotent

@northdpole northdpole merged commit 785bc71 into main Aug 20, 2024
3 checks passed
@northdpole northdpole deleted the fix-duplicate-draconctl-anchors-for-local-components branch August 20, 2024 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants