mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
c69aeca835
Split the probe system into reusable contracts so every future probe can share one loader + invoker + discovery enumeration path: - ProbeDriver<Input, Signal> + DiscoverySource<Output> contracts (src/probes/types.ts) - ProbeConfigSchema Zod union (static targets / discovery-driven / single-target) + chokidar-watched probe-loader + probe-invoker with AbortController-based per-target timeout + bounded concurrency (src/probes/loader/*) - DiscoverySource typed error classes (Auth / Backend / Transport / Schema) + railway-services + pnpm-packages discovery sources (src/probes/discovery/*) - 6 probe drivers: smoke (paired health side-emit), aimock-wiring, image-drift, pin-drift, version-drift, redirect-decommission. e2e-smoke driver scaffolded but unregistered pending runner wiring. redirect-decommission ships an inlined hermetic copy of the CLI formatter + seo-redirects catalogue to avoid runtime dynamic imports (src/probes/drivers/*) - 6 probe YAML configs: smoke.yml, aimock-wiring.yml, image-drift.yml, pin-drift.yml, version-drift.yml, redirect-decommission.yml. Orchestrator registers these at boot; YAML edits hot-reload via chokidar + reloads/failures emit on the event bus. Tests: 95% line-coverage floor on drivers + discovery, fixtures for every driver's happy + error paths.
58 lines
1.5 KiB
JSON
58 lines
1.5 KiB
JSON
{
|
|
"config": {
|
|
"version": "1.59.1"
|
|
},
|
|
"stats": {
|
|
"startTime": "2026-04-21T00:00:00.000Z",
|
|
"duration": 2345,
|
|
"expected": 2,
|
|
"unexpected": 1,
|
|
"flaky": 0,
|
|
"skipped": 0
|
|
},
|
|
"suites": [
|
|
{
|
|
"title": "l1-3",
|
|
"file": "smoke/l1-3.spec.ts",
|
|
"specs": [
|
|
{
|
|
"title": "dashboard loads",
|
|
"ok": true,
|
|
"tests": [
|
|
{
|
|
"expectedStatus": "passed",
|
|
"results": [{ "status": "passed", "duration": 512, "errors": [] }]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"title": "dojo exposes health banner",
|
|
"ok": false,
|
|
"tests": [
|
|
{
|
|
"expectedStatus": "passed",
|
|
"results": [
|
|
{
|
|
"status": "failed",
|
|
"duration": 1680,
|
|
"error": {
|
|
"message": "Error: expected 'healthy' but received 'degraded'",
|
|
"stack": "AssertionError: expected 'healthy' but received 'degraded'\n at smoke/l1-3.spec.ts:42:18"
|
|
},
|
|
"errors": [
|
|
{
|
|
"message": "Error: expected 'healthy' but received 'degraded'",
|
|
"stack": "AssertionError: expected 'healthy' but received 'degraded'\n at smoke/l1-3.spec.ts:42:18"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"errors": []
|
|
}
|