Commit Graph

9 Commits

Author SHA1 Message Date
William Trabazo
fdfc0a83f0 Fix backend code relooping issue
Related to #11

Improve error handling and retry mechanism for backend code generation process.

* **Handle empty generated server code gracefully in `cofounder/api/system/functions/backend/server.js`**
  - Add a check to handle empty generated server code in the `backendServerGenerate` function.
  - Log a specific error message if the generated server code is empty.
  - Return an empty server code structure if the generated server code is empty.

* **Update retry mechanism in `cofounder/api/build.js`**
  - Add a condition to stop retrying if the generated server code is empty after a certain number of attempts in the `system.run` function.
  - Update the retry mechanism to include the new condition in the `fn` function.
  - Log a specific error message if the generated server code is empty after the maximum retries.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/raidendotai/cofounder/issues/11?shareId=XXXX-XXXX-XXXX-XXXX).
2024-11-01 08:55:07 -04:00
raidendotai
3d3ee9326b Update README.md 2024-10-02 22:22:36 +01:00
raidendotai
615ee55392 dashboard update 2024-10-02 20:56:39 +01:00
raidendotai
b127f30724 redux boilerplate placeholder 2024-09-24 10:29:29 +01:00
raidendotai
b88615fe5e schemas filtering restored 2024-09-21 05:17:29 +01:00
raidendotai
c89b58dada gitignore fix 2024-09-21 05:14:26 +01:00
raidendotai
4802b46980 env fix 2024-09-21 05:05:04 +01:00
raidendotai
d80925ee95 schemas fix 2024-09-21 04:44:03 +01:00
raidendotai
a906249f7b hello world 2024-09-19 01:30:28 +01:00