Add guidance for adding Lakebase and Model Serving to existing apps#81
Merged
Conversation
…sting apps - lakebase.md: Replace "do not add manually" blocker with "Adding Lakebase to an Existing App" section (databricks.yml, app.yaml, server.ts, .env) - model-serving.md: Rewrite to use serving() plugin API instead of outdated tRPC + getExecutionContext() pattern; add "Adding to Existing App" section, frontend hooks (useServingStream, useServingInvoke), HTTP endpoints, and named endpoint aliases - SKILL.md: Update routing table to reference serving() plugin - trpc.md: Add serving/jobs to plugin checklist, replace serving endpoint example with generic API example, update decision tree - overview.md: Update Model Serving init command and decision tree references Co-authored-by: Isaac
- lakebase.md: Remove postgres from user_api_scopes default example (only needed for OBO, not basic usage — matches appkit template) - lakebase.md, model-serving.md: Remove npm run sync from closing paragraphs (runs automatically during dev/build) Co-authored-by: Isaac
igrekun
approved these changes
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
databricks.yml,app.yaml,server.ts, and.envchangesgetExecutionContext()pattern with the modernserving()plugin API, including "Adding to Existing App" section,useServingStream/useServingInvokehooks, HTTP endpoints, and named endpoint aliasesserving()plugin instead of tRPCAll patterns verified against appkit source code (manifests, templates, plugin implementations, and official docs).
Test plan
python3 scripts/skills.py validatepassesgetExecutionContext+servingEndpoints.querypatterns remain in model-serving or SKILL.md contextsThis pull request and its description were written by Isaac.