{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":485992601,"defaultBranch":"main","name":"pytest-opentelemetry","ownerLogin":"chrisguidry","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2022-04-27T00:33:34.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/8194?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1696126078.0","currentOid":""},"activityList":{"items":[{"before":"12766e9e6b17907df4aab558ee3110392282fe39","after":null,"ref":"refs/heads/refined-fixture-handling","pushedAt":"2023-10-01T01:58:49.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"chrisguidry","name":"Chris Guidry","path":"/chrisguidry","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8194?s=80&v=4"}},{"before":"3a5f5e2e85e06c240bf2de43020a4959e368ba47","after":"0cb5a62c9a85d2a1c8d337b3c1ecab267926e10a","ref":"refs/heads/main","pushedAt":"2023-10-01T01:58:49.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"chrisguidry","name":"Chris Guidry","path":"/chrisguidry","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8194?s=80&v=4"},"commit":{"message":"Refined fixture handling (#29)\n\n* Use nodeid instead of name for the span name.\n\nFixes #27\n\n* Capture test function calls distinct from setup and teardown, and individual fixture teardowns.\n\nAll fixtures setups and teardowns are included under a test function.\nFor fixtures scoped higher than a function, their setup is under the\nfirst function that requested them, and teardown under the last function\nthat did so.\n\nFixes #28","shortMessageHtmlLink":"Refined fixture handling (#29)"}},{"before":null,"after":"12766e9e6b17907df4aab558ee3110392282fe39","ref":"refs/heads/refined-fixture-handling","pushedAt":"2023-09-30T10:06:27.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"drcraig","name":"Dan Craig","path":"/drcraig","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/93644?s=80&v=4"},"commit":{"message":"Capture test function calls distinct from setup and teardown, and individual fixture teardowns.\n\nAll fixtures setups and teardowns are included under a test function.\nFor fixtures scoped higher than a function, their setup is under the\nfirst function that requested them, and teardown under the last function\nthat did so.\n\nFixes #28","shortMessageHtmlLink":"Capture test function calls distinct from setup and teardown, and ind…"}},{"before":"b2af458f7f6f5bd4c7d45cd54369ee9001edd5e6","after":null,"ref":"refs/heads/test-phases","pushedAt":"2023-09-23T15:25:57.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"chrisguidry","name":"Chris Guidry","path":"/chrisguidry","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8194?s=80&v=4"}},{"before":"7f0246cfd6ee7b92aa0bf218c71651ea9d23a222","after":"3a5f5e2e85e06c240bf2de43020a4959e368ba47","ref":"refs/heads/main","pushedAt":"2023-09-23T15:25:56.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"chrisguidry","name":"Chris Guidry","path":"/chrisguidry","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8194?s=80&v=4"},"commit":{"message":"Adding spans for setup, teardown, and individual fixtures (#26)\n\n* Adding spans for setup, teardown, and individual fixtures\r\n\r\nIn test suites with complex setups, teardowns, and fixtures, it's common to see\r\nmost of the test runtime happening in those stages rather than in the individual\r\ntests themselves.\r\n\r\nIn this change, session- and module-scoped fixtures are attributed to the\r\noverall test session, while function-scoped fixtures are attributed to the\r\nsetup for an individual test. This will help with artificial skew from tests\r\nthat happen to be the first ones that request a higher-scoped fixture.\r\n\r\nI'd welcome feedback on the layout of the spans after some folks have had time\r\nto try it out. `pytest` doesn't have a clearly defined session or module\r\n`setup` stage where these fixtures are run, because they are invoked lazily\r\nthe first time a test requests them. This is ideal for performance, but these\r\nspans will end up kind of \"hanging in mid-air\" between other test suites.\r\nDepending on the visualization tool (OpenObserve, Jaeger, etc), you may see\r\nthose higher-scoped fixture spans showing up in different spots.\r\n\r\nThanks to @drcraig for the idea and @sihil for the cheers!\r\n\r\nCloses #25\r\n\r\n* Adding Python 3.11 as a test target.","shortMessageHtmlLink":"Adding spans for setup, teardown, and individual fixtures (#26)"}},{"before":"05d2dfc5aa0fb2deaa6f7b95144dc88ec44d40d3","after":"b2af458f7f6f5bd4c7d45cd54369ee9001edd5e6","ref":"refs/heads/test-phases","pushedAt":"2023-09-23T15:22:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"chrisguidry","name":"Chris Guidry","path":"/chrisguidry","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8194?s=80&v=4"},"commit":{"message":"Adding Python 3.11 as a test target.","shortMessageHtmlLink":"Adding Python 3.11 as a test target."}},{"before":null,"after":"05d2dfc5aa0fb2deaa6f7b95144dc88ec44d40d3","ref":"refs/heads/test-phases","pushedAt":"2023-09-23T15:20:05.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"chrisguidry","name":"Chris Guidry","path":"/chrisguidry","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8194?s=80&v=4"},"commit":{"message":"Adding spans for setup, teardown, and individual fixtures\n\nIn test suites with complex setups, teardowns, and fixtures, it's common to see\nmost of the test runtime happening in those stages rather than in the individual\ntests themselves.\n\nIn this change, session- and module-scoped fixtures are attributed to the\noverall test session, while function-scoped fixtures are attributed to the\nsetup for an individual test. This will help with artificial skew from tests\nthat happen to be the first ones that request a higher-scoped fixture.\n\nI'd welcome feedback on the layout of the spans after some folks have had time\nto try it out. `pytest` doesn't have a clearly defined session or module\n`setup` stage where these fixtures are run, because they are invoked lazily\nthe first time a test requests them. This is ideal for performance, but these\nspans will end up kind of \"hanging in mid-air\" between other test suites.\nDepending on the visualization tool (OpenObserve, Jaeger, etc), you may see\nthose higher-scoped fixture spans showing up in different spots.\n\nThanks to @drcraig for the idea and @sihil for the cheers!\n\nCloses #25","shortMessageHtmlLink":"Adding spans for setup, teardown, and individual fixtures"}},{"before":"08b58c177d4a66bf1775e5688f9a8ce180521a59","after":"7f0246cfd6ee7b92aa0bf218c71651ea9d23a222","ref":"refs/heads/main","pushedAt":"2023-03-15T00:29:23.979Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"chrisguidry","name":"Chris Guidry","path":"/chrisguidry","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8194?s=80&v=4"},"commit":{"message":"Add force flush before exit (#24)\n\n* Add force flush\r\n\r\n* Remove xdist method from test cov\r\n\r\n* Updates following PR\r\n\r\n* Restore accidentally deleted doc line!","shortMessageHtmlLink":"Add force flush before exit (#24)"}},{"before":"0ba1d9e6d9acacf41f1f6d314ecfdfaea29e8f79","after":null,"ref":"refs/heads/bump-qa-tools","pushedAt":"2023-03-10T12:05:28.269Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"chrisguidry","name":"Chris Guidry","path":"/chrisguidry","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8194?s=80&v=4"}},{"before":"0a3c1793e0ac9733f8eb12fe9af529aa4b91f939","after":"08b58c177d4a66bf1775e5688f9a8ce180521a59","ref":"refs/heads/main","pushedAt":"2023-03-10T12:05:26.966Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"chrisguidry","name":"Chris Guidry","path":"/chrisguidry","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8194?s=80&v=4"},"commit":{"message":"Bumping all QA tools. (#23)","shortMessageHtmlLink":"Bumping all QA tools. (#23)"}},{"before":null,"after":"0ba1d9e6d9acacf41f1f6d314ecfdfaea29e8f79","ref":"refs/heads/bump-qa-tools","pushedAt":"2023-03-10T12:03:18.434Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"chrisguidry","name":"Chris Guidry","path":"/chrisguidry","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8194?s=80&v=4"},"commit":{"message":"Bumping all QA tools.","shortMessageHtmlLink":"Bumping all QA tools."}},{"before":"74c67f6d45b229aae205e524ca8d736a80cdc889","after":"0a3c1793e0ac9733f8eb12fe9af529aa4b91f939","ref":"refs/heads/main","pushedAt":"2023-03-10T11:57:09.726Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"chrisguidry","name":"Chris Guidry","path":"/chrisguidry","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8194?s=80&v=4"},"commit":{"message":"Handle BaseException in pytest_exception_interact (#22)\n\nWhen using pytest.raises() and the exception is not raised pytest will\r\nraise an exception of the Failed class, which inherits from\r\nBaseException, not Exception. This would cause an assertion error when\r\nrecoding the span, which causes pytest to crash","shortMessageHtmlLink":"Handle BaseException in pytest_exception_interact (#22)"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyMy0xMC0wMVQwMTo1ODo0OS4wMDAwMDBazwAAAAOMoAmH","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wMy0xMFQxMTo1NzowOS43MjY2NzlazwAAAAMAqsHU"}},"title":"Activity · chrisguidry/pytest-opentelemetry"}