mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
5842249c2e
Other dimension drivers under showcase/harness/src/probes/drivers/ follow the dN-<purpose>.ts naming pattern (d4-chat-roundtrip.ts, d6-all-pills.ts). D2 and D3 didn't — bring them in line. drivers/liveness.ts -> drivers/d2-liveness.ts drivers/liveness.test.ts -> drivers/d2-liveness.test.ts drivers/e2e-readiness.ts -> drivers/d3-readiness.ts drivers/e2e-readiness.test.ts -> drivers/d3-readiness.test.ts The d3 driver loses the redundant 'e2e' prefix — the dimension is D3 and the corresponding dashboard badge is 'UI', so the file's job is best described as 'is the demo frontend ready?'. Imports updated in: - showcase/harness/src/orchestrator.ts - showcase/harness/src/orchestrator.test.ts - showcase/harness/src/cli/runner.ts - showcase/harness/src/probes/drivers/d2-liveness.test.ts (self-ref) - showcase/harness/src/probes/drivers/d3-readiness.test.ts (self-ref) Doc-comment references to the old file paths updated in: - showcase/harness/src/cli/targets.ts - showcase/harness/src/probes/liveness.ts (the helper, not the driver) - showcase/harness/src/probes/loader/probe-invoker.ts - showcase/harness/src/probes/discovery/railway-services.ts - showcase/harness/src/probes/drivers/starter-smoke.ts - showcase/harness/src/probes/drivers/starter-smoke.test.ts - showcase/harness/src/types/dimensions.test.ts - showcase/harness/config/probes/e2e-demos.yml - showcase/harness/README.md (driver table) Function/symbol exports unchanged (livenessDriver, e2eReadinessDriver, createE2eDemosDriver, etc.) — file rename only. The parent helper module showcase/harness/src/probes/liveness.ts is also untouched: it's a separate, non-driver helper that exports deriveHealthUrl, livenessProbe, and LIVENESS_SLACK_SAFE_FIELDS. Not renamed: drivers/e2e-parity.ts, drivers/aimock-wiring.ts, drivers/pin-drift.ts, drivers/image-drift.ts (non-dimensional probes).