chore(kiloclaw): remove deprecated /gateway/restart route#1041
Merged
1 commit merged intomainfrom Mar 12, 2026
Merged
Conversation
…oute The rename from restartGateway to restartMachine has been deployed and all frontends now use /api/admin/machine/restart. Remove the old /api/admin/gateway/restart alias that was kept for rollout safety.
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (1 files)
Reviewed by gpt-5.4-20260305 · 226,377 tokens |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes the backward-compat
/api/admin/gateway/restartroute from the kiloclaw worker. This was kept temporarily during therestartGateway→restartMachinerename (#1038) so that old frontend versions could still reach the machine restart endpoint. Now that #1038 has been deployed and all frontends use/api/admin/machine/restart, the old alias is no longer needed.Single file change: 26 lines deleted from
kiloclaw/src/routes/api.ts.Verification
pnpm typecheckinkiloclaw/— passpnpm testinkiloclaw/— 537 tests passedpnpm lintinkiloclaw/— passVisual Changes
N/A
Reviewer Notes
// TODO: Remove after frontend rollout to /api/admin/machine/restart./machine/restartin refactor(kiloclaw): rename restartGateway to restartMachine #1038.