Commit 2417940
fix(app): cache the actual live deployment after --no-promote
setKnownLiveDeployment cached the un-promoted candidate as the known-live deployment; with --no-promote that id is not live. Cache the actually-live id instead (the previous deployment that keeps serving), and skip the write when the app has no live deployment yet.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 0e29f9c commit 2417940
2 files changed
Lines changed: 17 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
823 | 823 | | |
824 | 824 | | |
825 | 825 | | |
826 | | - | |
827 | | - | |
828 | | - | |
829 | | - | |
830 | | - | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
831 | 838 | | |
832 | 839 | | |
833 | 840 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7037 | 7037 | | |
7038 | 7038 | | |
7039 | 7039 | | |
| 7040 | + | |
| 7041 | + | |
| 7042 | + | |
| 7043 | + | |
| 7044 | + | |
7040 | 7045 | | |
7041 | 7046 | | |
7042 | 7047 | | |
| |||
0 commit comments