Commit 06ad399
TASK-061: mechanical cleanup sweep — unfinished prose, orphan comments, stale doc references
- src/detail/webserver_register.cpp: complete the truncated TASK-029
block comment with the missing closing clause
("they are no longer reachable from the public API.").
- src/detail/webserver_register.cpp: install the full TASK-024 prologue
(six lines, ending "dangling resource pointer after the maps drop
their refs.") immediately above webserver::unregister_impl_, the
function the comment actually describes.
- src/detail/webserver_setup.cpp: remove the orphaned five-line
TASK-024 head that was sitting above the unrelated block_ip
(split-artifact from the 7-way webserver.cpp split).
- src/webserver.cpp:503-504: remove the two orphan comment fragments
left after removed logic ("dangling resource pointer..." and
"they are no longer reachable...") — both lines now have a single
canonical home in webserver_register.cpp after the steps above.
- test/Makefile.am:73-74: replace the stale "Currently in XFAIL_TESTS"
claim with a status-correct "Now an unconditional PASS" note that
cross-references the existing TASK-020 block at lines 533-536.
- scripts/check-readme.sh:273: drop the stale
"RELEASE_NOTES.md) continue ;; # created by TASK-042, not yet
present" case arm — TASK-042 shipped, the file now exists, and the
generic existence check at the bottom of the loop handles it.
- test/littletest.hpp: left untouched per planning decision (vendored
upstream liblittletest header, no fork policy authorising in-place
edits to stylistic comments).
Verification:
- make check: 87/87 PASS, 0 FAIL.
- check-file-size: PASS (FILE_LOC_MAX=750).
- check-readme.sh: returns 0 end-to-end.
- All five pre-edit failing grep guards now report zero matches.
- Each of the three reflowed sentence fragments has exactly one
canonical copy under src/.
Pre-existing on feature/v2.0 (NOT introduced by this task): the
check-doxygen.sh gate fails with seven warnings against unrelated
headers (create_webserver.hpp, hook_context.hpp,
webserver_websocket.hpp — none of which TASK-061 touches). Confirmed
by running check-doxygen against an unchanged feature/v2.0 checkout
and reproducing the same output.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent d272e78 commit 06ad399
5 files changed
Lines changed: 10 additions & 15 deletions
File tree
- scripts
- src
- detail
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
274 | 273 | | |
275 | 274 | | |
276 | 275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
247 | 253 | | |
248 | 254 | | |
249 | 255 | | |
| |||
346 | 352 | | |
347 | 353 | | |
348 | 354 | | |
| 355 | + | |
349 | 356 | | |
350 | 357 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | 441 | | |
447 | 442 | | |
448 | 443 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | 502 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
0 commit comments