Skip to content

Refactor array-based input code to use key-based input (part 2)#11526

Draft
jasondegraw wants to merge 12 commits intodevelopfrom
no-array-input-part-2
Draft

Refactor array-based input code to use key-based input (part 2)#11526
jasondegraw wants to merge 12 commits intodevelopfrom
no-array-input-part-2

Conversation

@jasondegraw
Copy link
Copy Markdown
Member

Pull request overview

This is a follow-up PR that replaces array-based input code with key-based input code. The first one went well, so full speed ahead. No thought went into the files that were chosen. This will be in draft while regressions get worked out.

Pull Request Author

  • Title of PR should be user-synopsis style (clearly understandable in a standalone changelog context)
  • Label the PR with at least one of: Defect, Refactoring, NewFeature, Performance, and/or DoNoPublish
  • Author should provide a "walkthrough" of relevant code changes using a GitHub code review comment process

Reviewer

  • Perform a Code Review on GitHub
  • If branch is behind develop, merge develop and build locally to check for side effects of the merge
  • If defect, verify by running develop branch and reproducing defect, then running PR and reproducing fix
  • If feature, test running new feature, try creative ways to break it
  • CI status: all green or justified
  • Check that performance is not impacted (CI Linux results include performance check)
  • Run Unit Test(s) locally
  • Check any new function arguments for performance impacts
  • Verify IDF naming conventions and styles, memos and notes and defaults
  • If new idf included, locally check the err file and other outputs

@jasondegraw jasondegraw added DoNotPublish Includes changes that shouldn't be reported in the changelog Refactoring Includes code changes that don't change the functionality of the program, just perform refactoring labels Apr 14, 2026
@github-actions
Copy link
Copy Markdown

⚠️ Regressions detected on ubuntu-24.04 for commit d70bfe2

Regression Summary
  • BND: 6

@github-actions
Copy link
Copy Markdown

⚠️ Regressions detected on macos-14 for commit d70bfe2

Regression Summary
  • BND: 6

@github-actions
Copy link
Copy Markdown

⚠️ Regressions detected on ubuntu-24.04 for commit c293012

Regression Summary
  • BND: 6

@github-actions
Copy link
Copy Markdown

⚠️ Regressions detected on macos-14 for commit c293012

Regression Summary
  • BND: 6

Copy link
Copy Markdown
Collaborator

@amirroth amirroth left a comment

Choose a reason for hiding this comment

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

It's about time we did some of this. Thanks @jasondegraw.

IOStatus);
if (!Util::SameString(name_to_find, state.dataIPShortCut->cAlphaArgs(1))) {
for (auto const &modeInstance : modeInstances.value().items()) {
auto const modeName = Util::makeUPPER(modeInstance.key());
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'm not a fan of using auto for std::string, but in your defense, at least you are using auto and auto & correctly. 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DoNotPublish Includes changes that shouldn't be reported in the changelog Refactoring Includes code changes that don't change the functionality of the program, just perform refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants