Repository navigation
[AIGTWY-4880] Add a reversible budget fixture for CUJ5 - #914
Closed
andy-xu-db wants to merge 1 commit into
Closed
andy-xu-db wants to merge 1 commit into
andy-xu-db wants to merge 1 commit into
Conversation
This was referenced Sep 30, 2026
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-account-auth
branch
from
September 30, 2026 20:16
8ccf72d to
9b36a1e
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-budget-fixture
branch
2 times, most recently
from
September 30, 2026 20:26
8ab0906 to
bae3286
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-account-auth
branch
from
September 30, 2026 20:26
9b36a1e to
2c2c025
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-budget-fixture
branch
from
September 30, 2026 20:39
bae3286 to
79a23dd
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-account-auth
branch
from
September 30, 2026 20:39
2c2c025 to
e61d623
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-budget-fixture
branch
from
September 30, 2026 20:49
79a23dd to
7b6553e
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-account-auth
branch
from
September 30, 2026 20:49
e61d623 to
4fc5d70
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-budget-fixture
branch
from
October 1, 2026 14:38
7b6553e to
ef0dfb4
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-account-auth
branch
2 times, most recently
from
October 1, 2026 15:05
3a4a526 to
66aa7fe
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-budget-fixture
branch
from
October 1, 2026 15:05
ef0dfb4 to
3830958
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-account-auth
branch
from
October 1, 2026 15:09
66aa7fe to
d66abea
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-budget-fixture
branch
from
October 1, 2026 15:09
3830958 to
b2c5c7c
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-account-auth
branch
from
October 1, 2026 16:24
d66abea to
6d207a5
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-budget-fixture
branch
2 times, most recently
from
October 1, 2026 16:29
5f28dfc to
131af08
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-account-auth
branch
from
October 1, 2026 16:29
6d207a5 to
307e450
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-budget-fixture
branch
from
October 1, 2026 16:37
131af08 to
5a8abeb
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-account-auth
branch
2 times, most recently
from
October 1, 2026 17:17
518b57f to
eff75a9
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-budget-fixture
branch
from
October 1, 2026 17:17
5a8abeb to
9e8519f
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-account-auth
branch
from
October 1, 2026 18:51
eff75a9 to
53d70a5
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-budget-fixture
branch
from
October 1, 2026 18:51
9e8519f to
3ffdb7f
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-account-auth
branch
from
October 1, 2026 18:56
53d70a5 to
e33b205
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-budget-fixture
branch
from
October 1, 2026 18:56
3ffdb7f to
c7ccaa6
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-budget-fixture
branch
from
October 1, 2026 19:43
c7ccaa6 to
141eff0
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-account-auth
branch
from
October 1, 2026 19:43
e33b205 to
1d0dbfb
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-budget-fixture
branch
12 times, most recently
from
October 1, 2026 20:57
fa66168 to
b07e258
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-account-auth
branch
2 times, most recently
from
October 2, 2026 13:36
62f9dfc to
c6e5363
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-budget-fixture
branch
2 times, most recently
from
October 2, 2026 14:26
6eaabe9 to
cf56ee8
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-account-auth
branch
2 times, most recently
from
October 2, 2026 15:42
058db96 to
bb6457e
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-budget-fixture
branch
2 times, most recently
from
October 2, 2026 16:49
56fa5f9 to
c848559
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-account-auth
branch
from
October 2, 2026 16:49
bb6457e to
75792ec
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-account-auth
branch
from
October 2, 2026 17:03
75792ec to
f258ae5
Compare
andy-xu-db
force-pushed
the
andy-xu-db/stack/andy/aigtwy-4880-budget-fixture
branch
from
October 2, 2026 17:03
c848559 to
6c4f77a
Compare
Collaborator
Author
|
Consolidated into #911, which now contains the complete CUJ5 integration test change as one commit against main. |
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.
🥞 Stacked PR
Summary
Add the reversible account-budget fixture for CUJ5 (AIGTWY-4880). It uses existing positive spend and temporarily changes the per-user hard-block limit to exercise the 50% and 80% smart-default tiers.
Changes
BudgetTargetfrom the metadata supplied to pytest and reject a mismatched workspace before requests.Decimal, preserve the complete budget configuration, and verify account and recommendation API readback.Configuration
PR #911 owns the concrete workspace, account, budget, and model values in
.github/workflows/integration.yml. PR #913 forwards them without duplicating those values in the runner or fixture.Verification
The complete stack passed 119 focused tests. Live CUJ5 verified account-budget mutation and restoration. The update body retains required alert/action IDs, omits response-only fields, and normalizes the legacy
BLOCK_USAGE.targetreturned by GET but rejected by PUT. The principal needs workspace model access, pre-provisioned positive spend, and account budget read/update permission. Setup never generates spend.