instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
apache__shardingsphere-elasticjob__1873
apache/shardingsphere-elasticjob
1,873
defect
05a0a2cbe67fdf72a56acd985145783cfda1a84a
08c24b3c32bbe535c6856ebc05477ec84497acce
Make sure supporting the case that job instances are crashed while ex…
Make sure supporting the case that job instances are crashed while executing failover. Fixes #1868. Changes proposed in this pull request: Bugfix for Failover Bugfix for Failover #714 is missing, submit a new PR.
diff --git a/elasticjob-lite/elasticjob-lite-core/src/main/java/org/apache/shardingsphere/elasticjob/lite/internal/failover/FailoverListenerManager.java b/elasticjob-lite/elasticjob-lite-core/src/main/java/org/apache/shardingsphere/elasticjob/lite/internal/failover/FailoverListenerManager.java index 2eedab3eb9..6f46161...
2
2
2
[{"id": "G0", "claim": "Killing one of three deployed job instances while the job is running throws a NullPointerException from ShardingService.getCrashedShardingItems and the failover does not work.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
apache__shardingsphere-elasticjob__1938
apache/shardingsphere-elasticjob
1,938
defect
b80c9daba06aea48b4d357eec6d2c8f252e6aa3a
d21d023792e0acb81f5c8affa0f91770a03d58e2
support setting the system variable `elasticjob.preferred.network.ip`
Fixes #1919 Changes proposed in this pull request: - support setting the system variable `elasticjob.preferred.network.ip` - add tests
diff --git a/elasticjob-infra/elasticjob-infra-common/src/main/java/org/apache/shardingsphere/elasticjob/infra/env/IpUtils.java b/elasticjob-infra/elasticjob-infra-common/src/main/java/org/apache/shardingsphere/elasticjob/infra/env/IpUtils.java index 68af52c7b0..0bf7a857f1 100644 --- a/elasticjob-infra/elasticjob-infra...
2
2
0
[{"id": "G0", "claim": "The `// For testing.` comments placed above the private methods in IpUtils explain nothing and should be removed or clarified.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The redundant blank lines added inside the test...
null
apache__shardingsphere-elasticjob__1955
apache/shardingsphere-elasticjob
1,955
defect
054571c6d7caca455418e0f83056a0182315bd75
d0cbb6be17b190454dec24f80f275f078b647355
support timezone
Fixes #1688. Changes proposed in this pull request: - add `timezone` in jobConfiguration - set `timezone` when build Trigger of quartz
diff --git a/elasticjob-api/src/main/java/org/apache/shardingsphere/elasticjob/api/JobConfiguration.java b/elasticjob-api/src/main/java/org/apache/shardingsphere/elasticjob/api/JobConfiguration.java index d927a93834..0fe7ab486b 100644 --- a/elasticjob-api/src/main/java/org/apache/shardingsphere/elasticjob/api/JobConfig...
3
3
0
[{"id": "G0", "claim": "Rename the local variable `timeZone` in `parseTimeZoneString` to `result`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use Guava `Preconditions` instead of the manual null/ID check to validate the time zone parameter."...
null
apache__shardingsphere-elasticjob__1967
apache/shardingsphere-elasticjob
1,967
defect
71768189a99813d1d437a4b804c2f63e52cb8371
8aeb60ee959e176cd53f63838ed7abfae3c30085
Spring boot tracing filter
Fixes #1965. Changes proposed in this pull request: - adding a black-and-white list in the `elasticjob-lite-spring-boot-starter` confing
diff --git a/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-boot-starter/src/main/java/org/apache/shardingsphere/elasticjob/lite/spring/boot/job/ElasticJobBootstrapConfiguration.java b/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-boot-starter/src/main/java/org/apache/shardingsphere/elast...
2
2
1
[{"id": "G0", "claim": "TracingProperties should use Set instead of String[] for the includeJobNames (and excludeJobNames) job-name properties.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When a user configures both tracing.includeJobNames and tracing...
null
apache__shardingsphere-elasticjob__2092
apache/shardingsphere-elasticjob
2,092
defect
9ddd708730bbb552bcc53280ebfcca29c910c053
2565461aea1aa9d39085b99a11d9083f59d1646a
Each job has its own listener event notify thread instead of the only one curator thread
Fixes #2038. Changes proposed in this pull request: - Add ListenerNotifierManager to manage job listener's notify thread executor. The thread executor is created for the job when ListenerManager is constructed. - Change CoordinatorRegistryCenter's watch method: old: watch(String key, DataChangedEventListener ...
diff --git a/elasticjob-infra/elasticjob-registry-center/elasticjob-registry-center-api/src/main/java/org/apache/shardingsphere/elasticjob/reg/base/CoordinatorRegistryCenter.java b/elasticjob-infra/elasticjob-registry-center/elasticjob-registry-center-api/src/main/java/org/apache/shardingsphere/elasticjob/reg/base/Coor...
1
1
0
[{"id": "G0", "claim": "The watch method's listener was unnecessarily rewritten from a lambda expression into a more verbose anonymous class; it should be changed back to a lambda expression.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__shardingsphere-elasticjob__2168
apache/shardingsphere-elasticjob
2,168
defect
642c8c909015b405c4e276de272b3d873af2922e
58e29e06c6a1f97d4bb64ab3977e9aba822548d3
[ISSUE #2142]add distributed lock to avoid onceListener invoke multi times
Fixes #2142 . Changes proposed in this pull request: one job, multi instances completed on concurrency, can cause once listener execute some times, my current system use redis lock to avoid, but source code should add a distributed lock to avoid this, use curator InterProcessMutex now, please help review and give...
diff --git a/elasticjob-lite/elasticjob-lite-core/src/main/java/org/apache/shardingsphere/elasticjob/lite/api/listener/AbstractDistributeOnceElasticJobListener.java b/elasticjob-lite/elasticjob-lite-core/src/main/java/org/apache/shardingsphere/elasticjob/lite/api/listener/AbstractDistributeOnceElasticJobListener.java i...
2
2
1
[{"id": "G0", "claim": "Directly using Curator in GuaranteeService (casting regCenter.getRawClient() to CuratorFramework for InterProcessMutex) may not be acceptable because the registry center has been decoupled since 3.0.2.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id...
null
apache__shardingsphere-elasticjob__2184
apache/shardingsphere-elasticjob
2,184
defect
bf9bf756c0c8c0a05d48d91e0907f4509a535741
c3d3dbbad1af97f9a29a02057fb22f29e0ac23e3
make startup faster
Fixes #2185 I think the same dataSource just need one RDBJobEventStorage instance 。after all, init RDBJobEventStorage will take some time to get a rdb connection and check whether the table and index exist The benefit of the change is that the startup will be #faster In the experiment, starting 100 jobs ...
diff --git a/elasticjob-ecosystem/elasticjob-tracing/elasticjob-tracing-rdb/src/main/java/org/apache/shardingsphere/elasticjob/tracing/rdb/listener/RDBTracingListener.java b/elasticjob-ecosystem/elasticjob-tracing/elasticjob-tracing-rdb/src/main/java/org/apache/shardingsphere/elasticjob/tracing/rdb/listener/RDBTracingL...
1
1
0
[{"id": "G0", "claim": "The new wrapException helper should take a Supplier instead of a Callable.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__shardingsphere-elasticjob__2211
apache/shardingsphere-elasticjob
2,211
defect
5f82c4256b28411c84cdc7011bb05022bd1d7179
5cec03dc4bc8786976ff582d3a67ef16dc4deba5
add zk listener remove to avoid memory leak.
Fixes #2210 Changes proposed in this pull request: - add zk listener remove to avoid memory leak. - -
diff --git a/elasticjob-infra/elasticjob-registry-center/elasticjob-registry-center-api/src/main/java/org/apache/shardingsphere/elasticjob/reg/base/CoordinatorRegistryCenter.java b/elasticjob-infra/elasticjob-registry-center/elasticjob-registry-center-api/src/main/java/org/apache/shardingsphere/elasticjob/reg/base/Coor...
1
1
0
[{"id": "G0", "claim": "The @Getter(AccessLevel.PROTECTED) annotations on the listener-list fields are used by test code only; consider removing them and accessing the fields in test code via Mockito plugins or reflection instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__shardingsphere-elasticjob__2254
apache/shardingsphere-elasticjob
2,254
defect
2bfce1ebc39475e1b8eda456b673ab9431c0f270
1071b021b274f4347f1a35f196d1c5b845cbb05f
Do not create tracingDatasource when elasticjob.tracing.type is not RDB
Fixes #2253.
diff --git a/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-boot-starter/src/main/java/org/apache/shardingsphere/elasticjob/lite/spring/boot/tracing/ElasticJobTracingConfiguration.java b/elasticjob-lite/elasticjob-lite-spring/elasticjob-lite-spring-boot-starter/src/main/java/org/apache/shardingsphere/ela...
1
1
1
[{"id": "G0", "claim": "The CI error must be fixed before the pull request can proceed.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
apache__shardingsphere-elasticjob__2432
apache/shardingsphere-elasticjob
2,432
defect
756de29e677ce897c6e965715f6a2f3be3ebffea
af538c4e713d3b15a99ba82f22638306f1dccc17
fix Issue 2429
Fixes #2429. Changes proposed in this pull request: - - -
diff --git a/kernel/src/main/java/org/apache/shardingsphere/elasticjob/kernel/internal/failover/FailoverListenerManager.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/kernel/internal/failover/FailoverListenerManager.java index f64279ccbe..54ad75f57d 100644 --- a/kernel/src/main/java/org/apache/shardin...
1
1
1
[{"id": "G0", "claim": "The PR did not pass the code formatting validation; the author should run `./mvnw spotless:apply -Pcheck -T1C` and then `./mvnw checkstyle:check -Pcheck -T1C` and manually adjust to repair the CI.", "category": "style", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
apache__shardingsphere-elasticjob__2462
apache/shardingsphere-elasticjob
2,462
defect
88378d28db31fe0699e0af695a3031e5a1a5862b
f9296abb56e8de6164450f73ed95a2defe3c06dc
feature: https://github.com/apache/shardingsphere-elasticjob/issues/2461
Fixes #2461. Changes proposed in this pull request: ## Intent As #2461 figured out, this post is to enhancement job strategy balance in the case of single sharding. We want to let the job run on every job instance balanced like 'Round Robin' behavior, but not stick with only one certain instance. ## Solu...
diff --git a/kernel/src/main/java/org/apache/shardingsphere/elasticjob/kernel/executor/facade/AbstractJobFacade.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/kernel/executor/facade/AbstractJobFacade.java new file mode 100644 index 0000000000..cee06ed49d --- /dev/null +++ b/kernel/src/main/java/org/ap...
4
3
1
[{"id": "G0", "claim": "The pull request does not pass the code formatting validation and the author should run ./mvnw spotless:apply and ./mvnw checkstyle:check to repair the CI.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G2", "claim": "The explanatory commen...
null
apache__shardingsphere-elasticjob__2482
apache/shardingsphere-elasticjob
2,482
defect
ec2da64e8381a97e99bd1e960ad3e0fcada10736
c6015d3c3b89a61f6e69591ecd9e2445674bab4d
Prevent unit tests from using host ports `18181` and `9898`
For #2410 . Changes proposed in this pull request: - Prevent unit tests from using host ports `18181` and `9898`. Verified under Spring Boot `2.7.18` and `3.5.5`. - It's unfortunate to see that https://github.com/spring-projects/spring-framework/issues/26196 remains unresolved after 5 years. The use of `org.spring...
diff --git a/spring/boot-starter/src/test/java/org/apache/shardingsphere/elasticjob/spring/boot/job/ElasticJobSpringBootScannerTest.java b/spring/boot-starter/src/test/java/org/apache/shardingsphere/elasticjob/spring/boot/job/ElasticJobSpringBootScannerTest.java index 06dc616f61..386910d2cb 100644 --- a/spring/boot-sta...
2
1
0
[{"id": "G0", "claim": "Rename the test class 'SpirngBootTest' to correct the 'Spirng' typo in its name.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Remove the redundant assertTrue(AnnotationCustomJob.isCompleted()) assertion, since the pre...
null
apache__shardingsphere__11503
apache/shardingsphere
11,503
defect
d951f5f407d900fcd69bf73848b08e45091bbe05
4eed656720ff62d23aa0788d0f406a56b40cc95c
Add Oracle Select Model Clause Definition
#10111 Hi @wgy8283335, I've added Oracle [SELECT](https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/SELECT.html#GUID-CFA006CA-6FF1-4972-821E-6996142A51C6) model clause. Please check it. Changes proposed in this pull request: - Added Oracle `SELECT` model clause definition. - Added test cases ...
diff --git a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-oracle/src/main/antlr4/imports/oracle/BaseRule.g4 b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-oracle/src/main/antlr4/imports/oracle/BaseRule.g4 index b3f4d89e55976..168d8a0a9d44...
7
4
2
[{"id": "G0", "claim": "The reviewer asks where the definition of modelRulesClause's expr is, since the PR only added a generic simpleExpr alternative `(owner DOT_)? name LBT_ expr (COMMA_ expr)* RBT_ simpleExpr?` without defining how modelRulesClause's right-hand-side expr parses.", "category": "design", "verdict": "s...
null
apache__shardingsphere__11544
apache/shardingsphere
11,544
defect
6fe21c8653bbdff9f390ed1afb7fa0ac8abee215
ad0433e1eda384358694eb08d97f39ffd398acd3
Check the initial capacity of HashMap
Check the initial capacity of HashMap in ss, Keep the code style consistent.
diff --git a/shardingsphere-infra/shardingsphere-infra-authority/shardingsphere-infra-authority-common/src/main/java/org/apache/shardingsphere/authority/provider/schema/builder/SchemaPrivilegeBuilder.java b/shardingsphere-infra/shardingsphere-infra-authority/shardingsphere-infra-authority-common/src/main/java/org/apach...
2
2
0
[{"id": "G0", "claim": "The initial capacity of 1 hard-coded for the result map in convertSchemas may be wrong, since there is a possibility the map ends up holding more than one entry.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since convertSch...
null
apache__shardingsphere__13763
apache/shardingsphere
13,763
defect
aed44e6712ca985484aa3e0b2b0ed8f2eabc18cf
47213c6bddb7500ba0ac6504d4ebfb87e5649100
support distinct aggregation and Optimized converterContext use threadLocal holder
Ref #13456. Changes proposed in this pull request: - - -
diff --git a/shardingsphere-infra/shardingsphere-infra-optimize/src/main/java/org/apache/shardingsphere/infra/optimize/converter/context/ConverterContextHolder.java b/shardingsphere-infra/shardingsphere-infra-optimize/src/main/java/org/apache/shardingsphere/infra/optimize/converter/context/ConverterContextHolder.java n...
2
2
0
[{"id": "G0", "claim": "The FunctionConverter class should be declared final.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The javadoc summary of isAsOperatorAggregationType would read better as 'Judge whether sqlBasicCall is as operator aggre...
null
apache__shardingsphere__13813
apache/shardingsphere
13,813
defect
d068e7215cbff4ed044031912ea338d31e9e5456
8ada7fb44b670e54f19522c78efdcee29a2e3db6
Support set autocommit
Fixes #13656 . [Design document](https://u01f1kqxrl.feishu.cn/docs/doccnk2NgqHQiFAbgzbnCFpZ04t) Changes proposed in this pull request: - change `set autocommit` just set a flag in `BackendConnection` - after `set autocommit=0`, when run the first sql, run the `begin` of `BackendTransactionManager` - after `set ...
diff --git a/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/connection/BackendConnection.java b/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/connection/BackendConnect...
2
1
0
[{"id": "G0", "claim": "The TransactionAutoCommitHandler constructor can be simplified with Lombok's @RequiredArgsConstructor.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new non-volatile autoCommit field in BackendConnection may need vol...
null
apache__shardingsphere__15251
apache/shardingsphere
15,251
defect
74e30564c16f312527b2a6da7c6b3a2b5a6c26ba
5307fbcf4cd8c5c28e022663aaf94d4b5eeb572b
Add `SHOW RULES USED RESOURCE` syntax to DistSQL.
For #15167, Add `SHOW RULES USED RESOURCE` syntax to DistSQL. Changes proposed in this pull request: Add `SHOW RULES USED RESOURCE` syntax. Add unit test. ![96c0bef1addc52b136af3ac67ae0730a](https://user-images.githubusercontent.com/12792261/152642808-19aba06e-753b-4dcd-ad4f-255d9da35f33.jpg) ![a082ad7c2c253f916...
diff --git a/shardingsphere-distsql/shardingsphere-distsql-parser/src/main/antlr4/imports/Keyword.g4 b/shardingsphere-distsql/shardingsphere-distsql-parser/src/main/antlr4/imports/Keyword.g4 index 3b57845674837..c11100c19dfc8 100644 --- a/shardingsphere-distsql/shardingsphere-distsql-parser/src/main/antlr4/imports/Keyw...
3
3
0
[{"id": "G0", "claim": "The feature-type checks in RulesUsedResourceQueryResultSet should use `getName()` instead of `getCanonicalName()`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The redundant `this` qualifier in `this.data = result.itera...
null
apache__shardingsphere__15466
apache/shardingsphere
15,466
defect
d3b0ef836786aa6375fbec1f8d05ed15943ed399
856a1f22ed5a344ff31cd4c12a4af59d343bf5c9
[DistSQL] Refactor RAL's AlterStatementExecutor
For https://github.com/apache/shardingsphere/issues/15414 Changes proposed in this pull request: - Refactor LabelInstanceExecutor - Refactor UnlabelInstanceExecutor - Refactor SetInstanceStatusExecutor - Refactor SetVariableExecutor - Refactor RefreshTableMetadataHandler - Refactor SetReadwriteSplittingStatu...
diff --git a/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/distsql/ral/RALBackendHandler.java b/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/distsql/ral/RALBackendHandler.java index ac8425cbf64...
1
1
0
[{"id": "G0", "claim": "The abstract method name `doHandle` introduced for UpdatableRALBackendHandler and its subclasses (including RefreshTableMetadataHandler) is a strange name and should be renamed, with `execute` suggested as better.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introd...
null
apache__shardingsphere__18375
apache/shardingsphere
18,375
defect
39acbd90293345a9928f92d563802cd122f29df8
f7a635dd61bdc9e34cc00849e626917420cce304
Fix scaling increment task consumed incomplete data
Fixes #18075. Changes proposed in this pull request: - Improve decode method, not consume incomplete data - skip checksum, not change the source ByteBuf. - Improve unit test
diff --git a/shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/main/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/AbstractMySQLBinlogEventPacket.java b/shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/main/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/Abstr...
4
4
0
[{"id": "G0", "claim": "The decoder should verify that writing more packets to `out` (ROTATE_EVENT and similar now being added) has no side effects, and for events like ROTATE_EVENT keep the original behaviour of not writing a packet to `out` (return null instead).", "category": "design", "verdict": "supported", "prior...
null
apache__shardingsphere__18427
apache/shardingsphere
18,427
defect
f51ace448a172a818b53be3a4dfa686137fe9cd5
76505f186bdc1773c4a0fa4ccf4c28006a0eeb0a
Support Parsing `ALTER PUBLICATION` in PostgreSQL
Ref #17848 Sub-issue of #14015 Changes proposed in this pull request: - Proofread `ALTER PUBLICATION` grammar - Support Parsing `ALTER PUBLICATION` in PostgreSQL - Adds tests ✅ Builds locally 🥳 GSoC Task 3
diff --git a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/imports/postgresql/BaseRule.g4 b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/imports/postgresql/BaseRule.g4 index c99277db0f0...
2
2
1
[{"id": "G0", "claim": "The relationExpr rule in BaseRule.g4 should use qualifiedName instead of tableName, to stay consistent with PostgreSQL's gram.y and ensure grammatical correctness.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Remove the use...
null
apache__shardingsphere__19110
apache/shardingsphere
19,110
defect
6145d75650236815efb41ea30e57496691a6e678
9cf148f776c7b941bcbd97372868fafcd20e0185
make CONNECTION_ID() support alias
Fixes #17949 Changes proposed in this pull request: - make CONNECTION_ID() support alias
diff --git a/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/admin/mysql/MySQLAdminExecutorCreator.java b/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/admin/mysql/MySQLAdminExecutorCreator.java i...
2
2
0
[{"id": "G0", "claim": "Remove the useless blank lines added inside the new mockSelectStatement and mockSelectStatementWithAlias test helpers.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The local variable returned by the new mockSelectStatem...
null
apache__shardingsphere__20570
apache/shardingsphere
20,570
defect
9146e747a87ca6fc572cad4e4263089c536a3bdb
a640c1108a8e765b81b79fa3931beecc31c5d4ac
offsetDateTime convert failed bug fix
Fixes #20568. Changes proposed in this pull request: - Fix bugs when variable type is OffsetDateTime
diff --git a/shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/sql/execute/result/query/impl/driver/jdbc/type/util/ResultSetUtil.java b/shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/sql/execute/result/que...
3
2
2
[{"id": "G0", "claim": "The wildcard import `java.time.*` in ResultSetUtil.java should be changed to single-class imports because it breaks CI.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The judgment condition in getObject is too complicated and...
null
apache__shardingsphere__21686
apache/shardingsphere
21,686
defect
4900548711bfe7eb404ac9e07b10d65245f85549
71ae2f749006b41d69ddb1ca81e66cd741f0c588
[ISSUE #21668] Fix nullPointer when encrypt value is null
Fixes #21668. Changes proposed in this pull request: - Fix NullPointerException when insert encrypt value is null --- Before committing this PR, I'm sure that I have checked the following options: - [x] My code follows the [code of conduct](https://shardingsphere.apache.org/community/en/involved/conduct/co...
diff --git a/features/encrypt/core/src/main/java/org/apache/shardingsphere/encrypt/rewrite/parameter/rewriter/EncryptInsertValueParameterRewriter.java b/features/encrypt/core/src/main/java/org/apache/shardingsphere/encrypt/rewrite/parameter/rewriter/EncryptInsertValueParameterRewriter.java index cf7417fe7b697..c5c5b87d...
1
1
1
[{"id": "G0", "claim": "Can you add some integration test case for this logic (the rewritten handling of null encrypt insert values)?", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__shardingsphere__36446
apache/shardingsphere
36,446
defect
147825d93fd92eeafcfeabe78ce901f1df89a4f5
a621ad6036f43836504b909c817b188928331bdf
Support parsing Doris refresh SQL statement
Fixes #31465 Changes proposed in this pull request: - Support Doris parsing refresh, drop encryptkey SQL statement - Add test cases Before committing this PR, I'm sure that I have checked the following options: - [x] My code follows the [code of conduct](https://shardingsphere.apache.org/community/en/invol...
diff --git a/parser/sql/engine/core/src/main/java/org/apache/shardingsphere/sql/parser/engine/core/database/visitor/SQLVisitorRule.java b/parser/sql/engine/core/src/main/java/org/apache/shardingsphere/sql/parser/engine/core/database/visitor/SQLVisitorRule.java index 9a4c7c74ff4fd..a9a7f8dbb870d 100644 --- a/parser/sql/...
1
1
0
[{"id": "G0", "claim": "The refresh grammar rule has 5 or fewer syntax branches, so please write its branches on one line.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
apache__shardingsphere__36680
apache/shardingsphere
36,680
defect
a114abb241220a082ecbd9aaa4f183048ab0430d
0661e49847ff6a2044252c528587590785e3973f
Optimize MySQL INSERT INTO VALUES AS row_alias parse SQLStatement
Fixes #36583. Changes proposed in this pull request: - --- Before committing this PR, I'm sure that I have checked the following options: - [x] My code follows the [code of conduct](https://shardingsphere.apache.org/community/en/involved/conduct/code/) of this project. - [x] I have self-reviewed the commi...
diff --git a/parser/sql/engine/dialect/mysql/src/main/antlr4/imports/mysql/DMLStatement.g4 b/parser/sql/engine/dialect/mysql/src/main/antlr4/imports/mysql/DMLStatement.g4 index a8941a1c35ed6..ae04961951e79 100644 --- a/parser/sql/engine/dialect/mysql/src/main/antlr4/imports/mysql/DMLStatement.g4 +++ b/parser/sql/engine...
5
5
1
[{"id": "G0", "claim": "In the DMLStatement.g4 insert rule, put the insertBody rule's alternative content on new lines after the ':' instead of writing the whole rule on one line.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the useless...
null
apache__shardingsphere__37078
apache/shardingsphere
37,078
defect
b82e153340f29cd416d0966bca2cc5b820d8a4a3
ebdf4480632d44502b7ff515b2b592b9bbf12c99
Use MultiSQLSplitter to split SQLs
Fixes #31609
diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000000000..ac491d5e10875 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,35 @@ +# Repository Guidelines + +## Project Structure & Module Organization +- Core infrastructure lives in `infra`, `database`, `parser`, `kernel`, and `mode`; each subtree follows the `...
2
2
0
[{"id": "G0", "claim": "The shardingsphere-test-infra-fixture-database dependency should have <scope>test</scope> since it is only used in test classes.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The hasNextChar helper should be inlined (it is u...
null
apache__shardingsphere__37181
apache/shardingsphere
37,181
defect
06483fd04897e1ca599dbfe78776f9f58d58c325
95d55d0caebe6fbc03a785febbd92df81b31478f
Fix Oracle TIMESTAMP WITH TIME ZONE ORDER BY exception
### Changes This PR fixes the "Order by value must implement Comparable" error when executing `ORDER BY` operations on Oracle `TIMESTAMP WITH TIME ZONE` type columns. ### Root Cause The Oracle JDBC driver uses non-standard type codes: - `-101` for `TIMESTAMP WITH TIME ZONE` - `-102` for `TIMESTAMP WITH LOCAL...
diff --git a/database/connector/core/src/main/java/org/apache/shardingsphere/database/connector/core/resultset/DialectResultSetMapper.java b/database/connector/core/src/main/java/org/apache/shardingsphere/database/connector/core/resultset/DialectResultSetMapper.java index 8aacfa03baf3e5..a30bc53a2fc18f 100644 --- a/dat...
4
2
1
[{"id": "G0", "claim": "The new default branch of ResultSetMapper.load() routes every unhandled JDBC type through getTimestampValue() when a dialect mapper is present, which can break non-timestamp types (JSON, UUID, BIT, SQLXML, ROWID) for dialects like MySQL/PostgreSQL/OpenGauss; restrict the delegation to timestamp/...
null
apache__shardingsphere__37391
apache/shardingsphere
37,391
defect
cbd13f8c0bfd47a6fdada2f4564dbadc2ad689f6
5910e68c7e547c73549e965e2f1d6a03f73a7b88
mysql-proxy: skip admin for no-FROM multi-expression selects; add tests
Fixes #37276. - Root cause: when not using a database and executing no-FROM multi-expression SELECT, query is routed to admin branch; UnicastResourceShowExecutor rebuilds headers and rows from different sources, causing column-count mismatch and IndexOutOfBoundsException in DatabaseAdminQue...
diff --git a/proxy/backend/dialect/mysql/src/main/java/org/apache/shardingsphere/proxy/backend/mysql/handler/admin/factory/withoutfrom/MySQLSelectWithoutFromAdminExecutorFactory.java b/proxy/backend/dialect/mysql/src/main/java/org/apache/shardingsphere/proxy/backend/mysql/handler/admin/factory/withoutfrom/MySQLSelectWi...
1
1
0
[{"id": "G0", "claim": "The method name `isMultiExpressionSelect` is ambiguous since it only checks for multiple projections, and should be renamed to `hasMultipleProjections` to accurately reflect what it validates.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__shardingsphere__37659
apache/shardingsphere
37,659
defect
8479e2f543dd6732897a087abd76d40cd6a6d1db
1fd3fd21bb8715edc6ea7f467d32a40022ec5d82
Add nullability checks to the Agent's OpenTelemetry plugin
Fixes #32793 . Changes proposed in this pull request: - Add nullability checks to the Agent's OpenTelemetry plugin. --- Before committing this PR, I'm sure that I have checked the following options: - [x] My code follows the [code of conduct](https://shardingsphere.apache.org/community/en/involved/conduct/...
diff --git a/agent/plugins/tracing/type/opentelemetry/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetryJDBCExecutorCallbackAdvice.java b/agent/plugins/tracing/type/opentelemetry/src/main/java/org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetryJ...
4
2
2
[{"id": "G0", "claim": "The pull request adds a no-parent-span test only for OpenTelemetrySQLParserEngineAdvice and not for OpenTelemetryJDBCExecutorCallbackAdvice, so an equivalent no-parent-span/null-attachment test should be added for the JDBC advice.", "category": "testing", "verdict": "supported", "priority": "P1"...
null
apache__shardingsphere__38613
apache/shardingsphere
38,613
defect
5f7e8abe7079815f79515f33154122701aae2920
1f456c9acd1b5317d3dc60f1cf5c2129bea09850
Fix prepared param lost when there is only one null param value for proxy
Fixes #38612. #### Changes proposed in this pull request: - fix the MySQL Proxy prepared statement execution path when Connector/J sends `COM_STMT_EXECUTE` in short form and does not include parameter type metadata - add a fallback in `MySQLComStmtExecuteExecutor` to rebuild parameter types from the prepar...
diff --git a/database/protocol/dialect/mysql/src/main/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/MySQLComStmtExecutePacket.java b/database/protocol/dialect/mysql/src/main/java/org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/MySQLComSt...
6
4
3
[{"id": "G0", "claim": "getParameterTypes falls back to VARCHAR for non-null parameters when parameter types are missing, which can misread the binary payload and bind incorrect values; prefer reconstructing types from COM_STMT_PREPARE metadata or failing fast when no reliable metadata exists.", "category": "correctnes...
null
apache__shenyu__3529
apache/shenyu
3,529
defect
66d9c137f7123b14507fef1a3cbf2216a6cf2d10
97dd6922789b9d6c4e177a08e3cdb204db52f561
[ISSUE #3484] fix springcloud client lossless registration
<!-- Describe your PR here; eg. Fixes #3484 --> <!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. --> Make sure that: - [ ] You have read the [contribution guidelines](https://shenyu.apache.org/community/contributor-guide). - [ ...
diff --git a/shenyu-client/shenyu-client-http/shenyu-client-springcloud/src/main/java/org/apache/shenyu/client/springcloud/init/SpringCloudClientBeanPostProcessor.java b/shenyu-client/shenyu-client-http/shenyu-client-springcloud/src/main/java/org/apache/shenyu/client/springcloud/init/SpringCloudClientBeanListener.java ...
3
3
1
[{"id": "G0", "claim": "Rename the class SpringCloudClientBeanListener to SpringCloudClientEventListener.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the early return that skips handling when the refreshed application context has a par...
null
apache__shenyu__3575
apache/shenyu
3,575
defect
8c7c796c06cddbdaf73f95d0ec98626ba4431a3f
31af7b07b3185b003362dfce2bcc1911d674f146
[ISSUE #3521] task6 add integration test for shared thread pool
Fixes #3521 <!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. --> Make sure that: - [x] You have read the [contribution guidelines](https://shenyu.apache.org/community/contributor-guide). - [x] You submit test cases (unit or in...
diff --git a/pom.xml b/pom.xml index 180e7d8a90b7..b8edfc629267 100644 --- a/pom.xml +++ b/pom.xml @@ -145,7 +145,7 @@ <frontend-maven-plugin.node.version>v12.14.1</frontend-maven-plugin.node.version> <bytebuddy.version>1.12.6</bytebuddy.version> <spring-ldap.version>2.3.4.RELEASE</spring-lda...
3
1
1
[{"id": "G0", "claim": "The sofa tests wrap their requests in catch (Throwable) and only log the error, so the error the sofa plugin makes is swallowed while the test still passes; the reviewer asks to solve the plugin problem first and only then merge the PR.", "category": "testing", "verdict": "supported", "priority"...
null
apache__shenyu__3756
apache/shenyu
3,756
defect
14ec556f9dd2d7bf064c1e9c26d0d75303eebd87
62947cfa6c7344cc615c3d24f607a0cc3608e993
[ISSUE #3713]Add new plugin: key-auth
<!-- Describe your PR here; eg. Fixes #issueNo --> #3713 Add new plugin: key-auth <!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. --> Make sure that: - [x] You have read the [contribution guidelines](https://shenyu.apache.org/co...
diff --git a/db/init/mysql/schema.sql b/db/init/mysql/schema.sql index d6afaef1fc3a4..39ec0611abbb6 100644 --- a/db/init/mysql/schema.sql +++ b/db/init/mysql/schema.sql @@ -599,6 +599,7 @@ INSERT INTO `plugin` VALUES ('34', 'loggingAliyunSls','{\"projectName\": \"sheny INSERT INTO `plugin` VALUES ('35', 'loggingPulsar...
3
1
1
[{"id": "G0", "claim": "checkKey should require the key to match in both the header and the query string (AND) rather than accepting a match in either one (OR).", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The keyAuth INSERT rows are missing the m...
null
apache__shenyu__3956
apache/shenyu
3,956
defect
9fde22b6a7718d6e3383cd84d28ee0e931a66570
85fdc55c3b9202ebc16f0232295b621e13a896cb
[ISSUE 3929] make MetaDataCache#CACHE thread-safe
Fixes #3929 <!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. --> Make sure that: - [x] You have read the [contribution guidelines](https://shenyu.apache.org/community/contributor-guide). - [x] You submit test cases (unit or in...
diff --git a/shenyu-common/pom.xml b/shenyu-common/pom.xml index f1a1ef29a98d..73150ed6f0ed 100644 --- a/shenyu-common/pom.xml +++ b/shenyu-common/pom.xml @@ -16,7 +16,8 @@ ~ limitations under the License. --> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instan...
1
1
0
[{"id": "G0", "claim": "The caffeine dependency added to shenyu-common/pom.xml should be covered by the license file and its version stated (reviewer asks: 'add in license file? and used version?').", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__shenyu__4260
apache/shenyu
4,260
defect
10375c5204c67f9889235f19fe2d6e8eb0438a5a
450a108d51e655167acb6edc3b231372927be282
[ISSUE #4243] to avoid load the same ext plugins repeatedly
fix #4243 Make sure that: - [x] You have read the [contribution guidelines](https://shenyu.apache.org/community/contributor-guide). - [x] You submit test cases (unit or integration tests) that back your changes. - [x] Your local test passed `./mvnw clean install -Dmaven.javadoc.skip=true`.
diff --git a/shenyu-web/src/main/java/org/apache/shenyu/web/loader/ShenyuPluginLoader.java b/shenyu-web/src/main/java/org/apache/shenyu/web/loader/ShenyuPluginLoader.java index b216b15a00aa..f52ce6e2b9ba 100644 --- a/shenyu-web/src/main/java/org/apache/shenyu/web/loader/ShenyuPluginLoader.java +++ b/shenyu-web/src/main...
2
1
0
[{"id": "G0", "claim": "The wildcard `import java.util.*` should not be used; the explicit java.util imports should be kept instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The absolutePath-based check cannot handle version upgrades — a n...
null
apache__shenyu__4366
apache/shenyu
4,366
defect
fbec46cb356edaf638b12c9ae2f6cb2b4a4818e7
74317e330599f82146f1c444958e989d602407be
[ISSUE #4356] optimize UpstreamCheckService
<!-- Describe your PR here; eg. Fixes #issueNo --> Fix #4356 <!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. --> Make sure that: - [X] You have read the [contribution guidelines](https://shenyu.apache.org/community/contributo...
diff --git a/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/UpstreamCheckService.java b/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/UpstreamCheckService.java index 55c91d155fc3..440235270aa4 100644 --- a/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/UpstreamCheckSe...
1
1
1
[{"id": "G0", "claim": "The new doCheck() in UpstreamCheckService should keep the isEmpty judgments before iterating ZOMBIE_SET and UPSTREAM_MAP and should not use parallelStream for the checks.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__shenyu__5497
apache/shenyu
5,497
defect
9c04861a5f61bf603579b9ff67fd09da2a79e12d
282cc0462ec04e1ff171582bb34fc4797297b84f
Refact/bean utils
<!-- Describe your PR here; e.g. Fixes #issueNo --> <!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. --> Make sure that: - [x] You have read the [contribution guidelines](https://shenyu.apache.org/community/contributor-guide). ...
diff --git a/shenyu-admin/src/main/java/org/apache/shenyu/admin/aspect/DataPermissionAspect.java b/shenyu-admin/src/main/java/org/apache/shenyu/admin/aspect/DataPermissionAspect.java index c5ad2522675e..04da3aa571ad 100644 --- a/shenyu-admin/src/main/java/org/apache/shenyu/admin/aspect/DataPermissionAspect.java +++ b/s...
2
2
0
[{"id": "G0", "claim": "Rename the method mapToEntity to mapToAlertReciverDO.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the method mapToDTO to mapToAlertReceiverDTO.", "category": "maintainability", "verdict": "supported", "priority"...
null
apache__shenyu__5622
apache/shenyu
5,622
defect
ce123f1f4eafc3cac996e7cfee0b36e3d7a0ce30
3478719b77ca7920f6eddc3339e0a402ad9abd39
[type:fix] Fix Plugin Edit Page Issue by Correcting Plugin ID Query and Updating Data Type
<!-- Describe your PR here; e.g. Fixes #issueNo --> Fixes #5621 Fixes the issue where the plugin edit page fails to load due to an incorrect query in the `GET /namespacePlugin/id={id}&namespaceId={namespaceId}` endpoint. The query used `pluginId = {id}`, which resulted in no data being returned. **Changes Made:...
diff --git a/db/init/oracle/schema.sql b/db/init/oracle/schema.sql index 1197f14fb219..9892187e0718 100644 --- a/db/init/oracle/schema.sql +++ b/db/init/oracle/schema.sql @@ -2776,7 +2776,7 @@ INSERT /*+ IGNORE_ROW_ON_DUPKEY_INDEX (namespace(id)) */ INTO `namespace` (`id`, CREATE TABLE plugin_ns_rel ( ...
1
1
1
[{"id": "G0", "claim": "Use path-variable style @GetMapping(\"/{id}/{namespaceId}\") — or \"/{pluginId}/{namespaceId}\" per the reply — for the detail-plugin endpoint instead of the \"/pluginId={pluginId}&namespaceId={namespaceId}\" query-string-style path.", "category": "design", "verdict": "supported", "priority": "P...
null
apache__shenyu__6247
apache/shenyu
6,247
defect
bf30e31651e993ba04e52af153a9c669e0adae7c
ad00c8b0936342aa686fbfecdd619ebc654c31fc
Enhance index method to build base URL from HTTP request, supporting reverse proxy scenarios
<!-- Describe your PR here; e.g. Fixes #issueNo --> <!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. --> Make sure that: - [ ] You have read the [contribution guidelines](https://shenyu.apache.org/community/contributor-guide). ...
diff --git a/shenyu-admin/src/main/java/org/apache/shenyu/admin/config/ClusterConfiguration.java b/shenyu-admin/src/main/java/org/apache/shenyu/admin/config/ClusterConfiguration.java index 6f9eb0f23a4d..561b46cfd6a1 100644 --- a/shenyu-admin/src/main/java/org/apache/shenyu/admin/config/ClusterConfiguration.java +++ b/s...
3
3
3
[{"id": "G0", "claim": "Test coverage is incomplete for the new URL building functionality; test cases should be added for non-standard ports, context path handling, single forwarded headers, standard ports being omitted, and the \"/\" root endpoint.", "category": "testing", "verdict": "supported", "priority": "P1", "s...
null
apache__shenyu__6248
apache/shenyu
6,248
defect
ddefc04a05581b567a8cb6466248b2ab358d5172
83da62017b133f3aa21e3136874aae7511f9125c
feat: Introduce request body size limit, enhance AI proxy plugin's ChatClient caching with config hash, and refine prompt extraction from the request body.
<!-- Describe your PR here; e.g. Fixes #issueNo --> <!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. --> Make sure that: - [ ] You have read the [contribution guidelines](https://shenyu.apache.org/community/contributor-guide)....
diff --git a/shenyu-plugin/shenyu-plugin-ai/shenyu-plugin-ai-proxy-enhanced/src/main/java/org/apache/shenyu/plugin/ai/proxy/enhanced/AiProxyPlugin.java b/shenyu-plugin/shenyu-plugin-ai/shenyu-plugin-ai-proxy-enhanced/src/main/java/org/apache/shenyu/plugin/ai/proxy/enhanced/AiProxyPlugin.java index 916c24dda5da..5047d49...
9
9
7
[{"id": "G0", "claim": "MAX_CACHE_SIZE is hardcoded to 500 with no configuration option and should be externalized to a configuration property so administrators can tune cache size based on deployment needs and memory constraints.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"},...
null
apache__shenyu__6249
apache/shenyu
6,249
defect
ddefc04a05581b567a8cb6466248b2ab358d5172
eb4878e1bfb1666bb617969bbce3f53268199280
fix ai proxy key
<!-- Describe your PR here; e.g. Fixes #issueNo --> <!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. --> Make sure that: - [ ] You have read the [contribution guidelines](https://shenyu.apache.org/community/contributor-guide). ...
diff --git a/shenyu-admin/src/main/java/org/apache/shenyu/admin/controller/AiProxyApiKeyController.java b/shenyu-admin/src/main/java/org/apache/shenyu/admin/controller/AiProxyApiKeyController.java index 254e360e8d66..1030c607e179 100644 --- a/shenyu-admin/src/main/java/org/apache/shenyu/admin/controller/AiProxyApiKeyCo...
5
5
3
[{"id": "G0", "claim": "The long inline developer-note comments in resolveRealKeys (lines 228-238) should be removed and replaced with a brief comment explaining the null-caching behaviour.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Execut...
null
apache__shenyu__6250
apache/shenyu
6,250
defect
ddefc04a05581b567a8cb6466248b2ab358d5172
518ae29e87a1708ef7eca49fa9222b4e5e7d0fa4
Refactor EtcdClient and RedisConnectionFactory for improved readability and maintainability
<!-- Describe your PR here; e.g. Fixes #issueNo --> <!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. --> Make sure that: - [ ] You have read the [contribution guidelines](https://shenyu.apache.org/community/contributor-guide)....
diff --git a/shenyu-infra/shenyu-infra-etcd/src/main/java/org/apache/shenyu/infra/etcd/client/EtcdClient.java b/shenyu-infra/shenyu-infra-etcd/src/main/java/org/apache/shenyu/infra/etcd/client/EtcdClient.java index fcc5b4095dc6..dffb4c8413f1 100644 --- a/shenyu-infra/shenyu-infra-etcd/src/main/java/org/apache/shenyu/in...
5
5
4
[{"id": "G0", "claim": "There are two identical JavaDoc blocks for the method redisStandaloneConfiguration; the first block should be removed, keeping only the second one.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new parseRedisNode met...
null
apache__shenyu__6272
apache/shenyu
6,272
defect
b97c7db820e68cd052a9d9938eef33551d2a4ab6
cc2ee70645c9f0f95b298a8a6376537719108613
[ISSUE #6235] Set upstream check for each upstream.
## Description - add per-upstream healthCheckEnabled propagation and cache sync. - skip health checks per-upstream and keep healthy when disabled. ## Related Issue Fixes #6235 ## Testing - Not run (network restricted; maven repository host unresolved). ## Checklist - [x] You have read the contribution guidelines. - ...
diff --git a/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/UpstreamCheckService.java b/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/UpstreamCheckService.java index 5e559ebddd71..24b4ba3f1adb 100644 --- a/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/UpstreamCheckSe...
3
3
2
[{"id": "G0", "claim": "Remove the trailing space after the period on the JavaDoc line so spacing is consistent.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The new host:port parsing in mapToDiscoveryUpstreamData can throw an uncaught Numbe...
null
apache__shenyu__6274
apache/shenyu
6,274
defect
fbc3c4bf4975055da422b2d8ae9d0df52321925d
053303eef648e3cac85231d92c8bc9bea46cba75
Fix: Preserve Gateway's independent upstream health check state when receiving config updates from Admin
## Problem Description When the Admin side health check detects an upstream as unhealthy and publishes a configuration update with `status=false`, the Gateway side completely removes that upstream from both `healthyUpstream` and `unhealthyUpstream` maps. This causes the Gateway to lose track of the upstream, preve...
diff --git a/shenyu-loadbalancer/src/main/java/org/apache/shenyu/loadbalancer/cache/UpstreamCacheManager.java b/shenyu-loadbalancer/src/main/java/org/apache/shenyu/loadbalancer/cache/UpstreamCacheManager.java index eeff3c8195e3..d910c312d34d 100644 --- a/shenyu-loadbalancer/src/main/java/org/apache/shenyu/loadbalancer/...
3
2
0
[{"id": "G0", "claim": "The assertions in testRemoveFromMapUnhealthy and testMoveUpstreamBetweenMaps use double negation, which reduces code readability; use a more straightforward assertion that directly validates the absence of upstreams in the map.", "category": "maintainability", "verdict": "uncertain", "priority":...
null
apache__shenyu__6291
apache/shenyu
6,291
defect
c224816207e5f71cc5e9f8e0041d0cc0218f4c95
6dc0562c78ea92f71bfef5991b9a27ec423ec8bf
Fix: loggion console add rule bug
<!-- Describe your PR here; e.g. Fixes #issueNo --> Fix: loggion console add rule bug <!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. --> Make sure that: - [x] You have read the [contribution guidelines](https://shenyu.apache.or...
diff --git a/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/RuleServiceImpl.java b/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/RuleServiceImpl.java index 0e903a943be2..b2d776a61de2 100644 --- a/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/RuleServiceImpl.java +++ ...
3
2
2
[{"id": "G0", "claim": "searchByPage unconditionally overwrites condition.selectors with all namespace selector IDs, losing caller-specified selector filters such as the selectorId query param in RuleController#queryRules; it should only populate from namespace when selectors are empty, or merge instead of replace.", "...
null
apache__shenyu__6293
apache/shenyu
6,293
defect
c224816207e5f71cc5e9f8e0041d0cc0218f4c95
dcbc652d7620d8b64a0236683999df9a0fa1164d
fix: improve MCP server plugin path handling and backward compatibility for argsPosition
<!-- Describe your PR here; e.g. Fixes #issueNo --> <!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. --> improve MCP server plugin path handling and backward compatibility for argsPosition Make sure that: - [ ] You have r...
diff --git a/shenyu-client/shenyu-client-mcp/shenyu-client-mcp-common/src/main/java/org/apache/shenyu/client/mcp/generator/McpRequestConfigGenerator.java b/shenyu-client/shenyu-client-mcp/shenyu-client-mcp-common/src/main/java/org/apache/shenyu/client/mcp/generator/McpRequestConfigGenerator.java index b5c8ddf60868..fee...
3
3
3
[{"id": "G0", "claim": "handlerSelector continues even when no URI condition is found (extractSelectorUri returns null), which can cache a server with a null path and later lead to failures when tools are added/removed; it should return early when the extracted URI/path is blank and only cache or create transports once...
null
apache__shenyu__6294
apache/shenyu
6,294
defect
c224816207e5f71cc5e9f8e0041d0cc0218f4c95
099c0cbbd5024711ce532a2198ff264732c87d10
fix: improve upstream cache management and add recovery test for empty events
<!-- Describe your PR here; e.g. Fixes #issueNo --> <!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. --> Make sure that: - [ ] You have read the [contribution guidelines](https://shenyu.apache.org/community/contributor-guide)....
diff --git a/shenyu-loadbalancer/src/main/java/org/apache/shenyu/loadbalancer/cache/UpstreamCacheManager.java b/shenyu-loadbalancer/src/main/java/org/apache/shenyu/loadbalancer/cache/UpstreamCacheManager.java index 2c13303970a6..246eace5945c 100644 --- a/shenyu-loadbalancer/src/main/java/org/apache/shenyu/loadbalancer/...
1
1
1
[{"id": "G0", "claim": "When `upstreamList` is empty, the submit branch removes upstreams by iterating `UPSTREAM_MAP` (populated only from healthy upstreams), so unhealthy upstreams held in the task's unhealthy state are not cleared and the selector can retain stale unhealthy state after an empty event; the reviewer su...
null
apache__shenyu__6295
apache/shenyu
6,295
defect
c224816207e5f71cc5e9f8e0041d0cc0218f4c95
4e6c5ff35260c79f32836f24df6b77f1bc9213ae
feat: add CORS support with configurable allowed headers in MCP server
add CORS support with configurable allowed headers in MCP server <!-- Describe your PR here; e.g. Fixes #issueNo --> <!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. --> Make sure that: - [ ] You have read the [contribution gui...
diff --git a/shenyu-plugin/shenyu-plugin-mcp-server/src/main/java/org/apache/shenyu/plugin/mcp/server/McpServerPlugin.java b/shenyu-plugin/shenyu-plugin-mcp-server/src/main/java/org/apache/shenyu/plugin/mcp/server/McpServerPlugin.java index ec540683c735..60268d34f4d1 100644 --- a/shenyu-plugin/shenyu-plugin-mcp-server/...
4
4
2
[{"id": "G0", "claim": "resolveAllowHeaders in both the plugin and the transport unions all client-supplied Access-Control-Request-Headers into the response, which effectively allows any requested header and makes shenyu.cross.allowedHeaders non-enforcing; it should respond with only the configured allow-list (or inter...
null
apache__shenyu__6296
apache/shenyu
6,296
defect
c224816207e5f71cc5e9f8e0041d0cc0218f4c95
fc958af2810dcf5e9a87e58e1170be9e36191872
feat: refactor aiRequest and aiResponse models to support asynchronou…
Currently, the chatClient calls in the aiRequest and aiResponse plugins are blocking and handled via a worker thread pool to process these blocking operations. This introduces unnecessary thread context switching. Since chatClient supports asynchronous responses, this PR modifies the model calls to be asynchronous....
diff --git a/shenyu-plugin/shenyu-plugin-ai/shenyu-plugin-ai-request-transformer/src/main/java/org/apache/shenyu/plugin/ai/transformer/request/AiRequestTransformerPlugin.java b/shenyu-plugin/shenyu-plugin-ai/shenyu-plugin-ai-request-transformer/src/main/java/org/apache/shenyu/plugin/ai/transformer/request/AiRequestTran...
6
5
5
[{"id": "G0", "claim": "The async AI streaming in doExecute has no error handling, so if the AI call fails (network, API or stream errors) the whole request fails without fallback; add onErrorResume to log the error and proceed with the original request.", "category": "correctness", "verdict": "supported", "priority": ...
null
apache__shenyu__6305
apache/shenyu
6,305
defect
295a12bb56539465ba3d979c0e8bbf13b2696fce
46dfdb98cf102928741421fd7970dac9e39bb2bc
Fix: RuleServiceImpl#searchByPage() Selectors now populated from namespace only when condition selectors are null or empty.
This commit optimizes the selector loading logic within the RuleServiceImpl#searchByPage() method. Fixes #6304 Make sure that: - [x] You have read the [contribution guidelines](https://shenyu.apache.org/community/contributor-guide). - [x] You submit test cases (unit or integration tests) that back your chang...
diff --git a/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/RuleServiceImpl.java b/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/RuleServiceImpl.java index dabcc4fe1081..990c141361fb 100644 --- a/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/RuleServiceImpl.java +++ ...
3
1
0
[{"id": "G0", "claim": "In testSearchByPageWithSpecifiedSelectors the stub of selectorMapper.selectAllByNamespaceId(...) is unnecessary because the new behavior should not issue that query when selectors are provided; remove it and add an explicit verify(..., never()) so a performance regression cannot pass unnoticed."...
null
apache__shenyu__6312
apache/shenyu
6,312
defect
0a927fdd1663291185363dc37defbd231392037d
9567a8419889e70dd08b0813e9bf24376e63262d
feat(mcp-server): enhance SDK compatibility with reflection caching and error handling
## Summary - Add reflection field caching in `McpSessionHelper` for better performance and reliability - Add `SUPPORTED_SDK_VERSION` constant for SDK compatibility tracking - Enhance error messages with SDK version information in `ShenyuToolCallback` - Add SDK compatibility notes in `pom.xml` documenting reflection us...
diff --git a/shenyu-plugin/shenyu-plugin-mcp-server/MCP_TOOL_EXAMPLES.md b/shenyu-plugin/shenyu-plugin-mcp-server/MCP_TOOL_EXAMPLES.md index d1457ffd5ae8..38d1eadafc4b 100644 --- a/shenyu-plugin/shenyu-plugin-mcp-server/MCP_TOOL_EXAMPLES.md +++ b/shenyu-plugin/shenyu-plugin-mcp-server/MCP_TOOL_EXAMPLES.md @@ -2,6 +2,27...
7
7
4
[{"id": "G0", "claim": "Unchecked runtime exceptions (e.g. InaccessibleObjectException) thrown by setAccessible(true) in resolveReflectionFields() would escape the static initializer and can fail class loading; catch RuntimeException around the reflective access, log, and leave the cache cleared so the helper fails gra...
null
apache__shenyu__6319
apache/shenyu
6,319
defect
2c44e7ef7e7bf1b5cb0a3adee68106547c810ee2
b48b804fde8b29644ee340cc0e40b5493bc30dd4
Fix missing RBAC on selector, rule, and data-permission endpoints
## Summary - add Shiro permission annotations to the data-permission selector/rule endpoints - protect selector and rule mutation endpoints with the existing plugin permission model - add regression tests that fail if these authorization annotations are removed ## Test Plan - mvn -pl shenyu-admin -Dtest=DataPermission...
diff --git a/.gitignore b/.gitignore index ed771e556c44..e266500fd74d 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,6 @@ Thumbs.db # Private individual user cursor rules .cursor/rules/_*.mdc + +# local worktrees +.worktrees/ diff --git a/shenyu-admin/src/main/java/org/apache/shenyu/admin/controller/DataPerm...
5
5
0
[{"id": "G0", "claim": "The Javadoc for saveRule says \"Delete rule data permission\" but the endpoint creates/saves rule data permission; update the description so the API docs do not mislead readers.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim...
null
apache__shenyu__6320
apache/shenyu
6,320
defect
2c44e7ef7e7bf1b5cb0a3adee68106547c810ee2
b8ad9e14d52567316f866d5277981bf8dfaa1e84
Block redirect-based SSRF bypass in Swagger imports
## Summary - disable HTTP and HTTPS redirect following in the shared admin OkHttp client - add a regression test that proves redirect responses are no longer automatically followed - keep existing Swagger import behavior intact while preventing redirect-based SSRF bypasses ## Test Plan - mvn -pl shenyu-admin -Dtest=Ht...
diff --git a/.gitignore b/.gitignore index ed771e556c44..e266500fd74d 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,6 @@ Thumbs.db # Private individual user cursor rules .cursor/rules/_*.mdc + +# local worktrees +.worktrees/ diff --git a/shenyu-admin/src/main/java/org/apache/shenyu/admin/utils/HttpUtils.jav...
2
2
1
[{"id": "G0", "claim": "Disabling redirects on the shared OkHttpClient changes semantics so Swagger import/doc-pull flows that treat non-200 as failure will break for endpoints that legitimately redirect; consider handling redirects explicitly in the Swagger import code path or update the PR description accordingly.", ...
null
apache__shenyu__6322
apache/shenyu
6,322
defect
2c44e7ef7e7bf1b5cb0a3adee68106547c810ee2
6fce7c5c16ac9cb54ee07cdf51b9b40a4ab7843d
Hide registry passwords from admin API responses
## Summary - hide registry password values from serialized RegistryVO API responses - add regression coverage to ensure registry transfer output no longer contains plaintext passwords - preserve existing registry persistence and service behavior while removing the disclosure path ## Test Plan - mvn -pl shenyu-admin -D...
diff --git a/.gitignore b/.gitignore index ed771e556c44..e266500fd74d 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,6 @@ Thumbs.db # Private individual user cursor rules .cursor/rules/_*.mdc + +# local worktrees +.worktrees/ diff --git a/shenyu-admin/src/main/java/org/apache/shenyu/admin/model/vo/RegistryVO...
1
1
1
[{"id": "G0", "claim": "For stronger protection against accidental password serialization under alternative Jackson configurations and for consistency with other VOs, @JsonIgnore should also be applied on the password field (or both field and accessor ignored) rather than only annotating the getter.", "category": "secu...
null
apache__shenyu__6323
apache/shenyu
6,323
defect
2c44e7ef7e7bf1b5cb0a3adee68106547c810ee2
5f9868355391c80222c611d1b35f358fc3fadfa0
Stop exposing login AES secrets to anonymous callers
## Summary - sanitize /platform/secretInfo so it no longer returns the configured AES login key material - fall back to plain-text password handling when AES decryption is unavailable or fails - add regression coverage for the secret bootstrap response and login fallback path ## Test Plan - mvn -pl shenyu-admin -Dtest...
diff --git a/.gitignore b/.gitignore index ed771e556c44..e266500fd74d 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,6 @@ Thumbs.db # Private individual user cursor rules .cursor/rules/_*.mdc + +# local worktrees +.worktrees/ diff --git a/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/Dashbo...
4
4
1
[{"id": "G0", "claim": "The new constructor accepts SecretProperties but neither stores nor uses it, so the argument should be removed or the field kept with justification.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "getBytes() uses the platf...
null
apache__shiro__1049
apache/shiro
1,049
defect
8761cf81dee71ecd215870999ddc2eac5ecf067d
9c2d33377377f715dca20d7b1d6d13a743ee0f8d
#1048: Solved base64 problem with remember me cookie.
Issue 1048 The cookie value sometimes got too much '=' characters at the end. I created a test to make the method fail, then I solved the problem. That fixed the test and made the RememberMe work again. - [x] I hereby declare this contribution to be licenced under the [Apache License Version 2.0, January 2004](...
diff --git a/web/src/main/java/org/apache/shiro/web/mgt/CookieRememberMeManager.java b/web/src/main/java/org/apache/shiro/web/mgt/CookieRememberMeManager.java index 291751ef77..61c734daf0 100644 --- a/web/src/main/java/org/apache/shiro/web/mgt/CookieRememberMeManager.java +++ b/web/src/main/java/org/apache/shiro/web/mg...
1
1
1
[{"id": "G0", "claim": "The pull request's change makes the existing test CookieRememberMeManagerTest.getRememberedPrincipalsDecryptionError fail with a CryptoException (arraycopy index out of bounds) instead of returning null when the remember-me cookie holds a bad value.", "category": "correctness", "verdict": "suppo...
null
apache__shiro__1384
apache/shiro
1,384
defect
75123583017b3c9091e99e44775046ed5b3c4a3a
769c2fca9867fd26363a1b6e805f11cf928acf80
[#1383] bugfix: fix exception mapper type from registered features
Changed registration of `UnauthenticatedException.class` to `UnauthenticatedExceptionMapper.class `Jax-rs feature context. fixes #1383 <!-- For Security Vulnerabilities, please email: security@shiro.apache.org For more details on how to report a vulnerablity see: https://www.apache.org/security/ --> Followin...
diff --git a/support/jaxrs/src/main/java/org/apache/shiro/web/jaxrs/ShiroFeature.java b/support/jaxrs/src/main/java/org/apache/shiro/web/jaxrs/ShiroFeature.java index 8274e76455..2c5933edf2 100644 --- a/support/jaxrs/src/main/java/org/apache/shiro/web/jaxrs/ShiroFeature.java +++ b/support/jaxrs/src/main/java/org/apache...
1
1
1
[{"id": "G0", "claim": "The removal of `context.register(UnauthenticatedException.class)` should be compensated by registering `UnauthenticatedExceptionExceptionMapper.class`, which is already inside the jar, in ShiroFeature's configure method.", "category": "correctness", "verdict": "supported", "priority": "P1", "sco...
null
apache__shiro__1514
apache/shiro
1,514
defect
78a016afa05825d760a392b478c3faea45bc01b8
53ddca9c63e32ac6d5514e1ab1f86dc351ae049e
[#SHIRO-875] Fix creating subjects from a `SubjectFactory` that disables session-creation
I'm not sure if I had to remove the PR template after I've read it and made sure I followed everything in it. Perhaps you might want to note that in it. This continues the work done in #1407. I didn't think of that case in it so this PR fixes it. I didn't open a new issue for it, sorry, I guess we could reuse the ol...
diff --git a/core/src/main/java/org/apache/shiro/mgt/DefaultSecurityManager.java b/core/src/main/java/org/apache/shiro/mgt/DefaultSecurityManager.java index 6674ddbebc..4739971942 100644 --- a/core/src/main/java/org/apache/shiro/mgt/DefaultSecurityManager.java +++ b/core/src/main/java/org/apache/shiro/mgt/DefaultSecuri...
1
1
1
[{"id": "G0", "claim": "The new test does not appear to assert that no session is being created; the reviewer asks that it be improved or commented in case he is misreading it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__shiro__2327
apache/shiro
2,327
defect
3927b9ed316ec1e5946ffae6e85bcfb806574753
f9eb089aec2e176ec5baa1bfd38c464c49bc0ea9
[#2328] bugfix: renamed bcrypt algo name so it's usable, refactored algo name…
… handling fixes #2328 <!-- For Security Vulnerabilities, please email: security@shiro.apache.org For more details on how to report a vulnerablity see: https://www.apache.org/security/ --> Following this checklist to help us incorporate your contribution quickly and easily: - [x] Make sure there is a [Git...
diff --git a/core/src/test/groovy/org/apache/shiro/authc/credential/PasswordMatcherTest.groovy b/core/src/test/groovy/org/apache/shiro/authc/credential/PasswordMatcherTest.groovy index a6ef2ff0af..6b624dd61f 100644 --- a/core/src/test/groovy/org/apache/shiro/authc/credential/PasswordMatcherTest.groovy +++ b/core/src/te...
3
2
1
[{"id": "G0", "claim": "Veto: the pull request should not rename the bcrypt algorithm name so crypt strings carry a 'bcrypt'-prefixed identifier (e.g. 'bcrypt2y'), because the '$2y$'-style version is the common bcrypt format (httpd, /etc/passwd) and deviating would make Shiro the odd man out.", "category": "design", "v...
null
apache__shiro__2372
apache/shiro
2,372
defect
de06e6abdaeced33f9ce248e8650c6afd52595d7
0e8e4c826b9a24b5b4f62f4566a5371826283a5c
[#953] - Allow CORS preflight requests to bypass authentication
This PR implements the enhancement proposed in #953, allowing CORS preflight (OPTIONS) requests to bypass authentication across supported authentication filters. Browsers perform CORS preflight requests before sending actual cross-origin requests, and these preflight requests must not be forced through authenticatio...
diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 889ecc1d47..6c20ea5888 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -21,7 +21,7 @@ updates: - package-ecosystem: 'maven' directory: '/' schedule: - interval: 'daily' + interval: 'weekly' open-pull-reque...
9
8
3
[{"id": "G0", "claim": "A blank Origin header should also be rejected, because a `!= null` check alone is not sufficient and could treat a blank-origin request as a preflight request.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The files added by...
null
apache__shiro__945
apache/shiro
945
defect
c0a6a4e07d5b47779d87372b37f0dba63810d63b
d44354ca7c1fb3a10f8fef36d6a2491efcfdd343
[#943] replace logback with log4j
fixes #943 logback was probably added for tests or out of ignorance of the existing log4j dependency. Following this checklist to help us incorporate your contribution quickly and easily: - [X] Make sure there is a [GitHub issue](https://github.com/apache/shiro/issues) filed for the change (usually b...
diff --git a/pom.xml b/pom.xml index cd9db33e23..fd7c6f21e6 100644 --- a/pom.xml +++ b/pom.xml @@ -109,7 +109,6 @@ modules' OSGi metadata: --> <quartz.version>2.3.2</quartz.version> <slf4j.version>1.7.33</slf4j.version> - <logback.version>1.2.10</logback.version> <log4j.v...
1
1
1
[{"id": "G0", "claim": "The logback.xml file in the hasher's main resources also needs to be removed and replaced by a log4j2 default config file.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__singa__162
apache/singa
162
defect
04e23d1a60d5160ff319f63fe89d715feee53b57
dff5557314255f2ec1997c5e4dc96f1415e67c37
SINGA-190 - Add prelu layer and flatten layer
Implement prelu and flatten layers and pass all tests.
diff --git a/src/model/layer/flatten.cc b/src/model/layer/flatten.cc new file mode 100644 index 0000000000..4f326f46ba --- /dev/null +++ b/src/model/layer/flatten.cc @@ -0,0 +1,56 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * ...
8
7
2
[{"id": "G0", "claim": "In Flatten::Forward the 2D branch accumulates one axis too few (loop over i < Axis()-1), so Axis()==1 would give {1, size()} instead of {shape(0), size()/shape(0)} — should the first dimension be the product of shape(0..Axis()-1)?", "category": "correctness", "verdict": "supported", "priority": ...
null
apache__singa__179
apache/singa
179
defect
396f9bf712d491a87ef16221b67d3ab17fce8955
b74505b21f6f7bd9421aabb25d0cf8afb594b191
SINGA-202 Add reader and writer for binary file
Add base classes of IO(Reader and Writer) Add KVFileReader and KVFileWriter for key-value files. Pass a simple test for KVFile write and read. Change CMakeLists under src and test folders.
diff --git a/include/singa/io/kvfile.h b/include/singa/io/kvfile.h new file mode 100644 index 0000000000..7dd70e64cd --- /dev/null +++ b/include/singa/io/kvfile.h @@ -0,0 +1,146 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * di...
4
4
2
[{"id": "G0", "claim": "Split the kvfile code so the writing part goes into BinaryFileWriter and the reading part into BinaryFileReader, remove the sub-class name prefixes since all readers and writers process kv pairs, and use a 4-byte magic word as the record boundary to help debugging and avoid reading wrong data.",...
null
apache__singa__193
apache/singa
193
defect
f026b60502f2fd66aa971c07c87ecf451463d76a
bd3b50e076d24856e8f448e790a8c87905359395
SINGA-213 Implement Encoder and Decoder for CSV
Implement Encoder and Decoder for CSV file Write test for it
diff --git a/include/singa/io/decoder.h b/include/singa/io/decoder.h index dad2231c52..3e7b70f5d2 100644 --- a/include/singa/io/decoder.h +++ b/include/singa/io/decoder.h @@ -43,7 +43,7 @@ class Decoder { class Proto2JPGDecoder : public Decoder { public: void Setup(const DecoderConf& conf) override { - image_d...
4
4
3
[{"id": "G0", "claim": "TextDecoder::Decode must not reinterpret_cast the raw string bytes to floats; it should parse the CSV string (e.g. with the string tokenizer) to extract float values one by one.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "...
null
apache__singa__230
apache/singa
230
defect
db5478efa051738ff3377908a8655201f9f9f18f
2227c7e1273690e84760e2e54f41004d3e65d9d9
SINGA-233 New communication interface for SINGA
In this ticket, we design and implement a new communication interface for SINGA. Specifically, each communication entity (physical node) is abstracted into an EndPoint, and users can directly call its send/recv method to accomplish data transfer.
diff --git a/CMakeLists.txt b/CMakeLists.txt index 23f8ef6323..4e529f0f25 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,12 +18,12 @@ SET(SINGA_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/include;${CMAKE_SOURCE_DIR}/lib/cnmem/include;${PROJECT_BINARY_DIR}") INCLUDE_DIRECTORIES(${SINGA_INCLUDE_DIR}) -OPTION(USE_CB...
4
3
2
[{"id": "G0", "claim": "The commented-out test_singa build lines in test/CMakeLists.txt must be uncommented because they are necessary for compiling the other tests.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Each new file added by the pull requ...
null
apache__singa__385
apache/singa
385
defect
c67c3b63fd310beb98ba239b6c1ec41a14c1d50a
4940fefbf65f0da474aff71b23bc60656aa40dc5
SINGA-362 Add functions to support einsum function
1. add repeat and sum function to support einsum function. 2. all the functions could pass the test case now
diff --git a/examples/cifar10/cnn.cc b/examples/cifar10/cnn.cc index 61097b6a1b..8af8a2fb5a 100644 --- a/examples/cifar10/cnn.cc +++ b/examples/cifar10/cnn.cc @@ -144,7 +144,7 @@ void Train(int num_epoch, string data_dir) { auto train = data.ReadTrainData(); size_t nsamples = train.first.shape(0); auto m...
3
2
0
[{"id": "G0", "claim": "The Transform code the pull request adds (the C++ specialization in tensor_math_cpp.h, the Tensor/void declarations in tensor.h and the GenUnaryTensorFn(Transform) instantiation in tensor.cc) conflicts with code that already exists and should be deleted.", "category": "maintainability", "verdict...
null
apache__singa__431
apache/singa
431
defect
eec0d52dad1caf716f2409b1f37d1c29a70360df
0d0d19aa9f4c30defd25701ce99c743737892d95
Integrated MKL-dnn for operation in model
- Integrated MKL-dnn for operations below fwd/bwd w/ tests - Conv2D - BatchNorm 4D/2D - Pooling Max/Avg - Updated CMake for flag: USE_MKLDNN
diff --git a/CMakeLists.txt b/CMakeLists.txt index b630497b95..efba5d28dd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,6 +66,7 @@ OPTION(USE_OPENCL "Use OpenCL" OFF) OPTION(ENABLE_DIST "Enable distributed training" OFF) OPTION(DISABLE_WARNINGS "Disable warnings under windows" ON) OPTION(USE_MODULES "Compi...
6
4
3
[{"id": "G0", "claim": "Use x.block()->data() instead of mutable_data() for the input tensor in the MKL-DNN batchnorm memory primitives, since data() returns a const pointer that cannot be updated.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "CpuBatchNor...
null
apache__singa__552
apache/singa
552
defect
0d1eaaac549e574d75a496eee3037ba91fc8f6b9
79bb717cd74d568daf5fbc7ddb6abf4308e0bc7b
SINGA-496 Implement softplus and softsign functions for tensor math
- Softsign function: https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/nn/softsign - Softplus function: https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/math/softplus
diff --git a/src/core/tensor/tensor.cc b/src/core/tensor/tensor.cc index 13fe3c0444..93f6c42c02 100755 --- a/src/core/tensor/tensor.cc +++ b/src/core/tensor/tensor.cc @@ -695,6 +695,8 @@ GenUnaryTensorFn(Exp); GenUnaryTensorFn(Log); GenUnaryTensorFn(ReLU); GenUnaryTensorFn(Sigmoid); +GenUnaryTensorFn(SoftPlus); +Gen...
6
6
6
[{"id": "G0", "claim": "The pull request adds SoftPlus/SoftSign only for the CPU path, and the two functions should also be added to src/core/tensor/tensor_math_cuda.h, where the kernels are already implemented.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", ...
null
apache__singa__667
apache/singa
667
defect
f50e7382792ff10a1f5614c5884886df45003da9
b3a334486054eba168f3dad17ceb3457d52ed9f0
Fix bugs of training
* Fix bugs of buffering Mult. * Can train ResNet50 with batch size of 64 now.
diff --git a/src/core/device/device.cc b/src/core/device/device.cc index 458b944a6c..4114601829 100644 --- a/src/core/device/device.cc +++ b/src/core/device/device.cc @@ -50,8 +50,6 @@ void Device::RunGraph(bool serial) { bool previous_state = graph_enabled_; graph_enabled_ = false; - // graph_->Debug(); - ...
1
1
1
[{"id": "G0", "claim": "The added initialization CHECK in Tensor::AsType cannot fix the error; the test cases need to be updated to reverse the two lines so the tensor data is copied before AsType is called.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
apache__singa__694
apache/singa
694
defect
db1846dd2c612950054f75b8125f40cd25a20f44
a436d3a2d297f59198e5811375242c5d57a41de2
SINGA-510 Add Time Profiling for Single GPU
Time Profiling for single GPU: verbosity level: 0 (default) -> no logging verbosity level: 1 -> forward and backward propagation time verbosity level: 2 -> each operation time (OP_ID, operation name, time) The time is displayed as the average per iteration. ``` root@831960763a12:~/dcsysh/singa/examples/cnn# py...
diff --git a/examples/cnn/train.py b/examples/cnn/train.py index 9f75b12419..7c7cb48423 100644 --- a/examples/cnn/train.py +++ b/examples/cnn/train.py @@ -99,6 +99,7 @@ def run(global_rank, data, sgd, graph, + verbosity, dist_option='fp32', spars=None): dev = dev...
7
6
2
[{"id": "G0", "claim": "Add comments on the verbosity explaining what the values 0, 1 and 2 mean.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use two enum classes to distinguish the profiling mode and the verbosity level instead of a string mod...
null
apache__skywalking-cli__26
apache/skywalking-cli
26
defect
5d2b49dd9ed46a415daf53d40a5c3b3af0c36c80
f20a70cc4314fc1a0f91f7d1d12524873aa10a7f
Make use of server timezone API when possible
resolves https://github.com/apache/skywalking/issues/4044
diff --git a/commands/instance/list.go b/commands/instance/list.go index 9f84be73..c20ccb48 100644 --- a/commands/instance/list.go +++ b/commands/instance/list.go @@ -34,6 +34,7 @@ var ListCommand = cli.Command{ Usage: "List all available instance by given --service-id or --service-name parameter", Flags: a...
3
3
0
[{"id": "G0", "claim": "The comments above ParseDuration need to be updated because they still describe the old logic under which explicit start/end values are treated as UTC-based, which the new timezone-aware logic replaced.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced...
null
apache__skywalking-cli__79
apache/skywalking-cli
79
defect
8b31c49842b505587d86c258f85e594fb0535a14
c187e6ce20712dbc3ad4f4492f0845ac4c0b203a
Fix the bug that can't query JVM instance metrics
Because the demo env have changed, I can't test CLI commands now. Resolve apache/skywalking#5973
diff --git a/commands/interceptor/scope.go b/commands/interceptor/scope.go index 6ecd7bc9..ab4f447d 100644 --- a/commands/interceptor/scope.go +++ b/commands/interceptor/scope.go @@ -31,7 +31,7 @@ func ParseScope(name string) schema.Scope { ret = schema.ScopeServiceRelation } else if strings.HasPrefix(name, "servi...
1
1
1
[{"id": "G0", "claim": "The solution of inferring the metrics scope from the metric-name prefix is wrong: the prefix-matching mechanism (ParseScope) should be removed in favour of a user-specified / input-parameter-based scope.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__skywalking-java__110
apache/skywalking-java
110
defect
a48a16b6d6c890bfbcce3bbd94d6498bb71a7bd2
041ed5c069867f937527933f9fcf367992a7a44f
fix Dubbo3.x Context problem #8525
<!-- ⚠️ Please make sure to read this template first, pull requests that don't accord with this template maybe closed without notice. Texts surrounded by `<` and `>` are meant to be replaced by you, e.g. <framework name>, <issue number>. Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]` --...
diff --git a/CHANGES.md b/CHANGES.md index d0faa98a31..ebb0236875 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -8,6 +8,7 @@ Release Notes. * Support Tomcat thread pool metric collect. * Remove plugin for ServiceComb Java Chassis 0.x * Add Guava EventBus plugin. +* Fix Dubbo 3.x plugin's tracing problem. #### Docum...
7
4
0
[{"id": "G0", "claim": "Judging the side with a hand-written check of the invocation URL's `side` parameter seems an unofficial and strange way; if it is already official, the built-in RpcServiceContext#isConsumerSide() should be used directly instead.", "category": "design", "verdict": "opposed", "priority": "P2", "sc...
null
apache__skywalking-java__146
apache/skywalking-java
146
defect
23c724658a46a39f5e89e1149aaaff63fc110ae5
22e85142ff56493cee90adf49d123b71ff3e0089
[Feature] Add JDK ThreadPoolExecutor plugin(#8743)
### Add an agent plugin to support JDK ThreadPoolExecutor and its subclasses - [x] Add a test case for the new plugin, refer to [the doc](https://github.com/apache/skywalking-java/blob/main/docs/en/setup/service-agent/java-agent/Plugin-test.md) ### <Feature description> - [x] Update the documentation to in...
diff --git a/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/conf/SnifferConfigInitializer.java b/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/conf/SnifferConfigInitializer.java index 0aa984dc0e..7968ebe564 100644 --- a/apm-sniffer/apm-agent-core/src/main/j...
11
9
3
[{"id": "G0", "claim": "Setting the plugin-init flag at the end of premain leaves FileWriter gated so a lot of logs disappear from agent.log, and calling SnifferConfigInitializer.pluginInitCompleted() there makes even more logs disappear; it should be called right after installOn(instrumentation).", "category": "correc...
null
apache__skywalking-java__175
apache/skywalking-java
175
defect
4b24b7d7956240a1968ebfdf313082dac6158a94
2ea975367073921ed0080720eef5aa7ce50096f7
Fix Span not finished in gateway plugin when the gateway request time out
<!-- ⚠️ Please make sure to read this template first, pull requests that don't accord with this template maybe closed without notice. Texts surrounded by `<` and `>` are meant to be replaced by you, e.g. <framework name>, <issue number>. Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]` --...
diff --git a/CHANGES.md b/CHANGES.md index e45e028d24..cdc8681f77 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -16,6 +16,7 @@ Release Notes. * Grpc plugin support trace client async generic call(without grpc stubs), support Method type: `UNARY`、`SERVER_STREAMING`. * Enhance Apache ShenYu (incubating) plugin: support t...
2
2
2
[{"id": "G0", "claim": "The fix is applied only to the Gateway 3.x plugin; the 2.1.x gateway plugin may have the same span-not-finished issue and should be covered too.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Adding the timeout call to the te...
null
apache__skywalking-java__194
apache/skywalking-java
194
defect
d468806f43bdabee326d4a80e9a29ed03c3ac853
5639d0c23efba4ae070155f0c86f9bdb9bb29826
Fix argument type name in postgresql plugin and add type name checking
1. fix argument type name of Array in postgresql-8.x-plugin from java.lang.String[] to [Ljava.lang.String; 2. add type name checking in ArgumentTypeNameMatch and ReturnTypeNameMatch 3. highlight the type naming rule in docs/en/setup/service-agent/java-agent/Java-Plugin-Development-Guide.md ### Fix <argument type ...
diff --git a/CHANGES.md b/CHANGES.md index 9f870b9d48..5edd9e0eee 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -20,6 +20,9 @@ Release Notes. * Support `-Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector` in gRPC log report. * Fix tcnative libraries relocation for aarch64. * Add `p...
4
4
2
[{"id": "G0", "claim": "The matching branches for execute/executeUpdate with a String[] argument were removed by this change - was that removed on purpose?", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "PgStatement has no String[] parameter at index...
null
apache__skywalking-java__25
apache/skywalking-java
25
defect
0e45ed0b1379abd49863a8878d10903a3d5f76e9
6e478899c2310275242350fefaaf1abc63e0bbaa
Chore: Add benchmark and improve docs for exception-ignore plugin
Signed-off-by: Megrez Lu <lujiajing1126@gmail.com> ### Add details about the performance footprint of `exception-ignore` plugin - [x] Add a benchmark for the improvement. Not applicable. - [x] The benchmark result. ```text /** * # JMH version: 1.33 * # VM version: JDK 1.8.0_292, OpenJDK 64-Bit Server VM, 25....
diff --git a/apm-sniffer/apm-agent-core/src/test/java/org/apache/skywalking/apm/agent/core/context/status/HierarchyMatchExceptionBenchmark.java b/apm-sniffer/apm-agent-core/src/test/java/org/apache/skywalking/apm/agent/core/context/status/HierarchyMatchExceptionBenchmark.java new file mode 100644 index 0000000000..01e3...
2
2
1
[{"id": "G0", "claim": "The doc asserts benchmark results but does not include them; please attach the benchmark result there.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should update the root `CHANGES.md` changelog.", "catego...
null
apache__skywalking-java__265
apache/skywalking-java
265
defect
438d2954232ee7b996ca0a7d961eddcd2da0c5e6
928f69727e9af936989e3a73e557439a6cfd2a03
Add support for RESTEasy4.x
<!-- ⚠️ Please make sure to read this template first, pull requests that don't accord with this template maybe closed without notice. Texts surrounded by `<` and `>` are meant to be replaced by you, e.g. <framework name>, <issue number>. Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]` --...
diff --git a/.github/workflows/plugins-test.1.yaml b/.github/workflows/plugins-test.1.yaml index 0674b0b28f..ad17e7fefa 100644 --- a/.github/workflows/plugins-test.1.yaml +++ b/.github/workflows/plugins-test.1.yaml @@ -77,6 +77,7 @@ jobs: - mssql-jtds-scenario - mssql-jdbc-scenario - my...
5
5
3
[{"id": "G0", "claim": "Per PR #258 the HTTP response status code should be tagged whether the response is an error or not, but afterMethod only sets the tag when status >= 400.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The CHANGES.md entry sho...
null
apache__skywalking-java__304
apache/skywalking-java
304
defect
b8f99e95e520ade32ca377b490399f0d1afe20cf
233f50f02b743ddb2d31d4d620f39b9a66645b28
Support set/hashset/treeSet/arraylist/linkedlist types in the agent and plugin configurations
<!-- ⚠️ Please make sure to read this template first, pull requests that don't accord with this template maybe closed without notice. Texts surrounded by `<` and `>` are meant to be replaced by you, e.g. <framework name>, <issue number>. Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]` --...
diff --git a/CHANGES.md b/CHANGES.md index 97589016b0..0c5c3c930b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,6 +5,7 @@ Release Notes. 8.13.0 ------------------ +* Config support Set parameter #### Documentation diff --git a/apm-commons/apm-util/src/main/java/org/apache/skywalking/apm/util/ConfigInitializer...
2
2
1
[{"id": "G0", "claim": "The CHANGES.md entry should read '* support set-type in the agent or plugin configurations.' instead of '* Config support Set parameter'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Set-typed config fields are converted ...
null
apache__skywalking-java__36
apache/skywalking-java
36
defect
3e97740036242cf4ee8808b737727a7093b3d31f
21e1ed7ce6f26c2d366569e84ae165143395bb9d
fix NumberFormat exception in MysqlURLParser
Fix NumberFormat in MysqlURLParser https://github.com/apache/skywalking/issues/7758
diff --git a/apm-sniffer/apm-sdk-plugin/jdbc-commons/src/main/java/org/apache/skywalking/apm/plugin/jdbc/connectionurl/parser/MysqlURLParser.java b/apm-sniffer/apm-sdk-plugin/jdbc-commons/src/main/java/org/apache/skywalking/apm/plugin/jdbc/connectionurl/parser/MysqlURLParser.java index d4ca1b8604..3dc88b2002 100644 ---...
2
2
0
[{"id": "G0", "claim": "The changelog (changes.md in the repository root) should be updated to record this pull request's change.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request needlessly reformats the two return statements' conti...
null
apache__skywalking-java__363
apache/skywalking-java
363
defect
cf85f03ad5cb42205832ef35968b643a2e03f1ef
9758f0313e82f4335df6a83935fa47fecbfb0e93
Polish up activemq plugin to fix missing broker tag on consumer side
<!-- ⚠️ Please make sure to read this template first, pull requests that don't accord with this template maybe closed without notice. Texts surrounded by `<` and `>` are meant to be replaced by you, e.g. <framework name>, <issue number>. Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]` --...
diff --git a/CHANGES.md b/CHANGES.md index a67ef86363..b404207541 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -19,6 +19,7 @@ Release Notes. * Correct the duration of the transaction span for Neo4J 4.x. * Plugin-test configuration.yml dependencies support docker service command field * Polish up rabbitmq-5.x plugin t...
1
1
1
[{"id": "G0", "claim": "The change log should also include an entry 'Enhance MQ plugin relative tests to check key tags not blank.' next to the activemq polish entry.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__skywalking-java__441
apache/skywalking-java
441
defect
8c989b74e94e8784bfd90b5612dce2cb841bfc05
fae261f229e21c22eb2668f5f1d1c4c52c779119
Enhance lettuce plugin to adopt uniform tags
<!-- ⚠️ Please make sure to read this template first, pull requests that don't accord with this template maybe closed without notice. Texts surrounded by `<` and `>` are meant to be replaced by you, e.g. <framework name>, <issue number>. Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]` --...
diff --git a/CHANGES.md b/CHANGES.md index 1bd7aa0d76..38c8a288a0 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,7 +5,7 @@ Release Notes. 8.15.0 ------------------ - +* Enhance lettuce plugin to adopt uniform tags. #### Documentation diff --git a/apm-sniffer/apm-sdk-plugin/lettuce-5.x-plugin/src/main/java/org/...
1
1
0
[{"id": "G0", "claim": "org.apache.skywalking.apm.util.StringUtil#cut could be used instead of manual substring when truncating the Redis key to REDIS_PARAMETER_MAX_LENGTH.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__skywalking-java__531
apache/skywalking-java
531
defect
28fcf17642e3bf25076ff7650e60d070b84be391
f8b7e213811938205620b97d2427096cdf9a1052
Fix possible IllegalStateException when using Micrometer
<!-- ⚠️ Please make sure to read this template first, pull requests that don't accord with this template maybe closed without notice. Texts surrounded by `<` and `>` are meant to be replaced by you, e.g. <framework name>, <issue number>. Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]` ...
diff --git a/apm-sniffer/apm-toolkit-activation/apm-toolkit-micrometer-activation/src/main/java/org/apache/skywalking/apm/toolkit/activation/micrometer/MicrometerReceiverTracingHandlerInterceptor.java b/apm-sniffer/apm-toolkit-activation/apm-toolkit-micrometer-activation/src/main/java/org/apache/skywalking/apm/toolkit/...
4
4
3
[{"id": "G0", "claim": "The pull request should add an entry about this change to the CHANGES.md in the repository root.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The change seems to break the Test / resttemplate-6.x case and should be rechec...
null
apache__skywalking-java__54
apache/skywalking-java
54
defect
fbdfc42b4d825ba33205d646ddaaaad20c005cb8
fe60e26334f6748db1b7b30511a0851d8b4631b7
fix rocketmq message header properties garbled characters issue
<!-- ⚠️ Please make sure to read this template first, pull requests that don't accord with this template maybe closed without notice. Texts surrounded by `<` and `>` are meant to be replaced by you, e.g. <framework name>, <issue number>. Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]` --...
diff --git a/CHANGES.md b/CHANGES.md index 6218db0779..8c42483d1f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -37,6 +37,7 @@ Release Notes. * Fix version compatibility for JsonRPC4J plugin. * Add plugin to support Apache Kylin-jdbc 2.6.x 3.x 4.x * Fix instrumentation v2 API doesn't work for constructor instrumentati...
4
3
2
[{"id": "G0", "claim": "The separator handling is redundant: the loop appends PROPERTY_SEPARATOR after every key:value pair and afterwards a trailing separator is removed, so the per-pair append should be dropped instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"},...
null
apache__skywalking-java__540
apache/skywalking-java
540
defect
ddc68e27e2764ca6299f04ef21a5d864bf660deb
11934ee649a1ec9bf4d6e773d40ef23cf7ab47d0
[Feature] Support to configure custom decode method for kafka configurations
### Support to configure custom decryption methods for kafka configurations - [ ] If this is non-trivial feature, paste the links/URLs to the design doc. - [x] Update the documentation to include this new feature. - [x] Tests(including UT, IT, E2E) are added to verify the new feature. - [ ] If it's UI related, at...
diff --git a/CHANGES.md b/CHANGES.md index a0b3338e91..932fc231af 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -19,6 +19,7 @@ Release Notes. * Fix possible IllegalStateException when using Micrometer. * Support Grizzly Work ThreadPool Metric Monitor * Fix the gson dependency in the kafka-reporter-plugin. +* Support t...
3
3
2
[{"id": "G0", "claim": "The new comment in agent.config misspells \"method\" as \"mathed\" and should read \"# Specify which method to decrypt encrypted configuration of kafka.\"", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR should not use...
null
apache__skywalking-java__542
apache/skywalking-java
542
defect
ddc68e27e2764ca6299f04ef21a5d864bf660deb
e953bf68701ce985ef1d06611e95bc383e251b31
Fix deserialization of kafka producer json config in the kafka-reporter-plugin.
<!-- ⚠️ Please make sure to read this template first, pull requests that don't accord with this template maybe closed without notice. Texts surrounded by `<` and `>` are meant to be replaced by you, e.g. <framework name>, <issue number>. Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]` --...
diff --git a/CHANGES.md b/CHANGES.md index a0b3338e91..31f7576116 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -19,6 +19,7 @@ Release Notes. * Fix possible IllegalStateException when using Micrometer. * Support Grizzly Work ThreadPool Metric Monitor * Fix the gson dependency in the kafka-reporter-plugin. +* Fix deser...
4
2
2
[{"id": "G0", "claim": "The reviewer thinks this pull request is duplicated with #540 and asks whether #538 had already fixed the same thing.", "category": "process", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new testSetPropertiesFromJsonConfig UT may prove little, becau...
null
apache__skywalking-java__587
apache/skywalking-java
587
defect
fbabc3d3abdf23597e0e892516cb056e3fc7111f
a57a257c7290e6c67b35ac00734b505ee883b689
Add support for RESTEasy 6.x
### Add an agent plugin to support RESTEasy 6.x - [x] Add a test case for the new plugin, refer to [the doc](https://github.com/apache/skywalking-java/blob/main/docs/en/setup/service-agent/java-agent/Plugin-test.md) - [x] Add a component id in [the component-libraries.yml](https://github.com/apache/skywalking/blo...
diff --git a/.github/workflows/plugins-jdk17-test.1.yaml b/.github/workflows/plugins-jdk17-test.1.yaml index d820466d8c..69629116e6 100644 --- a/.github/workflows/plugins-jdk17-test.1.yaml +++ b/.github/workflows/plugins-jdk17-test.1.yaml @@ -56,6 +56,7 @@ jobs: matrix: case: - spring-6.x-sce...
4
3
2
[{"id": "G0", "claim": "Questions whether JDK17 is RESTEasy's minimal running requirement — the new resteasy-6.x-scenario is wired only into the JDK17 workflow, although the author states the plugin's minimal runtime is JDK11 (Tomcat 10).", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "intr...
null
apache__skywalking-java__637
apache/skywalking-java
637
defect
c94b409b2819aec81b49b90d1974bfa54900faaa
cfe2a860a9f909222dc2b3b457749f84522e8805
Optimize bytebuddy type description performance
### Improve the performance of type description of byte-buddy The goal is to get the original class description at re-transform, so as to generate consistent results when the Skywalking agent is enhanced again (including implementing the EnhancedInstance interface, auxiliary fields and methods, etc.) The previous t...
diff --git a/apm-sniffer/apm-agent/src/main/java/org/apache/skywalking/apm/agent/SkyWalkingAgent.java b/apm-sniffer/apm-agent/src/main/java/org/apache/skywalking/apm/agent/SkyWalkingAgent.java index 8e0c2495b5..50cb2aecd7 100644 --- a/apm-sniffer/apm-agent/src/main/java/org/apache/skywalking/apm/agent/SkyWalkingAgent.j...
3
2
2
[{"id": "G0", "claim": "Move the cache registration into the apply method (cache the delegate's resolved description and register it there) instead of registering from the agent's Transformer, so the responsibility is clearer.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"i...
null
apache__skywalking-java__644
apache/skywalking-java
644
defect
d5cfd35c5d0479c8afb89892449054082adb5f0d
0b462e324160d06ac117172f7fbb73de9b473b92
Fix Impala Jdbc URL (including schema without properties) parsing exception
### Fix Impala Jdbc URL (including schema without properties) parsing exception - [ ] Add a unit test to verify that the fix works. - [ ] Explain briefly why the bug exists and how to fix it. When set up Impala jdbc url like `jdbc:impala://localhost:21050/test` without properties behind, it may cause exception `java...
diff --git a/CHANGES.md b/CHANGES.md index 46c54f8a35..a63f4a9a58 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -18,6 +18,7 @@ Release Notes. * Support collecting ZGC memory pool metrics. Require OAP 9.7.0 to support these new metrics. * Upgrade netty-codec-http2 to 4.1.100.Final * Add a netty-http 4.1.x plugin to tra...
2
2
1
[{"id": "G0", "claim": "The reviewer asks the author to explain why the parse() code was changed from Integer.valueOf to Integer.parseInt, since the rationale for the modification is unstated.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The c...
null
apache__skywalking-java__649
apache/skywalking-java
649
defect
c82287e1dd1593cf3e7dbc390b92f9224943252a
5b34dfced5db0133402e714efb6a4a1beec0fb01
Fix PostgreSQL Jdbc URL parsing exception
### Fix #11552 - [x] Add a unit test to verify that the fix works. - [x] Explain briefly why the bug exists and how to fix it. ### Fix multi hosts JDBC url parsing exception - [x] Add a unit test to verify that the fix works. - [x] Explain briefly why the bug exists and how to fix it. Fix https://github.com/...
diff --git a/CHANGES.md b/CHANGES.md index 0032844b61..7dcf73cb16 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -24,6 +24,7 @@ Release Notes. * Bump byte-buddy to 1.14.9 for JDK21 support. * Add JDK21 plugin tests for Spring 6. * Bump Lombok to 1.18.30 to adopt JDK21 compiling. +* Fix PostgreSQL Jdbc URL parsing excep...
3
1
1
[{"id": "G0", "claim": "The parse-failure branch in fetchDatabaseNameIndexRange returns URLLocation(0, 0), and the reviewer asks what database name that yields.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether jdbc:postgresql...
null
apache__skywalking-java__674
apache/skywalking-java
674
defect
f227543fc3a40170375b407c31376f5842771e2b
df7b281d2c5de6c011cd5be3318eb220b8267bc1
Fix not tracing in HttpClient v5 when HttpHost(arg[0]) is null but `RoutingSupport#determineHost` works.
[MRE here](https://github.com/cylx3126/skywalking-hc5-losespan-mre). - [x] Add a unit test to verify that the fix works. - [x] Explain briefly why the bug exists and how to fix it. - [x] Update the [`CHANGES` log](https://github.com/apache/skywalking-java/blob/main/CHANGES.md).
diff --git a/CHANGES.md b/CHANGES.md index 5ea8c5da7b..f6935bedd0 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -17,6 +17,7 @@ Release Notes. * Support for ActiveMQ-Artemis messaging tracing. * Archive the expired plugins `impala-jdbc-2.6.x-plugin`. * Fix a bug in Spring Cloud Gateway if HttpClientFinalizer#send does ...
1
1
0
[{"id": "G0", "claim": "The CHANGES.md release-note entry this PR adds should be reworded to the suggested phrasing: \"Fix not tracing in HttpClient v5 when HttpHost(arg[0]) is null but `RoutingSupport#determineHost` works.\"", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
apache__skywalking-java__675
apache/skywalking-java
675
defect
466f173f988b728551b2134f6ed409b97baac26c
0840582e61a8ed7152accfb132a98f07b19d4a26
Support across thread tracing for SOFA-RPC
<!-- ⚠️ Please make sure to read this template first, pull requests that don't accord with this template maybe closed without notice. Texts surrounded by `<` and `>` are meant to be replaced by you, e.g. <framework name>, <issue number>. Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]` --...
diff --git a/CHANGES.md b/CHANGES.md index 11dcc86166..5627ea6ad0 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -18,6 +18,7 @@ Release Notes. * Archive the expired plugins `impala-jdbc-2.6.x-plugin`. * Fix a bug in Spring Cloud Gateway if HttpClientFinalizer#send does not invoke, the span created at NettyRoutingFilterI...
4
4
3
[{"id": "G0", "claim": "The pull request should add a callback case to the sofarpc-scenario tests and verify the callback spans through the expectedData.yaml file.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The /healthCheck entry should not be inclu...
null
apache__skywalking-java__687
apache/skywalking-java
687
defect
1e5463c3cc3c99bbe4b89b0f5ca847c8641d2347
3f77390b959279b18b4fdd51b8f7f34a6868f888
Add support for Derby/Sybase/SQLite/DB2/OceanBase jdbc url format in URLParser
### https://github.com/apache/skywalking/issues/12207 - [x] Tests(including UT, IT, E2E) are added to verify the new feature. - [x] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes https://github.com/apache/skywalking/issues/12207 - [x] Update the [`CHANGES` log](https:/...
diff --git a/CHANGES.md b/CHANGES.md index fcde635794..6b6c759ae5 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -10,6 +10,7 @@ Release Notes. * Support for C3P0 connection pool tracing. * Use a daemon thread to flush logs. * Fix typos in `URLParser`. +* Add support for `Derby`/`Sybase`/`SQLite`/`DB2`/`OceanBase` jdbc ...
1
1
0
[{"id": "G0", "claim": "The database section added to Supported-list.md should be placed at a lower level, since it is a part of the connection pool section.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__skywalking-java__689
apache/skywalking-java
689
defect
4dfc1e85b56e75a1bf2bae11d34d8c0fe234bed0
c10decc47124054a74013638925baba8a3de80cf
Add a forceIgnoring mechanism and apply it to the plugins (Spring Clo…
Add a [forceIgnoring mechanism](https://github.com/apache/skywalking/discussions/12161) and apply it to the plugins (Spring Cloud Gateway, HttpClient, JDK-ForkJoinPool, JDK-Threading, JDK-ThreadPool, Toolkit-Trace, Toolkit-WebFlux) <!-- ⚠️ Please make sure to read this template first, pull requests that don't a...
diff --git a/CHANGES.md b/CHANGES.md index 0340de503d..66f717e538 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -12,6 +12,7 @@ Release Notes. * Fix typos in `URLParser`. * Add support for `Derby`/`Sybase`/`SQLite`/`DB2`/`OceanBase` jdbc url format in `URLParser`. * Optimize spring-plugins:scheduled-annotation-plugin c...
10
8
4
[{"id": "G0", "claim": "The pull request should include a proposal explaining what the force-ignoring mechanism is, since the discussion so far covered only the context.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The force-ignoring should not ...
null
apache__skywalking-java__698
apache/skywalking-java
698
defect
3a9645849529736ca3f67170d673daaee0ed0cda
d0a19e0da2728d5bf9ff1cdb4f0351c274ae5437
Improve 4x performance of ContextManagerExtendService.createTraceCont…
### Improve the performance of ContextManagerExtendService The benchmark result: ``` * # JMH version: 1.33 * # VM version: JDK 11.0.21, Java HotSpot(TM) 64-Bit Server VM, 11.0.21+9-LTS-193 * # VM invoker: /Library/Java/JavaVirtualMachines/jdk-11.jdk/Contents/Home/bin/java * # VM options: -javaagent:/Applicati...
diff --git a/CHANGES.md b/CHANGES.md index c7d88b0784..f3f214cadb 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -19,7 +19,7 @@ Release Notes. * Support for tracing the callbacks of asynchronous methods in elasticsearch-6.x-plugin/elasticsearch-7.x-plugin. * Fixed the invalid issue in the isInterface method in PluginFin...
2
2
1
[{"id": "G0", "claim": "Add a blank line after the new release-notes entry in CHANGES.md, as the suggestion block proposes.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Fix the Checkstyle violations in IgnoreSuffixBenchmark.java (star import o...
null
apache__skywalking-java__720
apache/skywalking-java
720
defect
615a1b11bb49106ae9b8dc49da53caef2ec038ae
e5243b29adedb67d545aeb5ea2237a488db7a6f6
Support async profiler feature
Integrate async profiler performance analysis function in Java <!-- ⚠️ Please make sure to read this template first, pull requests that don't accord with this template maybe closed without notice. Texts surrounded by `<` and `>` are meant to be replaced by you, e.g. <framework name>, <issue number>. ...
diff --git a/apm-protocol/apm-network/src/main/java/org/apache/skywalking/apm/network/trace/component/command/AsyncProfilerTaskCommand.java b/apm-protocol/apm-network/src/main/java/org/apache/skywalking/apm/network/trace/component/command/AsyncProfilerTaskCommand.java new file mode 100644 index 0000000000..f8fe47191b -...
19
19
3
[{"id": "G0", "claim": "There is no default value for the AsyncProfiler.OUTPUT_PATH configuration.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ACTIVE javadoc should read \"If true, Async Profiler will be enabled when user creates a new async profi...
null
apache__skywalking-java__739
apache/skywalking-java
739
defect
18e971c48e97b45d8b10b12b3977ee09e086f8b6
ebcb8d08565e07ce813210fcefa1e40781204b7b
Fix CreateAopProxyInterceptor in the Spring core-patch indeed changes the implementation of the Spring AOP proxy
Fix https://github.com/apache/skywalking/issues/12858 The `CreateAopProxyInterceptor` in the Spring core-patch indeed changes the implementation of the Spring AOP proxy - [X] Add a unit test to verify that the fix works. - [X] Explain briefly why the bug exists and how to fix it. The current version of `CreateAopPr...
diff --git a/apm-sniffer/apm-sdk-plugin/spring-plugins/core-patch/src/main/java/org/apache/skywalking/apm/plugin/spring/patch/CreateAopProxyInterceptor.java b/apm-sniffer/apm-sdk-plugin/spring-plugins/core-patch/src/main/java/org/apache/skywalking/apm/plugin/spring/patch/CreateAopProxyInterceptor.java index 97bab4ad33....
3
1
0
[{"id": "G0", "claim": "The pull request misses the required CHANGES.md release-notes update, and the reviewer asks the author to add it once all tests pass.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks when SpringProxy.class w...
null
apache__skywalking-java__758
apache/skywalking-java
758
defect
529d6d7eb31db1306081d078a0689e84201cb3c4
e6e5201821ecd80b2783ae20d3849227d1fc181a
Add support for dameng(DM) JDBC URL format in URLParser
<!-- ⚠️ Please make sure to read this template first, pull requests that don't accord with this template maybe closed without notice. Texts surrounded by `<` and `>` are meant to be replaced by you, e.g. <framework name>, <issue number>. Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]` --...
diff --git a/CHANGES.md b/CHANGES.md index 8e58c3459d..b4a963dde9 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -12,6 +12,7 @@ Release Notes. initialization. Delay so11y metrics#build when the services are not ready to avoid MeterService status is not initialized. * Fix retransform failure when enhancing both pare...
2
2
1
[{"id": "G0", "claim": "The new DMDB_JDBC_DRIVER component ID must be registered in the main repo first, following the plugin contribution doc, before being used here.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The CHANGES.md entry should read `...
null
apache__skywalking-java__772
apache/skywalking-java
772
defect
80d3958257962f00b0fff852561aef597f4683a8
ca40b15acbd0666b65cbd538d7d2323ee4868567
Fix CLASS_LOADER_TYPE_CACHE OOM issue with WeakHashMap
### Problem The CLASS_LOADER_TYPE_CACHE in SWDescriptionStrategy uses a two-level cache structure with ClassLoader.hashCode() as the first-level key and type name as the second-level key. In scenarios involving rule engines like Drools that dynamically generate large numbers of classes, this cache grows inde...
diff --git a/apm-sniffer/bytebuddy-patch/src/main/java/net/bytebuddy/agent/builder/SWDescriptionStrategy.java b/apm-sniffer/bytebuddy-patch/src/main/java/net/bytebuddy/agent/builder/SWDescriptionStrategy.java index 62e8a0606c..0d10a039bb 100644 --- a/apm-sniffer/bytebuddy-patch/src/main/java/net/bytebuddy/agent/builder...
1
1
0
[{"id": "G0", "claim": "The Chinese comments (class Javadoc and inline comments) that this pull request adds to SWDescriptionStrategyCacheTest.java should be translated to English to keep the codebase consistent.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__skywalking-java__775
apache/skywalking-java
775
defect
762d31fa0f462c3025adf6af2d862e52c37f6815
c6394f2bdff363d9dc429ee159d295ec9f931d1c
Fix Jetty client cannot receive the HTTP response body(#13500)
<!-- ⚠️ Please make sure to read this template first, pull requests that don't accord with this template maybe closed without notice. Texts surrounded by `<` and `>` are meant to be replaced by you, e.g. <framework name>, <issue number>. Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]` --...
diff --git a/CHANGES.md b/CHANGES.md index 731f74226a..8e0da6a728 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -16,6 +16,7 @@ Release Notes. * Update Maven to 3.6.3 in mvnw. * Fix OOM due to too many span logs. * Fix ClassLoader cache OOM issue with WeakHashMap. +* Fix Jetty client cannot receive the HTTP response bo...
4
4
3
[{"id": "G0", "claim": "In AsyncHttpRequestSendInterceptor.beforeMethod, wrapping the Response.Listener should be placed in an else branch rather than using an early return, so the CompleteListener path runs in the else.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G...
null