Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e3c1896f9 | ||
|
|
83fe7877fa |
@@ -1,5 +0,0 @@
|
||||
# Deploy-time configuration for the platform (schema: crates/conusai-repo-config).
|
||||
health:
|
||||
# The app's health endpoint. Without this the deployer probes "/", which
|
||||
# renders the dashboard — the wrong probe for liveness.
|
||||
path: /api/health
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"schema_version": 2,
|
||||
"health_check": {
|
||||
"path": "/api/health"
|
||||
}
|
||||
}
|
||||
+9
-9
@@ -17,14 +17,14 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "3.1146.0",
|
||||
"@conusai-sdk/api": "0.1.1-dev.20261013.85463d22",
|
||||
"@conusai-sdk/blob": "0.0.5-dev.20261013.85463d22",
|
||||
"@conusai-sdk/kv": "0.0.5-dev.20261013.85463d22",
|
||||
"@conusai-sdk/node-sdk": "0.2.2-dev.20261013.85463d22",
|
||||
"@conusai-sdk/observe": "0.1.0-dev.20261013.85463d22",
|
||||
"@conusai-sdk/observe-next": "0.1.0-dev.20261013.85463d22",
|
||||
"@conusai-sdk/observe-node": "0.1.1-dev.20261013.85463d22",
|
||||
"@conusai-sdk/observe-react": "0.1.0-dev.20261013.85463d22",
|
||||
"@conusai-sdk/api": "0.1.1-dev.20261016.9f1654fb",
|
||||
"@conusai-sdk/blob": "0.0.5-dev.20261016.9f1654fb",
|
||||
"@conusai-sdk/kv": "0.0.5-dev.20261016.9f1654fb",
|
||||
"@conusai-sdk/node-sdk": "0.2.2-dev.20261016.9f1654fb",
|
||||
"@conusai-sdk/observe": "0.1.0-dev.20261016.9f1654fb",
|
||||
"@conusai-sdk/observe-next": "0.1.0-dev.20261016.9f1654fb",
|
||||
"@conusai-sdk/observe-node": "0.1.1-dev.20261016.9f1654fb",
|
||||
"@conusai-sdk/observe-react": "0.1.0-dev.20261016.9f1654fb",
|
||||
"drizzle-orm": "0.45.3",
|
||||
"nats": "2.29.3",
|
||||
"next": "16.3.8",
|
||||
@@ -36,7 +36,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@axe-core/playwright": "4.13.0",
|
||||
"@conusai-sdk/observe-testing": "0.1.0-dev.20261013.85463d22",
|
||||
"@conusai-sdk/observe-testing": "0.1.0-dev.20261016.9f1654fb",
|
||||
"@eslint/eslintrc": "3.3.7",
|
||||
"@feature-sliced/steiger-plugin": "0.8.0",
|
||||
"@playwright/test": "1.63.0",
|
||||
|
||||
@@ -3,11 +3,12 @@ import { describe, expect, it } from 'vitest'
|
||||
|
||||
// The deployer's default health probe is "/" (deploy_image.rs), which renders
|
||||
// this app's dashboard; the template must ship its real health route in
|
||||
// .conusai.yaml (schema: crates/conusai-repo-config, `health.path`).
|
||||
describe('.conusai.yaml', () => {
|
||||
const yaml = readFileSync(new URL('../.conusai.yaml', import.meta.url), 'utf8')
|
||||
// conusai.json (schema: crates/conusai-presets/src/repo_config.rs,
|
||||
// `health_check.path`).
|
||||
describe('conusai.json', () => {
|
||||
const config = JSON.parse(readFileSync(new URL('../conusai.json', import.meta.url), 'utf8'))
|
||||
|
||||
it('declares the health check path the app actually serves', () => {
|
||||
expect(yaml).toMatch(/^health:\n(\s{2}.*\n)*\s{2}path: \/api\/health\s*$/m)
|
||||
expect(config.health_check.path).toBe('/api/health')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user