Skip to content

test(antigravity): cover managed CLI fallback semantics - #501

Merged
Finesssee merged 1 commit into
mainfrom
codex/fix-issue-473-evidence
Sep 14, 2026
Merged

Finesssee merged 1 commit into
mainfrom
codex/fix-issue-473-evidence

Conversation

@Finesssee

@Finesssee Finesssee commented Sep 14, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #473.

Strengthens deterministic regression coverage for the Antigravity fallback already delivered by merged PR #483. The owned CLI path now proves a usable live quota with source=cli, used_percent=10, and a non-informational window. The offline history fallback now proves its source, login marker, informational status, and reset description.

This PR intentionally changes tests only; it does not reopen the managed process/provider implementation from #483.

Validation:

  • Rust workspace tests: 1783 passed, 1 ignored.
  • Tauri tests: 426 passed.
  • Rust and Tauri clippy with -D warnings passed.
  • rustfmt and git diff --check passed.

Thermo review: PASS. Oracle review: PASS.

Summary by CodeRabbit

  • Bug Fixes
    • Usage data is now preserved when retrieving owned CLI information.
    • Primary usage windows are correctly identified as non-informational.
    • Offline fallback details now clearly indicate the source and conversation count.
    • Offline history displays accurate source, login method, informational status, and reset details.

@coderabbitai

coderabbitai Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: e535bc8c-e4da-439b-8ec5-f1f00881f44c

📥 Commits

Reviewing files that changed from the base of the PR and between 038dbca and 6df0c23.

📒 Files selected for processing (1)
  • rust/src/providers/antigravity/tests.rs

Included review availability: Your plan provides up to 4 included reviews per hour; 1 remains after this review.


📝 Walkthrough

Walkthrough

The Antigravity provider tests now verify owned CLI usage data and primary-window metadata. Offline fallback fixtures and history-resolution tests now validate informational status, conversation counts, source, login method, and reset descriptions.

Changes

Antigravity fallback tests

Layer / File(s) Summary
Usage and offline fallback validation
rust/src/providers/antigravity/tests.rs
The tests verify preserved CLI usage percentages, non-informational primary windows, informational offline snapshots, conversation-count descriptions, source, login method, and reset descriptions.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other · Severity of issue fixed: Medium

Suggested reviewers: tlq5l

Merge Risk: ⚪ Minimal · up to e2f93

This PR strengthens coverage for live usage and offline fallback metadata without changing production behavior.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 66.67% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 1 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies Antigravity tests that cover managed CLI fallback semantics. It matches the main change in the pull request.
Linked Issues check ✅ Passed Issue #473 requires the signed-in agy fallback and preservation of the offline-history fallback. The PR summary identifies the managed fallback as already implemented and adds regression tests for o…
Out of Scope Changes check ✅ Passed The raw change summary reports changes only in rust/src/providers/antigravity/tests.rs, with 12 lines added and 2 removed. The tests target the managed agy fallback and its offline fallback. No un…
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/fix-issue-473-evidence

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.

@Finesssee
Finesssee force-pushed the codex/fix-issue-473-evidence branch from 6df0c23 to e2f9310 Compare September 14, 2026 16:37
@Finesssee
Finesssee merged commit cee0b19 into main Sep 14, 2026
3 checks passed
@Finesssee
Finesssee deleted the codex/fix-issue-473-evidence branch September 14, 2026 16:51
@Finesssee Finesssee mentioned this pull request Sep 15, 2026
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.

[Bug]: Launch signed-in agy when Antigravity is closed

1 participant