feat: allow production provider bootstrap

This commit is contained in:
inman
2026-08-18 00:36:05 +08:00
parent 6480e503eb
commit 22fc7a56d8
21 changed files with 192 additions and 18 deletions

View File

@@ -620,3 +620,17 @@ Phase 77 - Alibaba Cloud RDS PostgreSQL Adapter complete
- [x] Add focused regression coverage for provider configuration and quote availability
- [x] Verify Go tests, frontend tests/typecheck/build, Compose/deployment static checks, and diff hygiene
- **Status:** complete; Docker/real-provider rollout verification remains deployment-time
### Phase 79: Production Bootstrap Without Provider Credentials
- [x] Add an explicit temporary production bootstrap flag that bypasses only startup credential validation
- [x] Reject generation and quote requests clearly when the selected provider is still unconfigured
- [x] Preserve restart-required behavior after settings are saved and document the rollout sequence
- [x] Add focused regression coverage and run Go/frontend/documentation checks
- **Status:** complete; live database/provider rollout remains deployment-time
## Errors Encountered
| Error | Attempt | Resolution |
| --- | --- | --- |
| Go module downloads timed out through `proxy.golang.org` over IPv6 | Phase 79 focused test attempt 1 | Retry with the `goproxy.cn` proxy used by `backend/Dockerfile.alpine`; no source failure reached yet |
| Go 1.21.13 test binaries aborted with macOS `dyld: missing LC_UUID` | Phase 79 focused test attempt 2 | Retry with `CGO_ENABLED=0`; if needed use a newer official Go toolchain |
| Follow-up `gofmt` path repeated `backend/` from the backend directory | Phase 79 focused verification | Run final `gofmt` from the project root; tests were unaffected |