Commit 0114185
Update proto file definition of Read/WriteStateBytes RPCs (#37529)
* Update Read/WriteStateBytes RPCs to match hashicorp/terraform-plugin-go#531
* Run `make protobuf`
* Run `make generate`
* Update use of `proto.ReadStateBytes_ResponseChunk` in tests
* Fix how diagnostics are handled alongside EOF error, update ReadStateBytes test
* More fixes - test setup was incorrect
I think? I assume that a response would be returned full of zero-values when EOF is encountered.1 parent 7a693da commit 0114185
File tree
5 files changed
+97
-92
lines changed- docs/plugin-protocol
- internal
- plugin6
- mock_proto
- tfplugin6
5 files changed
+97
-92
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
| 394 | + | |
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
| |||
901 | 901 | | |
902 | 902 | | |
903 | 903 | | |
904 | | - | |
905 | 904 | | |
906 | 905 | | |
907 | 906 | | |
| |||
927 | 926 | | |
928 | 927 | | |
929 | 928 | | |
930 | | - | |
| 929 | + | |
931 | 930 | | |
932 | 931 | | |
933 | 932 | | |
| |||
937 | 936 | | |
938 | 937 | | |
939 | 938 | | |
| 939 | + | |
940 | 940 | | |
941 | | - | |
942 | 941 | | |
| 942 | + | |
| 943 | + | |
943 | 944 | | |
944 | 945 | | |
945 | 946 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1543 | 1543 | | |
1544 | 1544 | | |
1545 | 1545 | | |
| 1546 | + | |
1546 | 1547 | | |
1547 | 1548 | | |
1548 | 1549 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2594 | 2594 | | |
2595 | 2595 | | |
2596 | 2596 | | |
2597 | | - | |
| 2597 | + | |
2598 | 2598 | | |
2599 | 2599 | | |
2600 | 2600 | | |
2601 | | - | |
| 2601 | + | |
2602 | 2602 | | |
2603 | 2603 | | |
2604 | 2604 | | |
| |||
2609 | 2609 | | |
2610 | 2610 | | |
2611 | 2611 | | |
2612 | | - | |
| 2612 | + | |
2613 | 2613 | | |
2614 | 2614 | | |
2615 | 2615 | | |
| |||
2620 | 2620 | | |
2621 | 2621 | | |
2622 | 2622 | | |
2623 | | - | |
| 2623 | + | |
2624 | 2624 | | |
2625 | 2625 | | |
2626 | 2626 | | |
2627 | 2627 | | |
2628 | | - | |
| 2628 | + | |
2629 | 2629 | | |
2630 | 2630 | | |
2631 | 2631 | | |
| |||
2670 | 2670 | | |
2671 | 2671 | | |
2672 | 2672 | | |
2673 | | - | |
| 2673 | + | |
2674 | 2674 | | |
2675 | 2675 | | |
2676 | 2676 | | |
2677 | | - | |
| 2677 | + | |
2678 | 2678 | | |
2679 | 2679 | | |
2680 | 2680 | | |
| |||
2685 | 2685 | | |
2686 | 2686 | | |
2687 | 2687 | | |
2688 | | - | |
| 2688 | + | |
2689 | 2689 | | |
2690 | 2690 | | |
2691 | 2691 | | |
| |||
2696 | 2696 | | |
2697 | 2697 | | |
2698 | 2698 | | |
2699 | | - | |
| 2699 | + | |
2700 | 2700 | | |
2701 | 2701 | | |
2702 | 2702 | | |
2703 | 2703 | | |
2704 | | - | |
| 2704 | + | |
2705 | 2705 | | |
2706 | 2706 | | |
2707 | 2707 | | |
| |||
2777 | 2777 | | |
2778 | 2778 | | |
2779 | 2779 | | |
2780 | | - | |
| 2780 | + | |
2781 | 2781 | | |
2782 | 2782 | | |
2783 | 2783 | | |
| |||
2827 | 2827 | | |
2828 | 2828 | | |
2829 | 2829 | | |
2830 | | - | |
| 2830 | + | |
2831 | 2831 | | |
2832 | 2832 | | |
2833 | 2833 | | |
2834 | 2834 | | |
2835 | 2835 | | |
2836 | 2836 | | |
2837 | 2837 | | |
2838 | | - | |
| 2838 | + | |
2839 | 2839 | | |
2840 | 2840 | | |
2841 | 2841 | | |
| |||
2876 | 2876 | | |
2877 | 2877 | | |
2878 | 2878 | | |
2879 | | - | |
| 2879 | + | |
2880 | 2880 | | |
2881 | 2881 | | |
2882 | 2882 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments