openspec/templates/tasks.md
MySqlPerfTest and memory tests before task execution
1.1 Implement core logic in <!-- ClassName -->
core/src/main/java/com/alibaba/druid/<!-- package -->/<!-- ClassName -->.java1.2 Add configuration support
core/src/main/java/com/alibaba/druid/pool/DruidAbstractDataSource.java1.3 Integrate with filter chain (if applicable)
core/src/main/java/com/alibaba/druid/filter/2.1 Add MBean attributes (if applicable)
core/src/main/java/com/alibaba/druid/pool/DruidDataSourceMBean.java2.2 Update statistics collection
core/src/main/java/com/alibaba/druid/stat/3.1 Update Spring Boot starter (if applicable)
druid-spring-boot-starter/src/main/java/com/alibaba/druid/spring/boot/autoconfigure/3.2 Add configuration properties
druid-spring-boot-starter/src/main/java/com/alibaba/druid/spring/boot/autoconfigure/DruidStatProperties.java4.1 Write unit tests
core/src/test/java/com/alibaba/druid/<!-- package -->/4.2 Write concurrency tests
core/src/test/java/com/alibaba/druid/4.3 Write benchmark tests (if performance-critical)
core/src/test/java/com/alibaba/druid/benckmark/4.4 Write integration tests (if database required)
core/src/test/java/com/alibaba/druid/ 4.5 For architecture changes, execute MySqlPerfTest
core/src/test/java/com/alibaba/druid/4.6 For architecture changes, execute memory tests
core/src/test/java/com/alibaba/druid/4.7 For architecture changes, compare baseline vs post-change perf/memory results
5.1 Verify checkstyle compliance
mvn checkstyle:check5.2 Update Javadoc for public APIs
5.3 Add Apache License header to new files
6.1 Update README.md (if user-facing change)
README.md or module README6.2 Update Wiki documentation (if significant change)
6.3 Add/Update examples in demo project
druid-demo-petclinic/7.1 Run full build
mvn clean install7.2 Run tests
mvn test7.3 Update VERSION.java (if version-related change)
core/src/main/java/com/alibaba/druid/VERSION.javamvn test)mvn checkstyle:check)MySqlPerfTest and memory tests are both present