Conversation
SummaryThis PR restructures cache key lookup priority to prioritize exact-match fallbacks over prefix-based restore keys. The key change: when The default value of What reviewers should knowCode changes to review:
Gotchas:
|
There was a problem hiding this comment.
Conclusion: Clean, minimal fix. The logic is correct in both the INPUT_RESTORE_KEYS-provided and not-provided paths, and the new line 84 handles the empty/non-empty RESTORE_KEYS transition correctly via ${RESTORE_KEYS:+${RESTORE_KEYS}$'\n'} — no leading newline when RESTORE_KEYS is empty, proper separator when it isn't.
716a5a1 to
40957f6
Compare
c050dab to
1fb4755
Compare
1fb4755 to
c0f07df
Compare
c0f07df to
a03bf74
Compare
a5fe6ff to
7889953
Compare
SonarQube reviewer guide
|
SonarQube reviewer guide
|




What Changed?
Prioritizes the cache keys in order of:
fallback-to-default-branch: 'true'fallback-to-default-branch: 'true'Also changes:
fallback-branchandfallback-to-default-branch: 'true'fallback-to-default-branchis'false'Test Plan
fallback-branchandfallback-to-default-branch: true