Repository navigation
Commit db2572f
committed
docs(snapstart): stop calling the guard "fail-closed" without qualification
The guard's summary line and a test-section banner called it "strict, fail-closed"
while the detailed doc a dozen lines below correctly explains that the REQUEST side
forwards an undecidable path rather than 403-ing it. Only the configured side fails
closed, and the review bot has now twice read the summary, concluded the request
side returns 403 on doubt, and re-raised it as a contradiction -- quoting doc text
that was already replaced.
The risk is not the confusion itself but the obvious "fix" it invites: turning the
request-side pass-through into a 403 would reinstate the /reports/100%25 false-403
regression that pass-through exists to prevent.
Both labels now state which half does which, the summary points at the reasoning
rather than summarizing it away, and the term is gone from the codebase entirely
(the remaining historical use in a test comment is reworded to "undecidable
branch").
Comment-only; no behavior change.1 parent 85ad8cb commit db2572f
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
583 | | - | |
584 | | - | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
585 | 592 | | |
586 | 593 | | |
587 | 594 | | |
| |||
2665 | 2672 | | |
2666 | 2673 | | |
2667 | 2674 | | |
2668 | | - | |
| 2675 | + | |
| 2676 | + | |
2669 | 2677 | | |
2670 | 2678 | | |
2671 | 2679 | | |
| |||
2874 | 2882 | | |
2875 | 2883 | | |
2876 | 2884 | | |
2877 | | - | |
| 2885 | + | |
2878 | 2886 | | |
2879 | 2887 | | |
2880 | 2888 | | |
| |||
0 commit comments