-
Notifications
You must be signed in to change notification settings - Fork 28
fix: Reorganize Unit Tests Following Clean Architecture #1329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mpaya5
wants to merge
142
commits into
main
Choose a base branch
from
dxp-683-separate-re-group-unit-tests
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
142 commits
Select commit
Hold shift + click to select a range
6ee8224
uvicorn asgi
jmlago e1af102
fastapi migration workiing with uvicorn
jmlago 7fbca4f
fastapi endpoints working
jmlago 0e3c61c
add validators working
jmlago eb8e9ca
update and delete vals fixed
jmlago cab942f
consensus background tasks working
jmlago eb388ee
some fixes
jmlago 27a8120
non dead workers and RPC logs showing on frontend
jmlago d7cf210
gen_call working
jmlago ba31a27
fix: db sharing session management across endpoints
cristiam86 f492f97
chore: improved logging
cristiam86 27935cf
Merge remote-tracking branch 'origin/main' into gunicorn
cristiam86 35715a9
chore: removed unused code
cristiam86 8a0e6f9
chore: early return for health ping method and improved db session maβ¦
cristiam86 09f4d43
chore: removed unused workflow
cristiam86 b568f18
Merge remote-tracking branch 'origin/main' into gunicorn
cristiam86 6a62c03
feat(genvm): update to v0.2
kp2pml30 9236b62
fix: json rpc response no compliant
cristiam86 c1d248d
fix: disabled raising error when consensus_service forward transactioβ¦
cristiam86 1220c4b
fix: remove contract state from transaction data
cristiam86 4bedf3c
chore: add logs to RPC execution
cristiam86 e1263b1
wip: fixing validators registry
cristiam86 3f91499
wip: fixing validators registry
cristiam86 4f10fc3
fix: singleton websocket
kstroobants 965d9da
fix: disable some logs with env var DISABLE_INFO_LOGS_ENDPOINTS
kstroobants 5aaf83d
fix: success logs are green
kstroobants 2a50687
fix: duplicated finality window log for new browser
kstroobants 486cf90
fix: bug in process round data returns error when appealing
kstroobants 2545d4a
fix: application now shuts down gracefully without errors
kstroobants 52122ab
fix: standarized JSONRPC Errors
cristiam86 99f7e38
fix: simplify llm and web modules execution
cristiam86 7d35fa3
chore: removed tx execution semaphore
cristiam86 bbc3d93
chore: disable hardhat and allow RPC batch calls
cristiam86 d999c1f
chore: optionally disable hardhat by removing the env
cristiam86 0d55c30
fix: avoid nullifying the web3 client
cristiam86 73bbbba
wip: adjusting genvm timeouts
cristiam86 822b322
wip: revert genvm changes
cristiam86 b09a728
chore: setup cpus and memory limit for jsonrpc container
cristiam86 33baa39
chore: setup env vars for cpu and mem limit
cristiam86 c9e373b
fix: set main mem and cpu env vars same as deploy section
cristiam86 12de6a8
fix: improved genvm unzip based on system architecture
cristiam86 2049530
fix: add debugging to find hosted studio issue websocket
kstroobants 0289260
Merge remote-tracking branch 'origin/feat/update-genvm-to-v0.2' into β¦
cristiam86 9b0ffb4
fix: simplify debugging
kstroobants d3f5c25
Merge branch 'gunicorn' of github.com:yeagerai/genlayer-studio into gβ¦
cristiam86 be2c2b2
fix: solve print error
kstroobants ef4ff66
Merge branch 'gunicorn' of github.com:yeagerai/genlayer-studio into gβ¦
cristiam86 bf1c93d
Revert "feat(genvm): update to v0.2"
cristiam86 cb56de3
fix: jsonrpc docker stuck in downloading runners
cristiam86 d6274fc
chore: reverted separated genvm runners download
cristiam86 f377c88
Merge remote-tracking branch 'origin/main' into gunicorn
cristiam86 66a27a4
fix: endpoint registry and dockerfile typo
cristiam86 c7955b1
fix: add ws and health to traefik routing
kstroobants 12ed34f
fix: remove true from backend docker file
kstroobants aa2333b
fix: remove debugging message to find websocket issue
kstroobants 8955af6
fix: revert changes related to adding prints for websocket issue
kstroobants 07acfa7
docs: added architecture refactor plan
cristiam86 71687d0
Merge branch 'gunicorn' of github.com:yeagerai/genlayer-studio into gβ¦
cristiam86 e133b48
docs: relocate report
cristiam86 e4ef649
refactor: generate tx hash similar to consensus
cristiam86 cf74c54
refactor: restructured fastapi interface and dependencies management
cristiam86 0a787c5
test: added type to gen_call
cristiam86 6fff643
fix: get_block_by_hash params
cristiam86 6637b94
fix: improved tx decoding parsing
cristiam86 7628db6
fix: improved logging error data
cristiam86 4fc803f
fix: deleted tests
mpaya5 8f09cce
fix: fix test_rpc_endpoint_manager.py
mpaya5 ac4326d
fix: fix storage
mpaya5 70737b1
feat: finished tests
mpaya5 27dac6e
Potential fix for code scanning alert no. 137: Use of externally-contβ¦
mpaya5 e8a24c5
Potential fix for code scanning alert no. 136: Information exposure tβ¦
mpaya5 c12194e
feat: pre-commit run
mpaya5 fe07c77
fix: sample env format
cristiam86 19f6a94
fix: removed set env variables already in config
cristiam86 46b82c3
Update frontend/test/unit/hooks/useWebSocketClient.test.ts
mpaya5 dc42071
fix: reorganice unit tests
mpaya5 24fe280
fix: added units to default mem values
cristiam86 481111f
fix: minor fixes on types and checks
cristiam86 8ce7bea
tests: fixes and improvements
cristiam86 45836ae
fix: removed channel and improved types and checks
cristiam86 900a10e
fix: small checks and fixes for types and tests
cristiam86 533d189
fix: concurrent verify_for_read() can double-restart and kill a freshβ¦
cristiam86 dc4cec1
fix: check RPC request ID in the response object
cristiam86 e12da06
fix: added test assert
cristiam86 2e39933
fix: deadlock using LLM module
cristiam86 b872e73
Apply suggestion from @coderabbitai[bot]
mpaya5 3312115
Apply suggestion from @coderabbitai[bot]
mpaya5 02134c3
Apply suggestion from @coderabbitai[bot]
mpaya5 fa140dd
feat: deletted commentted comments
mpaya5 2986f32
Revert "Apply suggestion from @coderabbitai[bot]"
mpaya5 e4f7e84
fix: format
cristiam86 997dade
fix: precommit
cristiam86 15f47b9
fix: types for execute API request
cristiam86 4fb5c96
fix: logging standarization
cristiam86 79cdf1f
Merge branch 'gunicorn' of github.com:yeagerai/genlayer-studio into gβ¦
cristiam86 47a5c43
fix: avoid silently ignoring falsy data values
cristiam86 f39d8c1
Merge remote-tracking branch 'origin/dxp-682-fix-current-tests' into β¦
cristiam86 5dcd493
Merge branch 'gunicorn' of github.com:yeagerai/genlayer-studio into gβ¦
cristiam86 01aadd9
fix: unit tests errors and warnings
cristiam86 fad236d
Merge branch 'gunicorn' into dxp-683-separate-re-group-unit-tests
mpaya5 3ebb088
fix: Consensus test helper async execution improvements (#1328)
mpaya5 31733a7
fix: websockets tests
cristiam86 99d1d8d
Merge branch 'gunicorn' of github.com:yeagerai/genlayer-studio into gβ¦
cristiam86 f384d3a
Merge branch 'gunicorn' into dxp-683-separate-re-group-unit-tests
mpaya5 2b7600e
fix: fix tests
mpaya5 01a0658
fix: pre-commit run
mpaya5 0a7c2d9
fix: tests and removed unnecessary print
cristiam86 71f6790
fix: removed state from test receipt schema
cristiam86 20d6da1
merge: merged gunicorn
mpaya5 d45800c
merge: merged main
mpaya5 f1b71c0
Merge branch 'main' into dxp-683-separate-re-group-unit-tests
kstroobants a181f2e
fix: use same names for bake and don't build frontend for ci test
kstroobants 6bacf42
fix: ci test job uses one worker because multiple workers do not see β¦
kstroobants b0d6157
fix: use validators_manager.registry to trigger do_write interceptor β¦
kstroobants c6bce36
fix: session caching issue, fix unit tests
kstroobants eeb93f5
fix: unit tests
kstroobants a547987
fix: only run 1 failed test_company_naming
kstroobants b6b0c31
fix: json dump to string
kstroobants 7cc8c6e
fix: revert json dump; add consumed_gen in mock response
kstroobants d0ceb9a
fix: enable all integration tests; rabbitai remark
kstroobants d17c6c4
fix: only run failed test_multi_tenant_storage
kstroobants b4da41a
fix: change workflow
kstroobants 1cd3709
fix: add compose env vars in integration test
kstroobants 3078f42
fix: run all integration tests
kstroobants fa3212f
fix: change interval unit test
kstroobants f6a2e49
Merge branch 'main' into dxp-699-fix-broken-ci-test
kstroobants aff26ad
Merge branch 'dxp-699-fix-broken-ci-test' into dxp-683-separate-re-grβ¦
kstroobants 93f5fa9
fix: solve ci tests fails
kstroobants 88c9ec3
fix: solve ci test
kstroobants a3337f4
Merge branch 'main' into dxp-699-fix-broken-ci-test
kstroobants 35aaf0a
fix: production docker file was removed
kstroobants 7abcd50
fix: pre-commit
kstroobants b4bb067
fix: only run first failed integration test
kstroobants 16fb2d3
fix: add consensus-worker to test and error handling
kstroobants 8b06388
fix: add consensus_worker
kstroobants bb631bf
fix: add imagename to consensus-worker for cache
kstroobants ecd788a
fix: try only one integration test
kstroobants c833d52
fix: add pub sub for validator change to redis
kstroobants 746638e
fix: redis in app_lifespan.py
kstroobants 5e5eeac
fix: add optional
kstroobants 0a56ce6
fix: enable all integration tests
kstroobants a85d569
Merge branch 'dxp-699-fix-broken-ci-test' into dxp-683-separate-re-grβ¦
kstroobants File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.