Skip to content

test(query): tighten descriptor parity metadata (#2006) - #2101

Merged
Sinity merged 1 commit into
masterfrom
feature/refactor/query-metadata-tightening-2006
Jun 18, 2026
Merged

Sinity merged 1 commit into
masterfrom
feature/refactor/query-metadata-tightening-2006

Conversation

@Sinity

@Sinity Sinity commented Jun 18, 2026

Copy link
Copy Markdown
Owner

Summary

Tighten the query descriptor parity tests around the now-shipped shared query metadata and fix stale daemon route wording for terminal query units.

Problem

The #2006 metadata split and terminal query-unit work have already landed, but the descriptor parity test still described itself as an informational #621 placeholder and carried a stale allowlist of fields that now have real MCP/API names. The daemon /api/query-units handler docstring also still named only message/action/block rows even though assertions are now part of the terminal query-unit surface.

Solution

  • Reword descriptor parity coverage as shared query-substrate coverage.
  • Reduce the allowlist to true internal plan-only descriptors (parent_id, lineage booleans, branch/predicate internals).
  • Keep the test as positive metadata coverage: public selection filters must expose a surface name unless they are genuinely plan-only.
  • Update the daemon handler docstring to describe terminal query-unit rows generically.

Verification

  • nix develop --command devtools test tests/unit/core/test_query_descriptor_parity.py tests/unit/daemon/test_daemon_http.py -k 'descriptor or query_units' -> 5 passed, 5 deselected.
  • nix develop --command devtools verify --quick -> exit_code 0.

Default devtools verify selected a very broad testmon set for this two-file metadata/docstring change and was stopped after ~35 minutes at 97%; the run had already written roughly 40 GB and did not expose the active test node. PR #2100 fixes that harness observability gap so future long default verifies report the current node instead of only percentage/process state.

@coderabbitai

coderabbitai Bot commented Jun 18, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@Sinity, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 58 minutes and 35 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: e2cd4746-a23f-425f-87a2-767835448edd

📥 Commits

Reviewing files that changed from the base of the PR and between 371657a and 94ca462.

📒 Files selected for processing (2)
  • polylogue/daemon/http.py
  • tests/unit/core/test_query_descriptor_parity.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/refactor/query-metadata-tightening-2006

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Sinity
Sinity merged commit 636f4ad into master Jun 18, 2026
13 checks passed
@Sinity
Sinity deleted the feature/refactor/query-metadata-tightening-2006 branch June 18, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant