Repository navigation
Conversation
Automated Reviewer SuggestionsBased on the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8071 +/- ##
============================================
- Coverage 92.78% 86.64% -6.15%
- Complexity 4902 5871 +969
============================================
Files 1236 1333 +97
Lines 52165 70450 +18285
Branches 6411 9796 +3385
============================================
+ Hits 48402 61040 +12638
- Misses 2191 7478 +5287
- Partials 1572 1932 +360
☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
| config | throughput | MB/s | latency | max Δ latest / 7d | |
|---|---|---|---|---|---|
| 🔴 | bs=10 sw=10 sl=64 | 343 | 0.21 | 28,284/40,487/40,487 us | 🔴 +27.3% / 🔴 +163.5% |
| 🟢 | bs=100 sw=10 sl=64 | 770 | 0.47 | 126,426/156,702/156,702 us | 🟢 -6.5% / 🔴 +49.9% |
| ⚪ | bs=1000 sw=10 sl=64 | 886 | 0.54 | 1,122,346/1,272,201/1,272,201 us | ⚪ within ±5% / 🔴 +27.1% |
Baseline details
Latest main 957b6c9 from same runner
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---|---|---|---|---|
| bs=10 sw=10 sl=64 | throughput | 343 tuples/sec | 372 tuples/sec | 801.54 tuples/sec | -7.8% | -57.2% |
| bs=10 sw=10 sl=64 | MB/s | 0.21 MB/s | 0.227 MB/s | 0.489 MB/s | -7.5% | -57.1% |
| bs=10 sw=10 sl=64 | p50 | 28,284 us | 27,790 us | 12,422 us | +1.8% | +127.7% |
| bs=10 sw=10 sl=64 | p95 | 40,487 us | 31,805 us | 15,365 us | +27.3% | +163.5% |
| bs=10 sw=10 sl=64 | p99 | 40,487 us | 31,805 us | 18,987 us | +27.3% | +113.2% |
| bs=100 sw=10 sl=64 | throughput | 770 tuples/sec | 787 tuples/sec | 1,039 tuples/sec | -2.2% | -25.9% |
| bs=100 sw=10 sl=64 | MB/s | 0.47 MB/s | 0.48 MB/s | 0.634 MB/s | -2.1% | -25.9% |
| bs=100 sw=10 sl=64 | p50 | 126,426 us | 122,330 us | 98,524 us | +3.3% | +28.3% |
| bs=100 sw=10 sl=64 | p95 | 156,702 us | 167,561 us | 104,534 us | -6.5% | +49.9% |
| bs=100 sw=10 sl=64 | p99 | 156,702 us | 167,561 us | 115,146 us | -6.5% | +36.1% |
| bs=1000 sw=10 sl=64 | throughput | 886 tuples/sec | 901 tuples/sec | 1,070 tuples/sec | -1.7% | -17.2% |
| bs=1000 sw=10 sl=64 | MB/s | 0.54 MB/s | 0.55 MB/s | 0.653 MB/s | -1.8% | -17.3% |
| bs=1000 sw=10 sl=64 | p50 | 1,122,346 us | 1,102,077 us | 963,083 us | +1.8% | +16.5% |
| bs=1000 sw=10 sl=64 | p95 | 1,272,201 us | 1,221,598 us | 1,000,730 us | +4.1% | +27.1% |
| bs=1000 sw=10 sl=64 | p99 | 1,272,201 us | 1,221,598 us | 1,026,043 us | +4.1% | +24.0% |
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,582.46,200,128000,343,0.210,28283.73,40487.41,40487.41
1,100,10,64,20,2595.88,2000,1280000,770,0.470,126426.14,156702.22,156702.22
2,1000,10,64,20,22585.30,20000,12800000,886,0.540,1122345.86,1272200.81,1272200.81
Yicong-Huang
left a comment
There was a problem hiding this comment.
🔴 4 must-fix · 5 advisory · 0 polish — the direction is right, but the image tag now has three spellings inside one workflow and the email still under-lists what the RC ships: the same class of bug this PR set out to fix.
Correctness (2)
create-release-candidate.yml:266— third definition of the RC image tag; a default run emails one tag and ships another (must-fix, see inline)vote-email-template.md:47— two images the RC's own bundle pulls are missing from the list (must-fix, see inline)
Design & architecture (2)
vote-email-template.md:24— the published docs copy of this template is left behind and now contradicts it (must-fix, see inline)vote-email-template.md:89— two source-release checks left the ballot (advisory, see inline)
Simplifications (1)
create-release-candidate.yml:286— "generated!" now overstates an artifact with four unfilled markers (advisory, see inline)
Conventions (4)
- Add
Closes #N—check-pr-description.pyreports no closing reference and no discussion link, and a release-workflow behavior change is not the typo/docs exception (must-fix) - Title type — CONTRIBUTING.md reserves a bare
ci: …for hand-written workflow changes; sampled merged titles useci(frontend): …, neverfix(ci). Wasci: revise the RC vote email templateintended? (advisory) - Description — "the current 9 services" holds for neither figure:
build-and-push-images.yml:255-286builds eleven images and the bundled compose pulls ten (advisory) - Description — no fork-run proof; the vote-email step is unreachable from PR-triggered CI, so a
workflow_dispatchrun against an existing tag would be the real evidence (advisory)
Verification trace
Traced the RC image tag end to end. The vars step computes and exports one at :124, which the compose bundle consumes at :168 and writes into the shipped .env at :202. With use_tag_as_image_tag defaulting to false (:37-41), that value is a 9-char commit hash, while the new local derivation at :266 produces 1.2.0-incubating-rc1. The workflow's Next Steps at :439 then name a third tag, ${VERSION} — the one this PR says does not exist during a vote.
For the image list: texera-notebook-migration-service and texera-jupyter are started by the bundled bin/single-node/docker-compose.yml at :475 and :498. Neither is profile-gated — the file's only profiles: block is at :576 and covers the examples loader.
The substitution claim in the description does check out: all nine ${…} variables in the template are covered by the sed list at :277-285.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
68c1fbf to
a8667c9
Compare
Yicong-Huang
left a comment
There was a problem hiding this comment.
🟡 8 resolved · 1 open · 3 new (3 new = 3 newly introduced · 0 late catches)
Every must-fix from last round is fixed, verified against the tree, and the derivation is a better answer than the one I asked for: it is correct on the release branches too.
Design & architecture (2)
create-release-candidate.yml:276: the derivation assumes the compose file's image-name spelling (advisory, see inline)create-release-candidate.yml:458: one tag now drives all three consumers, and it defaults to a commit hash (advisory, see inline)
Conventions (1)
- Still no linked fork
workflow_dispatchrun for a dispatch-only workflow (advisory, raised last round)
Polish: 1 quick touch-up (see inline comments).
Verification trace
Ran the generation step locally against this head's template and bin/single-node/docker-compose.yml. It produces a complete email listing all ten images, including texera-notebook-migration-service and texera-jupyter, and the grep at :300 reports exactly the four intended markers.
Checked that the empty-list guard is live rather than dead code. No defaults: and no per-step shell:, so the step inherits bash -e {0} without pipefail, a grep that matches nothing leaves the pipeline status at the trailing sed's 0, and control reaches :281.
Checked the backport surface, since this PR carries the release/v1.2 and release/v1.3 labels. The pattern matches every image line on both branches, yielding 8 and 10 images.
| # Derive the image list from the compose file the bundle ships, so | ||
| # the email always matches what the RC actually pulls. | ||
| git show "$TAG_NAME:bin/single-node/docker-compose.yml" \ | ||
| | grep -oE '\$\{IMAGE_REGISTRY[^}]*\}/texera-[a-z-]+' \ |
There was a problem hiding this comment.
Advisory:
This is the one fact the step still does not derive. The pattern assumes an image line spells its registry through ${IMAGE_REGISTRY...} and its name in [a-z-], true on main and both release branches today. A digit in a future name truncates it, a literal registry drops it, and :281 only fires on an empty file. Widening to texera-[a-z0-9-]+ plus a count assertion closes both.
| echo "" >> $GITHUB_STEP_SUMMARY | ||
| echo "### Next Steps" >> $GITHUB_STEP_SUMMARY | ||
| echo "1. Build and push container images using the \`Build and push images\` workflow with tag \`${VERSION}\`" >> $GITHUB_STEP_SUMMARY | ||
| echo "1. Build and push container images using the \`Build and push images\` workflow with tag \`${IMAGE_TAG}\` (the tag the bundled .env pins)" >> $GITHUB_STEP_SUMMARY |
There was a problem hiding this comment.
Advisory:
One value now drives the email, the shipped .env and this line, which was the ask. What is left is which value: use_tag_as_image_tag defaults to false (:41), so the ballot advertises texera-dashboard-service:a8667c91d. A voter cannot tell that tag belongs to this RC. Flipping that default is now a one-line change. Was the commit hash deliberate?
| The canonical vote email template lives in the repository at | ||
| [`.github/release/vote-email-template.txt`](https://github.com/apache/texera/blob/main/.github/release/vote-email-template.txt). | ||
|
|
||
| The release manager does not fill it in by hand. The |
There was a problem hiding this comment.
Polish:
This sentence and the end of the same paragraph disagree, and the paragraph is right: the generated file carries four markers, <PREVIOUS_TAG> and <FILL IN: ...> among them. "Ready-to-send" on the next line has the same problem. It is the overstatement this PR just removed from the workflow log at :299-304.
bobbai00
left a comment
There was a problem hiding this comment.
🔴 1 must-fix · 2 advisory · 0 polish: the generated email is right except the Commit: line, which still names the annotated tag object.
Correctness (2)
.github/release/vote-email-template.txt:23:Commit:renders the annotated tag object, not the commit (must-fix, see inline).github/workflows/create-release-candidate.yml:458: Next Steps names the tag but not the ref to build from (advisory, see inline)
Conventions (1)
.github/release/vote-email-template.txt:1: the new template drops the ASF license header (advisory, see inline)
Verification trace
Ran the generation step in ubuntu:24.04 against this head's template and bin/single-node/docker-compose.yml. All seven variables substitute, the list has 10 images, and the grep reports exactly the 4 intended markers.
For the commit line: git cat-file -t reports tag for every v1.2.x RC tag (v1.1.0-incubating-rc8 was lightweight, which is likely why this went unnoticed). The create-rc logs of runs 30597990997 and 36520798454 print the tag-object hashes e7305289c and b35977ad6. The vote emails sent to dev@ carry c3aa6e4ba and 3f760c837, the commits those tags point to.
|
|
||
| https://github.com/apache/texera/releases/tag/${TAG_NAME} | ||
|
|
||
| Commit: ${COMMIT_HASH} |
There was a problem hiding this comment.
Must fix:
This renders the annotated tag object, not the commit. COMMIT_HASH is git rev-parse "$TAG_NAME" (create-release-candidate.yml:102-103), and every RC tag since 1.2.0 is annotated. Run 30597990997 logged e7305289c for v1.2.0-incubating-rc4. The email that went out says c3aa6e4ba, its commit. Peeling to the commit fixes it and makes the default IMAGE_TAG match build-and-push-images.yml:96. (Both real runs used use_tag_as_image_tag=true, relevant to :458.)
COMMIT_HASH=$(git rev-parse "${TAG_NAME}^{commit}")
COMMIT_SHORT=$(git rev-parse "${TAG_NAME}^{commit}" | cut -c1-9)| echo "" >> $GITHUB_STEP_SUMMARY | ||
| echo "### Next Steps" >> $GITHUB_STEP_SUMMARY | ||
| echo "1. Build and push container images using the \`Build and push images\` workflow with tag \`${VERSION}\`" >> $GITHUB_STEP_SUMMARY | ||
| echo "1. Build and push container images using the \`Build and push images\` workflow with tag \`${IMAGE_TAG}\` (the tag the bundled .env pins)" >> $GITHUB_STEP_SUMMARY |
There was a problem hiding this comment.
Advisory:
Should this also name the ref to build from? Build and push images defaults branch to main (build-and-push-images.yml:26), so following this line as written builds main's HEAD and tags it as the RC. If the release runbook already covers it, feel free to ignore.
| echo "1. Build and push container images using the \`Build and push images\` workflow with tag \`${IMAGE_TAG}\` (the tag the bundled .env pins)" >> $GITHUB_STEP_SUMMARY | |
| echo "1. Build and push container images using the \`Build and push images\` workflow with branch \`${TAG_NAME}\` and tag \`${IMAGE_TAG}\` (the tag the bundled .env pins)" >> $GITHUB_STEP_SUMMARY |
| @@ -0,0 +1,61 @@ | |||
| Subject: [VOTE] Release Apache Texera (incubating) ${VERSION} RC${RC_NUM} | |||
There was a problem hiding this comment.
Advisory:
This drops the ASF header the .md carried, and .licenserc.yaml skips **/*.txt. The ASF FAQ exempts short informational files like README but says to "err on having a source header". These 61 lines of prose ship in the tarball whose checklist (:51) asks for headers. Could the header stay as # lines, stripped by grep -v '^#' in place of the cp at create-release-candidate.yml:287?
What changes were proposed in this PR?
Revise the RC vote email generation based on the 1.2.0-incubating votes:
.envactually pins, and derive the image list from the bundle's compose file instead of hard-coding it..github/release/vote-email-template.txt) and point the docs page at it instead of keeping a second copy.Any related issues, documentation, discussions?
The generated email had to be hand-corrected during the 1.2.0-incubating votes: https://lists.apache.org/thread/fyz6nmx27fcw49wchxy0ornjgc2glkzy
How was this PR tested?
The generation step was simulated end-to-end locally (this template + main's compose file): all variables substitute, the image list matches the compose file, and the remaining placeholders are reported.
Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Fable 5)