Commit 9fbd63d
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 e35caec commit 9fbd63d
4 files changed
Lines changed: 5 additions & 67 deletions
File tree
- src/ai/backend/manager/repositories/scheduler/db_source
- tests/unit/manager
- services/session
- sokovan/scheduler/provisioner
Lines changed: 3 additions & 60 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1150 | 1150 | | |
1151 | 1151 | | |
1152 | 1152 | | |
1153 | | - | |
1154 | 1153 | | |
1155 | 1154 | | |
1156 | | - | |
1157 | | - | |
1158 | | - | |
1159 | | - | |
1160 | 1155 | | |
1161 | 1156 | | |
1162 | 1157 | | |
| |||
1220 | 1215 | | |
1221 | 1216 | | |
1222 | 1217 | | |
1223 | | - | |
1224 | 1218 | | |
1225 | | - | |
1226 | | - | |
1227 | | - | |
1228 | 1219 | | |
1229 | 1220 | | |
1230 | 1221 | | |
| |||
1497 | 1488 | | |
1498 | 1489 | | |
1499 | 1490 | | |
1500 | | - | |
| 1491 | + | |
1501 | 1492 | | |
1502 | 1493 | | |
1503 | 1494 | | |
| |||
1518 | 1509 | | |
1519 | 1510 | | |
1520 | 1511 | | |
1521 | | - | |
| 1512 | + | |
1522 | 1513 | | |
1523 | 1514 | | |
1524 | 1515 | | |
| |||
1562 | 1553 | | |
1563 | 1554 | | |
1564 | 1555 | | |
1565 | | - | |
| 1556 | + | |
1566 | 1557 | | |
1567 | 1558 | | |
1568 | 1559 | | |
| |||
1873 | 1864 | | |
1874 | 1865 | | |
1875 | 1866 | | |
1876 | | - | |
1877 | 1867 | | |
1878 | | - | |
1879 | | - | |
1880 | | - | |
1881 | 1868 | | |
1882 | 1869 | | |
1883 | 1870 | | |
| |||
2939 | 2926 | | |
2940 | 2927 | | |
2941 | 2928 | | |
2942 | | - | |
2943 | | - | |
2944 | | - | |
2945 | | - | |
2946 | | - | |
2947 | | - | |
2948 | | - | |
2949 | | - | |
2950 | | - | |
2951 | | - | |
2952 | 2929 | | |
2953 | | - | |
2954 | 2930 | | |
2955 | 2931 | | |
2956 | 2932 | | |
| |||
2997 | 2973 | | |
2998 | 2974 | | |
2999 | 2975 | | |
3000 | | - | |
3001 | | - | |
3002 | | - | |
3003 | | - | |
3004 | | - | |
3005 | | - | |
3006 | | - | |
3007 | | - | |
3008 | | - | |
3009 | | - | |
3010 | 2976 | | |
3011 | | - | |
3012 | 2977 | | |
3013 | 2978 | | |
3014 | 2979 | | |
| |||
4675 | 4640 | | |
4676 | 4641 | | |
4677 | 4642 | | |
4678 | | - | |
4679 | 4643 | | |
4680 | | - | |
4681 | | - | |
4682 | | - | |
4683 | 4644 | | |
4684 | 4645 | | |
4685 | 4646 | | |
| |||
4856 | 4817 | | |
4857 | 4818 | | |
4858 | 4819 | | |
4859 | | - | |
4860 | | - | |
4861 | | - | |
4862 | | - | |
4863 | | - | |
4864 | | - | |
4865 | | - | |
4866 | | - | |
4867 | | - | |
4868 | | - | |
4869 | | - | |
4870 | | - | |
4871 | | - | |
4872 | | - | |
4873 | | - | |
4874 | | - | |
4875 | | - | |
4876 | | - | |
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