Skip to content

Conversation

asmacdo
Copy link
Member

@asmacdo asmacdo commented May 28, 2025

This avoids creating dandisets with invalid metadata,
ie contributor name = ", "

This will require changes in dandi-archive to pass.

This avoids creating dandisets with invalid metadata,
     ie contributor name = ", "
Copy link

codecov bot commented May 28, 2025

Codecov Report

❌ Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 88.82%. Comparing base (5b813d4) to head (cb88079).
⚠️ Report is 102 commits behind head on master.

Files with missing lines Patch % Lines
dandi/dandiapi.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1646      +/-   ##
==========================================
- Coverage   88.84%   88.82%   -0.02%     
==========================================
  Files          82       82              
  Lines       11434    11440       +6     
==========================================
+ Hits        10158    10162       +4     
- Misses       1276     1278       +2     
Flag Coverage Δ
unittests 88.82% <50.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

v = self.get_version(self.version_id)
if v.status is VersionStatus.VALID and not v.asset_validation_errors:
return
# TODO(asmacdo) can we fail fast?
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be removed from this PR-- but without this each invalid dandiset waits for 2 minutes before failing.

@asmacdo
Copy link
Member Author

asmacdo commented May 28, 2025

Reopening from the upstream fork (requires pr functionality will need to be more complex to allow personal forks)
#1647

@asmacdo asmacdo closed this May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Add or improve existing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant