#70 server: TenantProvisioner — coa-shared tenant via POST /admin/tenants (phase-3 plan Task 3) #102
No reviewers
Labels
No labels
agent-blocked
agent-working
bug
deferred
enhancement
model-haiku
model-opus
model-sonnet
needs-info
needs-triage
no-triage
priority
product-decision
ready-for-agent
ready-for-human
ready-for-session
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/coa!102
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/issue-70"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes #70
sandcastle: #70 — TenantProvisioner (coa-shared tenant via POST /admin/tenants, phase-3 plan Task 3). httpProvisioner/staticProvisioner + AppDeps.provisioner env-gated (static until #79/#80/#81).
- server/src/tenant-provisioner.ts: ProvisionResult/TenantProvisioner; httpProvisioner({adminUrl, token, publicUrl, fetch}) POSTs {slug} to ${adminUrl}/admin/tenants with Authorization: Bearer — 201 and 409 → ok with configUrl=${publicUrl}/${slug}; other statuses/network errors → {ok:false, error:'<status> <body≤200>'}. staticProvisioner(publicUrl) returns URL, no call. - server/src/app.ts: AppDeps.provisioner; defaultDeps() env-gates http vs static (COA_SHARED_ADMIN_TOKEN set → http, COA_SHARED_ADMIN_URL/COA_SHARED_PUBLIC_URL defaults) — inert (static) until #79/#80/#81. No route provisions yet. - Test verbatim from plan; fetch always injected, no network. - STATUS.md milestone log entry. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>Closing: fully-merged shell — this head is already an ancestor of
main(verified withgit merge-base --is-ancestor); the work landed via another merge. Branch deleted. (Session babysitting, GOTCHAS 7 family.)Pull request closed