Commit Graph

3 Commits

Author SHA1 Message Date
kjh2064 133172d3c4 scripts: Fix gate-4-startup.ps1 for DEVELOPMENT environment and DB credentials
ci / static (push) Failing after 6s
Build & Test with Secrets / build (push) Failing after 1s
Build & Test with Secrets / frontend (push) Successful in 3m21s
Build & Test with Secrets / notification (push) Failing after 1s
ci / frontend (push) Successful in 3m32s
ci / backend (push) Failing after 1s
Build & Test with Secrets / security-scan (push) Failing after 6s
Fixes:
- Add ASPNETCORE_ENVIRONMENT=Development to load appsettings.Development.json
  (enables DevelopmentHeaderAuthenticationHandler for header-based auth)
- Correct KARTSELL_POSTGRES connection string to match appsettings.json:
  * Database: kartsell → kartselldb
  * Password: kartsell → kartsell4321@!
  * Host: localhost → 127.0.0.1
- Correct API key environment variable names:
  * KRX_OPENAPI → KRX_API_KEY
  * Add OPENDART_API for completeness

Impact:
- Host now starts in Development mode with proper authentication handler
- Shadow Run API test passes (HTTP 202 Accepted)
- Gate 3 validation successful: Job 893 queued with 253-day window

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-08-03 21:52:16 +09:00
kjh2064 7ed077bdbb Slice B6b: Add Gate 4 automated startup script
ci / backend (push) Failing after 1s
Build & Test with Secrets / build (push) Failing after 2s
ci / static (push) Failing after 8s
Build & Test with Secrets / security-scan (push) Failing after 5s
ci / frontend (push) Failing after 1m29s
Build & Test with Secrets / frontend (push) Failing after 1m28s
Build & Test with Secrets / notification (push) Failing after 1s
New file: scripts/gate-4-startup.ps1
- Automated host startup sequence (DEBUG mode)
- Prerequisite validation (PostgreSQL connectivity, .NET SDK)
- Optional DbUp migration execution
- Environment variable setup (KRX_OPENAPI stub, KARTSELL_POSTGRES)
- Usage: .\scripts\gate-4-startup.ps1 [-SkipDbUp] [-Environment Debug|Release]

AGENTS.md v16.0 automation: DRY principle (eliminates manual terminal steps)
Gate 4 readiness: Complete (build , tests , script )

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-08-03 15:34:43 +09:00
kjh2064 dcd1322d41 Initial commit: Add project files
ci / backend (push) Failing after 12s
ci / frontend (push) Failing after 19s
ci / static (push) Failing after 45s
2026-08-02 05:15:36 +09:00