Skip to content

Pre release/v1.0.0#285

Open
ideal93 wants to merge 65 commits intomasterfrom
pre-release/v1.0.0
Open

Pre release/v1.0.0#285
ideal93 wants to merge 65 commits intomasterfrom
pre-release/v1.0.0

Conversation

@ideal93
Copy link
Collaborator

@ideal93 ideal93 commented Dec 12, 2024

  • Directory Restructuring
  • API CI Coverage
  • Documentation Reorganization
  • Helm chart

ideal93 and others added 3 commits December 10, 2024 19:30
* ci: add GitHub Actions CI to master branch (#280)

* fix collect error while list is empty

---------

Co-authored-by: li xiang <leeideal93@gmail.com>
@codecov
Copy link

codecov bot commented Dec 12, 2024

Codecov Report

Attention: Patch coverage is 56.37014% with 976 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
hemera_udf/aave_v2/export_aave_v2_job.py 11.5% 207 Missing ⚠️
hemera/indexer/utils/buffer_service.py 21.7% 191 Missing ⚠️
hemera/indexer/exporters/kafka_exporter.py 25.0% 87 Missing ⚠️
hemera/common/utils/db_utils.py 22.2% 77 Missing ⚠️
...mera/indexer/controller/scheduler/job_scheduler.py 56.6% 59 Missing ⚠️
...exer/jobs/export_contracts_from_transaction_job.py 34.1% 56 Missing ⚠️
hemera/indexer/utils/metrics_collector.py 29.1% 51 Missing ⚠️
hemera/indexer/utils/metrics_persistence.py 34.2% 48 Missing ⚠️
hemera_udf/aave_v2/aave_v2_processors.py 48.5% 36 Missing ⚠️
hemera/common/models/__init__.py 46.6% 24 Missing ⚠️
... and 28 more
Files with missing lines Coverage Δ
hemera/__init__.py 100.0% <100.0%> (ø)
hemera/api/app/address/__init__.py 100.0% <ø> (ø)
hemera/api/app/address/features.py 94.7% <ø> (ø)
hemera/api/app/address/models.py 100.0% <100.0%> (ø)
hemera/api/app/cache.py 60.0% <100.0%> (ø)
hemera/api/app/config.py 76.4% <ø> (ø)
hemera/api/app/contract/__init__.py 100.0% <ø> (ø)
hemera/api/app/contract/contract_verify.py 24.6% <100.0%> (ø)
hemera/api/app/db_service/af_token_deposit.py 27.7% <100.0%> (ø)
hemera/api/app/db_service/blocks.py 28.5% <100.0%> (ø)
... and 113 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

2024river and others added 26 commits December 12, 2024 18:39
Co-authored-by: ideal93 <leeideal93@gmail.com>
* add arbitrum

* make format
* add bsc config

* add bsc config
Co-authored-by: godshan.eth <shuo.shan@thehemera.com>
* util: generate job base code

* util: get project root and case convert

* new command line: init

* update template

* util: generate job base code

* util: get project root and case convert

* new command line: init

* update template

* add truncate table in db command line

* encapsulate command options

* update init_db command

* move logo printer

* bug fix

* use encapsulate command options

* encapsulate stream process

* backtest use different default value

* make format

* merge and deal conflict

* make format

* update makefile

* update makefile

* path change

* update job init template

* make format

* update custom template

* fix db command

* fix stream_process parameter list

* Compatibility changes with entity_type

* import clean

* detail rename
* add teahouse

* make format
* fix export bug

* make format
* origin buffer service

* buffer service for BaseJob._data_buff

* fix import

* model completion

* bug fix

* remove auto clear after export

* update test

* make format

* compatibility for unit test

* make format

* Increase security between global locks and row locks

* fix unit test

* fix error coverage when merging code

* config rename

* fix error coverage when merging code

* enable crash instantly

* fix dead lock

* fix dead lock

* fix type compare

* complete after buffer_service shutdown

* fix read env

* fix read env

* remove flush op when shutdown

* export threads have limited growth

* accurate sync_recorder in async mode
* Uniform management of environment variables

* Force type conversion when getting environment variables

* remove default value

* update backtest

* add shortcut for quickly running the indexer in asynchronous mode

* change default value

* update docker

* change default value

* rename package, commands -> options

* log warning while environment variable checking
support aave_v2 supply & borrow
* pg source support all jobs

* cover unexpected timestamp type

* Dealing with conflicts when running PGSourceJob and ExportBlocksJob at the same time

* bug fix

* add pg source accuracy control

* deal compatibility between PGSource and BufferService
ideal93 and others added 30 commits January 13, 2025 17:58
* Add kafka exporter
* add prometheus monitor

* update dependency

* make format

* MetricsCollector integrated into BufferService

* code clean & roll back

* add environment control

* metrics update

* fix auto clean

* make format

* update metrics

* add --job-name option

* update metrix

* change environment control

* bugfix

* change clean up strategy

* add lock for threading safe

* simpler metrics

* rename option, change --job-name to --instance-name

* update metrics

* persistence table

* add option --persistence-type

* clean import

* add feature, error counter metrics can persist by postgres and file

* reassemble metrics's options

* add initialization operations for metrics

* update metrics

* update option detail

* update poetry dependency

* add more shutdown collect point

* add prometheus-client port mapping

* clean test code

* deal poetry conflict

* deal poetry conflict
* add block_timestamp as pk and improve v2 total supply

* make format
* Try fix data.token_symbol

* delete token_symbol

* Fix
add retry on 429
* Try fix data.token_symbol

* delete token_symbol

* Fix

* add log

* add log

* update

* add log

* add DexBlockTokenPrice dependency

* delete log

* lint fix & depend resolved

---------

Co-authored-by: zhufeng <zhufeng@thehemera.com>
* stash uniswap v4

* update

* update

* format

* update

* update

* format

* update

* update
* four meme

* four meme config

* update

* dex token price

* fix

* format

* update

* add sql

* update

---------

Co-authored-by: river <river.zeng@thehemera.com>
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.

6 participants