Skip to content

bound trusted local cache to shared limits sizes#8688

Merged
alexggh merged 4 commits intomasterfrom
alexggh/bound_trusted_cache
May 29, 2025
Merged

bound trusted local cache to shared limits sizes#8688
alexggh merged 4 commits intomasterfrom
alexggh/bound_trusted_cache

Conversation

@alexggh
Copy link
Copy Markdown
Contributor

@alexggh alexggh commented May 28, 2025

This #7556 (comment) made me think that we can have some miss-uses of the trusted cache, so it needs some reasonable bounds for the size.

Since there is no point in letting it grow past the shared cache limits, because the items will be discarded anyways when we propagate them back to the share cache so I decided to bound it to those limits.

Signed-off-by: Alexandru Gheorghe <[email protected]>
@alexggh alexggh requested review from AndreiEres and bkchr May 28, 2025 08:47
@paritytech-workflow-stopper
Copy link
Copy Markdown

All GitHub workflows were cancelled due to failure one of the required jobs.
Failed workflow url: https://github.com/paritytech/polkadot-sdk/actions/runs/15295702426
Failed job name: run-frame-omni-bencher

Signed-off-by: Alexandru Gheorghe <[email protected]>
@alexggh alexggh added the T0-node This PR/Issue is related to the topic “node”. label May 28, 2025
@alexggh
Copy link
Copy Markdown
Contributor Author

alexggh commented May 28, 2025

/cmd prdoc --audience node_dev --bump patch

@alexggh alexggh added this pull request to the merge queue May 29, 2025
Merged via the queue into master with commit 1db9f93 May 29, 2025
181 checks passed
@alexggh alexggh deleted the alexggh/bound_trusted_cache branch May 29, 2025 08:35
pgherveou pushed a commit that referenced this pull request Jun 11, 2025
This
#7556 (comment)
made me think that we can have some miss-uses of the trusted cache, so
it needs some reasonable bounds for the size.

Since there is no point in letting it grow past the shared cache limits,
because the items will be discarded anyways when we propagate them back
to the share cache so I decided to bound it to those limits.

---------

Signed-off-by: Alexandru Gheorghe <[email protected]>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
alvicsam pushed a commit that referenced this pull request Oct 17, 2025
This
#7556 (comment)
made me think that we can have some miss-uses of the trusted cache, so
it needs some reasonable bounds for the size.

Since there is no point in letting it grow past the shared cache limits,
because the items will be discarded anyways when we propagate them back
to the share cache so I decided to bound it to those limits.

---------

Signed-off-by: Alexandru Gheorghe <[email protected]>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T0-node This PR/Issue is related to the topic “node”.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants