fix(native): wait for the KDE feedback test listener - #10645
Conversation
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This is a focused test-only fix that synchronizes D-Bus listener setup and changes no production code or customer-facing behavior. Its runtime impact is limited to making the existing KDE feedback test more reliable. You can add or adjust custom eligibility rules. Learn more. |
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: 9 reviews are currently available. Your included PR review attempts over the past 7 days set your current allowance at 10 reviews per hour. 📝 WalkthroughWalkthroughThe authorization test now uses a dedicated zbus connection that registers ChangesAuthorization Test
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The authorization test now registers its feedback bridge before sending requests, removing the timing race that caused intermittent timeouts. The change is ready to merge with no remaining material risk identified. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
## What's Changed * fix(web): open proactive panels when entering threads by @maria-rcks in pingdotgg/t3code#10610 * fix(native): wait for the KDE feedback test listener by @juliusmarminge in pingdotgg/t3code#10645 * fix(desktop): resolve local media linked from remote threads by @maria-rcks in pingdotgg/t3code#10619 * fix(web): add bottom padding to project actions header by @flamboh in pingdotgg/t3code#10634 * fix(web): update machines together in auto balance by @maria-rcks in pingdotgg/t3code#10596 * fix(preview): transfer recordings to the agent environment by @maria-rcks in pingdotgg/t3code#10572 * fix(web): navigate markdown images as galleries by @maria-rcks in pingdotgg/t3code#10625 * chore: upgrade to TypeScript 7.0.2 by @juliusmarminge in pingdotgg/t3code#10663 * fix: hide email-bearing account labels in usage limits by @juliusmarminge in pingdotgg/t3code#10668 * fix(web): keep scroll-to-end button close to composer by @Bil0000 in pingdotgg/t3code#10543 * chore(deps): upgrade Effect to rc.112 and Alchemy to beta.76 by @juliusmarminge in pingdotgg/t3code#10652 * chore(refs): sync Effect reference to rc.112 by @juliusmarminge in pingdotgg/t3code#10653 * chore(refs): sync Alchemy reference to beta.76 by @juliusmarminge in pingdotgg/t3code#10654 * fix: generate thread titles with the selected model across connections by @Bil0000 in pingdotgg/t3code#10526 * fix(desktop): enable context menus in the browser by @juliusmarminge in pingdotgg/t3code#10670 * fix(desktop): stop generating declarations during bundling by @juliusmarminge in pingdotgg/t3code#10679 * fix(desktop): restore layout control hit targets by @juliusmarminge in pingdotgg/t3code#10673 **Full Changelog**: pingdotgg/t3code@v0.0.41-nightly.20260908.1377...v0.0.41-nightly.20260908.1387 Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.41-nightly.20260908.1387
What changed
Register the feedback test bridge with
Builder::serve_atbefore building its D-Bus connection. zbus waits for the method-call listener during this build, so the first authorization call cannot race listener startup. Keep the existing authorization checks and five-second deadline.Why
The Rust job on main failed in
only_kwin_can_read_commands_or_acknowledge_feedbackeven though the latest commit only changed web files. Registering the object on an already-running connection starts the listener asynchronously; the firstNextcall can arrive before its subscription exists and time out instead of returningAccessDenied.Verification
Before, the unchanged crate reproduced the exact CI failure on iteration 13 when running four test processes on four CPU cores with Rust 1.98.1:
After,
cargo test --locked --manifest-path native/kde-snap-shot/Cargo.tomlpasses all 11 tests. All 2,000 full-crate runs passed under the same contention, with zero failures. The PR Rust CI job also passes. Rust formatting andgit diff --checkpass.Screenshots do not apply to this test-only change.
Checklist
Model: GPT-6. Harness: Codex.
Summary by CodeRabbit