osf.io icon indicating copy to clipboard operation
osf.io copied to clipboard

add CedarMetadataRecord.clean

Open aaxelb opened this issue 1 year ago • 1 comments

Purpose

avoid headaches trying to make sense of silent errors after they've happened

Changes

add CedarMetadataRecord.clean to validate the record json using the template's jsonschema

QA Notes

Please make verification statements inspired by your code and what your code touches.

  • Verify
  • Verify

What are the areas of risk?

Any concerns/considerations/questions that development raised?

Documentation

Side Effects

Ticket

aaxelb avatar Feb 01 '24 16:02 aaxelb

Just kicked off a re-run of api3_and_osf, the one test failed randomly on one of my PR as well.

cslzchen avatar Feb 02 '24 04:02 cslzchen