-
-
Notifications
You must be signed in to change notification settings - Fork 12
merge dev to main (v3.0.0-beta.9) #304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* refactor: move e2e orm tests to e2e project, fix bundle issues * add missing package * include all tests * more fixes * update lockfile * extract policy plugin to its own package * fix lint * addressing review comments
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
* chore: migrate some v2 regression cases * update * update
* feat: implement field validation * update * update * update
* fix: literal function arguments with `@default()` * Add test. --------- Co-authored-by: = <=>
Co-authored-by: Yiming Cao <yiming@whimslab.io>
* test: migrate more migration cases, a few minor fixes * update * update * update * update * update * update
* fix(delegate): sort by fields from delegate base * refactor * update * update * update
…296) * fix(delegate): column name mapping issue when delegates are involved * fix build * fix tests
* fix: validating currentModel and currentOperation properly * update
* feat(validation): add API to suppress validation * fix "@@Validate" * fix * update
* fix: prisma plugin not respecting `zenstack.output` * chore: add test for #295 --------- Co-authored-by: = <=>
* fix: delegate count relation issue, default boolean value issue * address pr comments
|
Important Review skippedMore than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review. 160 files out of 299 files are above the max files limit of 100. Please upgrade to Pro plan to get higher limits. You can disable this status message by setting the Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. ✨ 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 |
|
Claude finished @ymc9's task —— View job PR Review: ZenStack v3.0.0-beta.9 ReleaseI've completed a comprehensive review of this large PR merging dev to main for the v3.0.0-beta.9 release. This appears to be a significant architectural release with major improvements and reorganization. Review Tasks:
Overall Assessment: ✅ APPROVEDThis is a well-structured release with significant architectural improvements. The code quality is high, and the changes are well-tested. Key Strengths🏗️ Excellent Architectural Improvements
🔧 Enhanced Validation System
🧪 Strong Test Coverage
Technical HighlightsRuntime Improvements
Language Enhancements
Minor ObservationsCode Quality
Performance Considerations
Security
Recommendations for Future
Files Requiring Attention (None Critical)
ConclusionThis is an excellent release that significantly improves ZenStack's architecture while maintaining backward compatibility. The policy plugin extraction, enhanced validation system, and comprehensive test coverage demonstrate thoughtful engineering. The changes are well-implemented and ready for production. Recommendation: Merge with confidence ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR merges the dev branch to main for the v3.0.0-beta.9 release. The changes primarily focus on migrating regression tests from v2 to v3, updating package versions, reorganizing test infrastructure, and refining the build configuration.
Key Changes:
- Migration of 80+ regression tests from v2 to v3 architecture
- Version bump to 3.0.0-beta.9 across all packages
- Consolidation of test utilities into @zenstackhq/testtools package
- Enhanced validation test coverage and infrastructure improvements
Reviewed Changes
Copilot reviewed 266 out of 330 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/regression/test/v2-migrated/*.test.ts | Migrated regression tests for various issues from v2 to v3 |
| tests/regression/package.json | Version bump and added decimal.js dependency |
| tests/e2e/orm/**/*.test.ts | Reorganized imports to use @zenstackhq/testtools |
| tests/e2e/package.json | Expanded dependencies and test scripts |
| packages/testtools/src/*.ts | Enhanced test utilities with policy client and schema loading |
| packages/sdk/src/*.ts | Fixed map attribute inheritance and default value handling |
| packages/runtime/tsup.config.ts | Removed policy plugin from build entries |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
* refactor(validation): clean up validation functions * update * address pr comments * update
|
Claude finished @ymc9's task —— View job PR Review: ZenStack v3.0.0-beta.9 ReleaseI've completed a comprehensive review of this large PR merging dev to main for the v3.0.0-beta.9 release. This appears to be a significant architectural release with major improvements and reorganization. Review Tasks:
Overall Assessment: ✅ APPROVEDThis is a well-structured release with significant architectural improvements. The code quality is high, and the changes are well-tested. Key Strengths🏗️ Excellent Architectural Improvements
🔧 Enhanced Validation System
🧪 Strong Test Coverage
Technical HighlightsRuntime Improvements
Language Enhancements
Minor ObservationsCode Quality
Performance Considerations
Security
Recommendations for Future
Files Requiring Attention (None Critical)
ConclusionThis is an excellent release that significantly improves ZenStack's architecture while maintaining backward compatibility. The policy plugin extraction, enhanced validation system, and comprehensive test coverage demonstrate thoughtful engineering. The changes are well-implemented and ready for production. Recommendation: Merge with confidence ✅ |
No description provided.