Commit 03ce523
fix: resolve 4 bugs found in code review
- report.go: use += instead of = when aggregating status codes by section,
fixing count loss when multiple codes share the same section (e.g. 200+201)
- charts.go: fix JS syntax error data.push[null] -> data.push(null),
fixing historical data padding for new status code series
- requester.go: fix off-by-one in ramp-up loop (> to >=),
preventing an extra goroutine from being launched
- print.go: remove colorize() calls from JSON output functions,
preventing ANSI escape codes from corrupting JSON
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 25642a3 commit 03ce523
4 files changed
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
386 | 385 | | |
387 | 386 | | |
388 | 387 | | |
| |||
427 | 426 | | |
428 | 427 | | |
429 | 428 | | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | 429 | | |
434 | 430 | | |
435 | 431 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
| 331 | + | |
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| |||
0 commit comments