app-hub icon indicating copy to clipboard operation
app-hub copied to clipboard

chore/validate-apps

Open claytonneal opened this issue 1 year ago • 6 comments

Add script and workflow to check if apps are returning http 404/500 etc

claytonneal avatar Jan 30 '24 15:01 claytonneal

@claytonneal I believe there is a validation in the validate.ts file:

https://github.com/vechain/app-hub/blob/master/scripts/validate.ts#L110

darrenvechain avatar Jan 30 '24 15:01 darrenvechain

How about make it a scheduled workflow? I will change the script to check all apps then report all errors.

libotony avatar Jan 31 '24 09:01 libotony

If I am remembering correctly, one app used cloudflare and checkLink reports error but it works at the browser level, maybe that need extra confirm by human.

libotony avatar Jan 31 '24 09:01 libotony

How about make it a scheduled workflow? I will change the script to check all apps then report all errors.

script updated #252

libotony avatar Jan 31 '24 09:01 libotony

@claytonneal this issue is super cool! Cant want to see it in prod ;)

fabiofvc avatar Mar 04 '24 17:03 fabiofvc

Quality Gate Failed Quality Gate failed

Failed conditions
D Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

sonarqubecloud[bot] avatar Mar 22 '24 10:03 sonarqubecloud[bot]