Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add jfpc cache staleness alert to config and pass it into jfpc cache #12595

Merged
merged 8 commits into from
Apr 10, 2024

Conversation

ilija42
Copy link
Contributor

@ilija42 ilija42 commented Mar 26, 2024

Add stalenessAlertThreshold to cfg and cosmetic improvements

@ilija42 ilija42 requested a review from a team as a code owner March 26, 2024 18:11
jmank88
jmank88 previously approved these changes Apr 1, 2024
ilija42 added 2 commits April 4, 2024 13:13
…stable-staleness-alert

# Conflicts:
#	core/services/ocr2/plugins/median/services.go
#	core/services/ocrcommon/data_source.go
#	core/services/ocrcommon/data_source_test.go
jmank88
jmank88 previously approved these changes Apr 4, 2024
…stable-staleness-alert

# Conflicts:
#	core/internal/features/ocr2/features_ocr2_test.go
@ilija42 ilija42 added this pull request to the merge queue Apr 10, 2024
Merged via the queue into develop with commit e6d4814 Apr 10, 2024
105 checks passed
@ilija42 ilija42 deleted the add-jfp-cache-adjustable-staleness-alert branch April 10, 2024 02:31
ilija42 added a commit that referenced this pull request Apr 22, 2024
…12595)

* Add jfpc cache staleness alert to config and pass it into jfpc cache

* Extract JuelsPerFeeCoinCache cfg into a separate struct, improve naming

* Changeset

* Update config validation test

* Reduce changeset to minor
github-merge-queue bot pushed a commit that referenced this pull request May 1, 2024
* Bump version and update CHANGELOG for core 2.11.0

Signed-off-by: Sneha Agnihotri <sneha.agnihotri@smartcontract.com>

* Add jfpc cache staleness alert to config and pass it into jfpc cache (#12595)

* Add jfpc cache staleness alert to config and pass it into jfpc cache

* Extract JuelsPerFeeCoinCache cfg into a separate struct, improve naming

* Changeset

* Update config validation test

* Reduce changeset to minor

* [BCF-3178] - Improve err handling and logs for in memory data source cache (#12907)

* Fix inMemoryDataSourceCache get() warn log formatting

* Fix in mem ds cache updateCache() to save runs even if some ds failed

* Improve in memory data source cache Observe() logs and error messages

* Add changeset

* Bumping solana validator (#12832)

* Bumping solana

* Bumping the checksum for solana validator

* Update release changelog with cherry pick commits from develop

Signed-off-by: Sneha Agnihotri <sneha.agnihotri@smartcontract.com>

* Cherry pick: enable jpfc cache by default (#12973)

* Draft

* Check JuelsPerFeeCoinCache before checking Disable param

* Add test

* Update NewInMemoryDataSourceCache

* Update NewInMemoryDataSourceCache

* Update release changelog with cherry pick commits from develop

Signed-off-by: Sneha Agnihotri <sneha.agnihotri@smartcontract.com>

* Remove duplicates

Signed-off-by: Sneha Agnihotri <sneha.agnihotri@smartcontract.com>

* Finalize date on changelog for 2.11.0

Signed-off-by: Sneha Agnihotri <sneha.agnihotri@smartcontract.com>

* Remove codecov (#13020)

(cherry picked from commit 2e99468)

---------

Signed-off-by: Sneha Agnihotri <sneha.agnihotri@smartcontract.com>
Co-authored-by: ilija42 <57732589+ilija42@users.noreply.github.com>
Co-authored-by: Damjan Smickovski <32773226+smickovskid@users.noreply.github.com>
Co-authored-by: george-dorin <120329946+george-dorin@users.noreply.github.com>
Co-authored-by: HenryNguyen5 <6404866+HenryNguyen5@users.noreply.github.com>
davidcauchi pushed a commit that referenced this pull request May 6, 2024
* Bump version and update CHANGELOG for core 2.11.0

Signed-off-by: Sneha Agnihotri <sneha.agnihotri@smartcontract.com>

* Add jfpc cache staleness alert to config and pass it into jfpc cache (#12595)

* Add jfpc cache staleness alert to config and pass it into jfpc cache

* Extract JuelsPerFeeCoinCache cfg into a separate struct, improve naming

* Changeset

* Update config validation test

* Reduce changeset to minor

* [BCF-3178] - Improve err handling and logs for in memory data source cache (#12907)

* Fix inMemoryDataSourceCache get() warn log formatting

* Fix in mem ds cache updateCache() to save runs even if some ds failed

* Improve in memory data source cache Observe() logs and error messages

* Add changeset

* Bumping solana validator (#12832)

* Bumping solana

* Bumping the checksum for solana validator

* Update release changelog with cherry pick commits from develop

Signed-off-by: Sneha Agnihotri <sneha.agnihotri@smartcontract.com>

* Cherry pick: enable jpfc cache by default (#12973)

* Draft

* Check JuelsPerFeeCoinCache before checking Disable param

* Add test

* Update NewInMemoryDataSourceCache

* Update NewInMemoryDataSourceCache

* Update release changelog with cherry pick commits from develop

Signed-off-by: Sneha Agnihotri <sneha.agnihotri@smartcontract.com>

* Remove duplicates

Signed-off-by: Sneha Agnihotri <sneha.agnihotri@smartcontract.com>

* Finalize date on changelog for 2.11.0

Signed-off-by: Sneha Agnihotri <sneha.agnihotri@smartcontract.com>

* Remove codecov (#13020)

(cherry picked from commit 2e99468)

---------

Signed-off-by: Sneha Agnihotri <sneha.agnihotri@smartcontract.com>
Co-authored-by: ilija42 <57732589+ilija42@users.noreply.github.com>
Co-authored-by: Damjan Smickovski <32773226+smickovskid@users.noreply.github.com>
Co-authored-by: george-dorin <120329946+george-dorin@users.noreply.github.com>
Co-authored-by: HenryNguyen5 <6404866+HenryNguyen5@users.noreply.github.com>
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.

2 participants