Commit Graph

16 Commits

Author SHA1 Message Date
Jaymiesh
910d6cf2b2 Fix onboarding background reply outside conversations context
All checks were successful
CI/CD / lint (push) Successful in 8s
CI/CD / build (push) Successful in 21s
CI/CD / deploy (push) Successful in 35s
2026-02-11 16:40:50 +07:00
Jaymiesh
8033377cdf Switch onboarding city selection to manual text input
All checks were successful
CI/CD / lint (push) Successful in 7s
CI/CD / build (push) Successful in 18s
CI/CD / deploy (push) Successful in 40s
2026-02-11 16:35:20 +07:00
Jaymiesh
a8cab41a00 Fix onboarding webhook timeout by running quest creation in background
All checks were successful
CI/CD / lint (push) Successful in 7s
CI/CD / build (push) Successful in 18s
CI/CD / deploy (push) Successful in 19s
2026-02-11 16:23:34 +07:00
Jaymiesh
c15e6eac7a Fix duplicate quest event processing and make events idempotent
All checks were successful
CI/CD / lint (push) Successful in 7s
CI/CD / build (push) Successful in 18s
CI/CD / deploy (push) Successful in 20s
2026-02-11 16:00:59 +07:00
0427e47ba8 fix: revert checkout action to standard syntax, remove setup-node
All checks were successful
CI/CD / lint (push) Successful in 12s
CI/CD / build (push) Successful in 18s
CI/CD / deploy (push) Successful in 20s
Node.js is already installed on the host runner.
actions/checkout@v4 auto-resolves from GitHub.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 15:16:29 +07:00
0f66030b7d fix: use local Gitea URL for checkout action
Some checks failed
CI/CD / lint (push) Failing after 0s
CI/CD / build (push) Has been skipped
CI/CD / deploy (push) Has been skipped
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 15:06:10 +07:00
3f5f1d463e chore: migrate from GitLab CI to Gitea Actions
Some checks failed
CI/CD / build (push) Blocked by required conditions
CI/CD / deploy (push) Blocked by required conditions
CI/CD / lint (push) Has been cancelled
Replace .gitlab-ci.yml with .gitea/workflows/ci.yml.
Same pipeline: lint → build → deploy (local, runner on prod server).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 15:01:54 +07:00
4f5cbaee39 fix: add sudo to deploy commands (runner runs as gitlab-runner user)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 12:50:20 +07:00
845814c14b fix: use local deploy instead of SSH (runner is on prod server)
The GitLab Runner runs on the same VPS as the production app,
so SSH-ing from the server to itself is unnecessary. This removes
the SSH key dependency and simplifies the deploy stage.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 12:47:50 +07:00
2ace5e44ea ci: decode SSH key from base64 in deploy stage
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 12:44:33 +07:00
50409e0b06 ci: retry pipeline after SSH key fix 2026-02-11 12:39:35 +07:00
cddf96b154 fix: resolve TypeScript build errors
- Use InlineKeyboardMarkup from grammy/types for proper typing
- Add QuestEvent interface for event processor
- Accept Promise<unknown> in wrapHandler for flexible return types

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 12:30:56 +07:00
c61e6ad9cd fix: resolve all 32 ESLint errors across codebase
- Replace `any` types with proper interfaces (QuestDetailResponse, etc.)
- Remove unused imports (createUser, findUserByTelegramId, updatePointContent)
- Use `unknown` in catch blocks with instanceof narrowing
- Type Express handlers with Request/Response/NextFunction
- Add argsIgnorePattern for underscore-prefixed params in ESLint config

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 12:27:42 +07:00
9960f0cc78 ci: switch to shell executor for GitLab Runner
Remove Docker image references since runner uses shell executor
with Node.js installed directly on VPS.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 12:17:58 +07:00
4850fa77ef chore: add header comment to .env.example
Test commit to verify GitLab CI/CD pipeline.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 12:08:32 +07:00
d5ed7fdcf9 Initial commit: Guidly project with CI/CD pipeline
Telegram Bot + Mini App for city walking quests.
- React 19 + TypeScript + Vite 6 frontend
- Express 5 + PostgreSQL backend
- grammY Telegram bot with DeepSeek AI
- GitLab CI/CD: lint, build, deploy to production

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 11:42:42 +07:00