Repository navigation
refactor(playerbots): register the Companion Order reply name with Core - #68
Conversation
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing (4)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (7)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe workflows now pin LyraCore to a newer commit. Order command registration adds a result command string. Gateway coordinator and order tests use party-command fixture reducers instead of playerbots-specific reducers. ChangesPlayerbots integration updates
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Refactor Suggested reviewers: Merge Risk: ⚪ Minimal · up to The paired Core pins and existing order-reply name are consistent, and no concrete behavior mismatch was found. Complete the normal paired-Core CI checks before merging. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 71.43% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 7 functions across 3 files. (4 skipped: 4 unsupported.)
✨ Finishing Touches🧪 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 |
53bebf7 to
fa57c89
Compare
Core no longer hard-codes the reply command. playerbots now passes ORDER_RESULT_COMMAND to game_client_command!, with the same "playerbots.order.result" string, so addon wire bytes do not change. Testsuite callers use the renamed party_command_fixture_* reducers, and CI pins the paired Core branch. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…hange The capacity and solo target claim workflows build older Package commits as migration baselines. Those commits use the two-argument client-command marker and no longer compile against the paired Core. Build each one on 0cae6903, the Core main this branch starts from, so the migration still crosses only this change. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
fa57c89 to
80e5ef7
Compare
Core used to hard-code the Companion Order reply command
playerbots.order.result. Core now takes the reply name from the Package registration, so playerbots must register it.orders.rsaddsORDER_RESULT_COMMANDwith the same string and passes it togame_client_command!as the new third argument. The addon wire bytes do not change. The testsuite calls the renamedparty_command_fixture_*debug reducers. CI pins the paired Core branch head in every workflow that pinned Core main.The capacity and solo target claim workflows build older Package commits as migration baselines. Those commits use the two-argument marker and no longer compile against the new Core. Each baseline now builds on
0cae6903, the Core main this branch starts from, so the migration still crosses only this change.Paired with LyraCoreProject/LyraCore#622. Merge Core first, then this PR at once. After the Core merge, the pin can move to the merge commit if the maintainers prefer a main SHA.
The stock-client case
playerbots_acceptance_human_and_four_companions_complete_the_fixed_routeinplayerbots-composition-durableasserts theSTC\tv1|playerbots.order.result|0|1/1|reply prefix. It proves the reply bytes did not change.Local checks against the Core branch: testsuite fmt, clippy with
-D warningsand tests pass. The Module union with these Packages compiles, passes 1,865 tests, and builds thedebug_reducerswasm.Made by Claude Opus 5.5 in Claude Code.
🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Bug Fixes