10000 🐛 Bug Report: Functions Timing Out During Build · Issue #6245 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

🐛 Bug Report: Functions Timing Out During Build #6245

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

Closed
2 tasks done
dishwasher-detergent opened this issue Sep 15, 2023 · 4 comments · Fixed by #6273
Closed
2 tasks done

🐛 Bug Report: Functions Timing Out During Build #6245

dishwasher-detergent opened this issue Sep 15, 2023 · 4 comments · Fixed by #6273
Assignees
Labels
bug Something isn't working product / functions Fixes and upgrades for the Appwrite Functions.

Comments

@dishwasher-detergent
Copy link
dishwasher-detergent commented Sep 15, 2023

👟 Reproduction steps

Deploy function using Github integration

👍 Expected behavior

Function is deployed and usable.

👎 Actual Behavior

Function says building for 15 minutes before timing out.

image
image

🎲 Appwrite version

Version 1.4.x

💻 Operating system

Linux

🧱 Your Environment

Using Appwrite version 1.4.2 migrated from 1.3.8 -> 1.4.0 -> 1.4.1 -> 1.4.2.

Self hosted in Digital Ocean
image

GitHub Repo size is 475 MB.

Discord Support Ticket

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@dishwasher-detergent dishwasher-detergent added the bug Something isn't working label Sep 15, 2023
@stnguyen90
Copy link
Contributor

@dishwasher-detergent thanks for creating this issue! 🙏 to clarify, the repo is 475MB, but the function itself is just a single folder that doesn't use anything else in the repo and is how large?

@stnguyen90 stnguyen90 self-assigned this Sep 15, 2023
@stnguyen90 stnguyen90 added the product / functions Fixes and upgrades for the Appwrite Functions. label Sep 15, 2023
@stnguyen90
Copy link
Contributor

@dishwasher-detergent, also, in the git settings, did you set a Root directory?

image

@dishwasher-detergent
Copy link
Author
dishwasher-detergent commented Sep 15, 2023

@dishwasher-detergent thanks for creating this issue! 🙏 to clarify, the repo is 475MB, but the function itself is just a single folder that doesn't use anything else in the repo and is how large?

Below is the exact code from the function I'm trying to deploy.

type Context = {
  req: any;
  res: any;
  log: (msg: any) => void;
  error: (msg: any) => void;
};

export default async ({ req, res, log, error }: Context) => {

  return res.send("test");
};

@dishwasher-detergent
Copy link
Author
dishwasher-detergent commented Sep 15, 2023

@dishwasher-detergent, also, in the git settings, did you set a Root directory?

Here are my exact git settings
image

Here is the layout of that git repo I'm trying to use
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product / functions Fixes and upgrades for the Appwrite Functions.
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants
0