-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add pre-compute module #3
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
Conversation
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.
Pull Request Overview
This PR adds a new pre-compute module for the TEE worker system, enabling encrypted dataset processing and input file management in a trusted execution environment. The module provides functionality for downloading, decrypting, and validating datasets along with associated input files.
Key changes:
- Implements core pre-compute application logic with dataset encryption/decryption capabilities
- Adds comprehensive environment variable management for TEE session configuration
- Integrates worker API client for error reporting and status communication
Reviewed Changes
Copilot reviewed 16 out of 19 changed files in this pull request and generated 4 comments.
Show a summary per file
File | Description |
---|---|
pre-compute/Cargo.toml | Defines dependencies for crypto operations, HTTP requests, and testing frameworks |
pre-compute/src/lib.rs | Exposes the main API and compute modules |
pre-compute/src/compute/ | Core computation logic including dataset processing, file operations, and error handling |
pre-compute/src/api/worker_api.rs | HTTP client for communicating with worker API endpoints |
pre-compute/src/tests_resources/httpbin.json | Test fixture for HTTP endpoint validation |
Cargo.toml | Adds pre-compute to workspace members |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
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
No description provided.