Commit 3ca32d5
refactor(BA-5837): align cache-aware admin_repo with Updater/Purger pattern
The Valkey cache wrapper added in this PR re-introduced the
`(key, spec)` and `(key)` signatures on `db_source.update` /
`db_source.purge`. Switch the cache-aware admin_repository over to
the Updater/Purger pattern from BA-5827 while keeping the merged-
view cache-invalidation hooks intact.
Also rename the residual `extra_config` / `extraConfig` references in
the GQL types and schema dump to `config` for consistency with the
column rename.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 1842b40 commit 3ca32d5
5 files changed
Lines changed: 30 additions & 96 deletions
File tree
- docs/manager/graphql-reference
- src/ai/backend/manager
- api/gql/app_config_fragment/types
- repositories/app_config_fragment
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11525 | 11525 | | |
11526 | 11526 | | |
11527 | 11527 | | |
11528 | | - | |
11529 | | - | |
11530 | | - | |
11531 | | - | |
11532 | | - | |
11533 | | - | |
11534 | | - | |
11535 | | - | |
11536 | | - | |
11537 | | - | |
11538 | | - | |
11539 | | - | |
11540 | | - | |
11541 | | - | |
11542 | | - | |
11543 | | - | |
11544 | | - | |
11545 | | - | |
11546 | | - | |
11547 | | - | |
11548 | | - | |
11549 | | - | |
11550 | | - | |
11551 | | - | |
11552 | | - | |
11553 | | - | |
11554 | | - | |
11555 | | - | |
11556 | | - | |
11557 | | - | |
11558 | | - | |
11559 | | - | |
11560 | | - | |
11561 | | - | |
11562 | | - | |
11563 | | - | |
11564 | | - | |
11565 | | - | |
11566 | | - | |
11567 | | - | |
11568 | | - | |
11569 | | - | |
11570 | | - | |
11571 | | - | |
11572 | | - | |
11573 | | - | |
11574 | 11528 | | |
11575 | 11529 | | |
11576 | 11530 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7415 | 7415 | | |
7416 | 7416 | | |
7417 | 7417 | | |
7418 | | - | |
7419 | | - | |
7420 | | - | |
7421 | | - | |
7422 | | - | |
7423 | | - | |
7424 | | - | |
7425 | | - | |
7426 | | - | |
7427 | | - | |
7428 | | - | |
7429 | | - | |
7430 | | - | |
7431 | | - | |
7432 | | - | |
7433 | | - | |
7434 | | - | |
7435 | | - | |
7436 | | - | |
7437 | | - | |
7438 | | - | |
7439 | | - | |
7440 | | - | |
7441 | | - | |
7442 | | - | |
7443 | | - | |
7444 | | - | |
7445 | | - | |
7446 | | - | |
7447 | | - | |
7448 | | - | |
7449 | | - | |
7450 | | - | |
7451 | | - | |
7452 | | - | |
7453 | | - | |
7454 | | - | |
7455 | | - | |
7456 | 7418 | | |
7457 | 7419 | | |
7458 | 7420 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 44 | + | |
47 | 45 | | |
48 | 46 | | |
Lines changed: 27 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
123 | 133 | | |
124 | 134 | | |
125 | 135 | | |
126 | 136 | | |
127 | 137 | | |
128 | | - | |
129 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
130 | 150 | | |
131 | | - | |
| 151 | + | |
132 | 152 | | |
133 | 153 | | |
134 | 154 | | |
| |||
0 commit comments