@cat-factory/node-server 0.118.0 → 0.119.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/container-core-deps.js +1 -0
- package/dist/container-core-deps.js.map +1 -1
- package/dist/db/schema.d.ts +970 -1985
- package/dist/db/schema.d.ts.map +1 -1
- package/dist/db/schema.js +51 -151
- package/dist/db/schema.js.map +1 -1
- package/dist/db/tables/vcs.d.ts +1339 -0
- package/dist/db/tables/vcs.d.ts.map +1 -0
- package/dist/db/tables/vcs.js +170 -0
- package/dist/db/tables/vcs.js.map +1 -0
- package/dist/repositories/drizzle/initiatives.d.ts.map +1 -1
- package/dist/repositories/drizzle/initiatives.js +5 -0
- package/dist/repositories/drizzle/initiatives.js.map +1 -1
- package/dist/repositories/drizzle/mergeTrackRecord.d.ts +24 -0
- package/dist/repositories/drizzle/mergeTrackRecord.d.ts.map +1 -0
- package/dist/repositories/drizzle/mergeTrackRecord.js +162 -0
- package/dist/repositories/drizzle/mergeTrackRecord.js.map +1 -0
- package/dist/repositories/drizzle.d.ts +2 -1
- package/dist/repositories/drizzle.d.ts.map +1 -1
- package/dist/repositories/drizzle.js +2 -0
- package/dist/repositories/drizzle.js.map +1 -1
- package/drizzle/20260726225401_merge_track_records/migration.sql +29 -0
- package/drizzle/20260726225401_merge_track_records/snapshot.json +16963 -0
- package/package.json +20 -20
package/dist/db/schema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/db/schema.ts"],"names":[],"mappings":"AAmCA,eAAO,MAAM,SAAS,qDAAwB,CAAA;AAU9C,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBtB,CAAA;AAGD,eAAO,MAAM,KAAK;;;;;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AM,iBAAiB,CAAA;AAKxB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwB3B,CAAA;AAMD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG9B,CAAA"}
|
package/dist/db/schema.js
CHANGED
|
@@ -1089,6 +1089,10 @@ export const riskPolicies = pgTable('merge_threshold_presets', {
|
|
|
1089
1089
|
// Estimate gating for the implementation-fork decision phase, a JSON `StepGating` blob
|
|
1090
1090
|
// (mirror of D1's `fork_decision` TEXT column). NULL ⇒ off in `auto` mode.
|
|
1091
1091
|
fork_decision: text('fork_decision'),
|
|
1092
|
+
// Per-change-class auto-merge rules, a JSON partial map from change class to
|
|
1093
|
+
// `thresholds` | `always` | `never` (mirror of D1's `class_rules` TEXT column). `{}` — the
|
|
1094
|
+
// default — means every class uses the score ceilings above, the historical behaviour.
|
|
1095
|
+
class_rules: text('class_rules').notNull().default('{}'),
|
|
1092
1096
|
// Monotonic catalog version for a built-in preset (NULL on custom; treated as 0).
|
|
1093
1097
|
version: integer('version'),
|
|
1094
1098
|
is_default: integer('is_default').notNull().default(0),
|
|
@@ -1098,6 +1102,48 @@ export const riskPolicies = pgTable('merge_threshold_presets', {
|
|
|
1098
1102
|
// Fast lookup of a workspace's default preset (mirrors idx_merge_presets_default).
|
|
1099
1103
|
index('idx_merge_presets_default').on(t.workspace_id, t.is_default),
|
|
1100
1104
|
]);
|
|
1105
|
+
// Merge TRACK RECORD — one row per merge decision: the run's deterministic change class, the
|
|
1106
|
+
// merger's scores at the decision, what happened, and the reviewer-effort tag a human left
|
|
1107
|
+
// (mirror of D1 migration 0061's `merge_track_records`). Per-class rollups over this table are
|
|
1108
|
+
// SQL aggregates behind `DrizzleMergeTrackRecordRepository.rollupByClass`, never rows reduced in
|
|
1109
|
+
// JS. Provider-neutral: repo identity is `repo_id` + `provider`, never a GitHub-shaped id.
|
|
1110
|
+
export const mergeTrackRecords = pgTable('merge_track_records', {
|
|
1111
|
+
workspace_id: text('workspace_id').notNull(),
|
|
1112
|
+
id: text('id').notNull(),
|
|
1113
|
+
block_id: text('block_id').notNull(),
|
|
1114
|
+
// NULL for a record born from an externally-merged PR with no cat-factory run.
|
|
1115
|
+
execution_id: text('execution_id'),
|
|
1116
|
+
// docs | test | dependency | config | source | schema | unknown.
|
|
1117
|
+
change_class: text('change_class').notNull(),
|
|
1118
|
+
changed_file_count: integer('changed_file_count'),
|
|
1119
|
+
// The merger's 0..1 axes; NULL when it produced no parseable assessment (or never ran).
|
|
1120
|
+
complexity: doublePrecision('complexity'),
|
|
1121
|
+
risk: doublePrecision('risk'),
|
|
1122
|
+
impact: doublePrecision('impact'),
|
|
1123
|
+
risk_policy_id: text('risk_policy_id'),
|
|
1124
|
+
risk_policy_name: text('risk_policy_name'),
|
|
1125
|
+
// pending_review | auto_merged | human_merged | external_merged | rejected.
|
|
1126
|
+
decision: text('decision').notNull(),
|
|
1127
|
+
// none | minor | major. NULL until tagged — tagging is a nudge, never a gate.
|
|
1128
|
+
review_effort: text('review_effort'),
|
|
1129
|
+
pr_number: integer('pr_number'),
|
|
1130
|
+
pr_url: text('pr_url'),
|
|
1131
|
+
repo_id: text('repo_id'),
|
|
1132
|
+
provider: text('provider'),
|
|
1133
|
+
created_at: bigint('created_at', { mode: 'number' }).notNull(),
|
|
1134
|
+
resolved_at: bigint('resolved_at', { mode: 'number' }),
|
|
1135
|
+
tagged_at: bigint('tagged_at', { mode: 'number' }),
|
|
1136
|
+
}, (t) => [
|
|
1137
|
+
primaryKey({ columns: [t.workspace_id, t.id] }),
|
|
1138
|
+
// The per-class rollup reads a whole workspace grouped by class.
|
|
1139
|
+
index('idx_merge_track_records_class').on(t.workspace_id, t.change_class),
|
|
1140
|
+
// Settling a decision / tagging effort resolves by run.
|
|
1141
|
+
index('idx_merge_track_records_execution').on(t.workspace_id, t.execution_id),
|
|
1142
|
+
// The block-scoped merge controls read the block's most recent record.
|
|
1143
|
+
index('idx_merge_track_records_block').on(t.workspace_id, t.block_id, t.created_at),
|
|
1144
|
+
// External-merge attribution looks a record up by the PR the webhook named.
|
|
1145
|
+
index('idx_merge_track_records_pr').on(t.workspace_id, t.repo_id, t.pr_number),
|
|
1146
|
+
]);
|
|
1101
1147
|
// Shared stacks — long-lived compose infra a per-PR consumer environment attaches to over an
|
|
1102
1148
|
// external network (mirror of D1 migration 0041's `shared_stacks`). JSON-shaped columns
|
|
1103
1149
|
// (`compose_files`/`compose_profiles`/`env_files`/`managed_networks`/`setup_steps`/
|
|
@@ -1512,157 +1558,11 @@ export const subscriptionActivations = pgTable('subscription_activations', {
|
|
|
1512
1558
|
uniqueIndex('idx_sub_activations_run').on(t.execution_id, t.user_id, t.vendor),
|
|
1513
1559
|
index('idx_sub_activations_expiry').on(t.expires_at),
|
|
1514
1560
|
]);
|
|
1515
|
-
//
|
|
1516
|
-
//
|
|
1517
|
-
//
|
|
1518
|
-
//
|
|
1519
|
-
export
|
|
1520
|
-
installation_id: bigint('installation_id', { mode: 'number' }).primaryKey(),
|
|
1521
|
-
workspace_id: text('workspace_id').notNull(),
|
|
1522
|
-
account_id: text('account_id'),
|
|
1523
|
-
account_login: text('account_login').notNull(),
|
|
1524
|
-
target_type: text('target_type').notNull(),
|
|
1525
|
-
app_id: text('app_id'),
|
|
1526
|
-
// Which VCS this connection talks to (github / gitlab). See contracts `GitHubConnection`
|
|
1527
|
-
// + kernel `GitHubInstallation.provider`.
|
|
1528
|
-
provider: text('provider').notNull().default('github'),
|
|
1529
|
-
cached_token: text('cached_token'),
|
|
1530
|
-
token_expires_at: bigint('token_expires_at', { mode: 'number' }),
|
|
1531
|
-
// Durable, sealed access credential for a per-workspace PAT connection (a hosted GitLab
|
|
1532
|
-
// connect seals the user's PAT here). Null for the GitHub-App path, which mints its own
|
|
1533
|
-
// tokens. See kernel `GitHubInstallation.accessToken`.
|
|
1534
|
-
access_token: text('access_token'),
|
|
1535
|
-
created_at: bigint('created_at', { mode: 'number' }).notNull(),
|
|
1536
|
-
deleted_at: bigint('deleted_at', { mode: 'number' }),
|
|
1537
|
-
}, (t) => [
|
|
1538
|
-
uniqueIndex('idx_gh_install_workspace')
|
|
1539
|
-
.on(t.workspace_id)
|
|
1540
|
-
.where(sql `deleted_at IS NULL`),
|
|
1541
|
-
index('idx_gh_install_account')
|
|
1542
|
-
.on(t.account_id)
|
|
1543
|
-
.where(sql `deleted_at IS NULL`),
|
|
1544
|
-
]);
|
|
1545
|
-
// Projection of a workspace's GitHub repositories (mirror of D1 migration 0004).
|
|
1546
|
-
// The container executor resolves a run's target repo from the service frame the block
|
|
1547
|
-
// sits under (via the account-owned `Service`, not any repo→block column).
|
|
1548
|
-
export const githubRepos = pgTable('github_repos', {
|
|
1549
|
-
workspace_id: text('workspace_id').notNull(),
|
|
1550
|
-
github_id: bigint('github_id', { mode: 'number' }).notNull(),
|
|
1551
|
-
installation_id: bigint('installation_id', { mode: 'number' }).notNull(),
|
|
1552
|
-
owner: text('owner').notNull(),
|
|
1553
|
-
name: text('name').notNull(),
|
|
1554
|
-
default_branch: text('default_branch'),
|
|
1555
|
-
private: integer('private').notNull().default(0),
|
|
1556
|
-
// Whether the repo is a monorepo hosting several services (link-owned — sync
|
|
1557
|
-
// preserves it). See contracts `GitHubRepo.isMonorepo`.
|
|
1558
|
-
is_monorepo: integer('is_monorepo').notNull().default(0),
|
|
1559
|
-
// How the repo entered the projection: 'app' (shared GitHub App installation, visible
|
|
1560
|
-
// to every member) or 'user_pat' (reachable only via the linker's personal token).
|
|
1561
|
-
// Link-owned — sync preserves it. See contracts `GitHubRepo.linkedVia`.
|
|
1562
|
-
linked_via: text('linked_via').notNull().default('app'),
|
|
1563
|
-
// Which VCS the repo belongs to (github / gitlab) — the connection's provider, inherited
|
|
1564
|
-
// by the repo. See contracts `GitHubRepo.provider`.
|
|
1565
|
-
provider: text('provider').notNull().default('github'),
|
|
1566
|
-
etag: text('etag'),
|
|
1567
|
-
synced_at: bigint('synced_at', { mode: 'number' }).notNull(),
|
|
1568
|
-
deleted_at: bigint('deleted_at', { mode: 'number' }),
|
|
1569
|
-
}, (t) => [
|
|
1570
|
-
primaryKey({ columns: [t.workspace_id, t.github_id] }),
|
|
1571
|
-
index('idx_gh_repos_install').on(t.installation_id),
|
|
1572
|
-
]);
|
|
1573
|
-
// Per-user "repos my personal access token can reach" projection (mirror of D1). The
|
|
1574
|
-
// fail-closed cache the board redaction checks so a frame backed by a `user_pat` repo is
|
|
1575
|
-
// hidden from members who can't reach it, without a live GitHub call per snapshot. See the
|
|
1576
|
-
// kernel `UserRepoAccessRepository` port.
|
|
1577
|
-
export const githubUserRepoAccess = pgTable('github_user_repo_access', {
|
|
1578
|
-
user_id: text('user_id').notNull(),
|
|
1579
|
-
repo_github_id: bigint('repo_github_id', { mode: 'number' }).notNull(),
|
|
1580
|
-
owner: text('owner').notNull(),
|
|
1581
|
-
name: text('name').notNull(),
|
|
1582
|
-
default_branch: text('default_branch'),
|
|
1583
|
-
private: integer('private').notNull().default(0),
|
|
1584
|
-
synced_at: bigint('synced_at', { mode: 'number' }).notNull(),
|
|
1585
|
-
}, (t) => [
|
|
1586
|
-
primaryKey({ columns: [t.user_id, t.repo_github_id] }),
|
|
1587
|
-
index('idx_gh_user_repo_access_repo').on(t.repo_github_id),
|
|
1588
|
-
]);
|
|
1589
|
-
// GitHub projection tables (mirror of D1 migration 0004; sync cursors re-keyed by
|
|
1590
|
-
// migration 0032). Local read models of a workspace's repos' branches / PRs / issues /
|
|
1591
|
-
// commits / check runs, populated by the inline GitHub sync. `protected`/`merged` are
|
|
1592
|
-
// 0/1 to mirror the D1 integer flags; soft-delete tombstones where the D1 tables have one.
|
|
1593
|
-
export const githubBranches = pgTable('github_branches', {
|
|
1594
|
-
workspace_id: text('workspace_id').notNull(),
|
|
1595
|
-
repo_github_id: bigint('repo_github_id', { mode: 'number' }).notNull(),
|
|
1596
|
-
name: text('name').notNull(),
|
|
1597
|
-
head_sha: text('head_sha').notNull(),
|
|
1598
|
-
protected: integer('protected').notNull().default(0),
|
|
1599
|
-
synced_at: bigint('synced_at', { mode: 'number' }).notNull(),
|
|
1600
|
-
deleted_at: bigint('deleted_at', { mode: 'number' }),
|
|
1601
|
-
}, (t) => [primaryKey({ columns: [t.workspace_id, t.repo_github_id, t.name] })]);
|
|
1602
|
-
export const githubPullRequests = pgTable('github_pull_requests', {
|
|
1603
|
-
workspace_id: text('workspace_id').notNull(),
|
|
1604
|
-
repo_github_id: bigint('repo_github_id', { mode: 'number' }).notNull(),
|
|
1605
|
-
number: integer('number').notNull(),
|
|
1606
|
-
github_id: bigint('github_id', { mode: 'number' }).notNull(),
|
|
1607
|
-
title: text('title').notNull(),
|
|
1608
|
-
state: text('state').notNull(),
|
|
1609
|
-
head_ref: text('head_ref'),
|
|
1610
|
-
base_ref: text('base_ref'),
|
|
1611
|
-
head_sha: text('head_sha'),
|
|
1612
|
-
merged: integer('merged').notNull().default(0),
|
|
1613
|
-
author: text('author'),
|
|
1614
|
-
gh_updated_at: bigint('gh_updated_at', { mode: 'number' }),
|
|
1615
|
-
synced_at: bigint('synced_at', { mode: 'number' }).notNull(),
|
|
1616
|
-
deleted_at: bigint('deleted_at', { mode: 'number' }),
|
|
1617
|
-
}, (t) => [
|
|
1618
|
-
primaryKey({ columns: [t.workspace_id, t.repo_github_id, t.number] }),
|
|
1619
|
-
index('idx_gh_pr_state').on(t.workspace_id, t.state),
|
|
1620
|
-
]);
|
|
1621
|
-
export const githubIssues = pgTable('github_issues', {
|
|
1622
|
-
workspace_id: text('workspace_id').notNull(),
|
|
1623
|
-
repo_github_id: bigint('repo_github_id', { mode: 'number' }).notNull(),
|
|
1624
|
-
number: integer('number').notNull(),
|
|
1625
|
-
github_id: bigint('github_id', { mode: 'number' }).notNull(),
|
|
1626
|
-
title: text('title').notNull(),
|
|
1627
|
-
state: text('state').notNull(),
|
|
1628
|
-
author: text('author'),
|
|
1629
|
-
labels: text('labels').notNull().default('[]'),
|
|
1630
|
-
gh_updated_at: bigint('gh_updated_at', { mode: 'number' }),
|
|
1631
|
-
synced_at: bigint('synced_at', { mode: 'number' }).notNull(),
|
|
1632
|
-
deleted_at: bigint('deleted_at', { mode: 'number' }),
|
|
1633
|
-
}, (t) => [primaryKey({ columns: [t.workspace_id, t.repo_github_id, t.number] })]);
|
|
1634
|
-
export const githubCommits = pgTable('github_commits', {
|
|
1635
|
-
workspace_id: text('workspace_id').notNull(),
|
|
1636
|
-
repo_github_id: bigint('repo_github_id', { mode: 'number' }).notNull(),
|
|
1637
|
-
sha: text('sha').notNull(),
|
|
1638
|
-
message: text('message').notNull(),
|
|
1639
|
-
author: text('author'),
|
|
1640
|
-
authored_at: bigint('authored_at', { mode: 'number' }),
|
|
1641
|
-
synced_at: bigint('synced_at', { mode: 'number' }).notNull(),
|
|
1642
|
-
}, (t) => [primaryKey({ columns: [t.workspace_id, t.repo_github_id, t.sha] })]);
|
|
1643
|
-
export const githubCheckRuns = pgTable('github_check_runs', {
|
|
1644
|
-
workspace_id: text('workspace_id').notNull(),
|
|
1645
|
-
repo_github_id: bigint('repo_github_id', { mode: 'number' }).notNull(),
|
|
1646
|
-
github_id: bigint('github_id', { mode: 'number' }).notNull(),
|
|
1647
|
-
head_sha: text('head_sha').notNull(),
|
|
1648
|
-
name: text('name').notNull(),
|
|
1649
|
-
status: text('status').notNull(),
|
|
1650
|
-
conclusion: text('conclusion'),
|
|
1651
|
-
synced_at: bigint('synced_at', { mode: 'number' }).notNull(),
|
|
1652
|
-
}, (t) => [
|
|
1653
|
-
primaryKey({ columns: [t.workspace_id, t.repo_github_id, t.github_id] }),
|
|
1654
|
-
index('idx_gh_checks_sha').on(t.workspace_id, t.repo_github_id, t.head_sha),
|
|
1655
|
-
]);
|
|
1656
|
-
// Incremental-sync bookkeeping, keyed by (installation, repo, kind) so a repo is
|
|
1657
|
-
// fetched once per org and fanned out (mirror of D1 migration 0032).
|
|
1658
|
-
export const githubSyncCursors = pgTable('github_sync_cursors', {
|
|
1659
|
-
installation_id: bigint('installation_id', { mode: 'number' }).notNull(),
|
|
1660
|
-
repo_github_id: bigint('repo_github_id', { mode: 'number' }).notNull(),
|
|
1661
|
-
kind: text('kind').notNull(),
|
|
1662
|
-
etag: text('etag'),
|
|
1663
|
-
last_synced_at: bigint('last_synced_at', { mode: 'number' }),
|
|
1664
|
-
since_iso: text('since_iso'),
|
|
1665
|
-
}, (t) => [primaryKey({ columns: [t.installation_id, t.repo_github_id, t.kind] })]);
|
|
1561
|
+
// The VCS/projection tables (installations, repos, per-user repo access, and the branch /
|
|
1562
|
+
// pull-request / issue / commit / check-run / sync-cursor projections) live in
|
|
1563
|
+
// `tables/vcs.ts` — one cohesive group, extracted to keep this module inside its size budget —
|
|
1564
|
+
// and are re-exported below so every `from '../db/schema.js'` importer is unaffected.
|
|
1565
|
+
export { githubInstallations, githubRepos, githubUserRepoAccess, githubBranches, githubPullRequests, githubIssues, githubCommits, githubCheckRuns, githubSyncCursors, } from './tables/vcs.js';
|
|
1666
1566
|
// Binary-artifact METADATA (mirror of D1 migration 0017). The bytes live in a blob
|
|
1667
1567
|
// backend keyed by `storage_key` (R2 / S3 / the `binary_artifact_blobs` table below);
|
|
1668
1568
|
// this table holds only the queryable metadata, identical column-for-column to D1.
|