You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users have reported that rarely, the GitHub Action bot has created commits that remove all the existing definitions, and this is due to the fact that there are rare times where the Supabase OpenSpecs API endpoint does not return correctly or that the OpenAPI Typescript API somehow fails to parse the result as intended.
Shortly after, the bot would make another commit to repopulate the previous definitions if the endpoint responds correctly afterwards.
This is not ideal, hence, there are a few tasks that can be embarked on:
GitHub Action should check that the updated database typesfile does not have an empty definitions section before making the commit for the result returned by the OpenAPI Typescript API.
GitHub Action should have an option to create new branch + PR with the applied changes instead of committing directly to master, so user can see whether they are the right changes before choosing to merge to their desired branch.
The text was updated successfully, but these errors were encountered:
Context
This is not ideal, hence, there are a few tasks that can be embarked on:
database types
file does not have an empty definitions section before making the commit for the result returned by the OpenAPI Typescript API.The text was updated successfully, but these errors were encountered: