Skip to content

Resolve tagged git refs for build cache - #135

Merged
yoshifuminakamura merged 1 commit into
developfrom
feature/build-cache-ref-resolution
Aug 27, 2026
Merged

Resolve tagged git refs for build cache#135
yoshifuminakamura merged 1 commit into
developfrom
feature/build-cache-ref-resolution

Conversation

@yoshifuminakamura

@yoshifuminakamura yoshifuminakamura commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • resolve cached git source refs through heads and tags during build cache restore
  • prefer peeled annotated-tag commits, refs/tags/^{}, so cache validation compares the actual built source commit
  • add a build cache regression test that stores and restores an annotated-tag build

Tests

  • bash scripts/tests/test_build_cache.sh
  • bash scripts/tests/test_bk_fetch_source.sh
  • shellcheck -S error scripts/build_with_cache.sh scripts/tests/test_build_cache.sh scripts/tests/test_bk_fetch_source.sh
  • bash -n scripts/build_with_cache.sh scripts/tests/test_build_cache.sh
  • git diff --check

Signed-off-by: yoshifuminakamura <nakamura@riken.jp>
@yoshifuminakamura
yoshifuminakamura merged commit c731672 into develop Aug 27, 2026
7 checks passed
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