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

[dev-tool] Restore the assets only when they are present #32752

Merged
merged 10 commits into from
Jan 28, 2025

Conversation

HarshaNalluru
Copy link
Member

@HarshaNalluru HarshaNalluru commented Jan 27, 2025

Description

This pull request addresses an issue in PR #32668 where the existence of the assets.json file was not checked before pulling the recordings. This PR adds a check for the file's existence.

Problem 2

Introduced retries for the 'restore' command to mitigate EBUSY errors, which occur due to resource locking by simultaneous pipeline processes.

Fixes

This change fixes the failing pipelines, such as the monitor-opentelemetry-exporter package.

Pipeline Results

@github-actions github-actions bot added the dev-tool Issues related to the Azure SDK for JS dev-tool label Jan 27, 2025
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

Copy link
Member

@mpodwysocki mpodwysocki left a comment

Choose a reason for hiding this comment

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

LGTM

@HarshaNalluru HarshaNalluru marked this pull request as ready for review January 28, 2025 02:12
Copy link
Member

@jeremymeng jeremymeng left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@jeremymeng jeremymeng merged commit 28c8313 into Azure:main Jan 28, 2025
12 checks passed
HarshaNalluru added a commit that referenced this pull request Jan 30, 2025
### Description

This PR reverts the recent changes from [PR
32668](#32668) and [PR
32752](#32752).

These changes did not fully resolve the race condition issues, as we
observed continued failures, albeit with lesser frequency, even after
increasing the timeouts.

Increasing the timeouts further does not seem like a clean solution.
Therefore, reverting these changes in this PR.

### Changes

- Revert the changes introduced in PR 32668 and PR 32752.
- [TO DO] A new approach to restore assets sequentially in a separate
job will be implemented in a follow-up PR.

### Related Issue

Issues observed at the current state of restoring assets: [Issue
32805](#32805)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev-tool Issues related to the Azure SDK for JS dev-tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants