Skip to content

feat: report query session closure reasons - #873

Open
KirillKurdyukov wants to merge 1 commit into
mainfrom
YDBAPPTEAM-1649
Open

feat: report query session closure reasons#873
KirillKurdyukov wants to merge 1 commit into
mainfrom
YDBAPPTEAM-1649

feat: report query session closure reasons

75db727
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 24, 2026 in 1s

82.41% (+0.07%) compared to c1cdcba

View this Pull Request on Codecov

82.41% (+0.07%) compared to c1cdcba

Details

Codecov Report

❌ Patch coverage is 91.30435% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.41%. Comparing base (c1cdcba) to head (75db727).

Files with missing lines Patch % Lines
ydb/aio/query/session.py 41.66% 6 Missing and 1 partial ⚠️
ydb/query/session.py 97.95% 0 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #873      +/-   ##
==========================================
+ Coverage   82.33%   82.41%   +0.07%     
==========================================
  Files          99       99              
  Lines       12750    12810      +60     
  Branches     1242     1254      +12     
==========================================
+ Hits        10498    10557      +59     
+ Misses       1798     1797       -1     
- Partials      454      456       +2     
Files with missing lines Coverage Δ
ydb/aio/query/base.py 100.00% <100.00%> (+3.12%) ⬆️
ydb/aio/query/pool.py 94.66% <100.00%> (+0.03%) ⬆️
ydb/observability/metrics.py 97.56% <100.00%> (+0.03%) ⬆️
ydb/opentelemetry/metrics_plugin.py 95.55% <ø> (ø)
ydb/query/base.py 95.23% <100.00%> (+0.18%) ⬆️
ydb/query/pool.py 92.50% <100.00%> (+0.04%) ⬆️
ydb/query/session.py 92.51% <97.95%> (+0.67%) ⬆️
ydb/aio/query/session.py 83.90% <41.66%> (-4.85%) ⬇️

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.