chore: update proto to WhatsApp Web 2.3000.1035617621 - #436
Conversation
Update protobuf definitions and generated Rust code to match WhatsApp Web 2.3000.1035617621. Includes minimal compilation fixes (..Default::default()) for new proto fields.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughThe PR updates the WhatsApp protocol schema to version 1035617621, refactors struct initialization patterns across three source files to use default value inheritance, and extends the protocol with new message types and fields for AI, bot, business, and media capabilities. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@claude review |
|
Claude finished @jlucaso1's task in 1m 55s —— View job Review of PR #436
LGTM — this is a clean proto bump with minimal, correct compilation fixes. Here's the breakdown: Proto Changes (
|
| File | Change |
|---|---|
src/features/chat_actions.rs:501 |
MuteAction — new mute_everyone_mention_end_timestamp field |
src/features/polls.rs:73 |
PollCreationMessage — new fields added |
wacore/noise/src/handshake.rs:160 |
ClientFinish — new padded_bytes, simulate_xxkem_fs fields |
wacore/src/store/device.rs:206 |
Version bump 1031424117 → 1035617621 |
Generated Code (waproto/src/whatsapp.rs)
The +1037/-75 diff is machine-generated from the proto file — consistent with the proto changes.
Verification
- No remaining references to removed
BotAvatarMetadata/avatar_metadatain Rust source nct_saltis correctly not referenced in source (excluded from this PR as noted)- No new
unwrap()calls outside tests
No issues found. Clean proto-only update.
Summary
2.3000.1035617621..Default::default()) for new proto fields inchat_actions,polls, andhandshakeapp_version_tertiaryto match the new proto versionExtracted from #433 (proto-only, excludes cstoken/nct_salt implementation).
Test plan
cargo clippy --all --tests— cleancargo check --all— compilesSummary by CodeRabbit
New Features
Chores