Commit 8d1f22f
The changeset for the #14033 redemption-time `publicSharing.enabled` hold
said the refusal "will burst the log once". Its own first half contradicts
that: per-hit and unlatched is precisely the property that means the volume
does NOT occur once.
Measured at the emitting site — `packages/plugins/plugin-sharing/src/
share-link-service.ts:697-708`, the `if (!policy.enabled)` arm of
`resolveToken()`: an unconditional `this.logger?.warn?.(…)` followed by
`return null`, with no latch, no `Set`, no memo and no sampling anywhere in
the path. The only latch in the file is `usageStampRefusalReported`, which
guards the unrelated #12981 usage-stamp degradation. `resolveToken` is
called once per HTTP redemption (`share-link-routes.ts:233` and `:317`)
with no cache or rate limit in front of it, so the line count tracks the
refused-hit rate and does not decay.
Prose only. The frontmatter, the level, the BREAKING banner and every
surrounding paragraph are byte-identical; the per-hit behaviour is ruled
and is NOT changed.
Claude-Session: https://claude.ai/code/session_01AUF1NoViznQK32gqpK8wS8
Co-authored-by: Claude <noreply@anthropic.com>
1 parent d2bdab2 commit 8d1f22f
1 file changed
Lines changed: 3 additions & 1 deletion
File tree
- .changeset
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
0 commit comments