Merged
Conversation
Member
vmoshynskyi
commented
Nov 14, 2025
- Add audit logs.
There was a problem hiding this comment.
Pull Request Overview
This PR adds comprehensive audit logging to the upload service to track file upload operations and improves dependency management. The audit logs capture key events throughout the upload lifecycle including job preparation, chunk processing, and both successful completions and unexpected errors.
- Updated
pilot-platform-commondependency from version 0.3.0 to 0.8.2 to support the new audit logging functionality - Added audit logs at critical points in the upload workflow to track user actions
- Restricted Python version to 3.10.x to match dependency requirements
Reviewed Changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Bumped service version to 2.2.16, updated Python constraint to 3.10.x, and upgraded pilot-platform-common to 0.8.2 |
| poetry.lock | Updated dependency lock file reflecting pilot-platform-common upgrade and associated dependency changes (redis replaces aioredis, cryptography removed) |
| app/logger.py | Added Logger type import and annotation for enhanced audit logging support |
| app/routers/v1/api_data_upload.py | Added audit log calls at key points: job preparation start/success/error, chunk finalization submission, chunk preparation start/success/error |
| tests/conftest.py | Added app fixture parameter to mock_boto3 to ensure proper initialization order |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.