Skip to content

Add input metadata helper - #169

Merged
yoshifuminakamura merged 1 commit into
developfrom
feature/input-catalog-contract
Sep 7, 2026
Merged

yoshifuminakamura merged 1 commit into
developfrom
feature/input-catalog-contract

Conversation

@yoshifuminakamura

@yoshifuminakamura yoshifuminakamura commented Sep 7, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add bk_record_input_info so app scripts can pass input metadata to the common result packaging layer without depending on the internal handoff file path.
  • Update the add-app guide and Benchkit spec to describe input metadata in terms of dataset identity, version or revision, recipe, digest evidence, and verification status.
  • Teach the app contract warning check to recognize bk_record_input_info as an input provenance hook.

Validation

  • bash scripts/tests/test_bk_input_info.sh
  • .venv/bin/python -m pytest result_server/tests/test_app_contracts_script.py -q
  • .venv/bin/python result_server/tests/run_result_server_tests.py
  • python3 scripts/tests/check_text_integrity.py
  • python3 scripts/tests/check_commit_messages.py
  • bash -n scripts/bk_functions.sh scripts/tests/test_bk_input_info.sh scripts/tests/check_app_contracts.py
  • shellcheck -S error -f gcc scripts/bk_functions.sh scripts/tests/test_bk_input_info.sh
  • git diff --check

@yoshifuminakamura
yoshifuminakamura force-pushed the feature/input-catalog-contract branch from 497714c to fe60d09 Compare September 7, 2026 09:13
@yoshifuminakamura yoshifuminakamura changed the title Add optional input catalog diagnostics Add input metadata helper and catalog diagnostics Sep 7, 2026
Signed-off-by: yoshifuminakamura <nakamura@riken.jp>
@yoshifuminakamura
yoshifuminakamura force-pushed the feature/input-catalog-contract branch from fe60d09 to 16beea7 Compare September 7, 2026 09:46
@yoshifuminakamura yoshifuminakamura changed the title Add input metadata helper and catalog diagnostics Add input metadata helper Sep 7, 2026
@yoshifuminakamura
yoshifuminakamura merged commit cb0784b into develop Sep 7, 2026
7 checks passed
@yoshifuminakamura
yoshifuminakamura deleted the feature/input-catalog-contract branch September 7, 2026 12:26
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