Skip to content

feat(deploy): add canonical demo chat graph to shared cockpit-dev deployment (Phase 1)#300

Merged
blove merged 4 commits into
mainfrom
claude/canonical-demo-deploy
May 13, 2026
Merged

feat(deploy): add canonical demo chat graph to shared cockpit-dev deployment (Phase 1)#300
blove merged 4 commits into
mainfrom
claude/canonical-demo-deploy

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented May 13, 2026

Summary

Phase 1 of the canonical-demo deployment plan. Adds the canonical demo's Python graph (examples/chat/python, graph name chat) to the aggregated cockpit-dev LangGraph 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 — stages examples/chat/python as an extra Python dependency, aggregating its graphs alongside the cockpit registry. Uses a small extraPythonDeployments array; keeps apps/cockpit/scripts/capability-registry.ts clean (no phantom Angular fields).
  • scripts/generate-shared-deployment-config.spec.ts — vitest spec running the generator end-to-end and asserting chat is in the manifest.
  • .github/workflows/deploy-langgraph.yml — watches examples/chat/python/** so changes there retrigger redeploy.
  • deployment-urls.jsonchat entry pointing at the shared URL.
  • scripts/verify-shared-deployment.tschat added to SMOKE_ASSISTANT_IDS for 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

  • Generator spec passes (asserts chat in manifest + examples-chat in dependencies)
  • npx tsx scripts/verify-shared-deployment.ts --dry-run succeeds
  • After merge: + "" + Deploy LangGraph + "" + workflow runs (triggered by generator + manifest changes)
  • After deploy: + "" + production-smoke + "" + confirms + "" + chat + "" + assistant reachable

🤖 Generated with Claude Code

blove and others added 4 commits May 13, 2026 10:35
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>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cacheplane Ready Ready Preview, Comment May 13, 2026 5:47pm

Request Review

@blove blove merged commit 3f9cd32 into main May 13, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant