Description
🔖 Enhancement description
Appwrite passes the function and deployment IDs into executions, but not the execution ID.
It would be helpful if the execution ID was also passed into the execution as a header
🎤 Pitch
Having the execution ID can allow for better tracking in case I'm using Sentry and I want to correlate an error in Sentry with the execution in Appwrite.
In addition, the ID can be used for cases where something is done asynchronously, but needs to be retrieved later. Suppose I want to pass data to ChatGPT but I don't want to wait for the response synchronously. I can call functions.createExecution("prompt", true)
and get back the execution ID. The function can, then, make the API call to ChatGPT and then create a document with the ID of the function. My client app can, then, fetch that document using the execution ID to get the response.
👀 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?
- I have read the Code of Conduct
Metadata
Metadata
Assignees
Type
Projects
Status