Skip to content

Commit b02beb4

Browse files
apps-mcp: add templates for Lakeflow jobs & pipelines templates (#4183)
## Changes This extends `apps-mcp` with jobs & pipeline initialization: * Moved most of the`init_template.go` into `init_template/app.go` * Added `init_template/{job,pipeline,empty}.go` and support for respective templates * Added generic AGENTS.md/CLAUDE.md for the new templates * Updated associated prompts ## Why We want to generalize `apps-mcp` to other resource types ## Tests * Acceptance tests * Manual and agent-based experiental validation --------- Co-authored-by: Claude <[email protected]>
1 parent bec9838 commit b02beb4

34 files changed

+1010
-379
lines changed

acceptance/apps/init-template/app/out.test.toml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
✓ Template instantiation succeeded
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
$CLI experimental apps-mcp tools init-template app --name test_app --sql-warehouse-id abc123 --output-dir output > /dev/null 2>&1
3+
echo "✓ Template instantiation succeeded"
4+
rm -rf output
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Local = true
2+
Cloud = false

acceptance/apps/init-template/empty/out.test.toml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
✓ Template instantiation succeeded
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
$CLI experimental apps-mcp tools init-template empty --name test_empty --catalog main --output-dir output > /dev/null 2>&1
3+
echo "✓ Template instantiation succeeded"
4+
rm -rf output
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Local = true
2+
Cloud = false

acceptance/apps/init-template/job/out.test.toml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
✓ Template instantiation succeeded

0 commit comments

Comments
 (0)