Commit Graph
3 Commits
Author SHA1 Message Date
gongzhiyongandClaude Sonnet 4.6 3263b15554 perf(deploy): pre-install node_modules in CI and enable always-on to fix slow cold start
- CI now runs pnpm install and includes node_modules in the zip artifact
- startup.sh simplified: removed pnpm install fallback, uses direct bin path instead of npx
- Azure Web App always-on enabled to prevent cold starts

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 15:55:38 +08:00
gongzhiyongandClaude Sonnet 4.6 370726c811 fix(deploy): use Azure-injected PORT instead of hardcoded 2024
- startup.sh now reads ${PORT:-8080} so Azure App Service can inject
  the correct port via its PORT environment variable
- Removed obsolete deploy-backend.yml and deploy-frontend.yml workflows
  (old Python backend and Next.js frontend pipelines)
- Removed WEBSITES_PORT=2024 from soc-langgraph Azure config

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 15:49:56 +08:00
gongzhiyongandClaude Opus 4.6 45685e8b4a fix: resolve Web App startup timeout — exclude node_modules from zip, add startup.sh, increase timeout to 600s
- Remove node_modules from deploy zip (302MB -> ~1MB), let Oryx build on Azure
- Add startup.sh: creates .env/.langgraph_api prereqs, installs pnpm, runs langgraphjs dev
- Azure config: WEBSITES_CONTAINER_START_TIME_LIMIT=600, SCM_DO_BUILD_DURING_DEPLOYMENT=true, ENABLE_ORYX_BUILD=true, PRE_BUILD_COMMAND="npm install -g pnpm@10"
- Delete auto-generated main_soc-langgraph.yml (conflicts with deploy-langgraph.yml)
- Enable Always On to avoid cold starts

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 06:17:47 +08:00