Skip to content
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

test CodeQL #6809

Closed
wants to merge 16 commits into from
Closed

test CodeQL #6809

wants to merge 16 commits into from

Conversation

wangliang181230
Copy link
Contributor

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@wangliang181230 wangliang181230 changed the title version: change version to 2.1.0-SNAPSHOT (#6066) test CodeQL Sep 3, 2024
@wangliang181230 wangliang181230 changed the base branch from 2.0.0 to 2.x September 4, 2024 03:18
# Conflicts:
#	.github/workflows/build.yml
#	.github/workflows/codeql-analysis.yml
#	.github/workflows/test.yml
#	.licenserc.yaml
#	LICENSE
#	README.md
#	all/pom.xml
#	bom/pom.xml
#	build/pom.xml
#	changes/en-us/2.x.md
#	changes/zh-cn/2.x.md
#	codecov.yml
#	common/src/main/java/org/apache/seata/common/ConfigurationKeys.java
#	common/src/main/java/org/apache/seata/common/XID.java
#	common/src/main/java/org/apache/seata/common/exception/ErrorCode.java
#	common/src/main/java/org/apache/seata/common/metadata/Node.java
#	common/src/main/java/org/apache/seata/common/result/BaseParam.java
#	common/src/main/java/org/apache/seata/common/result/Code.java
#	common/src/main/java/org/apache/seata/common/result/PageResult.java
#	common/src/main/java/org/apache/seata/common/result/Result.java
#	common/src/main/java/org/apache/seata/common/result/SingleResult.java
#	common/src/main/java/org/apache/seata/common/util/HttpClientUtil.java
#	common/src/main/resources/error/ErrorCode_en.properties
#	common/src/test/resources/META-INF/services/org.apache.seata.common.loader.Hello
#	common/src/test/resources/error/ErrorCode_en.properties
#	compatible/pom.xml
#	compatible/src/main/java/io/seata/core/constants/DubboConstants.java
#	compatible/src/main/java/io/seata/core/rpc/netty/RmNettyRemotingClient.java
#	compatible/src/main/java/io/seata/spring/annotation/GlobalTransactionScanner.java
#	compatible/src/main/resources/META-INF/services/io.seata.core.model.ResourceManager
#	compatible/src/main/resources/META-INF/services/org.apache.seata.integration.tx.api.interceptor.parser.InterfaceParser
#	compatible/src/main/resources/META-INF/services/org.apache.seata.integration.tx.api.interceptor.parser.RegisterResourceParser
#	compatible/src/main/resources/META-INF/services/org.apache.seata.integration.tx.api.remoting.RemotingParser
#	compressor/seata-compressor-bzip2/src/main/resources/META-INF/services/org.apache.seata.core.compressor.Compressor
#	compressor/seata-compressor-deflater/src/main/resources/META-INF/services/org.apache.seata.core.compressor.Compressor
#	compressor/seata-compressor-gzip/src/main/resources/META-INF/services/org.apache.seata.core.compressor.Compressor
#	compressor/seata-compressor-lz4/src/main/resources/META-INF/services/org.apache.seata.core.compressor.Compressor
#	compressor/seata-compressor-zip/src/main/resources/META-INF/services/org.apache.seata.core.compressor.Compressor
#	compressor/seata-compressor-zstd/src/main/resources/META-INF/services/org.apache.seata.core.compressor.Compressor
#	config/seata-config-apollo/src/main/resources/META-INF/services/org.apache.seata.config.ConfigurationProvider
#	config/seata-config-consul/src/main/resources/META-INF/services/org.apache.seata.config.ConfigurationProvider
#	config/seata-config-core/src/main/resources/META-INF/services/org.apache.seata.config.file.FileConfig
#	config/seata-config-core/src/main/resources/META-INF/services/org.apache.seata.config.processor.Processor
#	config/seata-config-custom/src/main/resources/META-INF/services/org.apache.seata.config.ConfigurationProvider
#	config/seata-config-custom/src/test/resources/META-INF/services/org.apache.seata.config.ConfigurationProvider
#	config/seata-config-etcd3/src/main/resources/META-INF/services/org.apache.seata.config.ConfigurationProvider
#	config/seata-config-nacos/src/main/java/org/apache/seata/config/nacos/NacosConfiguration.java
#	config/seata-config-nacos/src/main/resources/META-INF/services/org.apache.seata.config.ConfigurationProvider
#	config/seata-config-nacos/src/test/java/org/apache/seata/config/nacos/NacosConfigurationTest.java
#	config/seata-config-nacos/src/test/resources/META-INF/services/io.seata.config.ConfigurationProvider
#	config/seata-config-spring-cloud/src/main/resources/META-INF/services/org.apache.seata.config.ConfigurationProvider
#	config/seata-config-zk/src/main/resources/META-INF/services/org.apache.seata.config.ConfigurationProvider
#	console/pom.xml
#	console/src/main/java/io/seata/console/constant/Code.java
#	console/src/main/java/io/seata/console/param/BaseParam.java
#	console/src/main/java/io/seata/console/result/PageResult.java
#	console/src/main/java/io/seata/console/result/Result.java
#	console/src/main/java/io/seata/console/result/SingleResult.java
#	console/src/main/java/org/apache/seata/console/constant/Code.java
#	console/src/main/java/org/apache/seata/console/controller/AuthController.java
#	console/src/main/java/org/apache/seata/console/controller/OverviewController.java
#	console/src/main/java/org/apache/seata/console/param/BaseParam.java
#	console/src/main/java/org/apache/seata/console/result/PageResult.java
#	console/src/main/java/org/apache/seata/console/result/Result.java
#	console/src/main/java/org/apache/seata/console/result/SingleResult.java
#	console/src/main/resources/static/console-fe/package-lock.json
#	console/src/main/resources/static/console-fe/package.json
#	console/src/main/resources/static/css/bootstrap.css
#	console/src/main/resources/static/css/console1412.css
#	console/src/main/resources/static/css/font-awesome.css
#	console/src/main/resources/static/css/icon.css
#	console/src/main/resources/static/css/main.css
#	console/src/main/resources/static/index.html
#	console/src/main/resources/static/js/main.js
#	console/src/main/resources/static/saga-statemachine-designer/designer.html
#	core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Decoder.java
#	core/src/main/java/org/apache/seata/core/protocol/ProtocolConstants.java
#	core/src/main/java/org/apache/seata/core/rpc/netty/ChannelManager.java
#	core/src/main/java/org/apache/seata/core/rpc/netty/NettyClientBootstrap.java
#	core/src/main/java/org/apache/seata/core/rpc/netty/NettyServerBootstrap.java
#	core/src/main/java/org/apache/seata/core/rpc/netty/v1/ProtocolDecoderV1.java
#	core/src/main/java/org/apache/seata/core/rpc/netty/v1/ProtocolV1Decoder.java
#	core/src/main/java/org/apache/seata/core/rpc/netty/v1/ProtocolV1Encoder.java
#	core/src/main/java/org/apache/seata/core/serializer/SerializerServiceLoader.java
#	core/src/main/java/org/apache/seata/core/store/db/AbstractDataSourceProvider.java
#	core/src/main/resources/META-INF/services/org.apache.seata.core.auth.AuthSigner
#	core/src/main/resources/META-INF/services/org.apache.seata.core.context.ContextCore
#	core/src/main/resources/META-INF/services/org.apache.seata.core.rpc.hook.RpcHook
#	core/src/main/resources/META-INF/services/org.apache.seata.core.store.db.sql.distributed.lock.DistributedLockSql
#	core/src/main/resources/META-INF/services/org.apache.seata.core.store.db.sql.lock.LockStoreSql
#	core/src/main/resources/META-INF/services/org.apache.seata.core.store.db.sql.log.LogStoreSqls
#	dependencies/pom.xml
#	discovery/seata-discovery-consul/src/main/java/org/apache/seata/discovery/registry/consul/ConsulRegistryServiceImpl.java
#	discovery/seata-discovery-consul/src/main/resources/META-INF/services/org.apache.seata.discovery.registry.RegistryProvider
#	discovery/seata-discovery-core/src/main/java/org/apache/seata/discovery/loadbalance/ConsistentHashLoadBalance.java
#	discovery/seata-discovery-core/src/main/java/org/apache/seata/discovery/registry/RegistryService.java
#	discovery/seata-discovery-core/src/main/resources/META-INF/services/org.apache.seata.discovery.loadbalance.LoadBalance
#	discovery/seata-discovery-core/src/main/resources/META-INF/services/org.apache.seata.discovery.registry.RegistryProvider
#	discovery/seata-discovery-custom/src/main/resources/META-INF/services/org.apache.seata.discovery.registry.RegistryProvider
#	discovery/seata-discovery-custom/src/test/resources/META-INF/services/org.apache.seata.discovery.registry.RegistryProvider
#	discovery/seata-discovery-etcd3/src/main/java/org/apache/seata/discovery/registry/etcd3/EtcdRegistryServiceImpl.java
#	discovery/seata-discovery-etcd3/src/main/resources/META-INF/services/org.apache.seata.discovery.registry.RegistryProvider
#	discovery/seata-discovery-eureka/src/main/java/org/apache/seata/discovery/registry/eureka/EurekaRegistryServiceImpl.java
#	discovery/seata-discovery-eureka/src/main/resources/META-INF/services/org.apache.seata.discovery.registry.RegistryProvider
#	discovery/seata-discovery-nacos/src/main/java/org/apache/seata/discovery/registry/nacos/NacosRegistryServiceImpl.java
#	discovery/seata-discovery-nacos/src/main/resources/META-INF/services/org.apache.seata.discovery.registry.RegistryProvider
#	discovery/seata-discovery-raft/src/main/resources/META-INF/services/org.apache.seata.discovery.registry.RegistryProvider
#	discovery/seata-discovery-redis/src/main/java/org/apache/seata/discovery/registry/redis/RedisRegistryServiceImpl.java
#	discovery/seata-discovery-redis/src/main/resources/META-INF/services/org.apache.seata.discovery.registry.RegistryProvider
#	discovery/seata-discovery-sofa/src/main/java/org/apache/seata/discovery/registry/sofa/SofaRegistryServiceImpl.java
#	discovery/seata-discovery-sofa/src/main/resources/META-INF/services/org.apache.seata.discovery.registry.RegistryProvider
#	discovery/seata-discovery-zk/src/main/java/org/apache/seata/discovery/registry/zk/ZookeeperRegisterServiceImpl.java
#	discovery/seata-discovery-zk/src/main/resources/META-INF/services/org.apache.seata.discovery.registry.RegistryProvider
#	discovery/seata-discovery-zk/src/test/java/org/apache/seata/discovery/registry/zk/ZookeeperRegisterServiceImplTest.java
#	distribution/NOTICE.md
#	distribution/release-seata.xml
#	integration-tx-api/src/main/java/org/apache/seata/integration/tx/api/interceptor/ActionInterceptorHandler.java
#	integration-tx-api/src/main/resources/META-INF/services/org.apache.seata.integration.tx.api.interceptor.parser.InterfaceParser
#	integration-tx-api/src/main/resources/META-INF/services/org.apache.seata.integration.tx.api.remoting.RemotingParser
#	integration/dubbo-alibaba/src/main/java/io/seata/integration/dubbo/alibaba/AlibabaDubboTransactionPropagationFilter.java
#	integration/dubbo-alibaba/src/main/java/org/apache/seata/integration/dubbo/alibaba/AlibabaDubboTransactionPropagationFilter.java
#	integration/dubbo-alibaba/src/main/java/org/apache/seata/integration/dubbo/alibaba/AlibabaDubboTransactionProviderFilter.java
#	integration/dubbo-alibaba/src/main/resources/META-INF/services/com.alibaba.dubbo.rpc.Filter
#	integration/dubbo-alibaba/src/test/java/org/apache/seata/integration/dubbo/alibaba/AlibabaDubboTransactionPropagationFilterTest.java
#	integration/hsf/src/main/java/io/seata/integration/hsf/HsfTransactionFilter.java
#	integration/hsf/src/main/java/org/apache/seata/integration/hsf/HsfTransactionFilter.java
#	integration/hsf/src/main/java/org/apache/seata/integration/hsf/HsfTransactionProviderFilter.java
#	integration/hsf/src/main/resources/META-INF/services/com.taobao.hsf.invocation.filter.RPCFilter
#	integration/http/src/main/java/org/apache/seata/integration/http/AbstractHttpExecutor.java
#	integration/motan/src/main/resources/META-INF/services/com.weibo.api.motan.filter.Filter
#	integration/sofa-rpc/src/main/resources/META-INF/services/com.alipay.sofa.rpc.filter.Filter
#	metrics/seata-metrics-exporter-prometheus/src/main/resources/META-INF/services/org.apache.seata.metrics.exporter.Exporter
#	metrics/seata-metrics-registry-compact/src/main/resources/META-INF/services/org.apache.seata.metrics.registry.Registry
#	pom.xml
#	rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/cache/MariadbTableMetaCache.java
#	rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/cache/PolarDBXTableMetaCache.java
#	rm-datasource/src/main/java/org/apache/seata/rm/datasource/undo/AbstractUndoExecutor.java
#	rm-datasource/src/main/java/org/apache/seata/rm/datasource/undo/AbstractUndoLogManager.java
#	rm-datasource/src/main/java/org/apache/seata/rm/datasource/undo/UndoLogConstants.java
#	rm-datasource/src/main/java/org/apache/seata/rm/datasource/undo/dm/DmUndoDeleteExecutor.java
#	rm-datasource/src/main/java/org/apache/seata/rm/datasource/undo/dm/DmUndoLogManager.java
#	rm-datasource/src/main/java/org/apache/seata/rm/datasource/undo/mysql/MySQLUndoLogManager.java
#	rm-datasource/src/main/resources/META-INF/services/org.apache.seata.core.model.ResourceManager
#	rm-datasource/src/main/resources/META-INF/services/org.apache.seata.rm.AbstractRMHandler
#	rm-datasource/src/main/resources/META-INF/services/org.apache.seata.rm.datasource.exec.InsertExecutor
#	rm-datasource/src/main/resources/META-INF/services/org.apache.seata.rm.datasource.undo.UndoExecutorHolder
#	rm-datasource/src/main/resources/META-INF/services/org.apache.seata.rm.datasource.undo.UndoLogManager
#	rm-datasource/src/main/resources/META-INF/services/org.apache.seata.rm.datasource.undo.UndoLogParser
#	rm-datasource/src/main/resources/META-INF/services/org.apache.seata.sqlparser.EscapeHandler
#	rm-datasource/src/main/resources/META-INF/services/org.apache.seata.sqlparser.struct.TableMetaCache
#	rm-datasource/src/test/java/org/apache/seata/rm/datasource/exec/MariadbInsertExecutorTest.java
#	rm-datasource/src/test/java/org/apache/seata/rm/datasource/exec/MySQLInsertExecutorTest.java
#	rm-datasource/src/test/java/org/apache/seata/rm/datasource/exec/PolarDBXInsertExecutorTest.java
#	rm-datasource/src/test/java/org/apache/seata/rm/datasource/exec/UpdateExecutorTest.java
#	rm-datasource/src/test/java/org/apache/seata/rm/datasource/mock/MockDatabaseMetaData.java
#	rm-datasource/src/test/java/org/apache/seata/rm/datasource/mock/MockDriver.java
#	rm-datasource/src/test/resources/META-INF/services/org.apache.seata.sqlparser.EscapeHandler
#	rocketmq/pom.xml
#	saga/seata-saga-engine-store/src/main/java/org/apache/seata/saga/engine/store/db/AbstractStore.java
#	saga/seata-saga-engine/src/main/resources/META-INF/services/org.apache.seata.saga.engine.pcext.StateHandlerInterceptor
#	saga/seata-saga-engine/src/main/resources/META-INF/services/org.apache.seata.saga.engine.pcext.StateRouterInterceptor
#	saga/seata-saga-processctrl/src/test/java/org/apache/seata/saga/proctrl/mock/MockProcessRouter.java
#	saga/seata-saga-rm/src/main/resources/META-INF/services/org.apache.seata.core.model.ResourceManager
#	saga/seata-saga-rm/src/main/resources/META-INF/services/org.apache.seata.rm.AbstractRMHandler
#	saga/seata-saga-spring/pom.xml
#	saga/seata-saga-statelang/src/main/resources/META-INF/services/org.apache.seata.saga.statelang.parser.JsonParser
#	saga/seata-saga-statelang/src/main/resources/META-INF/services/org.apache.seata.saga.statelang.validator.Rule
#	saga/seata-saga-statelang/src/test/java/org/apache/seata/saga/statelang/parser/StateParserTests.java
#	saga/seata-saga-statemachine-designer/package-lock.json
#	script/client/conf/registry.conf
#	script/config-center/config.txt
#	script/config-center/nacos/nacos-config-interactive.py
#	script/server/db/sqlserver.sql
#	seata-spring-autoconfigure/seata-spring-autoconfigure-client/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
#	seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/java/org/apache/seata/spring/boot/autoconfigure/SeataCoreEnvironmentPostProcessor.java
#	seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/resources/META-INF/services/org.apache.seata.config.ExtConfigurationProvider
#	seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
#	seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/org/apache/seata/spring/boot/autoconfigure/BasePropertiesTest.java
#	seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/org/apache/seata/spring/boot/autoconfigure/properties/config/test/ApolloPropertiesTest.java
#	seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/org/apache/seata/spring/boot/autoconfigure/properties/config/test/NacosPropertiesTest.java
#	seata-spring-autoconfigure/seata-spring-autoconfigure-core/src/test/java/org/apache/seata/spring/boot/autoconfigure/properties/config/test/ZooKeeperPropertiesTest.java
#	seata-spring-boot-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
#	serializer/seata-serializer-hessian/src/main/resources/META-INF/services/org.apache.seata.core.serializer.Serializer
#	serializer/seata-serializer-kryo/src/main/resources/META-INF/services/org.apache.seata.core.serializer.Serializer
#	serializer/seata-serializer-protobuf/src/main/resources/META-INF/services/org.apache.seata.core.serializer.Serializer
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/abstractBranchEndRequest.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/abstractBranchEndResponse.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/abstractGlobalEndRequest.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/abstractGlobalEndResponse.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/abstractIdentifyRequest.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/abstractIdentifyResponse.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/abstractMessage.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/abstractResultMessage.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/abstractTransactionRequest.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/abstractTransactionResponse.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/batchResultMessage.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/branchCommitRequest.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/branchCommitResponse.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/branchRegisterRequest.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/branchRegisterResponse.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/branchReportRequest.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/branchReportResponse.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/branchRollbackRequest.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/branchRollbackResponse.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/branchType.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/globalBeginRequest.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/globalBeginResponse.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/globalCommitRequest.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/globalCommitResponse.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/globalLockQueryRequest.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/globalLockQueryResponse.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/globalReportRequest.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/globalReportResponse.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/globalRollbackRequest.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/globalRollbackResponse.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/globalStatusRequest.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/globalStatusResponse.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/heartbeatMessage.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/mergedResultMessage.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/mergedWarpMessage.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/registerRMRequest.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/registerRMResponse.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/registerTMRequest.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/registerTMResponse.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/resultCode.proto
#	serializer/seata-serializer-protobuf/src/main/resources/protobuf/org/apache/seata/protocol/transcation/undoLogDeleteRequest.proto
#	serializer/seata-serializer-seata/src/main/java/org/apache/seata/serializer/seata/MessageCodecFactory.java
#	serializer/seata-serializer-seata/src/main/java/org/apache/seata/serializer/seata/SeataSerializer.java
#	serializer/seata-serializer-seata/src/main/resources/META-INF/services/org.apache.seata.core.serializer.Serializer
#	serializer/seata-serializer-seata/src/test/java/org/apache/seata/serializer/seata/protocol/BatchResultMessageSerializerTest.java
#	serializer/seata-serializer-seata/src/test/java/org/apache/seata/serializer/seata/protocol/transaction/BranchCommitRequestSerializerTest.java
#	serializer/seata-serializer-seata/src/test/java/org/apache/seata/serializer/seata/protocol/transaction/BranchCommitResponseSerializerTest.java
#	serializer/seata-serializer-seata/src/test/java/org/apache/seata/serializer/seata/protocol/transaction/BranchRegisterRequestSerializerTest.java
#	serializer/seata-serializer-seata/src/test/java/org/apache/seata/serializer/seata/protocol/transaction/BranchRegisterResponseSerializerTest.java
#	serializer/seata-serializer-seata/src/test/java/org/apache/seata/serializer/seata/protocol/transaction/BranchReportRequestSerializerTest.java
#	serializer/seata-serializer-seata/src/test/java/org/apache/seata/serializer/seata/protocol/transaction/BranchReportResponseSerializerTest.java
#	serializer/seata-serializer-seata/src/test/java/org/apache/seata/serializer/seata/protocol/transaction/BranchRollbackRequestSerializerTest.java
#	serializer/seata-serializer-seata/src/test/java/org/apache/seata/serializer/seata/protocol/transaction/BranchRollbackResponseSerializerTest.java
#	serializer/seata-serializer-seata/src/test/java/org/apache/seata/serializer/seata/protocol/transaction/GlobalBeginRequestSerializerTest.java
#	serializer/seata-serializer-seata/src/test/java/org/apache/seata/serializer/seata/protocol/transaction/GlobalBeginResponseSerializerTest.java
#	serializer/seata-serializer-seata/src/test/java/org/apache/seata/serializer/seata/protocol/transaction/GlobalCommitRequestCodecTest.java
#	serializer/seata-serializer-seata/src/test/java/org/apache/seata/serializer/seata/protocol/transaction/GlobalCommitResponseSerializerTest.java
#	serializer/seata-serializer-seata/src/test/java/org/apache/seata/serializer/seata/protocol/transaction/GlobalLockQueryRequestSerializerTest.java
#	serializer/seata-serializer-seata/src/test/java/org/apache/seata/serializer/seata/protocol/transaction/GlobalLockQueryResponseSerializerTest.java
#	serializer/seata-serializer-seata/src/test/java/org/apache/seata/serializer/seata/protocol/transaction/GlobalRollbackRequestCodecTest.java
#	serializer/seata-serializer-seata/src/test/java/org/apache/seata/serializer/seata/protocol/transaction/GlobalRollbackResponseSerializerTest.java
#	serializer/seata-serializer-seata/src/test/java/org/apache/seata/serializer/seata/protocol/transaction/GlobalStatusRequestCodecTest.java
#	serializer/seata-serializer-seata/src/test/java/org/apache/seata/serializer/seata/protocol/transaction/GlobalStatusResponseSerializerTest.java
#	serializer/seata-serializer-seata/src/test/java/org/apache/seata/serializer/seata/protocol/transaction/UndoLogDeleteRequestSerializerTest.java
#	server/pom.xml
#	server/src/main/java/org/apache/seata/server/Server.java
#	server/src/main/java/org/apache/seata/server/ServerRunner.java
#	server/src/main/java/org/apache/seata/server/cluster/raft/serializer/CustomDeserializer.java
#	server/src/main/java/org/apache/seata/server/cluster/raft/serializer/JacksonBoltSerializer.java
#	server/src/main/java/org/apache/seata/server/cluster/raft/sync/RaftSyncMessageSerializer.java
#	server/src/main/java/org/apache/seata/server/console/controller/GlobalLockController.java
#	server/src/main/java/org/apache/seata/server/console/controller/GlobalSessionController.java
#	server/src/main/java/org/apache/seata/server/console/impl/db/BranchSessionDBServiceImpl.java
#	server/src/main/java/org/apache/seata/server/console/impl/db/GlobalLockDBServiceImpl.java
#	server/src/main/java/org/apache/seata/server/console/impl/db/GlobalSessionDBServiceImpl.java
#	server/src/main/java/org/apache/seata/server/console/impl/file/BranchSessionFileServiceImpl.java
#	server/src/main/java/org/apache/seata/server/console/impl/file/GlobalLockFileServiceImpl.java
#	server/src/main/java/org/apache/seata/server/console/impl/file/GlobalSessionFileServiceImpl.java
#	server/src/main/java/org/apache/seata/server/console/impl/redis/BranchSessionRedisServiceImpl.java
#	server/src/main/java/org/apache/seata/server/console/impl/redis/GlobalLockRedisServiceImpl.java
#	server/src/main/java/org/apache/seata/server/console/impl/redis/GlobalSessionRedisServiceImpl.java
#	server/src/main/java/org/apache/seata/server/console/param/GlobalLockParam.java
#	server/src/main/java/org/apache/seata/server/console/param/GlobalSessionParam.java
#	server/src/main/java/org/apache/seata/server/console/service/BranchSessionService.java
#	server/src/main/java/org/apache/seata/server/console/service/GlobalLockService.java
#	server/src/main/java/org/apache/seata/server/console/service/GlobalSessionService.java
#	server/src/main/java/org/apache/seata/server/controller/ClusterController.java
#	server/src/main/java/org/apache/seata/server/controller/HealthController.java
#	server/src/main/java/org/apache/seata/server/coordinator/DefaultCoordinator.java
#	server/src/main/java/org/apache/seata/server/session/GlobalSession.java
#	server/src/main/java/org/apache/seata/server/session/SessionHelper.java
#	server/src/main/java/org/apache/seata/server/session/SessionHolder.java
#	server/src/main/resources/META-INF/services/org.apache.seata.core.rpc.RegisterCheckAuthHandler
#	server/src/main/resources/META-INF/services/org.apache.seata.core.serializer.Serializer
#	server/src/main/resources/META-INF/services/org.apache.seata.core.store.DistributedLocker
#	server/src/main/resources/META-INF/services/org.apache.seata.core.store.db.DataSourceProvider
#	server/src/main/resources/META-INF/services/org.apache.seata.server.coordinator.AbstractCore
#	server/src/main/resources/META-INF/services/org.apache.seata.server.lock.LockManager
#	server/src/main/resources/META-INF/services/org.apache.seata.server.session.SessionManager
#	server/src/main/resources/application.yml
#	server/src/test/java/ServerTest.java
#	server/src/test/java/org/apache/seata/server/UUIDGeneratorOverflowTest.java
#	server/src/test/java/org/apache/seata/server/lock/LockManagerTest.java
#	server/src/test/java/org/apache/seata/server/lock/file/FileLockManagerImplTest.java
#	server/src/test/java/org/apache/seata/server/raft/RaftSyncMessageTest.java
#	server/src/test/java/org/apache/seata/server/session/BranchSessionTest.java
#	server/src/test/java/org/apache/seata/server/session/FileSessionManagerTest.java
#	server/src/test/java/org/apache/seata/server/session/db/DataBaseSessionManagerTest.java
#	server/src/test/java/org/apache/seata/server/session/redis/RedisQueryConsolTest.java
#	server/src/test/java/org/apache/seata/server/session/redis/RedisSessionManagerTest.java
#	server/src/test/java/org/apache/seata/server/store/db/AbstractDataSourceProviderTest.java
#	server/src/test/java/org/apache/seata/server/store/file/FileTransactionStoreManagerTest.java
#	server/src/test/resources/META-INF/services/org.apache.seata.core.rpc.RegisterCheckAuthHandler
#	server/src/test/resources/META-INF/services/org.apache.seata.core.store.DistributedLocker
#	server/src/test/resources/META-INF/services/org.apache.seata.core.store.db.DataSourceProvider
#	server/src/test/resources/META-INF/services/org.apache.seata.metrics.exporter.Exporter
#	server/src/test/resources/META-INF/services/org.apache.seata.server.coordinator.AbstractCore
#	server/src/test/resources/META-INF/services/org.apache.seata.server.lock.LockManager
#	server/src/test/resources/META-INF/services/org.apache.seata.server.session.SessionManager
#	spring/src/main/java/org/apache/seata/rm/fence/SpringFenceHandler.java
#	spring/src/main/resources/META-INF/services/org.apache.seata.integration.tx.api.interceptor.parser.TargetClassParser
#	spring/src/main/resources/META-INF/services/org.apache.seata.spring.annotation.ScannerChecker
#	sqlparser/seata-sqlparser-antlr/src/main/resources/META-INF/services/org.apache.seata.sqlparser.SQLRecognizerFactory
#	sqlparser/seata-sqlparser-antlr/src/main/resources/META-INF/services/org.apache.seata.sqlparser.antlr.SQLOperateRecognizerHolder
#	sqlparser/seata-sqlparser-druid/src/main/resources/META-INF/services/org.apache.seata.sqlparser.SQLRecognizerFactory
#	sqlparser/seata-sqlparser-druid/src/main/resources/META-INF/services/org.apache.seata.sqlparser.druid.SQLOperateRecognizerHolder
#	sqlparser/seata-sqlparser-druid/src/main/resources/META-INF/services/org.apache.seata.sqlparser.util.DbTypeParser
#	tcc/src/main/java/org/apache/seata/rm/tcc/TCCResourceManager.java
#	tcc/src/main/java/org/apache/seata/rm/tcc/interceptor/TccActionInterceptorHandler.java
#	tcc/src/main/resources/META-INF/services/org.apache.seata.core.model.ResourceManager
#	tcc/src/main/resources/META-INF/services/org.apache.seata.integration.tx.api.interceptor.parser.InterfaceParser
#	tcc/src/main/resources/META-INF/services/org.apache.seata.integration.tx.api.interceptor.parser.RegisterResourceParser
#	tcc/src/main/resources/META-INF/services/org.apache.seata.integration.tx.api.json.JsonParser
#	tcc/src/main/resources/META-INF/services/org.apache.seata.integration.tx.api.remoting.RemotingParser
#	tcc/src/main/resources/META-INF/services/org.apache.seata.rm.AbstractRMHandler
#	test-mock-server/pom.xml
#	test-mock-server/src/main/java/org/apache/seata/mockserver/MockCoordinator.java
#	test-mock-server/src/main/java/org/apache/seata/mockserver/MockServer.java
#	test-mock-server/src/main/resources/application.yml
#	test-mock-server/src/main/resources/logback-spring.xml
#	test/src/test/java/LocalTransactionWithGlobalLockDataSourceBasicTest.java
#	test/src/test/java/org/apache/seata/at/mysql/MysqlUpdateJoinTest.java
#	test/src/test/java/org/apache/seata/core/rpc/netty/TmNettyClientTest.java
#	test/src/test/java/org/apache/seata/core/rpc/netty/mockserver/MockServerTest.java
#	test/src/test/java/org/apache/seata/core/rpc/netty/mockserver/RmClientTest.java
#	test/src/test/java/org/apache/seata/core/rpc/netty/mockserver/TmClientTest.java
#	test/src/test/java/org/apache/seata/core/rpc/netty/v1/ClientChannelHandler.java
#	test/src/test/java/org/apache/seata/core/rpc/netty/v1/ProtocolV1Server.java
#	test/src/test/java/org/apache/seata/core/rpc/netty/v1/ServerChannelHandler.java
#	test/src/test/java/org/apache/seata/saga/engine/db/AbstractServerTest.java
#	test/src/test/java/org/apache/seata/saga/engine/mock/MockSagaTransactionTemplate.java
#	test/src/test/resources/META-INF/services/org.apache.seata.common.loader.LoaderTestSPI
#	test/src/test/resources/META-INF/services/org.apache.seata.saga.engine.pcext.StateHandlerInterceptor
#	test/src/test/resources/META-INF/services/org.apache.seata.saga.engine.pcext.StateRouterInterceptor
#	test/src/test/resources/saga/spring/statemachine_engine_db_mockserver_test.xml
#	test/src/test/resources/saga/spring/statemachine_engine_db_test.xml
#	test/src/test/resources/saga/spring/statemachine_engine_test.xml
#	tm/src/main/resources/META-INF/services/org.apache.seata.core.model.TransactionManager
Copy link

codecov bot commented Sep 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.40%. Comparing base (42f3ae7) to head (8a34d03).
Report is 8 commits behind head on 2.x.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##                2.x    #6809      +/-   ##
============================================
+ Coverage     52.34%   52.40%   +0.06%     
- Complexity     6382     6390       +8     
============================================
  Files          1081     1081              
  Lines         37617    37617              
  Branches       4464     4464              
============================================
+ Hits          19690    19713      +23     
+ Misses        15974    15947      -27     
- Partials       1953     1957       +4     
Files with missing lines Coverage Δ
...in/java/org/apache/seata/common/util/SizeUtil.java 93.33% <ø> (ø)
...g/apache/seata/rm/datasource/sql/struct/Field.java 90.90% <ø> (ø)
...org/apache/seata/rm/datasource/sql/struct/Row.java 100.00% <ø> (ø)
...e/seata/rm/datasource/sql/struct/TableRecords.java 68.18% <ø> (ø)
...ource/sql/struct/cache/AbstractTableMetaCache.java 83.33% <ø> (ø)
...source/sql/struct/cache/MariadbTableMetaCache.java 77.77% <ø> (ø)
...tasource/sql/struct/cache/MysqlTableMetaCache.java 86.81% <ø> (ø)

... and 4 files with indirect coverage changes

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's happen, empty file?


<bean id="mockSagaTransactionTemplate" class="org.apache.seata.saga.engine.mock.MockSagaTransactionTemplate"/>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like git.autocrlf has changed, but the content actually hasn't changed.

@slievrly slievrly closed this Sep 16, 2024
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.

3 participants