-
Notifications
You must be signed in to change notification settings - Fork 9
[Integrate-1061] Enable upload / download for strategus results #1667
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
base: develop
Are you sure you want to change the base?
[Integrate-1061] Enable upload / download for strategus results #1667
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 pull request adds support for uploading, downloading, listing, and deleting Strategus results files through a new set of storage APIs. The implementation creates dedicated endpoints for managing Strategus results stored in a separate Supabase storage bucket.
Changes:
- Added four new API endpoints for Strategus results management (upload, download, list, delete) with corresponding authorization scopes
- Implemented direct storage methods that bypass path transformation logic used by existing storage operations
- Created a new controller in jobplugins to handle Strategus results operations with file validation (zip files up to 500MB)
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 16 comments.
Show a summary per file
| File | Description |
|---|---|
| functions/portal/src/supabase-storage/supabase.storage.controller.ts | Added four new endpoints for Strategus results operations (upload/download/list/delete) with query parameter validation |
| functions/portal/src/supabase-storage/supabase.storage.client.ts | Implemented direct storage methods (uploadDirect, downloadDirect, deleteDirect, listByPrefix) and added strategus-results bucket initialization |
| functions/package.json | Added authorization scope configurations for the new Strategus results endpoints |
| functions/jobplugins/src/controllers/StrategusResultsController.ts | Created new controller with file validation, size limits, and error handling for Strategus results |
| functions/jobplugins/src/api/PortalServerAPI.ts | Added four client methods to interface with the new Strategus results storage endpoints and removed unused import |
| functions/jobplugins/index.ts | Registered the new StrategusResultsController route in the application |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…rolled format string Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: hengxian-jiang <155619404+hengxian-jiang@users.noreply.github.com>
|
As discussed, please test the scenario when two set of results
The assumptions you can make are -
|
…esults_upload_download
…rolled format string Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: hengxian-jiang <155619404+hengxian-jiang@users.noreply.github.com>
Merge Checklist
Please cross check this list if additions / modifications needs to be done on top of your core changes and tick them off. Reviewer can as well glance through and help the developer if something is missed out.
developbranch)