Skip to content

Conversation

@jackieli-tes
Copy link
Contributor

@jackieli-tes jackieli-tes commented May 20, 2025

add lookup-only for faster cache verification

the output cache-hit can then be used to bypass cache preparation or prepare it due to key mismatch or cache is not accessible at s3 location.

@jackieli-tes jackieli-tes changed the title Sw 26574 add lookup only May 20, 2025
setCacheHitOutput(cacheHit);
setCacheSizeOutput(obj.size);
if (lookupOnly) {
if (cacheHit && obj.size > 0) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eblfo I think if lookupOnly is set, it'll never download the cache. Hope this is ok with you

@jackieli-tes jackieli-tes merged commit f3eb2c0 into main May 20, 2025
21 of 22 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.

3 participants