Commit 961dced
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 1f7f768 commit 961dced
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 | |
|---|---|---|---|
| |||
11571 | 11571 | | |
11572 | 11572 | | |
11573 | 11573 | | |
11574 | | - | |
11575 | | - | |
11576 | | - | |
11577 | | - | |
11578 | | - | |
11579 | | - | |
11580 | | - | |
11581 | | - | |
11582 | | - | |
11583 | | - | |
11584 | | - | |
11585 | | - | |
11586 | | - | |
11587 | | - | |
11588 | | - | |
11589 | | - | |
11590 | | - | |
11591 | | - | |
11592 | | - | |
11593 | | - | |
11594 | | - | |
11595 | | - | |
11596 | | - | |
11597 | | - | |
11598 | | - | |
11599 | | - | |
11600 | | - | |
11601 | | - | |
11602 | | - | |
11603 | | - | |
11604 | | - | |
11605 | | - | |
11606 | | - | |
11607 | | - | |
11608 | | - | |
11609 | | - | |
11610 | | - | |
11611 | | - | |
11612 | | - | |
11613 | | - | |
11614 | | - | |
11615 | | - | |
11616 | | - | |
11617 | | - | |
11618 | | - | |
11619 | | - | |
11620 | 11574 | | |
11621 | 11575 | | |
11622 | 11576 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7453 | 7453 | | |
7454 | 7454 | | |
7455 | 7455 | | |
7456 | | - | |
7457 | | - | |
7458 | | - | |
7459 | | - | |
7460 | | - | |
7461 | | - | |
7462 | | - | |
7463 | | - | |
7464 | | - | |
7465 | | - | |
7466 | | - | |
7467 | | - | |
7468 | | - | |
7469 | | - | |
7470 | | - | |
7471 | | - | |
7472 | | - | |
7473 | | - | |
7474 | | - | |
7475 | | - | |
7476 | | - | |
7477 | | - | |
7478 | | - | |
7479 | | - | |
7480 | | - | |
7481 | | - | |
7482 | | - | |
7483 | | - | |
7484 | | - | |
7485 | | - | |
7486 | | - | |
7487 | | - | |
7488 | | - | |
7489 | | - | |
7490 | | - | |
7491 | | - | |
7492 | | - | |
7493 | | - | |
7494 | 7456 | | |
7495 | 7457 | | |
7496 | 7458 | | |
| |||
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