Commit ae644e1
committed
test(qa): dogfood 真实 boot 把 cacheTtl 的
showcase-declarative-endpoints.dogfood.test.ts 是整条 cacheTtl 链上唯一
观测真实 wire 的一层,而它此前只钉 /max-age=30/,漏掉了 `private` ——
链上唯一有安全含义的那一位。实测:把 computeCacheControl 临时改成
public 后,旧断言依然全绿。
改为整行钉 /^private, max-age=30$/(实测真实 wire 值就是这一整串,
无附加指令,故整行钉法不脆断)。仅此一条断言;运行时、showcase 声明、
以及 :213 那条「错误答案不得带缓存指令」的断言均未改动。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016FNvXhtSdnEGEfLEsMmvxhprivate 一并钉住,不只钉 max-age (#5396)1 parent 4b61cf3 commit ae644e1
1 file changed
Lines changed: 20 additions & 3 deletions
Lines changed: 20 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
201 | 215 | | |
202 | | - | |
203 | | - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
204 | 221 | | |
205 | 222 | | |
206 | 223 | | |
| |||
0 commit comments