Skip to content

Fix: Finally eliminate ajv error & Log url to user on deploy#76

Merged
bh2smith merged 3 commits intomainfrom
deploy-cmd
Feb 6, 2025
Merged

Fix: Finally eliminate ajv error & Log url to user on deploy#76
bh2smith merged 3 commits intomainfrom
deploy-cmd

Conversation

@bh2smith
Copy link
Contributor

@bh2smith bh2smith commented Feb 6, 2025

We move the ajv dependencies out of dev deps. This actually resolves the issue.

running make-agent deploy without the [optional] url argument results in the following:

➜  wraptor git:(upgrade) ✗ npx make-agent deploy
Retrying...
Retrying...
Retrying...
Unexpected error: fetch failed
OpenAPI specification validation failed.

Digging into the code it seems that the env vars are not loaded. There is also no documentation about what env vars should be set if the URL is not supplied in the runtime argument.

Closes #77

@bh2smith bh2smith marked this pull request as draft February 6, 2025 10:46
@bh2smith bh2smith changed the title Bug: Load env in getDeployedUrl Improvement: Log url to user on deploy Feb 6, 2025
@bh2smith bh2smith changed the title Improvement: Log url to user on deploy Fix: Finally eliminate ajv error & Log url to user on deploy Feb 6, 2025
@bh2smith bh2smith marked this pull request as ready for review February 6, 2025 11:31
@bh2smith bh2smith merged commit 5756051 into main Feb 6, 2025
2 checks passed
@bh2smith bh2smith deleted the deploy-cmd branch February 6, 2025 11:37
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.

Make Agent Deploy without Optional URL

2 participants