Commit eb1b2c5
fix(rust/face-recognition): remove setup_models() fast path from upload script
Calling setup_models() before uploading panics on a fresh deploy because
storage::bytes() calls unwrap() on a non-existent file. The fast path is now
redundant — post_upgrade handles the upgrade case automatically (models_ready()
returns true before the sync step runs), so the models_ready() check is sufficient.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 293ccf8 commit eb1b2c5
1 file changed
Lines changed: 3 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
49 | | - | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 56 | + | |
65 | 57 | | |
66 | 58 | | |
67 | 59 | | |
| |||
0 commit comments