feat(deploy): add canonical demo chat graph to shared cockpit-dev deployment (Phase 1)#300
Merged
Conversation
5-phase plan, each PR independently shippable except Phase 2 (depends on Phase 1 backend graph addition). Backend reuses the shared cockpit-dev LangGraph Cloud assistant. Frontend is a new independent Vercel project. Proxy code refactored out of scripts/examples-middleware.ts into a shared scripts/langgraph-proxy.ts. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…oyment Adds the canonical demo's Python graph to the aggregated manifest generator. After CI redeploys, the shared cockpit-dev LangGraph Cloud assistant will expose 'chat' alongside the existing cockpit capability graphs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Watch examples/chat/python/** so changes there retrigger deploy - Register chat in deployment-urls.json (single shared URL) - Include chat in production-smoke SMOKE_ASSISTANT_IDS Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
2 tasks
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
Phase 1 of the canonical-demo deployment plan. Adds the canonical demo's Python graph (
examples/chat/python, graph namechat) to the aggregatedcockpit-devLangGraph Cloud deployment.No frontend yet — Phase 2 will stand up
demo.cacheplane.ai. This phase makes the backend graph reachable so Phase 2 has something to consume.Changes
scripts/generate-shared-deployment-config.ts— stagesexamples/chat/pythonas an extra Python dependency, aggregating its graphs alongside the cockpit registry. Uses a smallextraPythonDeploymentsarray; keepsapps/cockpit/scripts/capability-registry.tsclean (no phantom Angular fields).scripts/generate-shared-deployment-config.spec.ts— vitest spec running the generator end-to-end and assertingchatis in the manifest..github/workflows/deploy-langgraph.yml— watchesexamples/chat/python/**so changes there retrigger redeploy.deployment-urls.json—chatentry pointing at the shared URL.scripts/verify-shared-deployment.ts—chatadded toSMOKE_ASSISTANT_IDSfor post-deploy smoke.Spec & Plan
+ "" +docs/superpowers/specs/2026-05-13-canonical-demo-deploy-design.md+ "" ++ "" +docs/superpowers/plans/2026-05-13-canonical-demo-deploy-phase-1.md+ "" +Test plan
chatin manifest +examples-chatin dependencies)npx tsx scripts/verify-shared-deployment.ts --dry-runsucceeds+ "" +Deploy LangGraph+ "" +workflow runs (triggered by generator + manifest changes)+ "" +production-smoke+ "" +confirms+ "" +chat+ "" +assistant reachable🤖 Generated with Claude Code