Commit 5b44bd7
committed
compartment-trigger: log all silent skip paths for diagnostics
Three skip paths previously returned shouldFire=false with no log line,
making it impossible to diagnose why historian wasn't firing at high
pressure. Added explicit logs for:
1. compartmentInProgress skip — historian already in flight
2. !hasNewRawHistory skip — dumps nextStartOrdinal, lastCompartmentEnd,
rawMessageCount, and protectedTailStart so the missing condition is
visible
3. usage < proactiveTriggerPercentage skip — shows the proactive floor
Behavior unchanged. Pure observability.1 parent 457efbc commit 5b44bd7
1 file changed
Lines changed: 15 additions & 0 deletions
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
199 | 203 | | |
200 | 204 | | |
201 | 205 | | |
202 | 206 | | |
203 | 207 | | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
204 | 215 | | |
205 | 216 | | |
206 | 217 | | |
| |||
267 | 278 | | |
268 | 279 | | |
269 | 280 | | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
270 | 285 | | |
271 | 286 | | |
272 | 287 | | |
| |||
0 commit comments