Repository navigation
refactor: share the AI spend user_ids parser and test the page helper - #32168
Draft
ssncferreira wants to merge 1 commit into
Draft
ssncferreira wants to merge 1 commit into
ssncferreira wants to merge 1 commit into
Conversation
ssncferreira
force-pushed
the
ssncf/ai-spend-page-helper
branch
from
November 13, 2026 12:48
9f98cc0 to
3a13b47
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-page-helper
branch
from
November 18, 2026 13:50
3a13b47 to
a48b0d5
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-page-helper
branch
from
November 18, 2026 15:17
a48b0d5 to
4e37f76
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-page-helper
branch
from
November 19, 2026 10:41
4e37f76 to
4bfae21
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-page-helper
branch
from
November 19, 2026 10:45
4bfae21 to
52e4a2c
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-page-helper
branch
2 times, most recently
from
November 19, 2026 11:56
1c055b1 to
9e4d0d7
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-page-helper
branch
from
November 26, 2026 18:45
9e4d0d7 to
3410954
Compare
This branch has not been deployed
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.
Description
Moves the user ID parsing shared by
/ai/spend/usersand the group members AI spend endpoint into one helper, and moves the pagination and user ID validation tests to the helpers. Follows #32051.Changes
parseAISpendUserIDsand use it in/ai/spend/usersand/groups/{group}/members/ai/spend. Responses don't change.TestParseOrganizationAISpendPageandTestParseAISpendUserIDsinaibridge_internal_test.go.Related to AIGOV-728
Note
Generated by Coder Agents on behalf of @ssncferreira.