Skip to content

Commit 86db40c

Browse files
jopemachineclaude
andcommitted
refactor(BA-5837): propagate my_bulk_* rename + BEP cleanup to ValkeyCache surface
Carry the stack-wide `bulk_create_my` / `bulk_update_my` → `my_bulk_create` / `my_bulk_update` rename through the cache_source module added by this PR, plus the GQL / adapter / DTO touchpoints that the rebase resolved with `-X theirs` (which kept stale identifiers). Also strip the residual `BEP-1052 §X` references from the cache_source docstring and the merged-view repository docstring. Only the news fragments retain the BEP wording. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent d3d610b commit 86db40c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/ai/backend/manager/repositories/app_config_fragment/cache_source/cache_source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
The hot path is `AppConfigFragmentRepository.app_config(user_id, name)`,
44
the per-`(user, name)` deep-merge of every contributing fragment in
5-
the policy's `scope_sources` chain (BEP-1052 §5). Each merged value
5+
the policy's `scope_sources` chain. Each merged value
66
gets cached under `app_config:merged:{user_id}:{name}` with a TTL,
77
and is invalidated whenever a contributing fragment changes.
88

src/ai/backend/manager/repositories/app_config_fragment/repository.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class AppConfigFragmentRepository:
5050
"""Read-side repository for AppConfigFragment.
5151
5252
Scope-bound reads on raw fragments plus the per-user merged
53-
`AppConfig` view (BEP-1052 §5). Mutations and admin cross-scope
53+
`AppConfig` view. Mutations and admin cross-scope
5454
reads live on `AppConfigFragmentAdminRepository`. Retry + metric
5555
policies are applied at the DB-source layer; the merged-view read
5656
path is fronted by a Valkey cache so repeated WebUI bootstrap

0 commit comments

Comments
 (0)