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

engsys: idempotent publishing for re-runs #4361

Open
weikanglim opened this issue Sep 20, 2024 · 0 comments
Open

engsys: idempotent publishing for re-runs #4361

weikanglim opened this issue Sep 20, 2024 · 0 comments
Labels

Comments

@weikanglim
Copy link
Contributor

weikanglim commented Sep 20, 2024

Is there a general strategy we can make artifact publishing idempotent to job re-runs?

Example:

In publish-cli.yml (and anywhere else), when we have a pipeline artifact being published:

  - task: 1ES.PublishPipelineArtifact@1
    inputs: 
      targetPath: release
      artifact: UploadedReleaseArtifacts

And in a subsequent step such as create-pull-request, fails due to a flaky issue. On a rerun, we will get an error:

##[error]Artifact UploadedReleaseArtifacts already exists for build 4153919.

Here's a recent build run demonstrating this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant