fix(user): remove phantom system_status::get API (#377)#412
Merged
Conversation
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_b765f6bf-43fa-42df-98b8-0bff071f3263) |
Feishu personal_settings/v1/system_status has no get endpoint (list is the list/get equivalent). Delete the broken public get accessor and its malformed URL builder so the resource exposes only the six real builders.
foxzool
force-pushed
the
fix/issue-377-system-status-phantom-get
branch
from
July 10, 2026 04:45
1386400 to
cf1520a
Compare
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_17bac8a6-941f-47ea-8d8e-6962043ad242) |
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
openlark-user中飞书目录不存在的幻影 APISystemStatusResource::get()/SystemStatusGetRequest(畸形 URL,调用即失败)。system_status资源仅保留 6 个真实构建器:list/create/patch/delete/batch_open/batch_close。Closes #377
Breaking
SystemStatusResource::get()与SystemStatusGetRequest已移除。旧get对真实飞书本就 404;请改用list()/SystemStatusListRequest。Test plan
cargo build --workspace --all-featurescargo test -p openlark-user --all-featurescargo test --workspace --all-featurescargo clippy --workspace --all-targets --all-features -- -Dwarningscargo clippy --workspace --all-targets --no-default-features -- -DwarningsSystemStatusGet/system_status::get残留引用Note
Low Risk
Breaking only for code that called the already-nonfunctional
get()API; no auth, data, or transport changes.Overview
Breaking cleanup in
openlark-user: removes the phantom Feishusystem_status“get” surface that never matched a real API (malformed URL, would 404 on production).SystemStatusResource::get(),SystemStatusGetRequest/SystemStatusGetResponse, andget.rs(including its wiremock test) are deleted.system_statusis documented and wired as six builders only:list,create,patch,delete,batch_open,batch_close. The CHANGELOG moves this from a prior deprecation note to an explicit Breaking entry for the v0.18 line.Migration: callers that used
get()should uselist()/SystemStatusListRequest—the oldgetwas not viable against Feishu anyway.Reviewed by Cursor Bugbot for commit cf1520a. Bugbot is set up for automated code reviews on this repo. Configure here.