Skip to content

🚀 [release] 0.0.23#27

Merged
TrueNine merged 15 commits intomainfrom
dev
Aug 10, 2025
Merged

🚀 [release] 0.0.23#27
TrueNine merged 15 commits intomainfrom
dev

Conversation

@TrueNine
Copy link
Copy Markdown
Owner

🚀 [release] 0.0.23

- Added comprehensive rules for module development, Kotlin conventions, Gradle build structure, and testing standards.
- Included domain-specific guidelines for AI, database, security, object storage, and project architecture.
- Created documentation for consistent workflow and best practices following TDD and secure coding principles.
- Restructured and expanded rules for modular development and testing.
- Refined TDD methodology to advocate progressive development with "baby steps."
- Improved documentation consistency across SQL, TypeScript, and other standards.
- Enforced usage of English for documentation comments.
- Mandated Chinese for in-code comments, focusing on "why" rather than "what."
- Prohibited inline comments.
- Restructured mandatory rules for better organization.
- Clarified and enhanced TDD practices to emphasize incremental validation.
- Adjusted SQL, TypeScript, and comment standards for consistency and best practices.
- Removed redundant rule prohibiting `@DisplayName` annotation.
- Added new unit test naming conventions and restricted specific prefixes.
- Renamed "TDD渐进式开发方法论" to "渐进式开发方法论" for conciseness.
- Removed rule requiring Chinese descriptions in test method names.
…ainer framework

- Added `ITestContainerBase` interface for unified lifecycle management and multi-container aggregation.
- Implemented `IContainersContext` and `ContainersContextImpl` for testing container interactions.
- Added extensive tests, including `ExtensionFunctionsTest` and `SimpleNewFeaturesVerificationTest`, to validate core functionalities, single/multi-container scenarios, and backward compatibility.
…zy initialization

- Converted repetitive container test setups to reusable extension functions (`mysql`, `minio`, `redis`, `postgres`) for streamlined test logic.
- Replaced direct container references with lazy initialization (`minioContainerLazy`, `postgresqlContainerLazy`, etc.) for optimized resource management.
- Updated `TestcontainersProperties` with new configurations (`stopTimeoutSeconds`, `enableAutoStop`, etc.) to enhance flexibility and reduce resource usage.
- Improved documentation with examples of both traditional and extension-function-based testing approaches.
…mplify Minio test setup

- Added a trace log when exposing Testcontainers properties as a bean.
- Refactored `MinioObjectStorageServiceTest` setup to use the `minio` extension function for cleaner and more concise test initialization.
- Introduced `SpringBootConfigurationPropertiesPrefixes` for unified configuration prefix management.
- Refactored multiple modules to use the centralized constants (`@ConfigurationProperties`) replacing hardcoded prefixes.
- Enhanced maintainability and reduced redundancy across shared, security, OSS, pay, PSDK, depend, and testtoolkit modules.
…tion

- Tweaked Gradle and JVM options to improve performance, reducing memory usage and aligning with GitHub Actions' resource constraints.
- Refined caching strategies by adjusting cache keys, improving restoration logic, and removing redundant configurations.
- Enhanced Maven Central publishing with simplified decision logic, error handling, and pre-validation checks for secrets and network connectivity.
- Improved test diagnostics collection, added test environment configurations, and modularized test container settings for better reliability.
- Updated test summary reporting with detailed statuses, failure analysis, and optimization suggestions.
- Introduced smarter Docker resource management, including targeted container, image, and volume cleanup.
@TrueNine TrueNine merged commit 5abdc8d into main Aug 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant