[SDK Validation] Conflicts in artifact publishing with multiple run attempts
- Dominant language
- C#
- Stars
- 135
- Forks
- 260
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 130
Description
There're some subsequent steps depend on the `spec-gen-sdk` artifact publish step. If the subsequent steps fails and user tries to re-run the jobs, it will cause the duplicated artifacts publish failure.
One of the options is to always append 'job-attempt#' to the artifact name, however, this would make the artifact name confusing in normal success cases. In addition, the artifact is consumed by the downstream github action to set the status. This change will also need change for the downstream github actions.
Given this is corner case and the workaround for the user is pretty straight forward - re-run the pipeline rather than re-run the jobs, I would consider this issue as `won't fix` for now and we could revisit it if we get more complains from the users.
Detailed error and screenshot are as follows:
```
##[error]Artifact packages already exists for build 5063267.
```
Contributor guide
Assessment
This issue has not been assessed yet.