fix(build): remove stale custom field API routes and dead code #450

Merged
jmiller merged 1 commits from fix/custom-fields-build into dev 2026-06-04 12:28:23 +00:00
Owner

Summary

  • Comment out custom-fields API routes in api.go that referenced deleted handler functions from routers/api/v1/repo/custom_field.go
  • Remove unreferenced modules/structs/custom_field.go (stale API types from prior session)
  • Remove duplicate models/migrations/v1_25/v323.go migration (superseded by v1_27/v343)

Test plan

  • Build compiles successfully
  • Custom fields settings page still works at /settings/custom-fields
  • No regression in API routes

?? Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

## Summary - Comment out custom-fields API routes in `api.go` that referenced deleted handler functions from `routers/api/v1/repo/custom_field.go` - Remove unreferenced `modules/structs/custom_field.go` (stale API types from prior session) - Remove duplicate `models/migrations/v1_25/v323.go` migration (superseded by `v1_27/v343`) ## Test plan - [ ] Build compiles successfully - [ ] Custom fields settings page still works at `/settings/custom-fields` - [ ] No regression in API routes ?? Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jmiller added 1 commit 2026-06-04 12:27:36 +00:00
fix(build): remove stale custom field API routes, structs, and migration
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 1s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Branch Policy Check / Verify merge target (pull_request) Successful in 1s
Universal: PR Check / Branch Policy (pull_request) Successful in 1s
Generic: Repo Health / Access control (pull_request) Successful in 1s
PR RC Release / Build RC Release (pull_request) Successful in 2s
Universal: PR Check / Validate PR (pull_request) Failing after 4s
Branch Cleanup / Delete merged branch (pull_request) Successful in 1s
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
Generic: Repo Health / Report Issues (pull_request) Has been cancelled
c15582aa64
Comment out custom-fields API routes in api.go that referenced handler
functions from the deleted routers/api/v1/repo/custom_field.go. Remove
the unreferenced modules/structs/custom_field.go and the duplicate
v1_25/v323 migration (superseded by v1_27/v343).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jmiller merged commit 6c9a26ebd3 into dev 2026-06-04 12:28:23 +00:00
jmiller deleted branch fix/custom-fields-build 2026-06-04 12:28:24 +00:00
Sign in to join this conversation.
No Reviewers
No labels
Type
Status
Priority
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#450