Repository navigation
test(flows): wait for the builder result's delivery turn before the save (fixes red main) - #8479
Conversation
Tiny Sweeper reviewReviewed head: Verdict: Ready for maintainer review · Priority: none Diagnostics and supporting detailsFull summaryPull request purpose (title): test(flows): wait for the builder result's delivery turn before the save (fixes red main). The latest-push-delta comparison is unavailable. Review snapshot
Completeness: Complete What changedInside `chat_spawns_workflow_builder_and_saves_its_proposal`, after the first builder step and before step 4 scripts the orchestrator, a new `wait_for("the builder result's delivery turn", …)` polls `thread_messages` and resolves on the first message whose `extraMetadata.scope` is `background_delivery`. Production code is untouched. FeaturesNone identified with supported citations. TestsNo supported feature-to-test mapping was produced. Test execution is not inferred. FindingsNo active actionable findings. Before mergeNone. Agent review detailscritique
security
tests
commits
description
Evidence and run details
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Caution Review failedThe pull request is closed. No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Wait for the builder delivery message tests/json_rpc_flows_builder_chat_e2e.rs |
The test waits for a background_delivery message in the thread before proceeding to the agent-side save step. |
Priority:
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Possibly related PRs
- tinyhumansai/openhuman#8475: Changes completion and save assertions in the same builder-chat E2E flow.
- tinyhumansai/openhuman#8465: Adds the E2E flow that this change synchronizes.
- tinyhumansai/openhuman#8399: Waits for a child result before sending the next parent turn.
Suggested reviewers: senamakel, tinysweeper
Merge Risk: 
Minimal · up to 265cc
-
No actionable current-head risk is established; the synchronization change is mergeable.
Pre-merge checks: 
4 · 
1
-
Failed checks: 1 warning Passed checks: 4 passedFull details: Docstring Coverage
-
Explanation
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 1 functions across 1 files.
Resolution
Write docstrings for the functions missing them to satisfy the coverage threshold.
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
A rabbit waits beside the thread,
For delivery to be read.
The save turn starts when it appears,
No racing steps, no tangled gears.
Then hops away with carrots near.
Comment @coderabbitai help to get the list of available commands.
A finished async sub-agent is delivered into the thread by a debounced turn. When it ran late it consumed the responses scripted for the save step. Wait for that turn's stored reply before scripting the save.
9a3dff3 to
265ccf1
Compare
Summary
json_rpc_flows_builder_chat_e2efailed intermittently ("timed out waiting for the create_workflow approval request"), in CF-BASE-8b6ec8b and in 1 of 3 solo runs.Proof (cuttlefish)
Pending.
Submission Checklist
Related
Summary by CodeRabbit