-
Notifications
You must be signed in to change notification settings - Fork 4
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
Clear Technical Debt #217
Clear Technical Debt #217
Conversation
Important Review skippedMore than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review. 73 files out of 178 files are above the max files limit of 75. Please upgrade to Pro plan to get higher limits. You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
* Ensure that snapshotting is fallable and prepare for persistable container * Formatting * Fix failing test by ensuring when we read 0 as bytes datastore returns None * Add docs * Add comments and expose repositories * Add Persistable to PlaintextAggregator * Remove deref * Add persistable to PublickeyAggregator * Add persistable to EventReader * Add persistable to KeyShare * Remove KeyshareState * Add persistable to Sortition * Hook up StoreKeys in anticipation for extraction later
This reverts commit a8f06a9.
* Extract all repositories to separate crates * Fix tests * Extract keyshare and aggregator features to crates * Fix test imports * Remove comments * Add helpful comments * Use HetrogenousMap * Extract features out of router * Tidy up * Add docs
* Flatten CLI * Flatten CLI * Refactor * Use datastore module * Extract main functions from password_delete
* Rename `enclave_node` -> `runtime` * Rename `runtime` -> `enclave_core` * Revert poor replace * Use workspace paths
* Fix dockerfile issues and set packages to inherit from workspace * Add toolchain file to ensure we dont redownload tools
* Extract events * Use a macro to add From traits * Expose TestEvent
* Remove tag * Update docs * Update comment * Use binaries instead of running through cargo * Extract logs to separate files * Update warnings
* Tidy up tests and logfiles * Split off prebuild from tests * Try running tests in parallel * Add typechain bindings * Dont run all tests in prebuild
Couple of things we have not done yet that we may have talked about:
|
Added #237 to this PR as a TODO item |
* Feature -> Extension * feature.rs -> ext.rs * Grammatical error * Update docs * Grammer
Ok this is ready for review @hmzakhalid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm!
This branch can host a series of technical debt PRs we are trying to get done over the holidays. The goal is to make the patterns within the codebase more understandable and easier to follow and the codebase easier to debug.
Merging to this branch using clean commits is quicker and preferable to waiting for approvals whilst many folks are on holidays
router
to make things simpler #215router
toe3_request
#222enclave
crate #216enclave_node
runtime
#225{ workspace = true }
#219id
(tag) logging in tests in favour of extraction of log files #201info
by default #200E3Feature
to something else that is more appropriate. #237Closes: #194
Closes: #215
Closes: #222
Closes: #216
Closes: #225
Closes: #220
Closes: #219
Closes: #221
Closes: #201
Closes: #200
Closes: #237