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: container start commands #1008

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Fix: container start commands #1008

merged 1 commit into from
Nov 5, 2024

Conversation

Meldiron
Copy link
Contributor

@Meldiron Meldiron commented Nov 4, 2024

What does this PR do?

In Python, we switched from Flask to asynciohttp library.
With that, start command changed. CLI has start-command hard-coded, so we need to update it.

What I did instead is used helper bash script. This resolves the problem, and also ensures it doesn't happen in future. Those start helpers are what Open Runtimes tests use, so they are always 100% reliable.

I only manually tested everything working properly with Python and Node, but start helper is used for all runtime tests in Open Runtimes, so it gives me confidence it's not breaking anything currently working fine.

Fixes appwrite/appwrite#8902

Test Plan

  • Manual QA

Before:
CleanShot 2024-11-04 at 15 26 44@2x

After:

CleanShot 2024-11-04 at 15 29 04@2x

CleanShot 2024-11-04 at 15 29 30@2x

Related PRs and Issues

Have you read the Contributing Guidelines on issues?

Yes

@Meldiron Meldiron merged commit 1a2731f into master Nov 5, 2024
34 checks passed
@Meldiron Meldiron deleted the fix-run-locally-commands branch November 5, 2024 13:00
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.

🐛 Bug Report: Appwrite CLI - Open Runtime V4 Causing Unidentified Error with Locally-Run Python Functions
2 participants