feat(typegen): add supabase_typegen skeleton package#1636
Conversation
Reserve the supabase_typegen package name on pub.dev with a minimal placeholder release. Wires the package into the workspace, the Dart CI test matrix, the pana release matrix and the SDK compliance parse ignore.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdds the placeholder Changessupabase_typegen package
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 Checkov (3.3.8).github/workflows/test.ymlTraceback (most recent call last): 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 |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/test.yml:
- Line 67: Update the coverage-finished carryforward package list in the
workflow to include supabase_typegen, matching the existing DART_PACKAGES entry,
so skipped dynamic-matrix runs preserve its coverage.
- Line 67: The Dart workflow’s shared formatting step includes supabase_typegen
even though it lacks a test directory. Update the workflow’s stable-format logic
to pass only existing paths, or add a minimal test directory for
supabase_typegen; ensure formatting no longer fails on the missing test path
while preserving formatting for all existing package sources.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: b1f30a73-de8a-4d4c-8911-a919e69056f9
📒 Files selected for processing (10)
.github/workflows/release-pana.yml.github/workflows/test.yml.sdk-parse-ignorepackages/supabase_typegen/CHANGELOG.mdpackages/supabase_typegen/LICENSEpackages/supabase_typegen/README.mdpackages/supabase_typegen/analysis_options.yamlpackages/supabase_typegen/lib/supabase_typegen.dartpackages/supabase_typegen/pubspec.yamlpubspec.yaml
Add a minimal test directory so the shared Dart format and test steps succeed for supabase_typegen, and register it in the coverage-finished carryforward list.
What kind of change does this PR introduce?
Feature. Adds an empty skeleton for a new
supabase_typegenpackage so we can publish it to pub.dev and reserve the name.The full generator implementation lands separately in #1635; this PR intentionally contains only the minimal publishable placeholder.
What is the new behavior?
A new
packages/supabase_typegenpackage containing:pubspec.yaml(version0.1.0, nopublish_to: none) so the melos release pipeline picks it up,README,CHANGELOGandLICENSE,supabase_lintswired in viaanalysis_options.yaml(analyzes clean).It is wired into:
pubspec.yaml,test.yml,release-pana.yml,.sdk-parse-ignore), since it is a development-time tool rather than SDK client surface.Additional context
The README and CHANGELOG flag
0.1.0as a name-reserving placeholder; the generator implementation will replace it in a later release.Summary by CodeRabbit
supabase_typegenpackage placeholder (v0.1.0) to generate typed Dart table definitions from Supabase schemas.supabase_typegenwhen relevant, including coverage carryforward.supabase_typegenfrom SDK public API scanning (development-time generator).