Skip to content

refactor: Construct roles vector via iterator#766

Open
sweb wants to merge 1 commit intostackabletech:mainfrom
sweb:simplify-roles-construction
Open

refactor: Construct roles vector via iterator#766
sweb wants to merge 1 commit intostackabletech:mainfrom
sweb:simplify-roles-construction

Conversation

@sweb
Copy link

@sweb sweb commented Mar 24, 2026

Description

Minor refactoring I noticed while looking for usage examples of operator-rs

Definition of Done Checklist

I'd guess the author tasks do not apply here, but as a first time contributor, happy to get feedback on this first. I did add a unit test to make sure there is no regression in the function output - I removed it as I did not feel that this test provides a lot of long term value.

Author

  • Changes are OpenShift compatible
  • CRD changes approved
  • CRD documentation for all fields, following the style guide.
  • Helm chart can be installed and deployed operator works
  • Integration tests passed (for non trivial changes)
  • Changes need to be "offline" compatible
  • Links to generated (nightly) docs added
  • Release note snippet added

Reviewer

  • Code contains useful comments
  • Code contains useful logging statements
  • (Integration-)Test cases added
  • Documentation added or updated. Follows the style guide.
  • Changelog updated
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Acceptance

  • Feature Tracker has been updated
  • Proper release label has been added
  • Links to generated (nightly) docs added
  • Release note snippet added
  • Add type/deprecation label & add to the deprecation schedule
  • Add type/experimental label & add to the experimental features tracker

@stackable-cla
Copy link

stackable-cla bot commented Mar 24, 2026

CLA assistant check
All committers have signed the CLA.

@lfrancke lfrancke moved this to Development: Waiting for Review in Stackable Engineering Mar 24, 2026
Copy link
Member

@Techassi Techassi left a comment

Choose a reason for hiding this comment

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

Nice catch!

@Techassi Techassi changed the title chore: construct roles vector via map refactor: Construct roles vector via iterator Mar 24, 2026
@Techassi Techassi moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Development: In Review

Development

Successfully merging this pull request may close these issues.

3 participants