feat: guide multi-account Google Search Console setup - #211
Conversation
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 36 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the 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 reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. 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, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (20)
📝 WalkthroughWalkthroughGoogle Search Console onboarding now supports multiple named profiles through the CLI and local Console. Generated profiles receive explicit defaults, separate upstream-owned OAuth state directories, structured validation, and updated documentation and tests. ChangesGoogle Search Console onboarding
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant Operator
participant CLI as miftah setup
participant Console as Local Console
participant Builder as buildPresetConfig
participant Config as Generated configuration
Operator->>CLI: configure named GSC profiles
Operator->>Console: submit named GSC profiles
CLI->>Builder: pass profiles and defaultProfile
Console->>Builder: pass profiles and defaultProfile
Builder->>Config: generate isolated profile environments
Possibly related PRs
Poem
Caution Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional.
❌ Failed checks (1 error)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Review follow-up: the description warning is addressed with Summary, Security impact, and checklist Validation sections. The generic 80% docstring-coverage error is not an actionable repository requirement: this change already documents its two new exported types, and adding docstrings broadly to unrelated existing private functions would be out of scope and would not improve the audited behavior. There are no CodeRabbit review threads or code findings to resolve. |
407b2c3 to
a2a74d7
Compare
|
Current-head review exception for a2a74d7: all 12 required checks are green (Linux quality, Verify, macOS/Ubuntu/Windows Node 20/22/24, and package validation). CodeRabbit is demonstrably rate-limited for 36 minutes and the GraphQL review check found no reviews or review threads. Its earlier generic docstring-coverage checklist was already addressed and is not a repository requirement. A bounded local Claude Code Opus review attempt produced no report, so no result is claimed from it; independent local diff review found no blocking correctness, security, compatibility, or test issues. Proceeding under the documented rate-limit exception. |
Summary
Part of #204; does not close it.
This delivers the Google Search Console multi-account vertical slice through the shared setup path:
miftah setupcan add any number of named Google accounts and requires an explicit durable default when there is more than one.GSC_CONFIG_DIR, namespaced by resolved configuration path and profile.Security impact
Validation
tests/setup-command.test.ts,tests/preset-catalog.test.ts,tests/console-server.test.ts, andtests/console-application-service.test.ts: 64 passing on Node 22.22.3.npm run typecheck.npm run lint.Intentional remaining #204 scope
Import/paste existing client entries, generic local/remote setup, per-profile live readiness and first read-only call verification, and later profile management remain tracked in #204.