test: metadata API and settings page #685

Open
opened 2026-06-21 23:04:34 +00:00 by jmiller · 0 comments
Owner

Parent: #683

Metadata Tests

Public API (#676)

  • curl https://git.mokoconsulting.tech/api/v1/repos/MokoConsulting/MokoCLI/metadata — returns JSON without auth
  • curl https://git.mokoconsulting.tech/api/v1/repos/MokoConsulting/MokoCLI/manifest — backward compat works
  • Private repo metadata returns 404 for unauthenticated requests
  • PUT still requires token + admin auth (try without → 403)

Settings Page (Version field fix)

  • Visit any repo → Settings → Metadata → page loads without 500 error
  • Version input field is gone (was causing the crash)
  • All other metadata fields (name, org, platform, license) editable
  • Save metadata → changes persist
Parent: #683 ## Metadata Tests ### Public API (#676) - [ ] `curl https://git.mokoconsulting.tech/api/v1/repos/MokoConsulting/MokoCLI/metadata` — returns JSON without auth - [ ] `curl https://git.mokoconsulting.tech/api/v1/repos/MokoConsulting/MokoCLI/manifest` — backward compat works - [ ] Private repo metadata returns 404 for unauthenticated requests - [ ] PUT still requires token + admin auth (try without → 403) ### Settings Page (Version field fix) - [ ] Visit any repo → Settings → Metadata → page loads without 500 error - [ ] Version input field is gone (was causing the crash) - [ ] All other metadata fields (name, org, platform, license) editable - [ ] Save metadata → changes persist
Sign in to join this conversation.