Skip to content

🐛 Bug Report: Improve Message on Execution Tab #1446

@ItzNotABug

Description

@ItzNotABug

👟 Reproduction steps

The message on the execution tab of a Function shows below -

function_execution_messages


The message isn't 100% accurate though, it should instead be -

  1. Deployment Exists - You have no execution logs. Execute the Function to see see it here.
  2. Deployment Doesn't Exist - Function has no deployment. Create, activate & execute a deployment to see the logs here.

Also, the Execute button shows when there's no deployment & clicking it returns a response from backend - Deployment not found. Create a deployment before trying to execute a function which is fine but this can also be improved with a pre-check of deployment existence.

👍 Expected behavior

Better message should be shown.

👎 Actual Behavior

Message isn't 100% accurate.

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Linux

🧱 Your Environment

No 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?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingproduct / functionsFixes and upgrades for the Appwrite Functions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions