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 .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"@corbits/approvals",
"@corbits/artifact-ui",
"@corbits/artifacts-hub",
"@corbits/bench",
"@corbits/bench-ui",
"@corbits/chat",
"@corbits/chat-ui",
Expand Down
1 change: 0 additions & 1 deletion apps/hub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"@corbits/artifacts": "github:corbitsdev/corbits-artifacts#dc435ba749b4378f19e5de772159c2a57e932938",
"@corbits/artifacts-hub": "workspace:*",
"@corbits/attio-task-agent-workflow": "workspace:*",
"@corbits/bench": "workspace:*",
"@corbits/chat": "workspace:*",
"@corbits/code-review-workflow": "workspace:*",
"@corbits/codex-provider": "workspace:*",
Expand Down
26 changes: 2 additions & 24 deletions apps/hub/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,6 @@ import {
createUsageSink,
withTurnPartPersistGuard,
} from "@corbits/insights";
import {
applyBenchMigrations,
createBenchRoutes,
createPostgresBenchSettingsStore,
} from "@corbits/bench";
import {
applyEvalsMigrations,
createEvalRunRoutes,
Expand Down Expand Up @@ -1732,25 +1727,9 @@ export async function createHub(config: HubConfig) {
const benchModelPolicy = createPostgresBenchModelPolicyStore(
config.databaseUrl,
);
// Bench purpose/type: benches are Interchange tenants, so this is a
// package-owned side-table keyed by tenant id, migrated at hub start
// like insights.
await applyBenchMigrations(config.databaseUrl);
const benchSettings = createPostgresBenchSettingsStore(config.databaseUrl);
app.route(
`${TENANT_PREFIX}/bench-settings`,
createBenchRoutes({
store: benchSettings.store,
requireGrant: createRequireGrant({
grantStore: chatGrantStore,
conditionRegistry: chatConditionRegistry,
}),
}),
);
// Eval run history: read-only surface over the package-owned
// `evals.run` table, migrated at hub start like insights and
// bench-settings. Eval runs aren't tenant-owned, so the tenant prefix
// here is only the grant gate.
// `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(
Expand Down Expand Up @@ -2392,7 +2371,6 @@ export async function createHub(config: HubConfig) {
cronEmitter.stop();
await insightsUsage.close();
await insightsLatency.close();
await benchSettings.close();
await evalRuns.close();
await closeMailbox();
// The pool end waits on in-flight queries; a query whose socket
Expand Down
23 changes: 1 addition & 22 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

176 changes: 0 additions & 176 deletions packages/bench/LICENSE

This file was deleted.

41 changes: 0 additions & 41 deletions packages/bench/README.md

This file was deleted.

31 changes: 0 additions & 31 deletions packages/bench/package.json

This file was deleted.

84 changes: 0 additions & 84 deletions packages/bench/src/client.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/bench/src/index.ts

This file was deleted.

47 changes: 0 additions & 47 deletions packages/bench/src/migrations.ts

This file was deleted.

Loading
Loading