Skip to content

Conversation

@nellh
Copy link
Contributor

@nellh nellh commented Nov 15, 2025

This switches to using presigned URLs for any files in OpenNeuro's S3 buckets. Anonymous requests are still used for any other S3 buckets. A client can now browse a private dataset with remote files that are not publicly accessible as long as the user has dataset read permissions on OpenNeuro.

Introduces a shared boto3 session which avoids reconfiguring boto3 frequently when signing large numbers of files.

@codecov
Copy link

codecov bot commented Nov 15, 2025

Codecov Report

❌ Patch coverage is 86.11111% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 42.96%. Comparing base (e31c950) to head (e382e51).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
services/datalad/datalad_service/common/annex.py 44.44% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3645      +/-   ##
==========================================
+ Coverage   42.92%   42.96%   +0.04%     
==========================================
  Files         635      636       +1     
  Lines       33849    33871      +22     
  Branches     1515     1515              
==========================================
+ Hits        14528    14552      +24     
+ Misses      19182    19180       -2     
  Partials      139      139              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nellh nellh merged commit c077b0e into master Nov 15, 2025
15 checks passed
@nellh nellh deleted the signed-urls-private-files branch November 15, 2025 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants