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

Use MC FUS library in AppCenterDistribute tasks #13204

Closed
wants to merge 106 commits into from

Conversation

Jamminroot
Copy link

@Jamminroot Jamminroot commented Jun 30, 2020

Task name: Use MC FUS library in AppCenterDistribute tasks (V1, V2, V3)

Description: This PR will change the logic behind file uploading - it will add implementation of File Upload Service library (copied as source code).

Documentation changes required: (Y/N) N

Added unit tests: (Y/N) Y (unit tests changed, fixed)

Attached related issue: (Y/N) N
AB#81398

Checklist:

  • Task version was bumped - please check instruction how to do it
  • Checked that applied changes work as expected

@anatolybolshakov anatolybolshakov requested a review from a team July 10, 2020 17:02
@annakocheshkova
Copy link

annakocheshkova commented Jul 14, 2020

For all the reviewers: I don't have the permissions to resolve comments.

@zachariahcox
Copy link

Howdy @microsoft/akvelon-build-task-team! Thanks for handling this one. @annakocheshkova please continue working with @anatolybolshakov

@anatolybolshakov
Copy link
Contributor

Could you please add e2e tests also to cover these cases? There's no e2e tests for appcenter task at all at the moment, and I think it is still risky to apply such major changes without them

clearInterval(timerId);
defer.reject(new Error(`Loading release id failed: ${response ? response.error_details : ''}`));
}
}, 2000);
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please move this to constants?

Copy link
Contributor

@anatolybolshakov anatolybolshakov left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@anatolybolshakov
Copy link
Contributor

@zachariahcox could you please take a look also and approve if it's looks good for you?

@zachariahcox
Copy link

@damccorm @stephenmichaelf can one of you gentlemen review this when you get a chance? Thanks!

@damccorm
Copy link

This change is pretty massive (90 files!) and seems to be doing several things. Notably, upgrading the task-lib is introducing a lot of churn here.

Can we break this PR apart into 2 PRs that are a little more manageable. I think upgrading the task-lib plus some of the test/style changes probably deserve a review on their own.

Could you also please motivate why this is necessary? This seems pretty high risk. Do we need it in all 3 versions of the task, or is it good enough to just update the most recent version?

@Jamminroot Jamminroot closed this Jul 28, 2020
@Jamminroot Jamminroot deleted the feature/mc-fus branch July 28, 2020 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants