Commit f6b43a0
Improve async log handling and fix test compatibility
- Add proper context management to logger goroutines
- Fix log level conversion in fake API PatchLogs method
- Improve goroutine lifecycle with cancellation support
- Use ticker-based approach for more reliable log sending
- Continue on PatchLogs errors instead of exiting goroutine
Co-authored-by: kylecarbs <7122116+kylecarbs@users.noreply.github.com>1 parent ac97429 commit f6b43a0
2 files changed
+44
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
| 520 | + | |
520 | 521 | | |
521 | 522 | | |
522 | 523 | | |
| |||
563 | 564 | | |
564 | 565 | | |
565 | 566 | | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
566 | 570 | | |
567 | 571 | | |
568 | 572 | | |
| |||
571 | 575 | | |
572 | 576 | | |
573 | 577 | | |
| 578 | + | |
574 | 579 | | |
575 | 580 | | |
576 | 581 | | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
577 | 585 | | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | | - | |
589 | | - | |
| 586 | + | |
| 587 | + | |
590 | 588 | | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
591 | 603 | | |
592 | 604 | | |
593 | 605 | | |
| |||
603 | 615 | | |
604 | 616 | | |
605 | 617 | | |
| 618 | + | |
606 | 619 | | |
607 | 620 | | |
608 | 621 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
| 478 | + | |
478 | 479 | | |
479 | 480 | | |
480 | 481 | | |
481 | 482 | | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
482 | 500 | | |
483 | 501 | | |
484 | 502 | | |
485 | | - | |
| 503 | + | |
486 | 504 | | |
487 | 505 | | |
488 | 506 | | |
| |||
0 commit comments