Shared runtime regression entry + remove extraction compat#520
Shared runtime regression entry + remove extraction compat#520justinmoon merged 2 commits intomasterfrom
Conversation
📝 WalkthroughWalkthroughThe PR removes dead code allowances from session types, eliminates public re-exports from the runtime crate's public API surface, documents shared runtime regression testing, and adds new integration test targets to the justfile. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
justfile (1)
972-979: Reuse existing selector recipes insideshared-runtime-regression.
Line 978re-embeds thecli-smokecontract instead of calling the existing recipe, andLine 979does the same for the daemon selector. That gives this wrapper its own copy of the invocation details, so future selector/flag changes can drift from the documented entrypoints. Consider delegating to public recipes here and adding a focused daemon recipe if you want to keep this set minimal.♻️ Possible cleanup
shared-runtime-regression: cargo test -p pika-marmot-runtime publish_welcome_rumors_ cargo test -p pika-marmot-runtime create_group_and_publish_welcomes_returns_group_and_published_metadata cargo test -p pikachat-sidecar init_group_uses_shared_runtime_helper_and_keeps_expiration_tag cargo test -p pika_core app_background_publish_uses_shared_welcome_pairing - cargo test -p pikahut --test integration_deterministic cli_smoke_local -- --ignored --nocapture - cargo test -p pikahut --test integration_deterministic openclaw_scenario_invite_and_chat_daemon -- --ignored --nocapture + just cli-smoke + just openclaw-pikachat-daemonopenclaw-pikachat-daemon: cargo test -p pikahut --test integration_deterministic openclaw_scenario_invite_and_chat_daemon -- --ignored --nocapture🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@justfile` around lines 972 - 979, The shared-runtime-regression recipe currently duplicates the cargo invocations instead of delegating to existing recipes; update shared-runtime-regression to call the public selector recipes (e.g., replace the long cargo invocation that runs cli_smoke_local with a invocation of the existing cli-smoke recipe and replace the openclaw_scenario_invite_and_chat_daemon cargo line with a call to an openclaw-pikachat-daemon recipe), and if that daemon recipe doesn’t exist yet add a focused recipe named openclaw-pikachat-daemon that contains the single cargo test command shown so the wrapper delegates rather than re-embeds invocation details.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@justfile`:
- Around line 972-979: The shared-runtime-regression recipe currently duplicates
the cargo invocations instead of delegating to existing recipes; update
shared-runtime-regression to call the public selector recipes (e.g., replace the
long cargo invocation that runs cli_smoke_local with a invocation of the
existing cli-smoke recipe and replace the
openclaw_scenario_invite_and_chat_daemon cargo line with a call to an
openclaw-pikachat-daemon recipe), and if that daemon recipe doesn’t exist yet
add a focused recipe named openclaw-pikachat-daemon that contains the single
cargo test command shown so the wrapper delegates rather than re-embeds
invocation details.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: d5b45574-ee27-4d72-ae62-5ec245981e1a
📒 Files selected for processing (4)
cli/src/agent/session.rscrates/pika-marmot-runtime/src/lib.rsdocs/testing/integration-matrix.mdjustfile
💤 Files with no reviewable changes (2)
- cli/src/agent/session.rs
- crates/pika-marmot-runtime/src/lib.rs
Summary
justrecipe + integration matrix doc)Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit
Refactor
Tests
Documentation