Closed cortadocodes closed 2 years ago
Merging #30 (cd8efc8) into main (edf6292) will decrease coverage by
14.94%
. The diff coverage is81.93%
.
@@ Coverage Diff @@
## main #30 +/- ##
===========================================
- Coverage 93.94% 78.99% -14.95%
===========================================
Files 12 13 +1
Lines 661 719 +58
===========================================
- Hits 621 568 -53
- Misses 40 151 +111
Impacted Files | Coverage Δ | |
---|---|---|
data_gateway/packet_reader.py | 45.77% <56.33%> (-46.31%) |
:arrow_down: |
data_gateway/cli.py | 87.83% <88.88%> (-3.20%) |
:arrow_down: |
data_gateway/routine.py | 93.87% <88.88%> (-6.13%) |
:arrow_down: |
data_gateway/data_gateway.py | 94.62% <94.62%> (ø) |
|
data_gateway/persistence.py | 94.53% <95.83%> (-0.82%) |
:arrow_down: |
data_gateway/__init__.py | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update eb1ee44...cd8efc8. Read the comment docs.
Summary
Convert
data-gateway
to run on multiple processes and make it more efficient to avoid serial port buffer overflows.Note: the test coverage has appeared to drop because the test runner isn't taking into account code run in other processes - this will increase back to current levels once the runner is configured to do this.
Contents (#30)
New features
Enhancements
multiprocessing
logger throughoutdata_gateway
packageFixes
force_persist
method toNoOperationContextManager
stop
command only schedule and run the commands up until and including thestop
commandRefactoring
DataGateway
classPacketReader.parse_payload
toparse_packets
session_subdirectory
toPacketReader
and remove it from thepersistence
moduleTesting
0
and1
values forRUN_DEPLOYMENT_TESTS
environment variableCredentialsEnvironmentVariableAsFile
test_data_gateway
subpackageDataGateway
tests to avoid colons in cloud paths on Windows