numaflow icon indicating copy to clipboard operation
numaflow copied to clipboard

fix: remove concurrency default set by the kubebuilder

Open vaibhavtiwari33 opened this issue 6 months ago • 1 comments

What this PR does / why we need it

remove concurrency default set by the kubebuilder to allow dataplane to set the concurrency value

Related issues

Fixes recently observed flakiness in reduce-two-e2e test.

Testing

The test passes in CI consistently

Special notes for reviewers

Anything notable for review (risk, rollout, follow-ups).

vaibhavtiwari33 avatar May 28 '26 03:05 vaibhavtiwari33

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 82.62%. Comparing base (8ad7571) to head (57c22bc).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3445      +/-   ##
==========================================
- Coverage   82.63%   82.62%   -0.01%     
==========================================
  Files         307      307              
  Lines       77618    77618              
==========================================
- Hits        64136    64131       -5     
- Misses      12924    12927       +3     
- Partials      558      560       +2     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar May 28 '26 03:05 codecov[bot]

It fallsback to the batch_size in the pipeline/monovertex config when the concurrency field is not set in the spec:

https://github.com/numaproj/numaflow/blob/8ad757118a1a5d7e8c8ec7e2d2b0e9bc79a7d9de/rust/numaflow-core/src/config/pipeline.rs#L347-L355

Since kubebuilder was always setting a default to 500 in the spec, that value was taking precedence.

vaibhavtiwari33 avatar May 28 '26 13:05 vaibhavtiwari33