Commit 58e9f67
committed
fix: address twenty-first round of Copilot PR review feedback
- Fix _create_pack helper for command type: use commands/ subdir and
file path for template_type='command' instead of always templates/
- Cache registry and manifests in reconcile loop: compute
list_by_priority() once and reuse resolver._get_manifest() cache
to avoid O(commands*presets) YAML loads
- Use line-based frontmatter splitter: scan for --- on its own line
to avoid false matches on --- inside YAML values, consistent with
integrations/base.py approach
- Fix PS1 stderr capture: redirect to temp file instead of 2>&1 pipe
which could merge stderr into stdout and break stratResult parsing1 parent 06e153e commit 58e9f67
File tree
3 files changed
+39
-33
lines changed- scripts/powershell
- src/specify_cli
- tests
3 files changed
+39
-33
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
| 426 | + | |
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
| 445 | + | |
450 | 446 | | |
451 | 447 | | |
452 | 448 | | |
453 | 449 | | |
454 | 450 | | |
455 | 451 | | |
456 | | - | |
| 452 | + | |
457 | 453 | | |
458 | 454 | | |
| 455 | + | |
459 | 456 | | |
460 | 457 | | |
461 | 458 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
641 | 645 | | |
642 | 646 | | |
643 | 647 | | |
| |||
655 | 659 | | |
656 | 660 | | |
657 | 661 | | |
658 | | - | |
| 662 | + | |
659 | 663 | | |
660 | 664 | | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
| 665 | + | |
| 666 | + | |
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
| |||
694 | 694 | | |
695 | 695 | | |
696 | 696 | | |
697 | | - | |
| 697 | + | |
698 | 698 | | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
| 699 | + | |
| 700 | + | |
705 | 701 | | |
706 | 702 | | |
707 | 703 | | |
| |||
2445 | 2441 | | |
2446 | 2442 | | |
2447 | 2443 | | |
2448 | | - | |
2449 | | - | |
2450 | | - | |
| 2444 | + | |
| 2445 | + | |
2451 | 2446 | | |
2452 | | - | |
| 2447 | + | |
| 2448 | + | |
2453 | 2449 | | |
2454 | | - | |
2455 | | - | |
| 2450 | + | |
| 2451 | + | |
| 2452 | + | |
| 2453 | + | |
| 2454 | + | |
| 2455 | + | |
| 2456 | + | |
| 2457 | + | |
2456 | 2458 | | |
2457 | | - | |
2458 | | - | |
2459 | | - | |
2460 | | - | |
2461 | | - | |
| 2459 | + | |
| 2460 | + | |
| 2461 | + | |
2462 | 2462 | | |
2463 | 2463 | | |
2464 | 2464 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3746 | 3746 | | |
3747 | 3747 | | |
3748 | 3748 | | |
3749 | | - | |
3750 | 3749 | | |
| 3750 | + | |
| 3751 | + | |
| 3752 | + | |
| 3753 | + | |
| 3754 | + | |
| 3755 | + | |
3751 | 3756 | | |
3752 | 3757 | | |
3753 | 3758 | | |
| |||
3761 | 3766 | | |
3762 | 3767 | | |
3763 | 3768 | | |
| 3769 | + | |
| 3770 | + | |
| 3771 | + | |
| 3772 | + | |
3764 | 3773 | | |
3765 | 3774 | | |
3766 | 3775 | | |
| |||
0 commit comments