Skip to content

Index ingested result metadata in portal DB - #85

Merged
yoshifuminakamura merged 1 commit into
developfrom
feature/portal-result-metadata-index
Aug 6, 2026
Merged

Index ingested result metadata in portal DB#85
yoshifuminakamura merged 1 commit into
developfrom
feature/portal-result-metadata-index

Conversation

@yoshifuminakamura

Copy link
Copy Markdown
Collaborator

Summary

  • add a Portal SQLite metadata index for ingested benchmark result and estimate JSON records
  • populate the index after successful result/estimate ingest while keeping raw JSON files as the authoritative artifacts
  • add schema v3 migration and focused tests for metadata extraction, upsert behavior, and ingest hooks

Notes

  • existing result and estimated pages remain file-backed
  • index failures are audited but do not fail the ingest after the JSON file has been saved

Validation

  • /home/nakamura/fugakunext/venv/bin/python -m py_compile result_server/routes/api.py result_server/utils/execution_profiles.py result_server/utils/result_metadata_index.py
  • /home/nakamura/fugakunext/venv/bin/python -m pytest result_server/tests/test_execution_profiles.py result_server/tests/test_result_metadata_index.py result_server/tests/test_api_routes.py result_server/tests/test_app_dev_security.py result_server/tests/test_preflight.py
  • /home/nakamura/fugakunext/venv/bin/python result_server/tests/run_result_server_tests.py

Signed-off-by: yoshifuminakamura <nakamura@riken.jp>
@yoshifuminakamura
yoshifuminakamura merged commit 208feb8 into develop Aug 6, 2026
7 checks passed
@yoshifuminakamura
yoshifuminakamura deleted the feature/portal-result-metadata-index branch August 6, 2026 00:05
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.

1 participant