aws / aws/aws-toolkit-azure-devops

Second S3Upload@1 pipeline task not updating files in bucket

Open
#580 0 comments 0 reactions 0 assignees View on GitHub
needs-repro
Dominant language
TypeScript
Stars
258
Forks
114
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

Only the first "S3Upload@1" task in pipeline will update files in bucket. The secondd task will update the file metadata like "Last modified" but not the file content.

**To reproduce**
In the same pipeline run 3 jobs:
1. a job with an "S3Upload@1" task that will upload a random file to S3;
2. a job that will run "ManualValidation@0" with a predefined timeout that will allow you to update the content of the file previously updated;
3. another job that will run again "S3Upload@1" task and should bring the new version of the file to your bucket in S3;

**Expected behavior**

Second "S3Upload@1" task should update file content.

**Your Environment**

- On-prem or cloud based?: Cloud
- Azure DevOps version: Version Dev19.M246.1 (AzureDevOps_M246_20241030.5)
- AWS Toolkit for Azure DevOps version: 1.17.0

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the three-job pipeline described in the issue, using S3Upload@1 before and after ManualValidation@0. Trace the S3Upload@1 task implementation and its upload path, then verify that the second task replaces the file content in S3 rather than only updating metadata.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.