Repository navigation
style(tui): collapse the inline-notice guard so the file holds its size - #78
Merged
Merged
Conversation
The panic refactor replaced `notice.unwrap().0` with a two-line nested `if let`, which pushed this already-tracked file from 1382 to 1384 and failed `check_code_size_budget.py`. Merging the two conditions into a single let-chain restores it to 1382 with identical behavior. `cargo check -p jcode-tui --lib` is clean. The remaining `check_code_size_budget.py` failure, `crates/jcode-tui/src/tui/mod.rs` (2072 -> 2077), is pre-existing and not from this work: it was already 2077 at pre-refactor master and comes from commit f396d0f. tx-agent: jcode tx-task: panic-budget-ratchet tx-validated: cargo-check tx-scope: crates/jcode-tui/src/tui/ui_inline_interactive.rs tx-intent: return ui_inline_interactive.rs to its tracked size after the panic refactor added two lines
🤖 CodeAnt AI — Review Status
|
Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 14 minutes. View limit details
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. Comment |
CodeAnt PR Risk: Low Risk
Assessed commit: |
KooshaPari
pushed a commit
that referenced
this pull request
Oct 15, 2026
…-size ratchet defense) tx-agent: jcode tx-task: B.8.85 tx-parent: 1262747 tx-validated: cargo-check (0 errors, 16.49s incremental), 3-restore_session-tests (PASS 6.26s), git-verify (fast-forward 0 conflicts) tx-scope: docs/sessions/2026-10-12-cleanup-and-release/01_AUDIT.md tx-intent: Record B.8.85 — peer-orchestrator merged PR #78 (let-chain refactor for ui_inline_interactive.rs, defends check_code_size_budget.py) during B.8.84 finalization. PR #79 was merged to a different base (revert/pr-33-merge, KCode decollision, out of orchestrator scope). Fast-forwarded local master to 1262747 with 0 conflicts. Discovered 13 open PRs in operator's fork; 2 MERGEABLE+ready (PR #34 decollide-r2, PR #25 codex-poke) but not merged in B.8.85 because operator's 'proc' signal was scoped to the 3 PRs I had on radar. New standing memory: peer-orchestrator can move origin/master while orchestrator is working; always git fetch origin master before any push/merge, reconcile via git merge --ff-only (safe) or git reset --hard + re-merge (when local commits need rebase).
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (1 file)
Reviewed by free · Input: 91.9K · Output: 1.4K · Cached: 82.1K |
KooshaPari
pushed a commit
that referenced
this pull request
Oct 15, 2026
Format drift was reintroduced by PRs #76/#77/#78/#80 after the B.8.84 fmt cleanup (PR #75). cargo fmt --check was dirty on 11 files (15 drift points; some multi-line collapsed). Master CI had not run since 2026-10-14T10:20:15Z, so the drift went undetected for 35+ hours. This is the prerequisite for P7 release (v0.96.0-k1.0.0) per the audit plan: 'After fmt-cleanup merges' (B.8.6). Verified: - cargo check --workspace: 0 errors, 0 warnings - cargo fmt --check: clean - 3/3 restore_session tests pass Closes the cargo fmt gate failure surfaced by B.8.87 recon. tx-agent: jcode tx-validated: cargo-check tx-task: p7-release-prereq tx-scope: crates/jcode-app-core/build.rs crates/jcode-app-core/src/tool/bash.rs crates/jcode-app-core/src/tool/discover.rs crates/jcode-base/src/provider_activity_oauth.rs crates/jcode-command-risk/src/heredoc.rs crates/jcode-command-risk/src/redirection.rs crates/jcode-provider-grok-build-runtime/src/bin/fake_acp.rs crates/jcode-provider-openai/src/stream.rs crates/jcode-sdk/src/auth.rs crates/jcode-tui/src/tui/app/auth_account_picker.rs crates/jcode-tui/src/tui/ui_inline_interactive.rs tx-intent: Clean cargo fmt drift on master to unblock P7 release
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
User description
Summary
The merged panic refactor replaced
notice.unwrap().0with a two-line nestedif let, pushingcrates/jcode-tui/src/tui/ui_inline_interactive.rsfrom 1382 to 1384 and failingcheck_code_size_budget.py.Merging the two conditions into a single let-chain restores the file to 1382 with identical behavior.
Validation
cargo check -p jcode-tui --lib-> cleancheck_code_size_budget.pyno longer lists this fileThe one remaining failure is pre-existing
crates/jcode-tui/src/tui/mod.rs(2072 -> 2077) is not from the panic refactor. It was already 2077 at pre-refactor master (b7d9dc117) and comes from commitf396d0fd7(fix(tui): stop kitty key-event leaks under herdr/conpty), which is not in this diff. Left alone — it belongs to whoever owns that commit.Ledger
CodeAnt-AI Description
Preserve inline suggestion notices without increasing file size
What Changed
Impact
✅ Inline suggestion notices remain visible💡 Usage Guide
Checking Your Pull Request
Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.
Talking to CodeAnt AI
Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Example
Preserve Org Learnings with CodeAnt
You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:
This helps CodeAnt AI learn and adapt to your team's coding style and standards.
Example
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
Check Your Repository Health
To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.