Repository navigation
Commit c2609a6
[PAC-114] docs+test(nginx): PAC-14 §4 pointer, D-8 amendment marker, build-time VITE_SENTRY_DSN rollback; whitespace-only Sentry origin fails closed (#280)
PAC-86 review follow-ups, items 2 and 4 (item 1, DSN rotation, is an
operator action and is not part of this change).
- contracts/features/PAC-14.md: §4 points to the PAC-86 frontend
amendment in §2; §7 rollback item 3 gets an amendment note:
VITE_SENTRY_DSN is inlined at build time, so it is not a runtime kill
switch (rebuild, or unset NGINX_CSP_SENTRY_ORIGIN to block events).
Approved text kept.
- contracts/features/PAC-14.yaml: rollback line corrected the same way.
- docs/specs/NEW-deploy-hardening.md: amendment marker on D-8, which still
described the default Sentry origin.
- nginx/test/nginx_test.go: TestWhitespaceOnlySentryOriginRefusesToStart:
" ", " " and a space-padded origin are refused by the render step
(nginx does not start). Mutation-checked: trimming spaces in the render
script makes it fail.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 8f3bfc7 commit c2609a6
4 files changed
Lines changed: 45 additions & 1 deletion
File tree
- contracts/features
- docs/specs
- nginx/test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
130 | 135 | | |
131 | 136 | | |
132 | 137 | | |
| |||
215 | 220 | | |
216 | 221 | | |
217 | 222 | | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
218 | 232 | | |
219 | 233 | | |
220 | 234 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1150 | 1150 | | |
1151 | 1151 | | |
1152 | 1152 | | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
1153 | 1159 | | |
1154 | 1160 | | |
1155 | 1161 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
282 | 306 | | |
283 | 307 | | |
284 | 308 | | |
| |||
0 commit comments