metacall / faas

Reimplementation of MetaCall FaaS platform written in TypeScript.
https://dashboard.metacall.io
Apache License 2.0
13 stars 20 forks source link

Workers coloring implementation. #47

Closed HeeManSu closed 3 months ago

HeeManSu commented 3 months ago

Screenshot from 2024-03-31 05-15-08

Creatoon commented 3 months ago

@HeeManSu I tried deploying the apps which were already present in the .metacall/faas/apps, and when one of the apps named mailchimp-dynamodb-example thrown error, you can see that same application id got different color in different lines.

Also Some logs are getting repeated, if you see the starting lines for mailchimp app logs, you will see that it says "Script loaded correctly" for 2 times

Please look into these issues, thanks

I deployed this example: https://github.com/metacall/mailchimp-dynamodb-example

nn

HeeManSu commented 3 months ago

@Creatoon You are getting repeated logs (Script loaded correctly) because the Mailchimp example has two languages to run Metacall (Static Files and NodeJS). They create two JSON files, metacall-file.json for Static Files and metacall-node.json for NodeJS.

The metacall-file.json is getting deployed successfully but metacall-node.json throwing an error. I think the error is related to dependencies.

image

viferga commented 3 months ago

@HeeManSu there's conflicsts in:

src/utils/autoDeploy.ts
src/utils/logger.ts

Resolve them please.