Repository navigation
Commit 0aac81d
committed
fix(settings): keep legacy credentials when migration fails
An unrelated settings migration could rewrite the file after copying
legacy source control secrets failed, dropping the old references.
Fail and retry the settings load before any rewrite if a secret cannot
be read or copied. Cover the failure alongside a provider migration.
Model: GPT-6 Astra (max)
Harness: Codex1 parent 9c245b3 commit 0aac81d
2 files changed
Lines changed: 10 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1705 | 1705 | | |
1706 | 1706 | | |
1707 | 1707 | | |
1708 | | - | |
| 1708 | + | |
1709 | 1709 | | |
1710 | 1710 | | |
1711 | 1711 | | |
| |||
1732 | 1732 | | |
1733 | 1733 | | |
1734 | 1734 | | |
| 1735 | + | |
1735 | 1736 | | |
1736 | 1737 | | |
1737 | 1738 | | |
1738 | 1739 | | |
1739 | | - | |
| 1740 | + | |
1740 | 1741 | | |
1741 | 1742 | | |
1742 | 1743 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
931 | 931 | | |
932 | 932 | | |
933 | 933 | | |
934 | | - | |
935 | | - | |
936 | | - | |
937 | | - | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
938 | 938 | | |
939 | 939 | | |
940 | 940 | | |
| |||
943 | 943 | | |
944 | 944 | | |
945 | 945 | | |
946 | | - | |
947 | | - | |
948 | | - | |
949 | | - | |
950 | | - | |
| 946 | + | |
| 947 | + | |
951 | 948 | | |
952 | 949 | | |
953 | | - | |
| 950 | + | |
954 | 951 | | |
955 | 952 | | |
956 | | - | |
957 | 953 | | |
958 | 954 | | |
959 | 955 | | |
| |||
0 commit comments