Skip to content

fix(core): fix main build errors - #2254

Merged
avantgardnerio merged 1 commit into
apache:mainfrom
avantgardnerio:brent/fix-partition-field
Aug 8, 2026
Merged

fix(core): fix main build errors#2254
avantgardnerio merged 1 commit into
apache:mainfrom
avantgardnerio:brent/fix-partition-field

Conversation

@avantgardnerio

@avantgardnerio avantgardnerio commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Main is red on run 31258248064 with E0063: missing field 'partition' in distributed_explain_analyze.rs at three test sites (338, 341, 356).

Root cause is a merge-order collision, not a single-PR bug:

Three other literals in the same file (394, 398, 414) already set partition: None; this PR brings the remaining three in line.

Test plan

  • cargo clippy --all-targets --package ballista-core --all-features -- -D warnings
  • cargo fmt --all -- --check
  • Verify CI goes green on this PR (the same jobs that failed on main)

PR apache#2038 added `optional uint32 partition = 16` to `OperatorMetric` in
the proto. PR apache#2042 was based on pre-apache#2038 main and added a test with
three `OperatorMetric { … }` struct literals that don't set `partition`.
The merge of apache#2042 skipped a rebase, so the combined tree stopped
compiling on main (E0063 at 338, 341, 356).

The other three literals in this file (394, 398, 414) already set
`partition: None`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@avantgardnerio avantgardnerio changed the title fix(core): unbreak main — set partition: None on OperatorMetric literals fix(core): fix main build errors Aug 8, 2026

@milenkovicm milenkovicm 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 @avantgardnerio ive ignored notification with that flaky test generating false alarms

Apologies

@avantgardnerio
avantgardnerio merged commit c880512 into apache:main Aug 8, 2026
25 checks passed
@avantgardnerio
avantgardnerio deleted the brent/fix-partition-field branch August 8, 2026 13:23
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.

2 participants