fix: shorten ContractEvent index names and fix ruff lint (unblocks #819)#820
Open
Abd-Standard wants to merge 2 commits into
Open
fix: shorten ContractEvent index names and fix ruff lint (unblocks #819)#820Abd-Standard wants to merge 2 commits into
Abd-Standard wants to merge 2 commits into
Conversation
- ingest_contractevent_contract_timestamp_desc_idx (49) → ingest_ce_cont_ts_desc_idx (26) - ingest_contractevent_timestamp_desc_idx (40) → ingest_ce_ts_desc_idx (21) - Fixes models.E034 Django system check that broke migrate in CI - Remove unused AsyncMock, call imports and result variable (ruff F401/F841)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
PR #819 introduced 3 CI failures:
Load Tests / Pact Tests —
Start API serverexited 1 becausemanage.py migrateaborted on Django system checkmodels.E034: index names exceeded the 30-character limit.ingest_contractevent_contract_timestamp_desc_idx= 49 chars ❌ingest_contractevent_timestamp_desc_idx= 40 chars ❌Django Backend CI —
ruff checkfailed (F401 unused importsAsyncMock,call; F841 unused variableresultintest_graphql_logging.py).Fix
models.pyand migration0046to ≤30 charstest_graphql_logging.pyCloses #819 CI failures.