Skip to content

Fix slow SyntheticSource in Python3.11+, clean up Python load test version configs - #40540

Merged
Abacn merged 1 commit into
apache:masterfrom
Abacn:py-loadtest-ver
Oct 13, 2026
Merged

Abacn merged 1 commit into
apache:masterfrom
Abacn:py-loadtest-ver

Conversation

@Abacn

@Abacn Abacn commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Fix #40509 ; fix #40510 ; fix #40511 ; fix #40513

* Avoid time.sleep(0) invocation in Synthetic Source that causing regression  in Py311

* Remove no-op "--experiments=use_runner_v2"

* Use snapshot SDK containers for load test, instead of default to beam-master
@Abacn

Abacn commented Oct 12, 2026

Copy link
Copy Markdown
Contributor Author

@Abacn Abacn changed the title Clean up Python load test version configs Fix slow SyntheticSource in Python3.11+, clean up Python load test version configs Oct 12, 2026
@codecov

codecov Bot commented Oct 12, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.72%. Comparing base (76f6e6d) to head (5d97388).
⚠️ Report is 139 commits behind head on master.

Files with missing lines Patch % Lines
...s/python/apache_beam/testing/synthetic_pipeline.py 50.00% 2 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             master   #40540       +/-   ##
=============================================
+ Coverage     56.16%   79.72%   +23.55%     
=============================================
  Files          1124      487      -637     
  Lines        178336    82289    -96047     
  Branches       1489        0     -1489     
=============================================
- Hits         100170    65601    -34569     
+ Misses        75645    16688    -58957     
+ Partials       2521        0     -2521     
Flag Coverage Δ
go ?
java ?
python 79.72% <50.00%> (+0.16%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

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

@github-actions

Copy link
Copy Markdown
Contributor

Assigning reviewers:

R: @jrmccluskey for label python.

Note: If you would like to opt out of this review, comment assign to next reviewer.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

The PR bot will only process comments in the main thread (not review comments).

@Abacn
Abacn merged commit b96d6ba into apache:master Oct 13, 2026
95 of 97 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment