Meta: tech debt
droserasprout opened this issue · 0 comments
droserasprout commented
This list tracks stuff to fix during the post-7.0 feature freeze.
Hint: run pdm fixme
to grep code for related comments.
CLI
- Don't spam GH with version checks, store in xdg/db
- Import everything .py from the project on startup (run only)
Datasources
- Revise HttpConfig defaults (reasonable retry time, rate limits)
- Reduce copypaste in code related to WebSocket connection
- #875
- EVM: Messy web3 integration. Check the new WS provider.
- EVM: Realtime datasource lifecycle. More robust switching between states.
Database
-
immune_tables
on SQLite requireunsafe_sqlite
flag. Something with PRAGMAs I guess.
Tests
- Helpers to test a single handler/hook
- Minimize test_demos traffic
- Add test for demo_evm_events
- Realtime part not covered at all
Docs
- #782
- Ensure that essential public interfaces are covered with docstrings
- Some DipDupError help messages are outdated
- SQL queries, parametrization
- #798
- #807
CI
Code quality
- Undocumented constants (mostly sleeps)
- #808
- Type ignores and noqa's
Monitoring
- #712
- Make warnings more available. Separate log, section in report?