Commit 03313f7
fix: redact credentialed URLs in diagnostics and drop the unconditional reinstall claim
Two CodeRabbit findings on the pinner sentence:
- Requirement strings reach warnings and repair issues - text users
paste into public bug reports - and a direct reference may embed
tokens; URL userinfo and query parameters are now redacted textually
in both the violation and pinner sentences.
- Home Assistant reinstalls a manifest requirement only when setup
finds it unsatisfied; the sentence now says exactly that instead of
claiming a reinstall on every setup.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QiuyTYBQ2opBVPp8xzMq3r1 parent df48beb commit 03313f7
2 files changed
Lines changed: 51 additions & 8 deletions
File tree
- custom_components/ha_mcp_tools
- tests/src/unit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
546 | 547 | | |
547 | 548 | | |
548 | 549 | | |
| 550 | + | |
549 | 551 | | |
550 | 552 | | |
551 | 553 | | |
552 | 554 | | |
553 | 555 | | |
554 | | - | |
| 556 | + | |
555 | 557 | | |
556 | 558 | | |
557 | 559 | | |
558 | | - | |
| 560 | + | |
559 | 561 | | |
560 | 562 | | |
561 | 563 | | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
562 | 579 | | |
563 | 580 | | |
564 | 581 | | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
569 | 586 | | |
570 | 587 | | |
571 | 588 | | |
572 | | - | |
573 | | - | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
574 | 592 | | |
575 | 593 | | |
576 | 594 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
659 | 684 | | |
660 | 685 | | |
661 | 686 | | |
| |||
0 commit comments