Commit 971886e
fix(wandb): working endpoints — dead install gate removed, resume can't smuggle wandb on, key checked before side effects (MT40)
Fixes main's wandb surface per the MT40 audit, re-derived for main's
code (not a port of rig's restore — rig's panel/lineage interactions
arrive with the later carve train):
- Install gate deleted: /system/wandb-extra*, the wandb InstallManager,
and WandbInstallDialog. It was dead code — wandb is a hard transitive
dep of the pinned lerobot training extra, so the probe could never
fail — and its fetch-error fallthrough silently enabled wandb.
Replaced by GET /system/wandb-credentials on the existing
resolve_wandb_api_key (env -> ~/.netrc; boolean only, never the key).
- Resume emits an explicit --wandb.enable, so a resumed checkpoint's
train_config.json can never silently re-enable wandb (the MT40 core);
enable/project/entity inherit server-side from the parent record (the
wandb run identity rides the checkpoint; verified against lerobot
v0.6.0's resume path).
- Credential preflight: a wandb-enabled run with no resolvable key is
refused 400 BEFORE any side effect — before the dataset Hub push and
before the deferred resume-upload thread — instead of dying inside a
billed GPU container 20 minutes in.
- Defaults and copy: wandb defaults on when a key exists (form-level,
once, never clobbering a user's choice); artifact upload defaults
off; Entity/Project labeled in W&B's own vocabulary with the
blank-value semantics spelled out.
- URL scrape: comment corrected (lerobot's 'Track this run -->' line;
wandb's own banner is WANDB_SILENT-suppressed) and run-id class
widened.
Known divergence kept deliberately: wandb_run_id stays on main's
TrainingRequest (inert; rig removed it — reconciled by the carve
train).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent d83a091 commit 971886e
13 files changed
Lines changed: 910 additions & 377 deletions
File tree
- frontend/src
- components/training
- config
- hooks
- makermodslab
- runners
- utils
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
242 | 245 | | |
243 | 246 | | |
244 | | - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
245 | 250 | | |
246 | 251 | | |
247 | 252 | | |
| |||
260 | 265 | | |
261 | 266 | | |
262 | 267 | | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
263 | 274 | | |
264 | 275 | | |
265 | 276 | | |
| |||
332 | 343 | | |
333 | 344 | | |
334 | 345 | | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
335 | 386 | | |
336 | 387 | | |
337 | 388 | | |
| |||
344 | 395 | | |
345 | 396 | | |
346 | 397 | | |
| 398 | + | |
347 | 399 | | |
348 | 400 | | |
349 | 401 | | |
| |||
This file was deleted.
Lines changed: 27 additions & 50 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
| |||
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 42 | | |
71 | 43 | | |
72 | 44 | | |
| |||
131 | 103 | | |
132 | 104 | | |
133 | 105 | | |
134 | | - | |
| 106 | + | |
135 | 107 | | |
136 | 108 | | |
137 | 109 | | |
138 | 110 | | |
139 | 111 | | |
140 | 112 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | 113 | | |
148 | 114 | | |
149 | 115 | | |
150 | | - | |
| 116 | + | |
151 | 117 | | |
152 | 118 | | |
153 | 119 | | |
154 | 120 | | |
155 | 121 | | |
156 | 122 | | |
157 | | - | |
| 123 | + | |
158 | 124 | | |
159 | 125 | | |
160 | 126 | | |
161 | 127 | | |
162 | | - | |
| 128 | + | |
163 | 129 | | |
164 | 130 | | |
165 | 131 | | |
166 | 132 | | |
167 | 133 | | |
168 | 134 | | |
169 | | - | |
| 135 | + | |
170 | 136 | | |
171 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
172 | 147 | | |
173 | 148 | | |
174 | 149 | | |
| |||
209 | 184 | | |
210 | 185 | | |
211 | 186 | | |
212 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
213 | 190 | | |
214 | 191 | | |
215 | 192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments