Skip to content

feat(hub)!: delete the eval-runs mount (CL-8160) - #774

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-8160-evals-eval-runs-mount
Sep 17, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-8160-evals-eval-runs-mount

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

CL-8160 owner ruling: the hub mounts nothing Workbench-specific; everything product-shaped is a workflow package. Scoped to the eval-runs surface only.

Choice made: keep packages/evals as a private dev/CI tool, delete only the product HTTP surface. packages/evals is Myra's evals harness — driven by bun run eval and covered by its own package tests, playing a hardcoded scripted scenario against a real hub+sidecar. It is not product-facing: the only consumer of the hub's ${TENANT_PREFIX}/eval-runs mount was the web sidebar's own conditional nav item (query it, then only show "Evals" if it ever returned rows) and the standalone /evals page — no other package or workflow reads it.

Deleted:

  • apps/hub/src/index.ts: the ${TENANT_PREFIX}/eval-runs mount, its migration/store wiring, and the @corbits/evals dependency in apps/hub/package.json (nothing else in the hub used the package)
  • packages/evals/src/routes.ts (+ its test) and the createEvalRunRoutes export — the package's hono/@intx/hub-api deps went with it
  • apps/web/src/evals-api.ts, evals-path.ts, pages/evals-page.tsx, and the sidebar's Evals nav item/query, plus their tests

Kept: packages/evals's EvalRunStore, evals.run table, and migrations — scripts/evals-run.ts (bun run eval) still persists live runs there for history, so the table has a real writer independent of the hub route. scripts/checks/no-product-tenancy.ts's allowlist entry for evals.run is unchanged since the table itself wasn't touched.

Test plan

  • bun run typecheck
  • bun run lint
  • bun run check:structural
  • bun --cwd apps/web test (869 pass)

The Myra evals harness (`packages/evals`) is a dev/CI tool driven by
`bun run eval` and the package's own tests, not a product surface — the
hub's `${TENANT_PREFIX}/eval-runs` route and the web Evals page had no
consumer beyond a sidebar nav item gated on the route ever returning
data. Delete the hub mount, `createEvalRunRoutes`/`routes.ts`, and the
web evals-api/evals-page/sidebar surface. `packages/evals` keeps its
`EvalRunStore`/`evals.run` table and migrations, since `bun run eval`
still persists live runs there for history.
@linear-code

linear-code Bot commented Sep 17, 2026

Copy link
Copy Markdown

CL-8160

@TheGreatAxios
TheGreatAxios merged commit 948225f into main Sep 17, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant