Commit b7de986
docs(mollifier): fix stale ZSET comments and strip residual plan-doc labels
The mollifier queue moved from ZSET to LIST in an earlier refactor, but two
comments still described it as a ZSET (`mollifierStaleSweep.server.ts:9` and
`env.server.ts:1104` — both narrating the periodic stale sweep). Update to
LIST.
Also clean four residual internal plan-doc labels left over from prior cleanup
passes:
- `createCancelledRun` docstring (`engine/index.ts`) referenced "Q4 mollifier-
cancel design" and "F4 bypass" — both dead nomenclature now that the gate's
C1/C3/F4 labels have been rewritten. Restate the waitpoint-skip rationale
in plain English: the mollifier gate refuses to buffer triggerAndWait
children, so a cancelled buffered run never has a waiting parent to unblock.
- `createCancelledRun.test.ts` empty-tags regression dropped "Found while
running the Phase F challenge suite." — the comment describes the bug
itself, which is self-contained.
- `mollifierStaleSweep.test.ts` "scans across multiple orgs" rephrased away
from "Phase-3 design has org-level fairness"; the prose now states the
invariant directly.
Comment/docstring-only; no behaviour change.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent dfbeba6 commit b7de986
5 files changed
Lines changed: 15 additions & 13 deletions
File tree
- apps/webapp
- app
- v3/mollifier
- test
- internal-packages/run-engine/src/engine
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1101 | 1101 | | |
1102 | 1102 | | |
1103 | 1103 | | |
1104 | | - | |
| 1104 | + | |
1105 | 1105 | | |
1106 | 1106 | | |
1107 | 1107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
456 | | - | |
| 456 | + | |
457 | 457 | | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
463 | 464 | | |
464 | 465 | | |
465 | 466 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| |||
0 commit comments