Repository navigation
refactor(fetcher): rename sysinfo fetchers to prefix_suffix convention - #57
Conversation
Align registry names with the `prefix_suffix` module layout already used by `clock_*` and `git_*` so fetcher names mirror their source modules: - `cpu_load` → `system_cpu` - `memory` → `system_memory` - `uptime` → `system_uptime` - `load_average` → `system_load` - `process_top` → `system_processes` - `disk` → `disk_usage` Struct names (`CpuLoadFetcher`, `DiskFetcher`, …) unchanged — internal symbols, rename can follow later if we want full symmetry. Config impact: user configs referencing the old fetcher names must update to the new names. No alias layer — clean break, consistent with the project's no-shim preference. Docs under `docs-site/src/content/docs/reference/` are generated by `cargo xtask` and gitignored, so the PR only carries source changes; CI regenerates the catalog. Refs #41. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 32 minutes and 25 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Summary
Rename the sysinfo-backed fetchers to the
prefix_suffixregistry convention so their names match the module layout (same pattern asclock_*/git_*).cpu_loadsystem_cpumemorysystem_memoryuptimesystem_uptimeload_averagesystem_loadprocess_topsystem_processesdiskdisk_usageCpuLoadFetcher,DiskFetcher, …) stay put — internal symbols, separate rename if we want full symmetry.src/default_config.tomland the repo's dogfood.splashboard/config.toml.docs-site/src/content/docs/reference/are generated bycargo xtaskand gitignored, so only source changes land here; CI regenerates the catalog.Ticks the
system_*/disk_usagerows under Rename tracking in #41.Test plan
cargo test(297 + 12 passed)cargo clippy --all-targets -- -D warnings(clean)cargo xtaskregeneratesreference/with new names present and old names gonesplashboardwith the dogfood config renders the System showcase rows (cpu / memory / uptime / load / processes / disk)🤖 Generated with Claude Code