Uploaded image for project: 'Machine Config Operator'
  1. Machine Config Operator
  2. MCO-2033

[Dev] Reduce cyclomatic complexity in bootstrap rendering logic

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • MCO Sprint 281
    • 0

      Story:

      The bootstrap rendering code has grown complex over time, making it difficult to maintain and test. This improvement refactors how inputs are handled in the bootstrap logic by extracting file validation and dependency loading into a separate, well-organized structure.

      While this significantly reduces complexity in the input handling path, other areas of the bootstrap logic still have room for improvement in future iterations.

      Acceptance Criteria:

      • Bootstrap process continues to work as before with no functional changes.
      • File validation and dependency loading are cleanly separated from rendering logic.
      • Code builds and passes existing tests.
      • The refactored code is easier to extend with new dependency types in the future.

              rh-ee-pabrodri Pablo Rodriguez Nava
              rh-ee-pabrodri Pablo Rodriguez Nava
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: