fix(amber): preserve evaluated values - #8236
Conversation
|
👋 Thanks for opening this pull request, @carloea2! It looks like the pull request description doesn't quite follow our template yet:
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed. You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow. |
Backport auto-label reportThis
|
Automated Reviewer SuggestionsBased on the
|
|
| config | throughput | MB/s | latency | max Δ latest / 7d | |
|---|---|---|---|---|---|
| 🔴 | bs=10 sw=10 sl=64 | 378 | 0.231 | 25,157/35,389/35,389 us | 🔴 +7.6% / 🔴 +122.5% |
| 🟢 | bs=100 sw=10 sl=64 | 803 | 0.49 | 121,637/150,396/150,396 us | 🟢 -19.8% / 🔴 +35.9% |
| ⚪ | bs=1000 sw=10 sl=64 | 931 | 0.568 | 1,068,781/1,118,944/1,118,944 us | ⚪ within ±5% / 🔴 -6.3% |
Baseline details
Latest main 8aea604 from same runner
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---|---|---|---|---|
| bs=10 sw=10 sl=64 | throughput | 378 tuples/sec | 406 tuples/sec | 750.65 tuples/sec | -6.9% | -49.6% |
| bs=10 sw=10 sl=64 | MB/s | 0.231 MB/s | 0.248 MB/s | 0.458 MB/s | -6.9% | -49.6% |
| bs=10 sw=10 sl=64 | p50 | 25,157 us | 23,371 us | 13,049 us | +7.6% | +92.8% |
| bs=10 sw=10 sl=64 | p95 | 35,389 us | 35,844 us | 15,902 us | -1.3% | +122.5% |
| bs=10 sw=10 sl=64 | p99 | 35,389 us | 35,844 us | 19,184 us | -1.3% | +84.5% |
| bs=100 sw=10 sl=64 | throughput | 803 tuples/sec | 801 tuples/sec | 960.3 tuples/sec | +0.2% | -16.4% |
| bs=100 sw=10 sl=64 | MB/s | 0.49 MB/s | 0.489 MB/s | 0.586 MB/s | +0.2% | -16.4% |
| bs=100 sw=10 sl=64 | p50 | 121,637 us | 118,044 us | 104,199 us | +3.0% | +16.7% |
| bs=100 sw=10 sl=64 | p95 | 150,396 us | 187,427 us | 110,645 us | -19.8% | +35.9% |
| bs=100 sw=10 sl=64 | p99 | 150,396 us | 187,427 us | 120,888 us | -19.8% | +24.4% |
| bs=1000 sw=10 sl=64 | throughput | 931 tuples/sec | 931 tuples/sec | 993.27 tuples/sec | 0.0% | -6.3% |
| bs=1000 sw=10 sl=64 | MB/s | 0.568 MB/s | 0.568 MB/s | 0.606 MB/s | 0.0% | -6.3% |
| bs=1000 sw=10 sl=64 | p50 | 1,068,781 us | 1,073,110 us | 1,012,191 us | -0.4% | +5.6% |
| bs=1000 sw=10 sl=64 | p95 | 1,118,944 us | 1,139,031 us | 1,054,057 us | -1.8% | +6.2% |
| bs=1000 sw=10 sl=64 | p99 | 1,118,944 us | 1,139,031 us | 1,081,313 us | -1.8% | +3.5% |
Raw CSV
config_idx,batch_size,schema_width,string_len,num_batches,total_ms,total_tuples,total_bytes,tuples_per_sec,mb_per_sec,lat_p50_us,lat_p95_us,lat_p99_us
0,10,10,64,20,528.58,200,128000,378,0.231,25156.55,35388.60,35388.60
1,100,10,64,20,2490.41,2000,1280000,803,0.490,121636.81,150395.63,150395.63
2,1000,10,64,20,21473.82,20000,12800000,931,0.568,1068780.61,1118943.92,1118943.92
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8236 +/- ##
============================================
+ Coverage 94.07% 95.68% +1.60%
+ Complexity 4809 2870 -1939
============================================
Files 1194 930 -264
Lines 48597 39931 -8666
Branches 5857 4680 -1177
============================================
- Hits 45718 38208 -7510
+ Misses 1428 891 -537
+ Partials 1451 832 -619
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
03e6028 to
1f1e4ba
Compare
|
Amber failed in TexeraWebSocketEventSpec after the ActorSystem shutdown error. PyAmber and both Amber integration jobs passed. I cannot rerun repository jobs as a contributor. Could someone rerun Amber? |
|
I am converting this PR to a draft: please follow our PR template and mark it ready for review. |
|
The description now follows the current template, and this is ready for review. |
1f1e4ba to
4a12f43
Compare
4a12f43 to
66a6ac5
Compare
What changes were proposed in this PR?
Add the worker's
EvaluatedValuereply to the genericControlReturntransport. This prevents evaluated Python expression results from being replaced by an empty return before they reach the coordinator.Any related issues, documentation, discussions?
Closes #8235
How was this PR tested?
The Python protobuf bindings were regenerated from the changed descriptor for verification and remain ignored as required by the repository. A direct post-fix transport probe produced:
Was this PR authored or co-authored using generative AI tooling?
Generated-by: Codex