Repository navigation
chore(dev): consolidate checks behind just - #1240
Conversation
Make just check the main static validation entry point by running lint, format checks, typechecks, and nix flake check. Add a just update-litellm-pricing recipe so the README and scheduled pricing workflow can describe validation through just instead of direct nix commands.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
ccusage-guide | 562b512 | Commit Preview URL Branch Preview URL |
Jun 09 2026, 08:58 AM |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughRoutes project validation and developer tasks through a top-level ChangesDevelopment Tooling Centralization
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
Rely on nix flake check for treefmt and oxlint, while keeping package typechecks as the extra just check dependency.
|
@coderabbitai review Please review the latest push. Validation run locally:
|
|
@coderabbitai review Please review the latest push. Local validation passed: nix develop --command just check |
|
✅ Action performedReview finished.
|
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Get PR details and changed files
gh pr view 1240 --repo ryoppippi/ccusage --json title,body,state,headRefName,baseRefName,files
echo "---FILES---"
gh pr diff 1240 --repo ryoppippi/ccusageLength of output: 6038
No issues found. The consolidation is logically consistent across all files. [approve] |
There was a problem hiding this comment.
1 issue found across 1 file (changes from recent commits).
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — consolidates contributor-facing dev validation behind just recipes, replacing direct nix flake check / nix flake update litellm calls with just check and just update-litellm-pricing.
- Make
just checkrun typechecks before flake checks — addstypecheckas a dependency injustfile, sojust checkcovers pnpm typechecking plus treefmt/oxlint/clippy/schema/gitleaks/build - Add
just update-litellm-pricingrecipe — combinesnix flake update litellmwithjust checkas a single command - Update pricing CI workflow — replaces
nix flake checkwithnix develop --command just checkand updates the PR body validation note - Document
justas the contributor entry point — updatesapps/ccusage/README.mdanddocs/guide/installation.mdto showjust fmt/just test/just check/just update-litellm-pricing
DeepSeek Pro (free via Pullfrog for OSS) | 𝕏
ccusage
@ccusage/ccusage-darwin-arm64
@ccusage/ccusage-darwin-x64
@ccusage/ccusage-linux-arm64
@ccusage/ccusage-linux-x64
@ccusage/ccusage-win32-arm64
@ccusage/ccusage-win32-x64
commit: |

Consolidates contributor-facing development validation around just.
This makes just check run package typechecks plus nix flake check, which covers treefmt, oxlint, clippy, schema drift, gitleaks, and the build. It also adds just update-litellm-pricing and updates the README, installation guide, and pricing update workflow to use the same entry points.
Testing:
Summary by CodeRabbit
Documentation
Chores
New Features