Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -107,7 +107,7 @@ export function checkWebHealthcheck(rootDir) {
|
||||
const source = readTextFile(rootDir, relativePath);
|
||||
passes.push(`${relativePath}: exists`);
|
||||
|
||||
if (!/\bdb\b|utils\/db\.server|@toolctrl\/db/.test(source) && !/\bfetch\s*\(/.test(source)) {
|
||||
if (!/\bdb\b|utils\/db\.server|@hivegrid\/db/.test(source) && !/\bfetch\s*\(/.test(source)) {
|
||||
passes.push(`${relativePath}: legacy liveness healthcheck avoids DB and self-fetch`);
|
||||
} else {
|
||||
failures.push(`${relativePath}: legacy healthcheck must not import/check DB or self-fetch the app`);
|
||||
@@ -118,7 +118,7 @@ export function checkWebHealthcheck(rootDir) {
|
||||
const healthzSource = readTextFile(rootDir, WEB_HEALTHZ_PATH);
|
||||
passes.push(`${WEB_HEALTHZ_PATH}: defines lightweight /healthz liveness route`);
|
||||
|
||||
if (!/\bdb\b|utils\/db\.server|@toolctrl\/db/.test(healthzSource)) {
|
||||
if (!/\bdb\b|utils\/db\.server|@hivegrid\/db/.test(healthzSource)) {
|
||||
passes.push(`${WEB_HEALTHZ_PATH}: liveness route does not require DB`);
|
||||
} else {
|
||||
failures.push(`${WEB_HEALTHZ_PATH}: liveness route must not import or check db`);
|
||||
@@ -307,7 +307,7 @@ export function checkWorkerHealthReport(rootDir) {
|
||||
failures.push(`${relativePath}: health JSON must not expose Redis URL or password values`);
|
||||
}
|
||||
|
||||
if (/from\s+["']@toolctrl\/db\/client\.server["']/.test(source) || /\.\$queryRaw|\.\$executeRaw|\.appConfiguration\.count\(/.test(source)) {
|
||||
if (/from\s+["']@hivegrid\/db\/client\.server["']/.test(source) || /\.\$queryRaw|\.\$executeRaw|\.appConfiguration\.count\(/.test(source)) {
|
||||
passes.push(`${relativePath}: worker readiness checks DB`);
|
||||
} else {
|
||||
failures.push(`${relativePath}: worker readiness must check DB`);
|
||||
|
||||
Reference in new issue
Block a user