Skip to content

feat: cache binaries for released versions accros workflow runs#342

Open
manjunathSurendrakumar wants to merge 3 commits intomainfrom
cache-piper-binaries
Open

feat: cache binaries for released versions accros workflow runs#342
manjunathSurendrakumar wants to merge 3 commits intomainfrom
cache-piper-binaries

Conversation

@manjunathSurendrakumar
Copy link
Copy Markdown
Member

@manjunathSurendrakumar manjunathSurendrakumar commented Feb 18, 2026

Code Changes:

src/download.ts:

✅ Added cacheFile and find imports
✅ Modified downloadPiperBinary() to check cache first
✅ Added caching after download
✅ Maintained backward compatibility

src/github.ts:

✅ Added cacheFile and find imports
✅ Modified buildPiperFromSource() to check cache first
✅ Added caching after build
✅ Removed TODO comments
✅ Added cleanup of temp directories

src/build.ts:

✅ Added cacheFile and find imports
✅ Modified buildPiperInnerSource() to check cache first
✅ Added caching after build
✅ Added cleanup of temp directories

Test Files Updated:
✅ test/github.test.ts
✅ Updated 4 existing tests to mock toolCache.find()

@manjunathSurendrakumar manjunathSurendrakumar changed the title feat: cache binaries for relased versions accros workflow runs feat: cache binaries for released versions accros workflow runs Feb 18, 2026
@github-actions github-actions bot added the enhancement New feature or request label Feb 18, 2026
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants