refactor(dashboard): fix ts issues#3981
Conversation
|
🚅 Deployed to the rivet-pr-3981 environment in rivet-frontend
|
How to use the Graphite Merge QueueAdd the label merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
PR Review: refactor(dashboard): fix ts issuesOverviewThis PR addresses TypeScript issues across the dashboard, examples, and RivetKit TypeScript packages. The changes include 91 files with 476 additions and 1007 deletions, representing a significant TypeScript strictness improvement effort. ✅ Strengths1. Improved CI/CD PipelineThe new
2. TypeScript Strictness
3. Code Cleanup
4. Workspace Consistency
|
| Category | Status |
|---|---|
| Code Quality | ✅ Good |
| Type Safety | ✅ Significantly Improved |
| CI/CD | ✅ Enhanced |
| Documentation | |
| Test Coverage | ✅ Type checking enforced |
| Security | ✅ No concerns |
Final Verdict
✅ Approved with minor suggestions
This is a solid TypeScript improvement PR that enhances type safety and CI enforcement. The suggestions above are minor improvements that can be addressed in follow-up PRs if needed.
Action Items (Optional Follow-ups)
- Enable or document website type checking status
- Consider refactoring biome-ignore violations in data-provider.tsx
- Verify functionality of deleted/reduced code sections
Great work on improving the TypeScript strictness across the codebase! 🎉
More templates
@rivetkit/cloudflare-workers
@rivetkit/db
@rivetkit/framework-base
@rivetkit/next-js
@rivetkit/react
rivetkit
@rivetkit/sql-loader
@rivetkit/virtual-websocket
@rivetkit/engine-runner
@rivetkit/engine-runner-protocol
commit: |
900dc84 to
af907e8
Compare
af907e8 to
f83b043
Compare
Graphite Automations"Test" took an action on this PR • (01/19/26)1 assignee was added to this PR based on Kacper Wojciechowski's automation. |
f83b043 to
3e2fc8e
Compare
3e2fc8e to
b17b916
Compare
| website-quality-check: | ||
| name: Website / Quality Check | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: biomejs/setup-biome@v2 | ||
| with: | ||
| version: latest | ||
| - run: biome check ./website --reporter=github |
There was a problem hiding this comment.
This job is causing CI to fail because it's trying to run Biome checks on the ./website directory, but either the directory doesn't exist, is empty, or is excluded from Biome's configuration. Consider removing this job or updating the path to a directory that Biome can process.
Spotted by Graphite Agent (based on CI logs)
Is this helpful? React 👍 or 👎 to let us know.
| "@rivetkit/react": "^2.0.38", | ||
| "hono": "^4.11.3", | ||
| "react": "^18.2.0", | ||
| "react-dom": "^18.2.0", | ||
| "rivetkit": "*", | ||
| "rivetkit": "^2.0.38", |
There was a problem hiding this comment.
The validation script in @rivetkit/example-registry expects RivetKit dependencies to use wildcard version (''). Changing to specific versions ('^2.0.38') causes validation to fail. Revert these changes to use '' for RivetKit dependencies.
Spotted by Graphite Agent (based on CI logs)
Is this helpful? React 👍 or 👎 to let us know.
b17b916 to
b959eb2
Compare
b959eb2 to
e33aa29
Compare
e33aa29 to
5580b30
Compare
Merge activity
|

No description provided.