dipdup icon indicating copy to clipboard operation
dipdup copied to clipboard

Meta: tech debt

Open droserasprout opened this issue 1 year ago • 0 comments

This list tracks stuff to fix during the post-7.0 feature freeze.

Hint: run pdm fixme to grep code for related comments.

CLI

  • [x] #1095
  • [x] 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
  • [x] #875
  • [ ] EVM: Messy web3 integration. Check the new WS provider.
  • [ ] EVM: Realtime datasource lifecycle. More robust switching between states.

Database

  • [ ] immune_tables on SQLite require unsafe_sqlite flag. Something with PRAGMAs I guess.

Tests

  • [ ] Helpers to test a single handler/hook
  • [ ] Minimize test_demos traffic
  • [x] Add test for demo_evm_events
  • [ ] Realtime part not covered at all

Docs

  • [x] #782
  • [x] Ensure that essential public interfaces are covered with docstrings
  • [ ] Some DipDupError help messages are outdated
  • [ ] SQL queries, parametrization
  • [x] #798
  • [x] #807

CI

  • [ ] #748

Code quality

  • [x] Undocumented constants (mostly sleeps)
  • [ ] #808
  • [x] Type ignores and noqa's

Monitoring

  • [x] #712
  • [ ] Make warnings more available. Separate log, section in report?

droserasprout avatar Sep 05 '23 16:09 droserasprout