keon94 opened a new issue, #4252: URL: https://github.com/apache/incubator-devlake/issues/4252
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues. ### What happened  When no data is collected it is expected that we have "No Data" for the charts, but with current behavior the queries seem to rely on existing data in the tables, and so they error out with SQL (e.g. code 1064) errors when they're absent. This gives the end user a false-positive alarm. ### What do you expect to happen Queries need to be written defensively and handle situation when data is absent so that we don't end up with a crashing query. Think defensive programming vs. throwing exceptions. ### How to reproduce Without running any blueprints for a dashboard, access that dashboard and you'll see this happening assuming that dashboard has a problematic query. (e.g. Github, Gitlab, Dora, etc). Some of the demo ones are okay on the other hand. ### Anything else _No response_ ### Version v0.15.0 ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
