Commit d95ce09
fix(BA-5650-I): resolve cascaded rebase conflicts and align tests
- Resolve conflict markers in scheduler db_source by keeping the
user-table-joined ``main_access_key`` lookup (single source of truth)
rather than the obsolete ``session.access_key`` snapshot.
- Drop duplicate ``resolve_main_access_keys`` definition introduced
by the rebase.
- Use ``spec.access_key`` (SessionCreationSpec) where applicable —
the spec dataclass keeps ``access_key`` for now.
- Test fixture ``_make_session_data`` now passes ``owner_id`` instead
of relying on attribute assignment after construction.
- Use ``main_access_key`` on PendingSessionData in provisioner test.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 95b1bba commit d95ce09
4 files changed
Lines changed: 6 additions & 40 deletions
File tree
- src/ai/backend/manager/repositories/scheduler/db_source
- tests/unit/manager
- services/session
- sokovan/scheduler/provisioner
Lines changed: 4 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1215 | 1215 | | |
1216 | 1216 | | |
1217 | 1217 | | |
1218 | | - | |
1219 | | - | |
| 1218 | + | |
1220 | 1219 | | |
1221 | 1220 | | |
1222 | 1221 | | |
| |||
1489 | 1488 | | |
1490 | 1489 | | |
1491 | 1490 | | |
1492 | | - | |
| 1491 | + | |
1493 | 1492 | | |
1494 | 1493 | | |
1495 | 1494 | | |
| |||
1510 | 1509 | | |
1511 | 1510 | | |
1512 | 1511 | | |
1513 | | - | |
| 1512 | + | |
1514 | 1513 | | |
1515 | 1514 | | |
1516 | 1515 | | |
| |||
1554 | 1553 | | |
1555 | 1554 | | |
1556 | 1555 | | |
1557 | | - | |
| 1556 | + | |
1558 | 1557 | | |
1559 | 1558 | | |
1560 | 1559 | | |
| |||
2927 | 2926 | | |
2928 | 2927 | | |
2929 | 2928 | | |
2930 | | - | |
2931 | | - | |
2932 | | - | |
2933 | | - | |
2934 | 2929 | | |
2935 | | - | |
2936 | 2930 | | |
2937 | 2931 | | |
2938 | 2932 | | |
| |||
2979 | 2973 | | |
2980 | 2974 | | |
2981 | 2975 | | |
2982 | | - | |
2983 | | - | |
2984 | | - | |
2985 | | - | |
2986 | 2976 | | |
2987 | | - | |
2988 | 2977 | | |
2989 | 2978 | | |
2990 | 2979 | | |
| |||
4828 | 4817 | | |
4829 | 4818 | | |
4830 | 4819 | | |
4831 | | - | |
4832 | | - | |
4833 | | - | |
4834 | | - | |
4835 | | - | |
4836 | | - | |
4837 | | - | |
4838 | | - | |
4839 | | - | |
4840 | | - | |
4841 | | - | |
4842 | | - | |
4843 | | - | |
4844 | | - | |
4845 | | - | |
4846 | | - | |
4847 | | - | |
4848 | | - | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
249 | 248 | | |
250 | | - | |
251 | | - | |
252 | 249 | | |
253 | 250 | | |
254 | 251 | | |
| |||
349 | 346 | | |
350 | 347 | | |
351 | 348 | | |
352 | | - | |
353 | 349 | | |
354 | | - | |
355 | | - | |
356 | 350 | | |
357 | 351 | | |
358 | 352 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments