You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: resolve 'Failed to parse URL from /me' error in container dry-run deployments
- Always call fillOpenAPIConfiguration when containers are defined, even in dry-run mode
- Set up OpenAPI configuration before calling maybeBuildContainer in the main deploy flow
- Add test to ensure container dry-run works without URL parsing errors
- Add changeset for this bugfix
This fixes the issue where 'wrangler deploy --dry-run' with containers using local
Dockerfiles would fail because OpenAPI configuration wasn't set up before making
API calls during container building.
The fix ensures that the AccountService.getMe() call in loadAccount() has a proper
base URL configured instead of an empty string, preventing the invalid '/me' URL error.
fix: resolve "Failed to parse URL from /me" error in container dry-run deployments
6
+
7
+
Fixes an issue where `wrangler deploy --dry-run` with containers using local Dockerfiles would fail with "Failed to parse URL from /me" error. The fix ensures OpenAPI configuration is properly set up before making API calls during container building in dry-run mode.
8
+
9
+
This change only affects the specific error scenario and maintains backward compatibility.
0 commit comments