Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion apps/hub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"@corbits/e2b-sandbox-sidecar": "workspace:*",
"@corbits/echo-workflow": "workspace:*",
"@corbits/error-sink": "workspace:*",
"@corbits/evals": "workspace:*",
"@corbits/exa-topic-watch-workflow": "workspace:*",
"@corbits/granola-call-workflow": "workspace:*",
"@corbits/hub-api-client": "workspace:*",
Expand Down
21 changes: 0 additions & 21 deletions apps/hub/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,6 @@ import {
createUsageSink,
withTurnPartPersistGuard,
} from "@corbits/insights";
import {
applyEvalsMigrations,
createEvalRunRoutes,
createPostgresEvalRunStore,
} from "@corbits/evals";
import {
applyInferenceCatalogMigrations,
createPostgresBenchModelPolicyStore,
Expand Down Expand Up @@ -1723,21 +1718,6 @@ export async function createHub(config: HubConfig) {
const benchModelPolicy = createPostgresBenchModelPolicyStore(
config.databaseUrl,
);
// Eval run history: read-only surface over the package-owned
// `evals.run` table, migrated at hub start like insights. Eval runs
// aren't tenant-owned, so the tenant prefix here is only the grant gate.
await applyEvalsMigrations(config.databaseUrl);
const evalRuns = createPostgresEvalRunStore(config.databaseUrl);
app.route(
`${TENANT_PREFIX}/eval-runs`,
createEvalRunRoutes({
store: evalRuns.store,
requireGrant: createRequireGrant({
grantStore: chatGrantStore,
conditionRegistry: grantConditionRegistry,
}),
}),
);
{
const mailboxApp = new Hono<TenantEnv>();
mountMailbox(mailboxApp, {
Expand Down Expand Up @@ -2367,7 +2347,6 @@ export async function createHub(config: HubConfig) {
cronEmitter.stop();
await insightsUsage.close();
await insightsLatency.close();
await evalRuns.close();
await closeMailbox();
// The pool end waits on in-flight queries; a query whose socket
// died with the process must never stall shutdown, so bound it.
Expand Down
74 changes: 0 additions & 74 deletions apps/hub/test/eval-runs-mount.test.ts

This file was deleted.

116 changes: 0 additions & 116 deletions apps/web/src/evals-api.test.ts

This file was deleted.

111 changes: 0 additions & 111 deletions apps/web/src/evals-api.ts

This file was deleted.

26 changes: 0 additions & 26 deletions apps/web/src/evals-path.test.ts

This file was deleted.

Loading
Loading