PCCS crate - consider adding a timeout to Pccs::ready method
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 58/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- rust
- Domain
- backend, networking, security
Research direction
Start by locating the PCCS crate's Pccs::ready method and tracing the pre-warm task that populates the cache from known FSMPCs. Review the linked pull-request discussion for context, then verify that readiness no longer waits indefinitely when pre-warming fails and that the resulting error behavior is covered by the relevant tests.
Written by the indexing model from the issue text.
Description
The PCCS exposes a method to wait for 'readiness', meaning the cache is populated with collateral from all known FSMPCs.
If there is an issue with the 'pre-warm' fetching (eg: the task panics for some reason) this future will wait indefinately.
Consider adding a timeout to return an error if the cache is not filled after some reasonable duration.
See discussion: https://github.com/flashbots/attested-tls/pull/3#discussion_r2974833918
- Dominant language
- Rust
- Stars
- 6
- Forks
- 3
- Avg merge
- 4d 5h
- Merged PRs (30d)
- 7
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from flashbots/attested-tls
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
flashbots/attested-tls#97 ·
-
Difficulty 5/5 Over a week Newbie friendliness 45/100
flashbots/attested-tls#92 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
flashbots/attested-tls#87 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
flashbots/attested-tls#84 · 7 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
flashbots/attested-tls#82 · 1 comment ·
All issues in flashbots/attested-tls
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug team:backend track:services-maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cowprotocol/services#4950 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·