feat: complete remaining Go backend modules
This commit is contained in:
1 parent
cea2751dc5
commit
aef5a97165
145 files changed
+18376
-199
No files matched your search
@@ -8,7 +8,7 @@
|
||||
- Worktree: /Users/brother7/Documents/AI/NianAIGC-go-remaining-7d3a9e42
|
||||
- Base commit: d0207fcebe6ea4fb3ba80dce8c012b3c2170de40
|
||||
- Owner: codex
|
||||
- Status: Planning
|
||||
- Status: Ready for Integration
|
||||
|
||||
## Scope
|
||||
|
||||
@@ -51,11 +51,35 @@
|
||||
|
||||
## Outcome
|
||||
|
||||
- Not completed.
|
||||
- Completed in the feature worktree. Implemented and composed the remaining Go
|
||||
modules: administration and organization lifecycle, assets and hardened
|
||||
storage/remote fetch, billing ledger/catalog/settlement, usage reporting,
|
||||
jobs/providers/webhooks/worker loop, templates/prompt, settings/logging,
|
||||
public and compatibility HTTP routes, localstore adapters, PostgreSQL
|
||||
adapters, and lifecycle fencing migration 0002. Added language-neutral
|
||||
contracts and executable TypeScript/Go consumers while preserving the
|
||||
existing Next production ownership and deployment topology.
|
||||
|
||||
- Added final lifecycle hardening for streamed HTTP event logging, unique
|
||||
worker lease tokens and CAS fencing, commit-outcome reconciliation, retry
|
||||
recovery handles, readiness checks for lifecycle columns, mock output
|
||||
registration, usage filter options, public webhook/priority validation, and
|
||||
a single settings/billing-account source.
|
||||
|
||||
## Verification
|
||||
|
||||
- Not run.
|
||||
- `CGO_ENABLED=0 go test -count=1 ./...` — PASS
|
||||
- `CGO_ENABLED=0 go test -race -count=1 ./internal/...` (all migrated
|
||||
packages) — PASS
|
||||
- `npm run go:vet` — PASS
|
||||
- `npm run go:build` — PASS
|
||||
- `npm test -- --run` — 57 files / 172 tests PASS
|
||||
- `npx tsc --noEmit --incremental false` — PASS
|
||||
- `npm run build` — PASS (Next build)
|
||||
- `node scripts/check-ack-manifests.mjs` and `npm run deploy:check` — PASS
|
||||
- `git diff --check`, `gofmt` cleanliness, and production boundary diff
|
||||
checks — PASS
|
||||
- Independent `sol_reviewer` final review — PASS; no blocking findings.
|
||||
|
||||
## Follow-ups
|
||||
|
||||
@@ -63,7 +87,11 @@
|
||||
real application role and verified-CA TLS before production cutover.
|
||||
- Validate OSS compatibility, provider credentials, external Webhooks, Worker
|
||||
drain/recovery, and rollout/rollback against production-like infrastructure.
|
||||
- Keep Go unrouted until the explicit production cutover review; do not delete
|
||||
the Next handlers or change Docker/ACK/Ingress ownership in this task.
|
||||
|
||||
## Promotion Candidates
|
||||
|
||||
- None recorded.
|
||||
- Preserve the new Go module map and contract fixtures as candidates for the
|
||||
next serialized Integration Gate to promote into canonical architecture
|
||||
memory. This feature task does not modify shared canonical documents.
|
||||
Reference in new issue
Block a user