When I create a new user, the ProcessNewUser (id,name) serverless Appwrite Function triggers.
It retrieves the user $id from the event payload (req.body).
It tries to create some default documents for that user.
This function used to work before some personal refactors, related with type-safety, maintainability and most importantly, new data models. Now, I did not expect to get the refactor just right first time around. However, whenever I create a new user and the function triggers, an old version of the code gets executed (tried multiple times over the last hour).
Entrypoint:
./dist/process-new-user/main.jsGit Settings:- Points at branch development
developmentBuild command: bun install && bun build ./functions/process-new-user/main.ts --outdir ./dist/process-new-user ;
Symptoms
- When doing commits to the repository to the development branch, I have noticed that builds are not triggered as they usually do
- When manually deploying, a new deployment is made, goes to status active, but when the functions executes it shows
Log messagesthat I no longer have (old code, before refactor).
Some help?
Screenshots attached.
Recommended threads
- Function's Static IP
Is it possible to have static. IP Address instead of Dynamic IP for getting the IP Address whitelist
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- [SOLVED] Unable to push function from AP...
When trying to push functions from Gitlab CI (with an API KEY and using the CLI), i saw that i was unable to push functions. ``` $ appwrite client --endpoint $...