Skip to content

feat(nano): implement serialization module [part 1]#1276

Merged
glevco merged 1 commit into
masterfrom
feat/nano/serialization
Jun 2, 2025
Merged

feat(nano): implement serialization module [part 1]#1276
glevco merged 1 commit into
masterfrom
feat/nano/serialization

feat(nano): implement serialization module

a9183a2
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 2, 2025 in 0s

84.05% (target 82.00%)

View this Pull Request on Codecov

84.05% (target 82.00%)

Details

Codecov Report

Attention: Patch coverage is 81.10403% with 89 lines in your changes missing coverage. Please review.

Project coverage is 84.05%. Comparing base (5927188) to head (a9183a2).

Files with missing lines Patch % Lines
hathor/serialization/adapters/max_bytes.py 54.00% 23 Missing ⚠️
hathor/serialization/deserializer.py 68.42% 18 Missing ⚠️
hathor/serialization/adapters/generic_adapter.py 70.17% 17 Missing ⚠️
hathor/serialization/serializer.py 68.42% 12 Missing ⚠️
hathor/serialization/bytes_deserializer.py 82.22% 4 Missing and 4 partials ⚠️
hathor/serialization/encoding/output_value.py 87.50% 3 Missing and 1 partial ⚠️
hathor/serialization/compound_encoding/__init__.py 83.33% 2 Missing ⚠️
hathor/serialization/encoding/int.py 81.81% 2 Missing ⚠️
hathor/serialization/encoding/leb128.py 92.59% 1 Missing and 1 partial ⚠️
hathor/serialization/bytes_serializer.py 96.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1276      +/-   ##
==========================================
- Coverage   84.10%   84.05%   -0.05%     
==========================================
  Files         311      334      +23     
  Lines       23869    24340     +471     
  Branches     3525     3603      +78     
==========================================
+ Hits        20075    20459     +384     
- Misses       3074     3157      +83     
- Partials      720      724       +4     

☔ 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.