Skip to content

refactor: Construct roles vector via iterator#766

Merged
Techassi merged 1 commit intostackabletech:mainfrom
sweb:simplify-roles-construction
Mar 30, 2026
Merged

refactor: Construct roles vector via iterator#766
Techassi merged 1 commit intostackabletech:mainfrom
sweb:simplify-roles-construction

Conversation

@sweb
Copy link
Copy Markdown
Contributor

@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
Copy Markdown

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
Copy Markdown
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
@Techassi
Copy link
Copy Markdown
Member

Fixes to CI from forks are currently being worked on and rolled out. Once rolled out, I can re-trigger the CI pipelines.

@Techassi Techassi force-pushed the simplify-roles-construction branch from a29d719 to 93b05f7 Compare March 30, 2026 10:34
@Techassi
Copy link
Copy Markdown
Member

Welp, for some reason GitHub decided to put me down as a Co-author after I rebased :/

@Techassi Techassi added this pull request to the merge queue Mar 30, 2026
@Techassi Techassi moved this from Development: In Review to Development: Done in Stackable Engineering Mar 30, 2026
Merged via the queue into stackabletech:main with commit 44bfedd Mar 30, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Development: Done

Development

Successfully merging this pull request may close these issues.

3 participants