You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wait for the test server before reading what it saw - #6682
Auto incremental reviews are disabled on this repository.
Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Walkthrough
Five AsyncAPI WebSocket test scenarios now store played.report() before appending the server-received-message summary. The reported output is unchanged.
Changes: AsyncAPI socket test ordering
Layer / File(s)
Summary
Report before server summary tests/api_generation/scenarios/client_asyncapi_sockets.py
Five scenarios store played.report() in a local variable before appending the server-received-message summary.
The socket scenarios wait for the server report before summarizing received messages. No merge-blocking risk is identified.
Pre-merge checks: 5
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title clearly describes the main change: waiting for the test server before reading its collected messages.
Linked Issues check
Issue #6680 requires the five affected WebSocket scenarios to wait for played.report() before reading seen. In _orders, asyncapi_union_sends, asyncapi_subclass_sends, `asyncapi_enum_tag_send…
Out of Scope Changes check
The diff changes only the five scenario expressions identified by issue #6680. Each change implements the required ordering. No unrelated changes appear in the reviewed diff.
Docstring Coverage
Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Full details: Linked Issues check
Explanation
Issue #6680 requires the five affected WebSocket scenarios to wait for played.report() before reading seen. In _orders, asyncapi_union_sends, asyncapi_subclass_sends, asyncapi_enum_tag_sends, and asyncapi_connections, the code now assigns report = played.report() before constructing the server-received-message summary. This preserves the report output and ensures the wait completes before reading seen.
Full details: Docstring Coverage
Explanation
Docstring coverage is 100.00% which is sufficient. 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.
Finishing Touches
Generate docstrings
Commit to this branch
Create a new PR
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.
⚠️53 benchmarks with a significant change ran on different hardware
Their base and head results were measured on machines with a different CPU, core count or memory, so the changes might not come from the code. Run base and head on the same runner type.
Reasoning: The PR only touches documentation and a test helper. The docs files target-generation-options.md and llms-full.txt drop reserved_names arguments from ParameterPlan examples and reformat one call onto a single line, which refreshes example output only and changes no generator source code. The test file client_asyncapi_sockets.py now stores played.report() in a local variable before extending lines, which is an internal test refactor. No CLI options, Python API, templates, defaults, supported Python versions, or error handling are changed in this diff, and the behaviour diff gate did not run, so no generated-output change is attributed to this PR.
This analysis was produced by the release draft workflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: #6680
Summary by CodeRabbit