14b7d18ecce654d96f598fffe3966612faf39462
All checks were successful
Deploy SOLUTION_ERP / build-deploy (push) Successful in 3m16s
Vấn đề persistent (run #108 và #109 đều fail trong 21-22s): Get "https://github.com/actions/checkout/info/refs?service=git-upload-pack": dial tcp 20.205.243.166:443: connectex: connection failed/timeout act_runner v0.2.13 mỗi run đều `git fetch` actions/checkout từ github.com để check update — VPS network → github.com TCP timeout 21s liên tục → toàn job fail TRƯỚC khi tới test gate. Fix: thay actions ngoài bằng native shell, eliminate github.com dependency. - Replace `uses: actions/checkout@v4` → manual `git init` + `git fetch` từ Gitea internal network (luôn ổn định, không qua public internet) - Auth: github.token (act_runner cũng dùng tên này) — tự sẵn per job - Fetch by ref (branch) thay vì SHA, depth=30 đủ buffer nếu main commit thêm trong lúc job pickup - Checkout đúng commit SHA của event push - Log 1-line để confirm checkout đúng - Replace `uses: actions/upload-artifact@v4` (cũng phụ thuộc github.com) → step "List test results" local. TRX file vẫn save trong workspace test-results/, đọc qua runner workspace nếu cần debug. Test gate giữ nguyên (Domain + Infra). dotnet test local 71 pass / 2s. Long-term option (nếu Gitea Actions thêm hỗ trợ): config `github_mirror` trong gitea-runner config.yaml để mirror github.com → Gitea internal, hoặc pre-cache actions/* repos vào runner cache dir. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
SOLUTION_ERP
Hệ thống quản lý Hợp đồng Nhà cung cấp / Thầu phụ / Tổ đội cho Công ty TNHH Xây dựng Solutions.
📘 AI context:
CLAUDE.md(pointer) →docs/CLAUDE.md(full)
Quick start (dev)
Yêu cầu: .NET 10 SDK, Node 20+, SQL Server (local hoặc qua Docker).
# 1. DB — chạy SQL Server qua Docker (nếu chưa có local)
docker compose up -d
# 2. Backend — migration + run Api (port 5443)
dotnet ef database update --project src/Backend/SolutionErp.Infrastructure --startup-project src/Backend/SolutionErp.Api
dotnet run --project src/Backend/SolutionErp.Api
# 3. Frontend admin (port 8082) — terminal mới
cd fe-admin
npm install
npm run dev
# 4. Frontend user (port 8080) — terminal mới
cd fe-user
npm install
npm run dev
Admin mặc định (sẽ seed sau Phase 1): admin@solutionerp.local / Admin@123456
Architecture
fe-admin (:8082) fe-user (:8080)
│ │
└────── /api proxy ──────┘
▼
SolutionErp.Api (:5443)
│
┌──────────────┼──────────────┐
▼ ▼ ▼
Application Domain Infrastructure ── SQL Server
Tech stack
- Backend: .NET 10 + Clean Architecture + CQRS (MediatR) + FluentValidation + AutoMapper + EF Core + ASP.NET Identity + JWT
- Frontend: React 18 + Vite + TypeScript + Tailwind + shadcn/ui + TanStack Query
- DB: SQL Server 2022
- Deploy: Windows Server + IIS
Roadmap
| Phase | Tuần | Focus |
|---|---|---|
| 0 Draft | T1 | Scaffold, parse FORM + QUY_TRINH |
| 1 Alpha Core | T2-4 | Auth, Permission, CRUD master |
| 2 Form Engine | T5-6 | Render template docx/xlsx |
| 3 Workflow | T7-9 | State machine 9 phase |
| 4 Report + Polish | T10-11 | Dashboard + Excel export |
| 5 Production | T12-13 | CI/CD IIS, UAT, go-live |
Chi tiết ở docs/changelog/migration-todos.md.
License
Proprietary — Công ty TNHH Xây dựng Solutions.
Description
Languages
C#
54.9%
TypeScript
42.7%
PowerShell
1.4%
JavaScript
0.3%
CSS
0.3%
Other
0.3%