Skip to content

Go: remove unused APIs - #21073

Merged
JinHai-CN merged 1 commit into
infiniflow:mainfrom
JinHai-CN:fix757
Oct 16, 2026
Merged

JinHai-CN merged 1 commit into
infiniflow:mainfrom
JinHai-CN:fix757

Conversation

@JinHai-CN

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Jin Hai <[email protected]>
@JinHai-CN
JinHai-CN marked this pull request as ready for review October 16, 2026 08:28
@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 584cf205-ed4d-48d9-bd79-7e14e9db238e
📥 Commits

Reviewing files that changed from the base of the PR and between d58395e and b93c6f0.

📒 Files selected for processing: 2
  • internal/admin/handler_ee.go
  • internal/admin/router_ee.go
💤 Files with no reviewable changes: 2
  • internal/admin/router_ee.go
  • internal/admin/handler_ee.go

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

📝 Walkthrough

The change removes four unimplemented admin handlers, two request types, and the legacy /fingerprint and /license routes. The /system/fingerprint and /system/license routes remain registered.

Changes: Legacy admin route removal

Layer / File(s) Summary
Remove legacy handlers and routes
internal/admin/handler_ee.go, internal/admin/router_ee.go
Removes four handlers that returned HTTP 501, their two request types, and the registrations for four legacy routes.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Refactor

Merge Risk: ⚪ Minimal · up to b93c6

The removed legacy endpoints were reported as unimplemented. No actionable merge-blocking risk is established; merge after normal checks.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The pull request has no description. The repository template requires a Summary section that explains the purpose and background of the change. Add a Summary section. Describe which unused APIs and routes were removed and why the removal is safe.
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly identifies the main change: removing unused Go APIs.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files.

  • Fix all pre-merge checks with AI
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

A rabbit checks the routes at dawn,
The old 501s are gone.
No license stub waits by the gate,
The system paths still keep their place.
I nibble greens and hop along!

Comment @coderabbitai help to get the list of available commands.

@JinHai-CN JinHai-CN added the ci Continue Integration label Oct 16, 2026
@JinHai-CN
JinHai-CN merged commit 13e573c into infiniflow:main Oct 16, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant