Fix: Migrate 40 projects to new schema (project_status + ecosystem + usecases) #2009
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.
Summary
Fixes three schema validation issues affecting 40 legacy projects that were causing test failures in multiple PRs.
Issues Fixed
1. Missing Required project_status Fields
The schema now requires three boolean fields in
project_status:live_status- indicates if project is actively deployedtestnet- testnet availabilitymainnet- mainnet availability2. Ecosystem Capitalization Mismatch
Schema requires lowercase ecosystem values.
Before:
ecosystem: ["Ethereum", "Monero"]After:
ecosystem: ["ethereum", "monero"]3. Usecases Capitalization Mismatch
Schema requires lowercase usecase values.
Before:
usecases: ["Privacy", "Wallet"]After:
usecases: ["privacy", "wallet"]Changes Made
✅ Added missing
project_statusfields to 40 projects✅ Normalized
ecosystemvalues to lowercase✅ Normalized
usecasesvalues to lowercase✅ Included migration script for documentation
Migration Logic
Testing
All 40 projects successfully migrated:
fileverse, mysterium-network, elusiv, zkvote, starkex, hopr, deeper-network, firo, oasis-network, zcash, privatepool, tornado-cash, iden3, circom, zksync, darkfi, sentinel, snarkjs, findora, cake-wallet, typhoon-network, iron-fish, concordium, zk-money, suterusu, oxen, orchid, rotki, mobilecoin, sienna-network, monero, zano, zeal, xx-network, mask-network, fluidkey, webb-protocol, wasabi-wallet, semaphore, incognito
Resolves