bottlerocket-os / bottlerocket-os/bottlerocket-core-kit

refactor "bind" function in ephemeral storage API

Open
#840 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
34
Forks
77
Avg merge
2d 23h
Merged PRs (30d)
23

Description

**What I'd like:**
Per discussion in https://github.com/bottlerocket-os/bottlerocket-core-kit/pull/822#discussion_r2776503365, we should refactor the "bind" function to make it more amenable to unit testing.

**Any alternatives you've considered:**
Leaving it as-is, but we've run into a fair number of edge cases and it'd be good to automate testing to avoid regressions.

Contributor guide

Open the contributing guide

Research direction

Start with the discussion in pull request 822 and then locate the "bind" function in the ephemeral storage API. The refactor is complete when the function is more amenable to unit testing and the edge cases described by the existing discussion are covered by automated tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.