Skip to content

Do not fail on first activation #40

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

Merged
merged 2 commits into from
Apr 21, 2023
Merged

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented Apr 20, 2023

Closes #22

Check if the app_uri file exists and raise in case it doesn't with a message explaining what the user needs to do to activate the extension properly.

@vinistock vinistock added this to the 2023-Q2 milestone Apr 20, 2023
@vinistock vinistock self-assigned this Apr 20, 2023
@vinistock vinistock requested a review from a team as a code owner April 20, 2023 17:47
@vinistock vinistock added the bugfix This PR fixes an existing bug label Apr 20, 2023
@vinistock vinistock force-pushed the vs/do_not_fail_on_first_activation branch 4 times, most recently from 297b2ce to 8707c9c Compare April 20, 2023 19:07
Base automatically changed from switch-to-middleware to main April 20, 2023 19:11
@vinistock vinistock force-pushed the vs/do_not_fail_on_first_activation branch from 8707c9c to ed314ae Compare April 20, 2023 19:17
@vinistock vinistock requested a review from andyw8 April 20, 2023 19:19
# If the RailsClient singleton was initialized in a different test successfully, then there would be no chance
# for this assertion to pass. We need to reset the singleton instance in order to force `initialize` to be
# executed again
Singleton.send(:__init__, RailsClient)
Copy link
Contributor

Choose a reason for hiding this comment

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

TIL (was looking for something like this recently).

@vinistock vinistock merged commit a691c13 into main Apr 21, 2023
@vinistock vinistock deleted the vs/do_not_fail_on_first_activation branch April 21, 2023 15:00
@shopify-shipit shopify-shipit bot temporarily deployed to production April 21, 2023 19:13 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This PR fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Activating extension fails if server was never booted with engine
2 participants