fix(installer): correct deployment paths and update stale dependencies#282
Merged
xlabtg merged 3 commits intoxlabtg:mainfrom Mar 19, 2026
Merged
fix(installer): correct deployment paths and update stale dependencies#282xlabtg merged 3 commits intoxlabtg:mainfrom
xlabtg merged 3 commits intoxlabtg:mainfrom
Conversation
Adding .gitkeep for PR creation (default mode). This file will be removed when the task is complete. Issue: xlabtg#281
- deploy.sh: fix PROJECT_ROOT-relative paths to infrastructure/deploy/ (was: deploy/docker, aws/terraform, kubernetes/helm — all wrong) - docker-compose.yml, docker-compose.dev.yml: fix dockerfile path to infrastructure/deploy/docker/Dockerfile (context is repo root) - apps/telegram-miniapp/backend/.env.example: update deprecated Groq model llama-3.1-70b-versatile → llama-3.3-70b-versatile; update OpenAI model gpt-4-turbo-preview → gpt-4o; update Anthropic model to claude-3-5-sonnet-20241022 - infrastructure/deploy/vercel/api/health.ts: sync fallback version from 2.8.0 to 2.43.0 to match package.json - infrastructure/deploy/README.md: update directory tree and code examples to use correct infrastructure/deploy/ and infrastructure/scripts/ paths - tests/deploy/health-api.test.ts: align hardcoded version to 2.43.0 - tests/deploy/installer.test.ts: add 88 new tests covering installer file presence, deploy script paths, docker-compose correctness, vercel config, env examples, and all shell script logic Fixes xlabtg#281 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This reverts commit b3fb3fc.
Contributor
Author
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
🤖 Models used:
Now working session is ended, feel free to review and add any feedback on the solution draft. |
Contributor
Author
✅ Ready to mergeThis pull request is now ready to be merged:
Monitored by hive-mind with --auto-restart-until-mergeable flag |
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
Fixes #281 — reviewed the installers and deployment system against the current project structure and corrected all identified issues.
Root Causes Found
infrastructure/scripts/deploy.sh$PROJECT_ROOT/deploy/*paths were wrong — deploy lives underinfrastructure/deploy/cdcalls toinfrastructure/deploy/…infrastructure/deploy/docker/docker-compose.ymldockerfile: deploy/docker/Dockerfilewas resolved relative to build context (repo root), so the path should includeinfrastructure/prefixinfrastructure/deploy/docker/docker-compose.dev.ymlapps/telegram-miniapp/backend/.env.exampleGROQ_MODEL=llama-3.1-70b-versatile(deprecated);gpt-4-turbo-preview/claude-3-opus-20240229also outdatedllama-3.3-70b-versatile,gpt-4o,claude-3-5-sonnet-20241022infrastructure/deploy/vercel/api/health.ts'2.8.0'didn't match package.json2.43.0'2.43.0'infrastructure/deploy/README.mddeploy/…,./deploy/scripts/…)Tests
tests/deploy/health-api.test.ts– synced hardcoded version to2.43.0tests/deploy/installer.test.ts– 88 tests covering:deploy.shpath correctness (9 assertions)docker-compose.yml/docker-compose.dev.ymldockerfile paths and service structurevercel.jsonstructure, rewrites, security headerspackage.json.env.examplerequired variables and current Groq modeldeploy-miniapp.shsupported modes and bot setup invocationsetup-bot.shsteps, HTTPS enforcement, and Bot API 9.5 updatesvalidate.shandhealth-check.shlogic coverageAll 104 tests pass.
Checklist
deploy.sh.env.examplehealth.tsThis PR was created automatically by the AI issue solver