Skip to content

fix startup ordering checks to match implementation#323

Merged
gflarity merged 2 commits into
ai-dynamo:mainfrom
gflarity:so_test_match_code
Jan 21, 2026
Merged

fix startup ordering checks to match implementation#323
gflarity merged 2 commits into
ai-dynamo:mainfrom
gflarity:so_test_match_code

Conversation

@gflarity

@gflarity gflarity commented Jan 14, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this?

/kind bug

What this PR does / why we need it:

Previously, when considering startup order constraints, 02/S04 would expect all pods a podclique to start before a dependent podclique can start. However the implementation of start ordering (init container) actually only requires the MinAvailable number of pods to be started first. This PR updates the tests to confirm MinAvailable pods start first, matching the code.

Notes:

  • these tests would often pass because the pods ended up starting in the expected order.
  • This PR assumes that using MinAvailable was an intentional design decision

Which issue(s) this PR fixes:

Fixes #319

Special notes for your reviewer:

Does this PR introduce a API change?

NONE

Additional documentation e.g., enhancement proposals, usage docs, etc.:


shayasoolin
shayasoolin previously approved these changes Jan 15, 2026
Comment thread operator/e2e/tests/startup_ordering_test.go Outdated
@gflarity

Copy link
Copy Markdown
Contributor Author

@shayasoolin @renormalize Implemented feedback, reset the approval. PTAL again.

@danbar2 danbar2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@renormalize renormalize left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thanks~

@gflarity gflarity merged commit 2ac8b96 into ai-dynamo:main Jan 21, 2026
11 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SO2/SO4 Test Expectations Do Not Match Startup Ordering Implementation

5 participants