Commit 6f84f80
refactor: prefix the unscoped deployment search with admin_ at every layer
Rename ``DeploymentDBSource.search_deployments`` and
``DeploymentAdminRepository.search_deployments`` to
``admin_search_deployments`` so the unscoped intent shows up on every
call site (db_source → repository → service → processor), not just on
the class that happens to host the method. ``DeploymentDBSource`` is a
shared namespace that also carries the scoped ``search_user_deployments``
/ ``search_project_deployments`` variants, so the bare
``search_deployments`` name was ambiguous about which scope semantics it
carries.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 752f6a2 commit 6f84f80
3 files changed
Lines changed: 14 additions & 8 deletions
File tree
- src/ai/backend/manager
- repositories/deployment
- db_source
- services/deployment
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
77 | 81 | | |
78 | | - | |
| 82 | + | |
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1156 | 1156 | | |
1157 | 1157 | | |
1158 | 1158 | | |
1159 | | - | |
| 1159 | + | |
1160 | 1160 | | |
1161 | 1161 | | |
1162 | 1162 | | |
1163 | | - | |
| 1163 | + | |
| 1164 | + | |
1164 | 1165 | | |
1165 | | - | |
1166 | | - | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
1167 | 1169 | | |
1168 | 1170 | | |
1169 | 1171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments