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

fix: manual retry needed if master instance paused #51

Merged

Conversation

ewingjm
Copy link
Owner

@ewingjm ewingjm commented Dec 7, 2020

Purpose

Fixes #26, fixes #12. Solution merges would occasionally fail with a message stating that the solution cannot be imported because of another solution import in progress. This was due to the fact that it would attempt to import the solution again if the action exceeded the 2-minute timeout.

Approach

Refactoring of the merging flow to not automatically retry the solution import. Instead, we query for the import job whether the solution import action succeeded or timed out.

This pull request also contains some wider refactoring, moving the majority of the code to flow and moving the app registration details from plug-in step configuration to the Environment table.

BREAKING CHANGE: users that update to this version will need to re-enter their app registration details in their environment record(s) (previously within plug-in step secure configuration).

TODOs

  • Automated test coverage for new code
  • Documentation updated (if required)
  • Build and tests successful

@ewingjm ewingjm added the bug Something isn't working label Dec 7, 2020
@ewingjm ewingjm added this to In progress in 2021 Q1 via automation Dec 7, 2020
@ewingjm ewingjm merged commit 794d325 into master Dec 8, 2020
2021 Q1 automation moved this from In progress to Done Dec 8, 2020
@ewingjm ewingjm deleted the bugfix/large-development-solutions-import-in-progress-error branch December 8, 2020 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
2021 Q1
  
Done
1 participant