Skip to content

Commit 3622251

Browse files
committed
fix(showcase/langgraph-python): regenerate starter + bump catalog test counts
Re-run `generate-starters.ts` for langgraph-python to emit the byoc_json_render_agent.py starter agent and register it in langgraph.json (post-merge drift-check was failing because the starter hadn't been regenerated after adding the byoc-json-render demo). Bump generate-catalog.test LGP-feature-count assertions 32->33 and wired-totals 176->177 / 31->32, unshipped 486->485 / 6->5 to match the new manifest.
1 parent 0d25d1f commit 3622251

3 files changed

Lines changed: 161 additions & 11 deletions

File tree

showcase/scripts/__tests__/generate-catalog.test.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ describe("Catalog Generator", () => {
113113
expect(catalog.metadata.total_cells).toBe(663);
114114
});
115115

116-
it("LGP has status=wired for its 32 features (31 wired + 1 stub), unshipped for the other 6", () => {
116+
it("LGP has status=wired for its 33 features (32 wired + 1 stub), unshipped for the other 5", () => {
117117
runGenerator();
118118
const catalog = readCatalog();
119119

@@ -128,10 +128,10 @@ describe("Catalog Generator", () => {
128128
const stub = lgpCells.filter((c: any) => c.status === "stub");
129129
const unshipped = lgpCells.filter((c: any) => c.status === "unshipped");
130130

131-
// LGP has 32 features in manifest: 31 with routes (wired) + 1 without route (stub = cli-start)
132-
expect(wired.length).toBe(31);
131+
// LGP has 33 features in manifest: 32 with routes (wired) + 1 without route (stub = cli-start)
132+
expect(wired.length).toBe(32);
133133
expect(stub.length).toBe(1);
134-
expect(unshipped.length).toBe(6);
134+
expect(unshipped.length).toBe(5);
135135
});
136136

137137
it("stub detection: LGP/cli-start has stub status (demo exists, no route)", () => {
@@ -189,15 +189,15 @@ describe("Catalog Generator", () => {
189189
expect(catalog.metadata).toBeDefined();
190190
expect(catalog.metadata.total_cells).toBe(663);
191191

192-
// Wired = LGP 31 wired + 16 * 8 wired + 17 starters = 31 + 128 + 17 = 176
192+
// Wired = LGP 32 wired + 16 * 8 wired + 17 starters = 32 + 128 + 17 = 177
193193
// Stub = 1 (LGP cli-start)
194-
// Unshipped = 6 (LGP) + 16 * 30 (other integrations) = 6 + 480 = 486
195-
// Total integrated = 159 + 1 + 486 = 646
194+
// Unshipped = 5 (LGP) + 16 * 30 (other integrations) = 5 + 480 = 485
195+
// Total integrated = 160 + 1 + 485 = 646
196196
// Starters (all wired) = 17
197-
// So wired = 159 + 17 = 176, stub = 1, unshipped = 486
198-
expect(catalog.metadata.wired).toBe(176);
197+
// So wired = 160 + 17 = 177, stub = 1, unshipped = 485
198+
expect(catalog.metadata.wired).toBe(177);
199199
expect(catalog.metadata.stub).toBe(1);
200-
expect(catalog.metadata.unshipped).toBe(486);
200+
expect(catalog.metadata.unshipped).toBe(485);
201201
});
202202

203203
it("max_depth: D4 for wired/stub cells, D0 for unshipped", () => {

showcase/starters/langgraph-python/langgraph.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

showcase/starters/langgraph-python/src/agents/byoc_json_render_agent.py

Lines changed: 149 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)