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

update miniflare extension to properly work with v3 #40

Merged
merged 1 commit into from
Nov 15, 2023
Merged

Conversation

lukqw
Copy link
Member

@lukqw lukqw commented Nov 15, 2023

This PR prepares the miniflare extension for v3.

Seems like wrangler has gotten an update, requiring the newly added /accounts/<account_id>/workers/standard route, since when trying to execute wrangler publish I faced this issue:

localstack.aws.protocol.parser.OperationNotFoundParserError: Unable to find operation for request to service apigateway: GET /miniflare/accounts/01a7362d577a6c3019a474fd6f485823/workers/standard

Furthermore fixing a small bug, i.e. sources_list = load_file(sources_list_file) or "", since without it the extension raised an exception.

Can confirm I can now deploy an application with wrangler against latest localstack.

@lukqw lukqw requested a review from whummer November 15, 2023 09:33
Copy link
Member

@whummer whummer left a comment

Choose a reason for hiding this comment

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

Great catch, kudos for adding this and making the extension v3 ready! 🚀

@lukqw lukqw merged commit ed1cf85 into main Nov 15, 2023
1 check passed
@lukqw lukqw deleted the miniflare-v3 branch November 15, 2023 10:03
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.

2 participants