Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: cherry-pick #17934 into 2.22#17952

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
bpmct merged 2 commits intorelease/2.22frompatch-2.22
May 20, 2025
Merged

chore: cherry-pick #17934 into 2.22#17952

bpmct merged 2 commits intorelease/2.22frompatch-2.22
May 20, 2025

Conversation

dannykopping
Copy link
Contributor

Cherry-pick of#17934

ThomasK33and others added2 commitsMay 20, 2025 21:05
This PR optimizes the agent API by using the `workspace.OwnerUsername` field directly instead of making an additional database query to fetch the owner's username. The change removes the need to call `GetUserByID` in the manifest API and workspace agent RPC endpoints.An issue arose when the agent token was scoped without access to user data (`api_key_scope = "no_user_data"`), causing the agent to fail to fetch the manifest due to an RBAC issue.Change-Id: I3b6e7581134e2374b364ee059e3b18ece3d98b41Signed-off-by: Thomas Kosiewski <tk@coder.com>
Signed-off-by: Danny Kopping <dannykopping@gmail.com>
@bpmctbpmct changed the titleCherry-pick #17934 into 2.22chore: cherry-pick #17934 into 2.22May 20, 2025
@bpmctbpmct merged commit8708d81 intorelease/2.22May 20, 2025
32 checks passed
@bpmctbpmct deleted the patch-2.22 branchMay 20, 2025 19:27
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsMay 20, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@bpmctbpmctbpmct approved these changes

@ThomasK33ThomasK33Awaiting requested review from ThomasK33

Assignees

@dannykoppingdannykopping

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@dannykopping@bpmct@ThomasK33

[8]ページ先頭

©2009-2025 Movatter.jp