Skip to content

add store flag to cache settings struct#1586

Merged
jinhoonbang merged 4 commits intomainfrom
cache-settings-store-flag
Oct 7, 2025
Merged

add store flag to cache settings struct#1586
jinhoonbang merged 4 commits intomainfrom
cache-settings-store-flag

Conversation

@jinhoonbang
Copy link
Copy Markdown
Contributor

@jinhoonbang jinhoonbang commented Oct 6, 2025

  • deperecate ReadFromCache flag and introduce cache flag to mirror latest changes in chainlink-protos (code)
  • extend hashing to include workflow owner and cache settings

@jinhoonbang jinhoonbang requested a review from a team as a code owner October 6, 2025 17:54
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 6, 2025

👋 jinhoonbang, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 6, 2025

✅ API Diff Results - No breaking changes


📄 View full apidiff report | 📚 Learn about apidiff

@jinhoonbang jinhoonbang removed the request for review from chudilka1 October 6, 2025 18:09
@jinhoonbang jinhoonbang marked this pull request as draft October 6, 2025 18:09
@jinhoonbang jinhoonbang marked this pull request as ready for review October 6, 2025 18:22
@@ -15,8 +15,10 @@ const (

// CacheSettings defines cache control options for outbound HTTP requests.
type CacheSettings struct {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm curious, why do we have this struct when there's already one generated from the proto?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this one is used for communication between workflow node and gateway node in case it diverges from proto. turned out to be useful because we made a breaking change in proto but not in this struct by deprecating but not deleting ReadFromCache field

@jinhoonbang jinhoonbang enabled auto-merge (squash) October 7, 2025 19:22
@jinhoonbang jinhoonbang merged commit 4c360bd into main Oct 7, 2025
19 of 20 checks passed
@jinhoonbang jinhoonbang deleted the cache-settings-store-flag branch October 7, 2025 19:27
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