Skip to content

JGC-490 - Skip Chocolatey publish when version already exists#3495

Merged
ehl-jf merged 1 commit into
masterfrom
JGC-490-add-choco-guard
May 19, 2026
Merged

JGC-490 - Skip Chocolatey publish when version already exists#3495
ehl-jf merged 1 commit into
masterfrom
JGC-490-add-choco-guard

Conversation

@ehl-jf
Copy link
Copy Markdown
Contributor

@ehl-jf ehl-jf commented May 19, 2026

Treat the "already exists" response from choco push as success so the v2-jf phase doesn't re-fail on rerun and the outer retry loop only kicks in for genuine transient failures. Mirrors the existing npm/rbc guards.

  • All tests have passed. If this feature is not already covered by the tests, new tests have been added.
  • The pull request is targeting the master branch.
  • The code has been validated to compile successfully by running go vet ./....
  • The code has been formatted properly using go fmt ./....

Treat the "already exists" response from `choco push` as success so the
v2-jf phase doesn't re-fail on rerun and the outer retry loop only kicks
in for genuine transient failures. Mirrors the existing npm/rbc guards.
@ehl-jf ehl-jf added safe to test Approve running integration tests on a pull request ignore for release Automatically generated release notes labels May 19, 2026
@ehl-jf ehl-jf merged commit b9400aa into master May 19, 2026
100 of 168 checks passed
@ehl-jf ehl-jf deleted the JGC-490-add-choco-guard branch May 19, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ignore for release Automatically generated release notes safe to test Approve running integration tests on a pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants