Repository navigation
Commit 735702a
Catch a stale contract constant before it reaches production
The live contract checker keeps the expected guide version in a
constant of its own. When the guide went to 3.6.0 that constant stayed
at 3.5.0, and the deploy still passed: the live site was also still on
3.5.0 at the time, so the checker agreed with production about a
version neither of them was about to have. The mismatch surfaced one
deploy later, after the code was already live.
The constant is corrected, and site:test now reads the version out of
the published guide and requires the checker to carry the same one. The
drift hits the local suite instead of a production gate.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 8e119e1 commit 735702a
2 files changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
116 | 129 | | |
117 | 130 | | |
118 | 131 | | |
| |||
0 commit comments