Commit 247eaac
committed
Broadcast after every write handler success (Phase 3)
Add s.broadcaster.publish() at every success exit point in all mutating
handlers: handleCreateBead, handleUpdateBead (all 4 success paths including
moves), handleDeleteBead (both paths), handleClaimBead, handleClean,
handleAddComment, handleLinkBead, and handleUnlinkBead.
Add handlers_broadcast_test.go with tests for each handler verifying that a
signal is received on a subscribed channel after success and that no signal
is received on error paths.
Built with Raymond (Agent Orchestrator)1 parent 6fd0c5e commit 247eaac
4 files changed
Lines changed: 416 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
| 164 | + | |
163 | 165 | | |
164 | 166 | | |
165 | 167 | | |
| |||
258 | 260 | | |
259 | 261 | | |
260 | 262 | | |
| 263 | + | |
261 | 264 | | |
262 | 265 | | |
263 | 266 | | |
| |||
268 | 271 | | |
269 | 272 | | |
270 | 273 | | |
| 274 | + | |
271 | 275 | | |
272 | 276 | | |
273 | 277 | | |
| |||
347 | 351 | | |
348 | 352 | | |
349 | 353 | | |
| 354 | + | |
350 | 355 | | |
351 | 356 | | |
352 | 357 | | |
353 | 358 | | |
354 | 359 | | |
| 360 | + | |
355 | 361 | | |
356 | 362 | | |
357 | 363 | | |
| |||
397 | 403 | | |
398 | 404 | | |
399 | 405 | | |
| 406 | + | |
400 | 407 | | |
401 | 408 | | |
402 | 409 | | |
403 | 410 | | |
| 411 | + | |
404 | 412 | | |
405 | 413 | | |
406 | 414 | | |
| |||
0 commit comments