This repository was archived by the owner on Mar 4, 2026. It is now read-only.
Commit cbc86fa
authored
feat(observability): fix bugs found from product review + negative cases (#2158)
* feat(observability): fix bugs found from product review + negative cases
This change adds recording of retry span annotations,
catching cases in which exceptions where thrown but spans
were not ended while testing out and visually confirming the results.
* Address merge from main
* Ensure Database.getSnapshot correct span ending + tests
* Proper placement of Transaction span.end()
* Adjust tests to ensure transaction.end() where necessary
* Address some review feedback
* Handle moving 2nd getSnapshot() retry to itself
* Remove dataStream.once span nesting
* End spans even on dataStream retry
* De-flake EndToEnd Database.runStream test with by ignoring grpc.CANCELLED
* test: remove async vestige
* Attempt to isolate and de-flake
* More test failure debugs
* hotfix to allow tests to run without blocking testers
* Address feedback from code review
* EndToEnd test setup reduced to avoid flakes
* Revert Database.runTransaction runner ordering
* Uncommitted change for Database.getSnapshot: end span before sending back response1 parent 52fd5a9 commit cbc86fa
9 files changed
Lines changed: 1226 additions & 174 deletions
File tree
- observability-test
- src
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
605 | 605 | | |
606 | 606 | | |
607 | 607 | | |
608 | | - | |
| 608 | + | |
609 | 609 | | |
610 | 610 | | |
611 | 611 | | |
| |||
616 | 616 | | |
617 | 617 | | |
618 | 618 | | |
| 619 | + | |
| 620 | + | |
619 | 621 | | |
620 | | - | |
621 | 622 | | |
622 | 623 | | |
623 | 624 | | |
| |||
640 | 641 | | |
641 | 642 | | |
642 | 643 | | |
643 | | - | |
| 644 | + | |
644 | 645 | | |
645 | 646 | | |
646 | 647 | | |
| |||
653 | 654 | | |
654 | 655 | | |
655 | 656 | | |
656 | | - | |
| 657 | + | |
657 | 658 | | |
658 | 659 | | |
659 | 660 | | |
| |||
774 | 775 | | |
775 | 776 | | |
776 | 777 | | |
| 778 | + | |
777 | 779 | | |
778 | 780 | | |
779 | 781 | | |
| |||
782 | 784 | | |
783 | 785 | | |
784 | 786 | | |
785 | | - | |
| 787 | + | |
786 | 788 | | |
787 | 789 | | |
788 | 790 | | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
789 | 795 | | |
790 | 796 | | |
791 | 797 | | |
| |||
839 | 845 | | |
840 | 846 | | |
841 | 847 | | |
842 | | - | |
843 | 848 | | |
| 849 | + | |
844 | 850 | | |
845 | 851 | | |
846 | 852 | | |
| |||
926 | 932 | | |
927 | 933 | | |
928 | 934 | | |
929 | | - | |
| 935 | + | |
930 | 936 | | |
931 | 937 | | |
| 938 | + | |
| 939 | + | |
932 | 940 | | |
933 | 941 | | |
934 | 942 | | |
| |||
978 | 986 | | |
979 | 987 | | |
980 | 988 | | |
| 989 | + | |
981 | 990 | | |
982 | 991 | | |
983 | 992 | | |
| |||
1869 | 1878 | | |
1870 | 1879 | | |
1871 | 1880 | | |
1872 | | - | |
| 1881 | + | |
1873 | 1882 | | |
1874 | 1883 | | |
1875 | 1884 | | |
1876 | 1885 | | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
1877 | 1889 | | |
1878 | 1890 | | |
1879 | 1891 | | |
| |||
1898 | 1910 | | |
1899 | 1911 | | |
1900 | 1912 | | |
1901 | | - | |
1902 | | - | |
| 1913 | + | |
| 1914 | + | |
1903 | 1915 | | |
1904 | | - | |
| 1916 | + | |
1905 | 1917 | | |
1906 | 1918 | | |
1907 | | - | |
| 1919 | + | |
1908 | 1920 | | |
1909 | | - | |
| 1921 | + | |
1910 | 1922 | | |
1911 | 1923 | | |
1912 | 1924 | | |
1913 | 1925 | | |
1914 | | - | |
1915 | | - | |
| 1926 | + | |
| 1927 | + | |
1916 | 1928 | | |
1917 | 1929 | | |
1918 | | - | |
| 1930 | + | |
1919 | 1931 | | |
1920 | | - | |
| 1932 | + | |
1921 | 1933 | | |
1922 | 1934 | | |
1923 | 1935 | | |
1924 | 1936 | | |
1925 | 1937 | | |
1926 | 1938 | | |
1927 | | - | |
1928 | 1939 | | |
1929 | 1940 | | |
| 1941 | + | |
1930 | 1942 | | |
1931 | 1943 | | |
1932 | 1944 | | |
| |||
0 commit comments