Skip to content

feat: improve pipeline & core#483

Open
cofin wants to merge 8 commits into
mainfrom
feat/test-overhaul-again
Open

feat: improve pipeline & core#483
cofin wants to merge 8 commits into
mainfrom
feat/test-overhaul-again

Conversation

@cofin
Copy link
Copy Markdown
Member

@cofin cofin commented Jun 1, 2026

No description provided.

cofin added 8 commits June 1, 2026 00:18
- Updated `__all__` exports in various files for better clarity and consistency.
- Added missing logger initializations in several modules.
- Improved type hinting and organization in `data_dictionary.py`, `store.py`, and `pool.py`.
- Refactored `__init__.py` in the builder module to register version generators correctly.
- Enhanced test coverage with new tests for event channel nack capabilities and Flask extension utilities.
- Introduced new utility functions for handling datetime normalization in converters.
- Added regression tests for migration command signatures and observability sampling configurations.
- Improved fixture handling in tests to support async operations without `anyio`.
- Updated scripts for mypyc boundary mapping and inventory to handle tomllib imports more gracefully.
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jun 1, 2026

Codecov Report

❌ Patch coverage is 95.43860% with 26 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.29%. Comparing base (7272c50) to head (5c59f73).

Files with missing lines Patch % Lines
sqlspec/loader.py 82.85% 5 Missing and 1 partial ⚠️
sqlspec/core/statement.py 84.21% 1 Missing and 2 partials ⚠️
sqlspec/adapters/aiosqlite/type_converter.py 92.85% 1 Missing and 1 partial ⚠️
sqlspec/adapters/spanner/driver.py 81.81% 2 Missing ⚠️
sqlspec/builder/_ddl.py 93.10% 0 Missing and 2 partials ⚠️
sqlspec/core/pipeline.py 87.50% 2 Missing ⚠️
sqlspec/adapters/asyncpg/driver.py 96.66% 0 Missing and 1 partial ⚠️
sqlspec/adapters/psycopg/driver.py 87.50% 0 Missing and 1 partial ⚠️
sqlspec/core/cache.py 87.50% 0 Missing and 1 partial ⚠️
sqlspec/core/compiler.py 97.43% 1 Missing ⚠️
... and 5 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #483      +/-   ##
==========================================
- Coverage   71.22%   69.29%   -1.93%     
==========================================
  Files         438      439       +1     
  Lines       52866    53036     +170     
  Branches     7408     7450      +42     
==========================================
- Hits        37653    36751     -902     
- Misses      12579    13751    +1172     
+ Partials     2634     2534     -100     
Flag Coverage Δ
integration 53.52% <59.82%> (-3.36%) ⬇️
py3.10 58.89% <92.28%> (-9.40%) ⬇️
py3.11 68.88% <95.08%> (+0.56%) ⬆️
py3.12 58.91% <92.28%> (-9.41%) ⬇️
py3.13 58.90% <92.28%> (-9.41%) ⬇️
py3.14 58.25% <92.26%> (-12.14%) ⬇️
unit 59.14% <92.28%> (+1.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants