Skip to content

Verify build cache artifact integrity - #133

Merged
yoshifuminakamura merged 1 commit into
developfrom
feature/cache-artifact-integrity
Aug 26, 2026
Merged

Verify build cache artifact integrity#133
yoshifuminakamura merged 1 commit into
developfrom
feature/cache-artifact-integrity

Conversation

@yoshifuminakamura

Copy link
Copy Markdown
Collaborator

Summary

  • record artifact tree SHA-256 in the build cache manifest
  • verify cached and restored artifacts plus source_info.env before accepting cache hits
  • rebuild and refresh cache when cached payload integrity checks fail

Tests

  • bash scripts/tests/test_build_cache.sh
  • bash scripts/tests/test_build_environment_snapshot.sh
  • bash -n scripts/build_with_cache.sh scripts/tests/test_build_cache.sh
  • shellcheck -S error scripts/build_with_cache.sh scripts/build_tool_wrappers/bk_build_tool_wrapper.sh scripts/collect_environment_snapshot.sh scripts/tests/test_build_cache.sh
  • /home/nakamura/fugakunext/venv/bin/python -m pytest result_server/tests/test_environment_snapshot_ci_scripts.py

Signed-off-by: yoshifuminakamura <nakamura@riken.jp>
@yoshifuminakamura
yoshifuminakamura merged commit b1ff127 into develop Aug 26, 2026
7 checks passed
@yoshifuminakamura
yoshifuminakamura deleted the feature/cache-artifact-integrity branch August 26, 2026 04:35
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