Skip to content

Add CouchDB catalog data config#435

Merged
ShuxinLin merged 2 commits into
mainfrom
fix/couchdb-catalog-data
Jul 8, 2026
Merged

Add CouchDB catalog data config#435
ShuxinLin merged 2 commits into
mainfrom
fix/couchdb-catalog-data

Conversation

@ShuxinLin

Copy link
Copy Markdown
Collaborator

Description

Split out the CouchDB-only catalog/failure-mode data configuration changes so they can be reviewed and merged independently.

Changes

  • Add catalog and failure_mode CouchDB collection config.
  • Standardize the default manifest key to failure_code.
  • Add one-row synthetic shared catalog CSV samples.
  • Add a one-document synthetic FMEA sample for failure_mode.
  • Allowlist the new shared data files.
  • Add loader coverage for failure_code and failure_mode manifests.

Related PR

Testing

  • scripts/check_couchdb_data.sh
  • uv run pytest src/couchdb/tests/test_loader.py -v
  • uv run python -m json.tool src/couchdb/collections.json
  • uv run python -m json.tool src/couchdb/scenarios_data/shared/fmea/failure_modes_sample.json

Add CouchDB collection config and minimal shared samples for catalog, failure_code, and failure_mode manifest entries.

Signed-off-by: Shuxin Lin <linshuhsin@gmail.com>
@ShuxinLin ShuxinLin requested a review from DhavalRepo18 July 8, 2026 19:19
@ShuxinLin

Copy link
Copy Markdown
Collaborator Author

@DhavalRepo18 I isolate the changes on couchdb in this PR.

Signed-off-by: Shuxin Lin <linshuhsin@gmail.com>

@DhavalRepo18 DhavalRepo18 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I cross-checked the update.

@DhavalRepo18 DhavalRepo18 self-requested a review July 8, 2026 19:45
@ShuxinLin ShuxinLin merged commit 1231de7 into main Jul 8, 2026
6 checks passed
@ShuxinLin ShuxinLin deleted the fix/couchdb-catalog-data branch July 8, 2026 19:59
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