@x12i/memorix-descriptors 1.3.1 → 1.4.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/admin/control-plane.d.ts +14 -0
- package/dist/admin/control-plane.d.ts.map +1 -0
- package/dist/admin/control-plane.js +22 -0
- package/dist/admin/control-plane.js.map +1 -0
- package/dist/admin/create-admin.d.ts +3 -2
- package/dist/admin/create-admin.d.ts.map +1 -1
- package/dist/admin/create-admin.js +2 -1
- package/dist/admin/create-admin.js.map +1 -1
- package/dist/admin/execute-mutation.d.ts +9 -0
- package/dist/admin/execute-mutation.d.ts.map +1 -0
- package/dist/admin/execute-mutation.js +85 -0
- package/dist/admin/execute-mutation.js.map +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/reconcile/apply.d.ts +4 -0
- package/dist/reconcile/apply.d.ts.map +1 -0
- package/dist/reconcile/apply.js +123 -0
- package/dist/reconcile/apply.js.map +1 -0
- package/dist/reconcile/index.d.ts +10 -24
- package/dist/reconcile/index.d.ts.map +1 -1
- package/dist/reconcile/index.js +54 -63
- package/dist/reconcile/index.js.map +1 -1
- package/dist/reconcile/suggestions.d.ts +4 -0
- package/dist/reconcile/suggestions.d.ts.map +1 -0
- package/dist/reconcile/suggestions.js +90 -0
- package/dist/reconcile/suggestions.js.map +1 -0
- package/dist/reconcile/types.d.ts +45 -0
- package/dist/reconcile/types.d.ts.map +1 -0
- package/dist/reconcile/types.js +2 -0
- package/dist/reconcile/types.js.map +1 -0
- package/dist/tests/execute-mutation.test.d.ts +2 -0
- package/dist/tests/execute-mutation.test.d.ts.map +1 -0
- package/dist/tests/execute-mutation.test.js +57 -0
- package/dist/tests/execute-mutation.test.js.map +1 -0
- package/dist/tests/live/catalox.live.test.js +3 -2
- package/dist/tests/live/catalox.live.test.js.map +1 -1
- package/dist/tests/reconcile-unified.test.d.ts +2 -0
- package/dist/tests/reconcile-unified.test.d.ts.map +1 -0
- package/dist/tests/reconcile-unified.test.js +214 -0
- package/dist/tests/reconcile-unified.test.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import { describe, expect, it } from "vitest";
|
|
2
|
+
import { buildReconcileDraftForSuggestion, buildReconcileSuggestionsFromUnifiedInventory, } from "../reconcile/index.js";
|
|
3
|
+
import { applyReconcileDraft } from "../reconcile/apply.js";
|
|
4
|
+
import { sampleSnapshot } from "./fixtures.js";
|
|
5
|
+
function emptyTargetInventory() {
|
|
6
|
+
return {
|
|
7
|
+
databaseName: "entities",
|
|
8
|
+
declaredCollections: 0,
|
|
9
|
+
mappedCollections: 0,
|
|
10
|
+
missingCollections: 0,
|
|
11
|
+
orphanCollections: 0,
|
|
12
|
+
emptyDeclaredCollections: 0,
|
|
13
|
+
mongoCollections: 0,
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function unifiedInventory(issues, rows = []) {
|
|
17
|
+
return {
|
|
18
|
+
sourceLens: "catalox-first",
|
|
19
|
+
summary: {
|
|
20
|
+
cataloxObjects: 1,
|
|
21
|
+
mongoCollections: 1,
|
|
22
|
+
declaredCollections: 1,
|
|
23
|
+
mappedCollections: 0,
|
|
24
|
+
missingCollections: 0,
|
|
25
|
+
orphanCollections: 0,
|
|
26
|
+
emptyDeclaredCollections: 0,
|
|
27
|
+
issueCount: issues.length,
|
|
28
|
+
},
|
|
29
|
+
targets: {
|
|
30
|
+
entity: emptyTargetInventory(),
|
|
31
|
+
event: { ...emptyTargetInventory(), databaseName: "events" },
|
|
32
|
+
knowledge: { ...emptyTargetInventory(), databaseName: "knowledge" },
|
|
33
|
+
},
|
|
34
|
+
rows,
|
|
35
|
+
issues,
|
|
36
|
+
generatedAt: "2026-05-23T00:00:00.000Z",
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
describe("buildReconcileSuggestionsFromUnifiedInventory", () => {
|
|
40
|
+
it("maps unified inventory issues to reconcile suggestion kinds", () => {
|
|
41
|
+
const inventory = unifiedInventory([
|
|
42
|
+
{
|
|
43
|
+
issueId: "issue-1",
|
|
44
|
+
severity: "error",
|
|
45
|
+
kind: "missing-collection",
|
|
46
|
+
objectName: "assets",
|
|
47
|
+
contentType: "snapshots",
|
|
48
|
+
message: "missing",
|
|
49
|
+
suggestedActions: ["inspect", "fix-binding"],
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
issueId: "issue-2",
|
|
53
|
+
severity: "info",
|
|
54
|
+
kind: "empty-declared-collection",
|
|
55
|
+
objectName: "assets",
|
|
56
|
+
contentType: "snapshots",
|
|
57
|
+
message: "empty",
|
|
58
|
+
suggestedActions: ["inspect"],
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
issueId: "issue-3",
|
|
62
|
+
severity: "warning",
|
|
63
|
+
kind: "orphan-collection",
|
|
64
|
+
target: "entity",
|
|
65
|
+
collectionName: "legacy-assets",
|
|
66
|
+
message: "orphan",
|
|
67
|
+
suggestedActions: ["create-descriptor"],
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
issueId: "issue-4",
|
|
71
|
+
severity: "warning",
|
|
72
|
+
kind: "content-type-missing",
|
|
73
|
+
target: "entity",
|
|
74
|
+
objectName: "assets",
|
|
75
|
+
contentType: "enrichment",
|
|
76
|
+
collectionName: "assets-enrichment",
|
|
77
|
+
message: "missing ct",
|
|
78
|
+
suggestedActions: ["add-content-type"],
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
issueId: "issue-5",
|
|
82
|
+
severity: "warning",
|
|
83
|
+
kind: "collection-mismatch",
|
|
84
|
+
target: "entity",
|
|
85
|
+
objectName: "assets",
|
|
86
|
+
contentType: "snapshots",
|
|
87
|
+
collectionName: "assets-live",
|
|
88
|
+
message: "mismatch",
|
|
89
|
+
suggestedActions: ["fix-binding"],
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
issueId: "issue-6",
|
|
93
|
+
severity: "warning",
|
|
94
|
+
kind: "unparseable-collection",
|
|
95
|
+
target: "entity",
|
|
96
|
+
collectionName: "legacydata",
|
|
97
|
+
message: "unparseable",
|
|
98
|
+
suggestedActions: ["inspect", "ignore"],
|
|
99
|
+
},
|
|
100
|
+
], [
|
|
101
|
+
{
|
|
102
|
+
rowId: "row-1",
|
|
103
|
+
target: "entity",
|
|
104
|
+
databaseName: "entities",
|
|
105
|
+
objectName: "assets",
|
|
106
|
+
contentType: "snapshots",
|
|
107
|
+
collectionName: "assets-live",
|
|
108
|
+
expectedCollectionName: "assets-snapshots",
|
|
109
|
+
source: "merged",
|
|
110
|
+
mappingStatus: "collection-mismatch",
|
|
111
|
+
counts: { countMode: "none" },
|
|
112
|
+
actions: ["fix-binding"],
|
|
113
|
+
issueIds: ["issue-5"],
|
|
114
|
+
},
|
|
115
|
+
]);
|
|
116
|
+
const suggestions = buildReconcileSuggestionsFromUnifiedInventory(inventory);
|
|
117
|
+
expect(suggestions).toEqual([
|
|
118
|
+
{
|
|
119
|
+
kind: "ensure-collection",
|
|
120
|
+
entityName: "assets",
|
|
121
|
+
contentType: "snapshots",
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
kind: "empty-declared-collection",
|
|
125
|
+
entityName: "assets",
|
|
126
|
+
contentType: "snapshots",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
kind: "create-descriptor-for-orphan",
|
|
130
|
+
collection: "legacy-assets",
|
|
131
|
+
target: "entity",
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
kind: "add-content-type-for-orphan",
|
|
135
|
+
target: "entity",
|
|
136
|
+
collection: "assets-enrichment",
|
|
137
|
+
parsedObject: "assets",
|
|
138
|
+
parsedContentType: "enrichment",
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
kind: "fix-collection-binding",
|
|
142
|
+
entityName: "assets",
|
|
143
|
+
contentType: "snapshots",
|
|
144
|
+
expectedCollection: "assets-snapshots",
|
|
145
|
+
actualCollection: "assets-live",
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
kind: "unparseable-collection",
|
|
149
|
+
target: "entity",
|
|
150
|
+
collectionName: "legacydata",
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
kind: "ignore-collection",
|
|
154
|
+
target: "entity",
|
|
155
|
+
collectionName: "legacydata",
|
|
156
|
+
},
|
|
157
|
+
]);
|
|
158
|
+
});
|
|
159
|
+
});
|
|
160
|
+
describe("buildReconcileDraftForSuggestion", () => {
|
|
161
|
+
it("builds apply-ready drafts for draft-backed suggestions", () => {
|
|
162
|
+
const snapshot = sampleSnapshot();
|
|
163
|
+
const addDraft = buildReconcileDraftForSuggestion({
|
|
164
|
+
kind: "add-content-type-for-orphan",
|
|
165
|
+
target: "entity",
|
|
166
|
+
collection: "assets-enrichment",
|
|
167
|
+
parsedObject: "assets",
|
|
168
|
+
parsedContentType: "enrichment",
|
|
169
|
+
}, snapshot);
|
|
170
|
+
expect(addDraft?.suggestedAction).toBe("addContentType");
|
|
171
|
+
const fixDraft = buildReconcileDraftForSuggestion({
|
|
172
|
+
kind: "fix-collection-binding",
|
|
173
|
+
entityName: "assets",
|
|
174
|
+
contentType: "snapshots",
|
|
175
|
+
expectedCollection: "assets-snapshots",
|
|
176
|
+
actualCollection: "assets-live",
|
|
177
|
+
}, snapshot);
|
|
178
|
+
expect(fixDraft?.suggestedAction).toBe("updateContentType");
|
|
179
|
+
});
|
|
180
|
+
});
|
|
181
|
+
describe("applyReconcileDraft", () => {
|
|
182
|
+
it("applies add-content-type drafts in dry-run", async () => {
|
|
183
|
+
const snapshot = sampleSnapshot();
|
|
184
|
+
const draft = buildReconcileDraftForSuggestion({
|
|
185
|
+
kind: "add-content-type-for-orphan",
|
|
186
|
+
target: "entity",
|
|
187
|
+
collection: "assets-enrichment",
|
|
188
|
+
parsedObject: "assets",
|
|
189
|
+
parsedContentType: "enrichment",
|
|
190
|
+
}, snapshot);
|
|
191
|
+
expect(draft).toBeTruthy();
|
|
192
|
+
const result = await applyReconcileDraft({
|
|
193
|
+
catalox: {},
|
|
194
|
+
env: process.env,
|
|
195
|
+
loadSnapshot: async () => snapshot,
|
|
196
|
+
}, draft, { dryRun: true });
|
|
197
|
+
expect(result.ok).toBe(true);
|
|
198
|
+
expect(result.cataloxWrites).toHaveLength(1);
|
|
199
|
+
});
|
|
200
|
+
it("rejects manualReview drafts", async () => {
|
|
201
|
+
const result = await applyReconcileDraft({
|
|
202
|
+
catalox: {},
|
|
203
|
+
env: process.env,
|
|
204
|
+
loadSnapshot: async () => sampleSnapshot(),
|
|
205
|
+
}, {
|
|
206
|
+
suggestedAction: "manualReview",
|
|
207
|
+
draft: { collectionName: "bad" },
|
|
208
|
+
warnings: ["needs review"],
|
|
209
|
+
}, { dryRun: true });
|
|
210
|
+
expect(result.ok).toBe(false);
|
|
211
|
+
expect(result.errors[0]?.code).toBe("MANUAL_REVIEW_REQUIRED");
|
|
212
|
+
});
|
|
213
|
+
});
|
|
214
|
+
//# sourceMappingURL=reconcile-unified.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reconcile-unified.test.js","sourceRoot":"","sources":["../../src/tests/reconcile-unified.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9C,OAAO,EACL,gCAAgC,EAChC,6CAA6C,GAC9C,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,SAAS,oBAAoB;IAC3B,OAAO;QACL,YAAY,EAAE,UAAU;QACxB,mBAAmB,EAAE,CAAC;QACtB,iBAAiB,EAAE,CAAC;QACpB,kBAAkB,EAAE,CAAC;QACrB,iBAAiB,EAAE,CAAC;QACpB,wBAAwB,EAAE,CAAC;QAC3B,gBAAgB,EAAE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