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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
alibaba__druid__5563 | alibaba/druid | 5,563 | defect | adbbdfa4a625b694a7597eb4980bd1cde8e6b846 | a940ac2b27089255303b95711e63c05b426efee9 | speed up connection validation by skipping all filters, unify connection checkers by extracting common codes | see #5564
1. validate unwrapped ConnectionProxy connection.
commit adbbdfa4a625b694a7597eb4980bd1cde8e6b846 at #5560 has a problem should be corrected:
the type of the validation connection is com.alibaba.druid.proxy.jdbc.ConnectionProxy, not javax.sql.PooledConnection.
2. unify connection checkers by extracting c... | diff --git a/core/src/main/java/com/alibaba/druid/filter/FilterChainImpl.java b/core/src/main/java/com/alibaba/druid/filter/FilterChainImpl.java
index a48c6c856a..59c72f5258 100644
--- a/core/src/main/java/com/alibaba/druid/filter/FilterChainImpl.java
+++ b/core/src/main/java/com/alibaba/druid/filter/FilterChainImpl.ja... | 2 | 2 | 0 | [{"id": "G0", "claim": "When initSqls executes SQL successfully, the following validateConnection call is redundant and could be skipped.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "OracleValidConnectionChecker's defaultValidateQuery can never be... | null |
alibaba__druid__6337 | alibaba/druid | 6,337 | defect | 247304cfb9743ca8ae28d7620b6600ef2e8ac68b | a6a483ee3e4da7df70ab9ca6e33c6eda6a10e76c | 支持 Doris AUTO PARTITION 语法,及 pg crate/alter/drop schema 语句中同时指定库,db2 crate/drop schema 语句 | 1. 支持 Doris AUTO PARTITION 语法
2. 支持 pg crate/alter/drop schema 语句中同时指定库。
3. 支持 db2 crate/drop schema 语句。 | diff --git a/core/src/main/java/com/alibaba/druid/sql/ast/SQLPartitionBy.java b/core/src/main/java/com/alibaba/druid/sql/ast/SQLPartitionBy.java
index a27f6d622b..5a620f9a6f 100644
--- a/core/src/main/java/com/alibaba/druid/sql/ast/SQLPartitionBy.java
+++ b/core/src/main/java/com/alibaba/druid/sql/ast/SQLPartitionBy.ja... | 1 | 1 | 0 | [{"id": "G0", "claim": "The Doris AUTO-partition parsing should be moved into the outer CreateTableParser (StarRocksCreateTableParser) rather than being an override in DorisCreateTableParser, since auto is defined on SQLPartitionBy itself.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "intr... | null |
alibaba__druid__6623 | alibaba/druid | 6,623 | defect | d9f9e2cb260f3d7e097c3683ae85558e828945fa | ecdfd109cf6dd367c37945d86377058ca912dcb6 | fix: WallFilter 全面审计修复 — 13处 bug 修复与架构改进 | Bug 修复:
- fix: SPI 排序后遍历错误变量导致 getOrder() 优先级失效
- fix: statement_execute 第一重载 WallContext ThreadLocal 泄漏
- fix: SyntaxErrorViolation 异常消息双逗号 (", , druid-version")
- fix: setTenantColumn 在 config 为 null 时 NPE
- fix: executeBatch 统计未过滤 JDBC SUCCESS_NO_INFO(-2)/EXECUTE_FAILED(-3) 负值
- fix: tenantColumnsLocal ThreadL... | diff --git a/core/src/main/java/com/alibaba/druid/proxy/jdbc/ResultSetProxyImpl.java b/core/src/main/java/com/alibaba/druid/proxy/jdbc/ResultSetProxyImpl.java
index 7581e07092f..c9352bb816f 100644
--- a/core/src/main/java/com/alibaba/druid/proxy/jdbc/ResultSetProxyImpl.java
+++ b/core/src/main/java/com/alibaba/druid/pr... | 4 | 2 | 0 | [{"id": "G0", "claim": "Throwing IllegalArgumentException from getPhysicalColumn/getLogicColumn can surface as an unexpected runtime exception during normal JDBC-style access patterns; prefer a safer fallback (return the input column index) or an IllegalStateException to signal internal mapping inconsistency.", "catego... | null |
alibaba__fastjson2__3704 | alibaba/fastjson2 | 3,704 | defect | a47c68d468c3f8908d1f7179f2228ac5db4c7041 | 8e4b9852360a10c17d267a196117b2edc122a31c | fixed bug for issue #3702 | ### What this PR does / why we need it?
目前已修复 Long、Float、Double。源问题来自 issue#1866 和 Pr#1880
### Summary of your change
#### Please indicate you've done the following:
- [ ] Made sure tests are passing and test coverage is added if needed.
- [ ] Made sure commit message follow the rule of [Conventional C... | diff --git a/core/src/main/java/com/alibaba/fastjson2/writer/ObjectWriterCreatorASM.java b/core/src/main/java/com/alibaba/fastjson2/writer/ObjectWriterCreatorASM.java
index 0b75697fef..8f25177c5b 100644
--- a/core/src/main/java/com/alibaba/fastjson2/writer/ObjectWriterCreatorASM.java
+++ b/core/src/main/java/com/alibab... | 4 | 3 | 0 | [{"id": "G0", "claim": "Null-related features set on a field via @JSONField (e.g. WriteNullNumberAsZero, NullAsDefaultValue) still do not take effect for BigInteger, BigDecimal, Byte, Short and Number fields, because gwFieldValueObject's writeXXXNull handling only considers context features; the author asks wenshao to ... | null |
alibaba__fastjson2__3904 | alibaba/fastjson2 | 3,904 | defect | 5925a238b07f85c910dbe4860b1bd00ae47a2551 | be46a5f65117b9b9c775664cb0bc690e432f5563 | feat(schema): support custom error message definition, for issue #1559 | ### What this PR does / why we need it?
### Summary of your change
#### Please indicate you've done the following:
- [ ] Made sure tests are passing and test coverage is added if needed.
- [ ] Made sure commit message follow the rule of [Conventional Commits specification](https://www.conventionalcomm... | diff --git a/core/src/main/java/com/alibaba/fastjson2/schema/AllOf.java b/core/src/main/java/com/alibaba/fastjson2/schema/AllOf.java
index d8121b1655..98fe183478 100644
--- a/core/src/main/java/com/alibaba/fastjson2/schema/AllOf.java
+++ b/core/src/main/java/com/alibaba/fastjson2/schema/AllOf.java
@@ -70,7 +70,7 @@ pub... | 4 | 1 | 0 | [{"id": "G0", "claim": "testAnnotationSchemaMessage expects a JSONSchemaValidException but does not assert that one was actually thrown, so the test silently passes when no exception occurs.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new final v... | null |
alibaba__fastjson2__3908 | alibaba/fastjson2 | 3,908 | defect | 5925a238b07f85c910dbe4860b1bd00ae47a2551 | 92fbf62a7725978ae1e4c14aa99fd89184597445 | fix bug for TypeUtils.castToTimestamp, for issue #3906 and #3907 | ### What this PR does / why we need it?
检查了下 1.2.83 的 TypeUtils,这两个都返回 Object,所以都做了修改:
<img width="644" height="102" alt="image" src="https://github.com/user-attachments/assets/67fa93d5-6502-4823-b95c-9609eb4d01b0" />
| diff --git a/core/src/main/java/com/alibaba/fastjson2/util/TypeUtils.java b/core/src/main/java/com/alibaba/fastjson2/util/TypeUtils.java
index 660825d50c..aa7d89c0e4 100644
--- a/core/src/main/java/com/alibaba/fastjson2/util/TypeUtils.java
+++ b/core/src/main/java/com/alibaba/fastjson2/util/TypeUtils.java
@@ -1458,6 +1... | 4 | 1 | 1 | [{"id": "G0", "claim": "Changing the return types of castToTimestamp and castToSqlDate from Timestamp/java.sql.Date to Object is a breaking API change that will cause compilation errors for existing callers; keep the specific return types or document the breaking change.", "category": "design", "verdict": "uncertain", ... | null |
alibaba__fastjson2__3916 | alibaba/fastjson2 | 3,916 | defect | 5925a238b07f85c910dbe4860b1bd00ae47a2551 | e788d9b002ba30c62fe06cb34b6cf8d366a1222c | feat: support serializing non-finite numbers as strings, for issue #3911 | ### What this PR does / why we need it?
我觉得定义为 WriteFloatSpecialAsString 可能会引起用户歧义(只能作用于 Float?)所以改成了 WriteNonFiniteAsString ,不知是否合适?
### Summary of your change
#### Please indicate you've done the following:
- [ ] Made sure tests are passing and test coverage is added if needed.
- [ ] Made sure commit... | diff --git a/core/src/main/java/com/alibaba/fastjson2/JSONWriter.java b/core/src/main/java/com/alibaba/fastjson2/JSONWriter.java
index 527311388c..4321d2de70 100644
--- a/core/src/main/java/com/alibaba/fastjson2/JSONWriter.java
+++ b/core/src/main/java/com/alibaba/fastjson2/JSONWriter.java
@@ -1935,7 +1935,11 @@ public... | 3 | 3 | 0 | [{"id": "G0", "claim": "The feature name WriteNonFiniteAsString should be renamed because Float also covers Double (Double is Float64), and a name without 'Float' is harder to understand.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A boolean writeSpec... | null |
alibaba__fastjson2__3922 | alibaba/fastjson2 | 3,922 | defect | 5925a238b07f85c910dbe4860b1bd00ae47a2551 | 1ff32dc8ea025df7a52a9be10903b32c0307d1c7 | fix: correct BigDecimal parsing in readNumber0(), for issue #3917 | ### What this PR does / why we need it?
### Summary of your change
#### Please indicate you've done the following:
- [ ] Made sure tests are passing and test coverage is added if needed.
- [ ] Made sure commit message follow the rule of [Conventional Commits specification](https://www.conventionalcomm... | diff --git a/core/src/main/java/com/alibaba/fastjson2/JSONReaderUTF16.java b/core/src/main/java/com/alibaba/fastjson2/JSONReaderUTF16.java
index f5bb255cbd..42c8e86359 100644
--- a/core/src/main/java/com/alibaba/fastjson2/JSONReaderUTF16.java
+++ b/core/src/main/java/com/alibaba/fastjson2/JSONReaderUTF16.java
@@ -3755,... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new test should also exercise the String/char[]/byte[] input forms so that both JSONReaderUTF8 and JSONReaderUTF16 are actually tested across different JDKs.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
alibaba__fastjson2__3929 | alibaba/fastjson2 | 3,929 | defect | a2066d8e7b7ecc3d03c78ccf7698decc2a6f0c2e | af67751951d21717eadc693c04be50aeee4bdf67 | fix: support 4-byte UTF-8 characters (Emoji) in object keys, for issue #3928 |
### What this PR does / why we need it?
### Summary of your change
#### Please indicate you've done the following:
- [ ] Made sure tests are passing and test coverage is added if needed.
- [ ] Made sure commit message follow the rule of [Conventional Commits specification](https://www.conventional... | diff --git a/core/src/main/java/com/alibaba/fastjson2/JSONReaderUTF8.java b/core/src/main/java/com/alibaba/fastjson2/JSONReaderUTF8.java
index 14644229b0..68f94a022f 100644
--- a/core/src/main/java/com/alibaba/fastjson2/JSONReaderUTF8.java
+++ b/core/src/main/java/com/alibaba/fastjson2/JSONReaderUTF8.java
@@ -3043,9 +3... | 5 | 3 | 2 | [{"id": "G0", "claim": "The new 4-byte UTF-8 decoding in getFieldName does not validate that the decoded code point falls in the valid supplementary range (0x10000 to 0x10FFFF), so invalid UTF-8 sequences could be decoded without throwing an exception.", "category": "correctness", "verdict": "supported", "priority": "P... | null |
alibaba__fastjson2__3940 | alibaba/fastjson2 | 3,940 | defect | 9135cad0e8012ba8727110a9b87200c6f3e2de70 | 814323f87db76c7e87541899063a018ff5cee830 | fix issue3939 | ### What this PR does / why we need it?
修复 [issue3939](https://github.com/alibaba/fastjson2/issues/3939)
test_1 会走到 JSON_TYPE_BIG_DEC 分支的 BigInteger 方法处理,由于没有对应科学计数法的处理,所以会抛出异常
test_2 会走到 JSON_TYPE_DEC 分支的大数路径,由于大数路径重复处理了指数,所以发生异常
- 小数路径 :当 mag0 == 0 && mag1 == 0 时,使用 BigDecimal.valueOf(unscaledVal, scale) 创建 B... | diff --git a/core/src/main/java/com/alibaba/fastjson2/JSONReader.java b/core/src/main/java/com/alibaba/fastjson2/JSONReader.java
index 4232bb190b..78575be0d3 100644
--- a/core/src/main/java/com/alibaba/fastjson2/JSONReader.java
+++ b/core/src/main/java/com/alibaba/fastjson2/JSONReader.java
@@ -4434,7 +4434,10 @@ public... | 1 | 1 | 1 | [{"id": "G0", "claim": "In getNumber()'s JSON_TYPE_DEC branch, when the exponent-path value falls between Long.MAX_VALUE and Unsigned Long.MAX_VALUE, the exponent is applied twice and the parsed result is wrong (e.g. 9223372036854776000e-10 parses as 922337203.6854776000 instead of 0.09223372036854776000); jujn propose... | null |
alibaba__fastjson2__4015 | alibaba/fastjson2 | 4,015 | defect | 001947106c8e87c5992b445745715972ac92880d | 6d95c110e18b80c0c4734fd1c424240e0765e4ea | fix: JSONPath nested array filter returning incorrect results, for issue #4007 |
**概述**:
JSONPath使用嵌套数组过滤器谓词(例如[?(@.field[?(@.x == 'y')])])的表达式会错误地返回所有元素,未考虑内部过滤器是否匹配。
**改动**:
- JSONPathFilter— 新增了 NameSubFilterSegment(一个NameFilter子类),用于承载和执行嵌套的过滤条件。它内部持有解析出的内层过滤器 (subFilter),在运行时对提取出的集合元素进行二次求值。
- JSONPathParser— 修改了 parseFilter 方法在处理右括号 ) 时的收尾逻辑。如检测到当前上下文中已经解析出了内部过滤器(即 function instanceof... | diff --git a/core/src/main/java/com/alibaba/fastjson2/JSONPathFilter.java b/core/src/main/java/com/alibaba/fastjson2/JSONPathFilter.java
index 53ae41b566..56c7cf96e3 100644
--- a/core/src/main/java/com/alibaba/fastjson2/JSONPathFilter.java
+++ b/core/src/main/java/com/alibaba/fastjson2/JSONPathFilter.java
@@ -708,6 +70... | 4 | 4 | 1 | [{"id": "G0", "claim": "Add tests covering the Java POJO (ObjectWriterAdapter) branch, multi-level nested filters (fieldName2 path), and edge cases: empty arrays, null field values, and primitive-type arrays.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"... | null |
alibaba__fastjson2__4029 | alibaba/fastjson2 | 4,029 | defect | ede10a52aaac350476984a911b48481fd064cb3a | a0356f02517457cc4e8b3bcf04657d6214820c91 | fix: Map subclass loses @type when serialized with ValueFilter (#3984) | ### What this PR does / why we need it?
Fixes #3984
当使用 `WriteClassName` 特性序列化 `HashMap` 子类时,如果同时设置了 `ValueFilter`,`@type` 字段会被静默丢弃,导致反序列化时丢失类型信息。
**复现代码:**
```java
CustomMap map = new CustomMap(); // extends HashMap
map.put("key1", "value1");
ValueFilter filter = (object, name, value) -> value;
String js... | diff --git a/core/src/main/java/com/alibaba/fastjson2/writer/ObjectWriterImplMap.java b/core/src/main/java/com/alibaba/fastjson2/writer/ObjectWriterImplMap.java
index 13f4ae284d..8e391bd230 100644
--- a/core/src/main/java/com/alibaba/fastjson2/writer/ObjectWriterImplMap.java
+++ b/core/src/main/java/com/alibaba/fastjso... | 3 | 2 | 0 | [{"id": "G0", "claim": "In ObjectWriterImplMap.writeWithFilter, writeTypeInfo is computed before features is OR'd with jsonWriter.getFeatures(), so if WriteClassName (or related flags) is enabled on the JSONWriter but not in the passed-in features argument, writeTypeInfo may incorrectly evaluate to false and @type may ... | null |
alibaba__fastjson2__4030 | alibaba/fastjson2 | 4,030 | defect | ede10a52aaac350476984a911b48481fd064cb3a | 26df5988a94df773455450eb43e0199d762351b6 | fix: JSONPath syntax error when 'in'/'rlike' filter follows other filters (#3997) | **Body:**
```markdown
### What this PR does / why we need it?
Fixes #3997
JSONPath 复合过滤表达式中,当 `in` / `not in` / `=~` (rlike) / `contains` 操作符不在第一个位置时(即通过 `&&` / `||` 连接在其他过滤条件之后),会抛出 `jsonpath syntax error`。
**复现代码:**
```java
// 失败 — in 在第二个位置
JSONPath.eval(json, "$.riskRequests[?(@.requestRiskType=='05... | diff --git a/core/src/main/java/com/alibaba/fastjson2/JSONPathParser.java b/core/src/main/java/com/alibaba/fastjson2/JSONPathParser.java
index 1c8d17db72..dc0dc93a37 100644
--- a/core/src/main/java/com/alibaba/fastjson2/JSONPathParser.java
+++ b/core/src/main/java/com/alibaba/fastjson2/JSONPathParser.java
@@ -816,8 +81... | 3 | 2 | 1 | [{"id": "G0", "claim": "The new `if (parentheses || filterNests > 0)` guard may consume a closing ')' without decrementing filterNests, leaving the counter overstated so parseArrayAccess()'s cleanup loop may skip an extra character; the reviewers prefer gating solely on `parentheses` (as in BETWEEN and the default path... | null |
alibaba__formily__3511 | alibaba/formily | 3,511 | defect | a620273b1ed8f5df85dd69cd7cd697356442e8da | 1c6f698b18f4dc03a2cf0693835cb1e153b729ba | fix: callback will not be executed until it is a function | _Before_ submitting a pull request, please make sure the following is done...
- [x] Ensure the pull request title and commit message follow the [Commit Specific](https://formilyjs.org/guide/contribution#pr-specification) in **English**.
- [x] Fork the repo and create your branch from `master` or `formily_next`.
- ... | diff --git a/packages/core/src/__tests__/effects.spec.ts b/packages/core/src/__tests__/effects.spec.ts
index c33b2fcbf95..8b6fedcdb2f 100644
--- a/packages/core/src/__tests__/effects.spec.ts
+++ b/packages/core/src/__tests__/effects.spec.ts
@@ -132,6 +132,17 @@ test('onFormReact', () => {
form.setValues({ aa: 123 })... | 2 | 2 | 0 | [{"id": "G0", "claim": "Calling onFormReact() without a callback (as in the nested createForm({ effects() { onFormReact() } }) snippet) executes undefined as a function and throws.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "pre_existing"}, {"id": "G1", "claim": "Move the newly adde... | null |
alibaba__formily__3884 | alibaba/formily | 3,884 | defect | f51283430e7723510dc82339c43297b83ed59c1f | 1994a7fa50a270c1a1a22f83b2fbe509458b8bd2 | fix(vue): decorator event props not work in vue2 | _Before_ submitting a pull request, please make sure the following is done...
- [x] Ensure the pull request title and commit message follow the [Commit Specific](https://formilyjs.org/guide/contribution#pr-specification) in **English**.
- [x] Fork the repo and create your branch from `master` or `formily_next`.
- ... | diff --git a/packages/vue/src/__tests__/schema.json.spec.ts b/packages/vue/src/__tests__/schema.json.spec.ts
index 9a4f85e423c..e821abba220 100644
--- a/packages/vue/src/__tests__/schema.json.spec.ts
+++ b/packages/vue/src/__tests__/schema.json.spec.ts
@@ -1,7 +1,7 @@
import { createForm } from '@formily/core'
import... | 1 | 1 | 0 | [{"id": "G0", "claim": "The decorator-attribute traversal should be optimized to use the shared `each` helper so that a single pass handles all keys instead of the many passes the current loop count makes.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
alibaba__graphlearn-for-pytorch__83 | alibaba/graphlearn-for-pytorch | 83 | defect | db6e4f5518c1ccdbd8f196d13dd5629130771f5d | d3666be110e75a2d0851a6464f32039a107d15ec | Refactor RPC connection in server-client mode | Refactor RPC connections using dynamic world size feature of torch RPC in server-client mode, the server can start independently without waiting for the client now. | diff --git a/graphlearn_torch/python/distributed/dist_client.py b/graphlearn_torch/python/distributed/dist_client.py
index bbb6734f..f83512ed 100644
--- a/graphlearn_torch/python/distributed/dist_client.py
+++ b/graphlearn_torch/python/distributed/dist_client.py
@@ -23,7 +23,7 @@
def init_client(num_servers: int, nu... | 8 | 7 | 0 | [{"id": "G0", "claim": "Rename an identifier in the new auto-assign branch of RemoteDistSamplingWorkerOptions.__init__ (the one-word comment names no target; most plausibly the new helper assign_server_by_order).", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "... | null |
alibaba__higress__1112 | alibaba/higress | 1,112 | defect | 81e459da01404f7316632399830995fe6fabe024 | 6d9bd88d64d6f27c2ff239df347bee8eb5f612d8 | support service-level match config | <!-- Please make sure you have read and understood the contributing guidelines -->
### Ⅰ. Describe what this PR did
支持插件按照cluster级别配置规则
### Ⅱ. Does this pull request fix one issue?
<!-- If that, add "fixes #xxx" below in the next line, for example, fixes #97. -->
### Ⅲ. Why don't you add test cases (unit... | diff --git a/plugins/wasm-go/pkg/matcher/rule_matcher.go b/plugins/wasm-go/pkg/matcher/rule_matcher.go
index 86b3d0b7698..8c7529b9aea 100644
--- a/plugins/wasm-go/pkg/matcher/rule_matcher.go
+++ b/plugins/wasm-go/pkg/matcher/rule_matcher.go
@@ -29,6 +29,7 @@ type Category int
const (
Route Category = iota
Host
+ C... | 3 | 3 | 2 | [{"id": "G0", "claim": "Service matching should support matching directly on the service's FQDN, with the port allowed to be configured or omitted, instead of requiring the exact full cluster name.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Unit test... | null |
alibaba__higress__1121 | alibaba/higress | 1,121 | defect | 46218058d11a0321f4d19091fdd7397cb3d74ce0 | 569815a98ecb4f3825930ec9b7de374abf2c5c9a | feat: add annotation for mirror svc | <!-- Please make sure you have read and understood the contributing guidelines -->
### Ⅰ. Describe what this PR did
add new ingress annotation feature.
`higress.io/mirror-target-service`: Route traffic that meets all routing rules under the ingress to the specified service.
`higress.io/mirror-percentage`: Route t... | diff --git a/pkg/ingress/kube/annotations/annotations.go b/pkg/ingress/kube/annotations/annotations.go
index afaa960926..ec49a1e1f5 100644
--- a/pkg/ingress/kube/annotations/annotations.go
+++ b/pkg/ingress/kube/annotations/annotations.go
@@ -68,6 +68,8 @@ type Ingress struct {
Auth *AuthConfig
+ Mirror *MirrorCo... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new mirror-service annotation feature should be covered by e2e tests.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
alibaba__higress__1178 | alibaba/higress | 1,178 | defect | 0a578c2a0450b81c319275ef05c154ddc609fd4c | 8a872b937bfa3551b27b0207e6a756fd55b883c4 | feat: 🎸 frontend-gray plugin support cdn type deploy | feat: 🎸 frontend-gray plugin support cdn type deploy
<!-- Please make sure you have read and understood the contributing guidelines -->
### Ⅰ. Describe what this PR did
支持CDN 部署模式的前端灰度
### Ⅱ. Does this pull request fix one issue?
<!-- If that, add "fixes #xxx" below in the next line, for example, fixes #9... | diff --git a/plugins/wasm-go/extensions/frontend-gray/README.md b/plugins/wasm-go/extensions/frontend-gray/README.md
index 283785807c..396f3c5ec6 100644
--- a/plugins/wasm-go/extensions/frontend-gray/README.md
+++ b/plugins/wasm-go/extensions/frontend-gray/README.md
@@ -3,13 +3,14 @@
`frontend-gray`插件实现了前端用户灰度的的功能,通过此... | 10 | 10 | 0 | [{"id": "G0", "claim": "The three rewrite fields (`notFound`, `index`, `file`) should get suffixes like `path` or `uri` so readers can tell at a glance what they are.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "There is a stray space after `C... | null |
alibaba__higress__1221 | alibaba/higress | 1,221 | defect | 25b085cb5ed348d4e86ad2ede96b4a603a778dbf | 14fc5948a15f6975a758a507d228d64d8cae897c | feat: Adapt to the Qwen multimodal model generation API | <!-- Please make sure you have read and understood the contributing guidelines -->
### Ⅰ. Describe what this PR did
适配OpenAI多模态协议,兼容了通义千问的 qwen-vl-plus 和 qwen-vl-max 模型
### Ⅱ. Does this pull request fix one issue?
<!-- If that, add "fixes #xxx" below in the next line, for example, fixes #97. -->
### Ⅲ. Why... | diff --git a/plugins/wasm-go/extensions/ai-proxy/README.md b/plugins/wasm-go/extensions/ai-proxy/README.md
index 3f655a992a..a00ec71f75 100644
--- a/plugins/wasm-go/extensions/ai-proxy/README.md
+++ b/plugins/wasm-go/extensions/ai-proxy/README.md
@@ -289,6 +289,7 @@ provider:
'gpt-35-turbo': "qwen-plus"
'gpt-... | 2 | 2 | 0 | [{"id": "G0", "claim": "When a request contains multiple text-type message parts, it would be better to add a newline between each text part in StringContent's concatenated result.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The URL naming in... | null |
alibaba__higress__1291 | alibaba/higress | 1,291 | defect | d18e22432a532e8a03643f483f3c9f63cdb08823 | e97c61625bac4aad64fea4ab20035bc10dc44ecf | [frontend-gray] Increase gray types according to the ratio-weight gray | <!-- Please make sure you have read and understood the contributing guidelines -->
### Ⅰ. Describe what this PR did
1. 增加按照比例灰度的能力,YAML配置如下:
灰度规则 `beta-user`的灰度范围为 50%
```
baseDeployment:
version: "dev"
grayDeployments:
- name: "beta-user"
version: "0.0.1"
enabled: "true"
weight: "50"
```
2. 添加... | diff --git a/plugins/wasm-go/extensions/frontend-gray/README.md b/plugins/wasm-go/extensions/frontend-gray/README.md
index dce90802c6..c851083d37 100644
--- a/plugins/wasm-go/extensions/frontend-gray/README.md
+++ b/plugins/wasm-go/extensions/frontend-gray/README.md
@@ -6,11 +6,15 @@
| 名称 | 数据类型 | ... | 10 | 10 | 2 | [{"id": "G0", "claim": "The README's debugGrayWeight row contains the typo `安比例` and should read `按照比例`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The injection table documents the field as `header`, but the actual config key is `head`, so th... | null |
alibaba__higress__1421 | alibaba/higress | 1,421 | defect | f8d62a8ac3d8ff56b9784f4e41a120ff514ca979 | eb2d2c19d21846e16947bfc4ad26a1fc832246b0 | add PILOT_ENABLE_ALPHA_GATEWAY_API and fix gateway status update | <!-- Please make sure you have read and understood the contributing guidelines -->
### Ⅰ. Describe what this PR did
1. 添加PILOT_ENABLE_ALPHA_GATEWAY_API环境变量,默认开启TCPRoute等非稳定Gateway资源的监听
2. 修复Gateway资源status更新为"Failed to assign to any requested addresses"的问题
### Ⅱ. Does this pull request fix one issue?
fixes... | diff --git a/helm/core/templates/controller-deployment.yaml b/helm/core/templates/controller-deployment.yaml
index 98bfe8f6d8..0a1249a18d 100644
--- a/helm/core/templates/controller-deployment.yaml
+++ b/helm/core/templates/controller-deployment.yaml
@@ -69,6 +69,8 @@ spec:
fieldPath: spec.serviceAccou... | 1 | 1 | 1 | [{"id": "G0", "claim": "The fallback gateway service name hardcodes \"higress-gateway\", but that name is not absolutely fixed (it depends on the deployment), so the hardcoded fallback can return a wrong service address.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
alibaba__higress__1592 | alibaba/higress | 1,592 | defect | 441408c5935e9d8c37f56f0974d49b89c7822a33 | a04ab0f8d1851420176dbc41a37c6c46d73d25a9 | feat: add TLS version annotation support for per-rule configuration | ### Ⅰ. Describe what this PR did
support for setting TLS version annotations (`tls-min-version` and `tls-max-version`) for per-rule configurations in Higress. This allows users to override global TLS settings for specific ingress rules.
### Ⅱ. Does this pull request fix one issue?
close #1586
### Ⅲ. Why do... | diff --git a/pkg/ingress/config/ingress_config.go b/pkg/ingress/config/ingress_config.go
index bb4b261ac1f..fbf28d2eb51 100644
--- a/pkg/ingress/config/ingress_config.go
+++ b/pkg/ingress/config/ingress_config.go
@@ -151,6 +151,8 @@ type IngressConfig struct {
clusterId cluster.ID
httpsConfigMgr *cert.ConfigMgr
+... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new TLS version support should extend the existing downstreamtls.go implementation rather than being added in a separate tls.go file.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G6", "claim": "The stray blank line added in the IngressConf... | null |
alibaba__higress__1915 | alibaba/higress | 1,915 | defect | 9acaed0b4345dc970415c42fda802643a6853784 | bdf6185831203871fff8c883bcf7f95a7d7c7922 | optimization parseIP in xff | <!-- Please make sure you have read and understood the contributing guidelines -->
### Ⅰ. Describe what this PR did
optimization parseIP in xff
xff 分割符为 [英文逗号+空格],应该在提取后做trim操作(取第一个值其实理论没有问题)
parseIP函数中未支持多ip的处理,原有test case5中`127.0.0.1:12,[fe80::14d5:8aff:fed9:2114]:123`是正好第一个ip带了端口才通过,如果是 `127.0.0.1,[fe80::14d5... | diff --git a/plugins/wasm-go/extensions/ip-restriction/main.go b/plugins/wasm-go/extensions/ip-restriction/main.go
index 7752639813..c9e8b04a23 100644
--- a/plugins/wasm-go/extensions/ip-restriction/main.go
+++ b/plugins/wasm-go/extensions/ip-restriction/main.go
@@ -3,13 +3,13 @@ package main
import (
"encoding/json... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new parameter should follow the naming convention and be named `fromHeader` instead of `from_header`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Splitting only when fromHeader is set is logically odd; a separator ... | null |
alibaba__higress__2035 | alibaba/higress | 2,035 | defect | 83b38b896c8d179a96c1d38daa82d5fd2bd21637 | ed17fcaafbad058282b8238ffa4a525dce8a00ba | feat: support config store and redis configuration optional in mcp server | <!-- Please make sure you have read and understood the contributing guidelines -->
### Ⅰ. Describe what this PR did
[support config handler and store in mcp server](https://github.com/alibaba/higress/commit/196b8d78277368daa9260bab9b242135b3a70d33)
[feat: support mcp server redis configuration optional](https://gi... | diff --git a/Makefile.core.mk b/Makefile.core.mk
index 95b344c14f..236ebff81a 100644
--- a/Makefile.core.mk
+++ b/Makefile.core.mk
@@ -235,8 +235,7 @@ clean-gateway: clean-istio
rm -rf external/proxy
rm -rf external/go-control-plane
rm -rf external/package/envoy.tar.gz
- rm -rf external/package/mcp-server_amd64.s... | 3 | 3 | 2 | [{"id": "G0", "claim": "The pprof panic-recovery log message should capitalize PProf.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The mcp server logic at uid granularity should be completely decoupled and controlled through an independent confi... | null |
alibaba__higress__2157 | alibaba/higress | 2,157 | defect | ec6004dd272f52d96af11597c288a6ad73470d42 | ce411ff359bfd9ef334a9c0929032bc9a61b9389 | feat: Add SSE direct proxy support to mcp-session filter | <!-- Please make sure you have read and understood the contributing guidelines -->
### Ⅰ. Describe what this PR did
Add SSE direct proxy support to mcp-session filter.
Usage:
- Add a route pointing directly to an MCP-SSE supported service (rewrite not needed).
- Add an item into `match_list` according to t... | diff --git a/pkg/ingress/kube/configmap/mcp_server.go b/pkg/ingress/kube/configmap/mcp_server.go
index dc77efc2b4..b44dd7e014 100644
--- a/pkg/ingress/kube/configmap/mcp_server.go
+++ b/pkg/ingress/kube/configmap/mcp_server.go
@@ -74,6 +74,12 @@ type MatchRule struct {
MatchRulePath string `json:"match_rule_path,omit... | 3 | 2 | 1 | [{"id": "G0", "claim": "The content-type check for skipping non-SSE response bodies should use strings.Contains instead of strings.HasPrefix for text/event-stream, which would be more compatible.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Identifi... | null |
alibaba__higress__2883 | alibaba/higress | 2,883 | defect | 20b68c039ca346b6b1590fa6cd37255f8cc08939 | b2e3f043358b2ff6d2af8a9292ac0f1bebfbadf5 | feat(provider): add support for meituan longcat || feat(provider): add support for meituan longcat |
<!-- Please make sure you have read and understood the contributing guidelines -->
### Ⅰ. Describe what this PR did
add support for meituan longcat
reference: https://longcat.chat/platform/docs/
### Ⅱ. Does this pull request fix one issue?
<!-- If that, add "fixes #xxx" below in the next line, for exa... | diff --git a/plugins/wasm-go/extensions/ai-proxy/provider/longcat.go b/plugins/wasm-go/extensions/ai-proxy/provider/longcat.go
new file mode 100644
index 0000000000..e1209bd533
--- /dev/null
+++ b/plugins/wasm-go/extensions/ai-proxy/provider/longcat.go
@@ -0,0 +1,86 @@
+package provider
+
+import (
+ "encoding/json"
+ ... | 6 | 1 | 1 | [{"id": "G0", "claim": "In TransformRequestBody, the error from json.Marshal is ignored (body, _ = json.Marshal(request)); it should be returned so processing stops on marshal failure.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new provider'... | null |
alibaba__higress__2917 | alibaba/higress | 2,917 | defect | 1cc977c6d46a225f783958bb917784679c6f7012 | 4934156fb02539a6f1ec6bea2a60d4571012b689 | feat(ai-proxy): add Fireworks AI support | add Fireworks AI support
refer: https://docs.fireworks.ai/tools-sdks/openai-compatibility
<!-- Please make sure you have read and understood the contributing guidelines -->
### Ⅰ. Describe what this PR did
### Ⅱ. Does this pull request fix one issue?
<!-- If that, add "fixes #xxx" below in the next line, f... | diff --git a/plugins/wasm-go/extensions/ai-proxy/README.md b/plugins/wasm-go/extensions/ai-proxy/README.md
index a83bee1865..a5599f9356 100644
--- a/plugins/wasm-go/extensions/ai-proxy/README.md
+++ b/plugins/wasm-go/extensions/ai-proxy/README.md
@@ -177,6 +177,10 @@ Grok 所对应的 `type` 为 `grok`。它并无特有的配置字段。
OpenRouter ... | 6 | 1 | 1 | [{"id": "G0", "claim": "In plugins/wasm-go/extensions/ai-proxy/test/fireworks.go the test config initializers discard the error returned by json.Marshal (`data, _ :=`), which could leave a test config empty, and the error should be handled explicitly.", "category": "testing", "verdict": "uncertain", "priority": "P2", "... | null |
alibaba__higress__2942 | alibaba/higress | 2,942 | defect | a694865f727cc3412a90fa2e35cbc331b96f65c9 | 125bbf92a07f7c043c59ad1547085c272bb68ec4 | fix: llm can be empty and optimize document and prompt | <!-- Please make sure you have read and understood the contributing guidelines -->
### Ⅰ. Describe what this PR did
### Ⅱ. Does this pull request fix one issue?
<!-- If that, add "fixes #xxx" below in the next line, for example, fixes #97. -->
### Ⅲ. Why don't you add test cases (unit test/integration tes... | diff --git a/plugins/golang-filter/mcp-server/servers/rag/READMD.md b/plugins/golang-filter/mcp-server/servers/rag/READMD.md
index 69b2859ba5a..05b664fdfad 100644
--- a/plugins/golang-filter/mcp-server/servers/rag/READMD.md
+++ b/plugins/golang-filter/mcp-server/servers/rag/READMD.md
@@ -23,40 +23,36 @@
### 配置结构
-... | 3 | 2 | 0 | [{"id": "G0", "claim": "The documentation file is misnamed READMD.md and should be renamed README.md.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The documentation should explain which MCP tools exist and what each is for, which tools are opt... | null |
alibaba__higress__3006 | alibaba/higress | 3,006 | defect | b0264557013d5f17e944eb0684eb622d4efab258 | 10349ab585485b0bb33e017932ba1f86663a13e1 | feature: support secret reference for Redis password in MCP Server |
### Ⅰ. Describe what this PR did
此PR为MCP Server的Redis配置添加了Secret引用支持,解决了密码必须明文存储在ConfigMap中的安全问题。
### Ⅱ. Does this pull request fix one issue?
fixes #3001
### Ⅲ. Why don't you add test cases (unit test/integration test)?
已添加测试
### Ⅳ. Describe how to verify it
1. 创建Secret:
```bash
kub... | diff --git a/docker/docker.mk b/docker/docker.mk
index 8e1851359cf..bf4c5c93aa2 100644
--- a/docker/docker.mk
+++ b/docker/docker.mk
@@ -44,5 +44,5 @@ IMG ?= higress
IMG_URL ?= $(HUB)/$(IMG):$(TAG)
HIGRESS_DOCKER_BUILDX_RULE ?= $(foreach VARIANT,$(DOCKER_BUILD_VARIANTS), time (mkdir -p $(HIGRESS_DOCKER_BUILD_TOP)/$... | 6 | 5 | 2 | [{"id": "G0", "claim": "An empty suggestion block on the pull request's added HIGRESS_DOCKER_RULE line in docker/docker.mk, reading as a request to drop the added `--build-arg TARGETARCH=$(TARGET_ARCH)` from the plain docker build rule; the suggestion body is empty, so the exact intent is not stated.", "category": "bui... | null |
alibaba__higress__369 | alibaba/higress | 369 | defect | 2dbe41324a21b162c32f98bf84f553b6293ad49a | 2201cf5bd799fe4354f8af78070f4a3f52da4a4a | feature: E2E framework supports testing wasm plugins | <!-- Please make sure you have read and understood the contributing guidelines -->
### Ⅰ. Describe what this PR did
Finished E2E framework supports testing wasm plugins function. [issue](https://github.com/alibaba/higress/issues/342)
### Ⅱ. Does this pull request fix one issue?
<!-- If that, add "fixes #xxx" b... | diff --git a/.gitignore b/.gitignore
index d0280e0b8c..88083abf6d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,4 +12,5 @@ bazel-out
bazel-testlogs
bazel-wasm-cpp
tools/bin/
-helm/**/charts/**.tgz
\ No newline at end of file
+helm/**/charts/**.tgz
+tools/hack/cluster.conf
\ No newline at end of file
diff --git a/M... | 1 | 1 | 1 | [{"id": "G0", "claim": "The wasm plugin tests should be enabled in the build-and-test CI workflow rather than left out.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
alibaba__higress__464 | alibaba/higress | 464 | defect | 9b88c6bb4021d54bc837fbe721953e5c867fdd98 | 95a1ca12f74bae5c5f5a61990f7d5473530a47b2 | feat: support eureka registry | <!-- Please make sure you have read and understood the contributing guidelines -->
### Ⅰ. Describe what this PR did
support eureka service registry
### Ⅱ. Does this pull request fix one issue?
<!-- If that, add "fixes #xxx" below in the next line, for example, fixes #97. -->
fixes: #383
### Ⅲ. Why don't ... | diff --git a/Makefile.core.mk b/Makefile.core.mk
index 6cd0e70e56..af1e26f012 100644
--- a/Makefile.core.mk
+++ b/Makefile.core.mk
@@ -238,11 +238,15 @@ kube-load-image: $(tools/kind) ## Install the Higress image to a kind cluster us
tools/hack/docker-pull-image.sh registry.cn-hangzhou.aliyuncs.com/hinsteny/dubbo-pro... | 4 | 4 | 3 | [{"id": "G0", "claim": "Add the copyright/licence header to the new Go files added by this pull request.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The e2e tests are failing and need to be fixed.", "category": "testing", "verdict": "supported"... | null |
alibaba__higress__552 | alibaba/higress | 552 | defect | fab734d39a5b8d5a920ac7edac704da4d49a2071 | fd025725f28959adda745eb44216497bc9836280 | feat: add hgctl dashboard support | <!-- Please make sure you have read and understood the contributing guidelines -->
### Ⅰ. Describe what this PR did
<img width="1013" alt="image" src="https://github.com/alibaba/higress/assets/48784001/98ec963e-6235-468b-a32b-75a08a011e5f">
### Ⅱ. Does this pull request fix one issue?
<!-- If that, add "f... | diff --git a/pkg/cmd/hgctl/configRetriever.go b/pkg/cmd/hgctl/configRetriever.go
index 41a3176f07..e52cb3f734 100644
--- a/pkg/cmd/hgctl/configRetriever.go
+++ b/pkg/cmd/hgctl/configRetriever.go
@@ -33,8 +33,8 @@ var (
)
const (
- adminPort = 15000
- containerName = "envoy"
+ defaultProxyAdminPort = 15000
+ con... | 1 | 1 | 1 | [{"id": "G0", "claim": "When opening the browser fails, the error output should include debugging information such as the executed command line and the stderr of the execution.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
alibaba__higress__677 | alibaba/higress | 677 | defect | 4426f18a84779507645064629cce07b7ddc7af6a | a194b5e3be425a9c3c76f9a5ed4f36a94aec76da | opt: hgctl dashboard/completion optimize | <!-- Please make sure you have read and understood the contributing guidelines -->
### Ⅰ. Describe what this PR did
三个任务:
- dashboard 可以指定参数 -l 监听指定的 host
- dashboard 支持 docker 环境安装的 higress
- completion 命令优化
### Ⅱ. Does this pull request fix one issue?
<!-- If that, add "fixes #xxx" below in the next... | diff --git a/pkg/cmd/hgctl/completion.go b/pkg/cmd/hgctl/completion.go
new file mode 100644
index 0000000000..d56d4c3fcd
--- /dev/null
+++ b/pkg/cmd/hgctl/completion.go
@@ -0,0 +1,232 @@
+// Copyright (c) 2022 Alibaba Group Holding Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may... | 5 | 5 | 2 | [{"id": "G0", "claim": "Please reorder the import block in pkg/cmd/hgctl/dashboard.go, whose stdlib imports were left scattered after the third-party imports.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The docker flag is now only used by the... | null |
alibaba__higress__746 | alibaba/higress | 746 | defect | 89c72777e11e43a9035e2ddcaab0c78a2bba1245 | e1cd22596a5db103a44bc8fb5eb416f441ce6fd9 | feat: e2e test opt | <!-- Please make sure you have read and understood the contributing guidelines -->
### Ⅰ. Describe what this PR did
e2e测试优化,实现测试环境复用
### Ⅱ. Does this pull request fix one issue?
<!-- If that, add "fixes #xxx" below in the next line, for example, fixes #97. -->
fixes: #709
### Ⅲ. Why don't you add test ... | diff --git a/Makefile.core.mk b/Makefile.core.mk
index 947ea12cd7..b61de61315 100644
--- a/Makefile.core.mk
+++ b/Makefile.core.mk
@@ -233,14 +233,30 @@ include tools/lint.mk
.PHONY: gateway-conformance-test
gateway-conformance-test:
+# higress-conformance-test-prepare prepares the environment for higress conforman... | 5 | 4 | 2 | [{"id": "G0", "claim": "Keep the CleanupBaseResources flag and gate cleanup on it so that base resources are only cleaned up when it is true and the default e2e test behavior stays consistent.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Suite Cle... | null |
alibaba__higress__760 | alibaba/higress | 760 | defect | 4273bf573a5fd5c9fa8754b47f2c5ef4ed297f4c | d9308aad4e82b9a150c4573c58a18a09ec97217f | feat: wasm support opa (Open Policy Agent) | <!-- Please make sure you have read and understood the contributing guidelines -->
### Ⅰ. Describe what this PR did
#680
### Ⅱ. Does this pull request fix one issue?
<!-- If that, add "fixes #xxx" below in the next line, for example, fixes #97. -->
### Ⅲ. Why don't you add test cases (unit test/integrat... | diff --git a/plugins/wasm-go/extensions/opa/go.mod b/plugins/wasm-go/extensions/opa/go.mod
new file mode 100644
index 00000000000..b508361d057
--- /dev/null
+++ b/plugins/wasm-go/extensions/opa/go.mod
@@ -0,0 +1,53 @@
+module github.com/alibaba/higress/plugins/wasm-go/extensions/opa
+
+go 1.19
+
+require (
+ github.com... | 3 | 3 | 2 | [{"id": "G0", "claim": "Remove the meaningless debug log statements from the plugin (e.g. log.Debug at the top of parseConfig and the body handler).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The filename config seems meaningless; the plugin... | null |
alibaba__higress__975 | alibaba/higress | 975 | defect | 2ff56c82f85030a9e9a89f782dc09e060d80a892 | 3d3f272473730a0fc3cb3bdcfdbbed5f312ed01c | feat: run the specific e2e test with environment variable | <!-- Please make sure you have read and understood the contributing guidelines -->
### Ⅰ. Describe what this PR did
Allow running the specific e2e test with environment variable
### Ⅱ. Does this pull request fix one issue?
<!-- If that, add "fixes #xxx" below in the next line, for example, fixes #97. -->
#... | diff --git a/test/README.md b/test/README.md
index dec426b1759..4a7ab87ef1f 100644
--- a/test/README.md
+++ b/test/README.md
@@ -22,6 +22,7 @@ Higress provides make target to run ingress api conformance tests and wasmplugin
+ Build ALL GO WasmPlugins for testing: `make higress-wasmplugin-test`
+ Only build on... | 1 | 1 | 0 | [{"id": "G0", "claim": "The suite should not read the test short name from the TEST_SHORTNAME environment variable; like the other options it should be read from a Go flag, with the make target passing the env value into that flag (e.g. --execute-tests=$(TEST_SHORTNAME)).", "category": "design", "verdict": "supported",... | null |
alibaba__hooks__1511 | alibaba/hooks | 1,511 | defect | 7c076d4d592d47093735e2fd84dadfdca3cdf568 | bd09b29250620ca9d36d5cb0982457ae3a14dea9 | fix: 支持函数式调用 | <!--
First of all, thank you for your contribution! 😄
New feature please send a pull request to master branch.
Pull requests will be merged after one of the collaborators approve.
Please makes sure that these forms are filled before submitting your pull request, thank you!
-->
[[中文版模板 / Chinese template](htt... | diff --git a/packages/hooks/src/useControllableValue/__tests__/index.test.ts b/packages/hooks/src/useControllableValue/__tests__/index.test.ts
index 4057daaa92..120d7ff10f 100644
--- a/packages/hooks/src/useControllableValue/__tests__/index.test.ts
+++ b/packages/hooks/src/useControllableValue/__tests__/index.test.ts
@... | 1 | 1 | 1 | [{"id": "G0", "claim": "The TypeScript type declarations, including the topmost overload signatures, also need to be updated so that setState's new function-updater form is supported by the declared types.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
alibaba__hooks__1599 | alibaba/hooks | 1,599 | defect | c907c7bb0f463db124ddbcc3c83706868277bd27 | 3575280036ea95eb0a2012850ab1096a4b905771 | feat: add useDeepCompareLayoutEffect | <!--
First of all, thank you for your contribution! 😄
New feature please send a pull request to master branch.
Pull requests will be merged after one of the collaborators approve.
Please makes sure that these forms are filled before submitting your pull request, thank you!
-->
[[中文版模板 / Chinese template](htt... | diff --git a/config/hooks.ts b/config/hooks.ts
index 4957515a48..fdd80e1476 100644
--- a/config/hooks.ts
+++ b/config/hooks.ts
@@ -68,6 +68,7 @@ export const menus = [
'useThrottleFn',
'useThrottleEffect',
'useDeepCompareEffect',
+ 'useDeepCompareLayoutEffect',
'useInterval',
'us... | 6 | 5 | 0 | [{"id": "G0", "claim": "Type names in createDeepCompareEffect should be UpperCamelCase (PascalCase) even though the old code used lower camel case.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The type import should be separated from the hooks... | null |
alibaba__hooks__1604 | alibaba/hooks | 1,604 | defect | c907c7bb0f463db124ddbcc3c83706868277bd27 | 4b6339e7ac53de8a80f0593b2df7dbf614b77c4c | fix: handle delay boundary add test for useInterval & useTimeout | <!--
First of all, thank you for your contribution! 😄
New feature please send a pull request to master branch.
Pull requests will be merged after one of the collaborators approve.
Please makes sure that these forms are filled before submitting your pull request, thank you!
-->
[[中文版模板 / Chinese template](htt... | diff --git a/packages/hooks/src/useInterval/__tests__/index.test.ts b/packages/hooks/src/useInterval/__tests__/index.test.ts
index 6fc7150d40..e39adee22c 100644
--- a/packages/hooks/src/useInterval/__tests__/index.test.ts
+++ b/packages/hooks/src/useInterval/__tests__/index.test.ts
@@ -24,13 +24,26 @@ describe('useInte... | 4 | 2 | 1 | [{"id": "G0", "claim": "The rewritten 'interval should stop' test triggers a type error (shown in a screenshot).", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Given the isNumber check, the added isNaN(delay) check should not be needed, since delay ... | null |
alibaba__hooks__1616 | alibaba/hooks | 1,616 | defect | bcf80cfb0ba43158d8d1155b8723b01ed367143c | 11a57825e31503046ca4ee10eb2211c87a7ca645 | feat: support the return function of clear timer in timeout and interval | <!--
First of all, thank you for your contribution! 😄
New feature please send a pull request to master branch.
Pull requests will be merged after one of the collaborators approve.
Please makes sure that these forms are filled before submitting your pull request, thank you!
-->
[[中文版模板 / Chinese template](htt... | diff --git a/packages/hooks/src/useInterval/__tests__/index.test.ts b/packages/hooks/src/useInterval/__tests__/index.test.ts
index 4904f67bbb..5ea5eb7bd0 100644
--- a/packages/hooks/src/useInterval/__tests__/index.test.ts
+++ b/packages/hooks/src/useInterval/__tests__/index.test.ts
@@ -44,4 +44,16 @@ describe('useInter... | 2 | 2 | 1 | [{"id": "G0", "claim": "The timer ref inferred from setInterval/setTimeout should be typed `number | NodeJS.Timer` instead of the auto-inferred `NodeJS.Timer`, which does not match the expectation.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
alibaba__hooks__1657 | alibaba/hooks | 1,657 | defect | cc0f100ea180d023dfe623f87204bfb2afe9b146 | d0a82b59647683151f7cc5c9f0bdd64744f771ce | fix: polling support pollingErrorRetryCount | <!--
First of all, thank you for your contribution! 😄
New feature please send a pull request to master branch.
Pull requests will be merged after one of the collaborators approve.
Please makes sure that these forms are filled before submitting your pull request, thank you!
-->
[[中文版模板 / Chinese template](htt... | diff --git a/packages/hooks/src/useRequest/__tests__/usePollingPlugin.test.ts b/packages/hooks/src/useRequest/__tests__/usePollingPlugin.test.ts
index 5fa578f6b6..025b44307d 100644
--- a/packages/hooks/src/useRequest/__tests__/usePollingPlugin.test.ts
+++ b/packages/hooks/src/useRequest/__tests__/usePollingPlugin.test.... | 2 | 2 | 1 | [{"id": "G0", "claim": "The polling-error retry scenario appended inside the existing `it` should be written as its own separate `it` test case.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "countRef.current is not reset to 0 after the retry count is e... | null |
alibaba__hooks__1730 | alibaba/hooks | 1,730 | defect | 2f4461ed0ee314133da0e5e935a6d8032b185e8e | 96e25b8a903a0827ec843167de61ded5d4ef07da | fix: 修复useVirtualList - getDistanceTop调用itemHeight传参错误 | <!--
First of all, thank you for your contribution! 😄
New feature please send a pull request to master branch.
Pull requests will be merged after one of the collaborators approve.
Please makes sure that these forms are filled before submitting your pull request, thank you!
-->
[[中文版模板 / Chinese template](htt... | diff --git a/packages/hooks/src/useVirtualList/__tests__/index.test.ts b/packages/hooks/src/useVirtualList/__tests__/index.test.ts
index 5887b76ecf..b4ba216a74 100644
--- a/packages/hooks/src/useVirtualList/__tests__/index.test.ts
+++ b/packages/hooks/src/useVirtualList/__tests__/index.test.ts
@@ -1,5 +1,6 @@
import {... | 3 | 3 | 1 | [{"id": "G0", "claim": "Test cases should be added for this pull request's change.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The sleep import is added but never used, so it should be removed.", "category": "maintainability", "verdict": "supported",... | null |
alibaba__hooks__1737 | alibaba/hooks | 1,737 | defect | f5737ec60bd5f130fa63c1034612ce5d18503f3e | 320f2bf4e148a8a33179856ace4ce9dc55eb8d33 | feat: add leftTime for useCountDown | <!--
First of all, thank you for your contribution! 😄
New feature please send a pull request to master branch.
Pull requests will be merged after one of the collaborators approve.
Please makes sure that these forms are filled before submitting your pull request, thank you!
-->
[[中文版模板 / Chinese template](htt... | diff --git a/packages/hooks/src/useCountDown/__tests__/index.test.ts b/packages/hooks/src/useCountDown/__tests__/index.test.ts
index 58c73049df..66b9c9aa2a 100644
--- a/packages/hooks/src/useCountDown/__tests__/index.test.ts
+++ b/packages/hooks/src/useCountDown/__tests__/index.test.ts
@@ -1,8 +1,10 @@
import { act, r... | 13 | 13 | 6 | [{"id": "G0", "claim": "Subtracting the fixed interval from the previous state on every tick is wrong because the real elapsed time between ticks is generally greater than the interval (e.g. when the page loses focus or setInterval is paused), so the remaining time drifts upward and should be computed from real elapsed... | null |
alibaba__hooks__1903 | alibaba/hooks | 1,903 | defect | 240542778a399aec3bf53e469ef68c606cd48bcd | 5f22a6eb23017fe75137f9c42e525821b6cbcf26 | fix: loading is always return true when set loadingDelay | <!--
First of all, thank you for your contribution! 😄
New feature please send a pull request to master branch.
Pull requests will be merged after one of the collaborators approve.
Please makes sure that these forms are filled before submitting your pull request, thank you!
-->
[[中文版模板 / Chinese template](htt... | diff --git a/packages/hooks/src/useRequest/__tests__/useLoadingDelayPlugin.test.ts b/packages/hooks/src/useRequest/__tests__/useLoadingDelayPlugin.test.ts
index 8d3b64f228..ac0a5d6f7d 100644
--- a/packages/hooks/src/useRequest/__tests__/useLoadingDelayPlugin.test.ts
+++ b/packages/hooks/src/useRequest/__tests__/useLoad... | 1 | 1 | 0 | [{"id": "G0", "claim": "The added guard `ready === undefined || (isBoolean(ready) && ready)` is equivalent to `ready !== false` and should be simplified to that.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
alibaba__hooks__1952 | alibaba/hooks | 1,952 | defect | 5bb2f8e25c9eff1b7f3199e23ceaf98a4c8ff530 | e4d21ee4c96da0f8d242a7545476cf904fda6e5d | fix: return res when is not object | <!--
First of all, thank you for your contribution! 😄
New feature please send a pull request to master branch.
Pull requests will be merged after one of the collaborators approve.
Please makes sure that these forms are filled before submitting your pull request, thank you!
-->
[[中文版模板 / Chinese template](htt... | diff --git a/packages/hooks/src/useReactive/__tests__/index.test.tsx b/packages/hooks/src/useReactive/__tests__/index.test.tsx
index a4b5ef29b6..8524c33bcf 100644
--- a/packages/hooks/src/useReactive/__tests__/index.test.tsx
+++ b/packages/hooks/src/useReactive/__tests__/index.test.tsx
@@ -2,9 +2,10 @@ import { fireEve... | 1 | 1 | 1 | [{"id": "G0", "claim": "The test should import renderHook and act from '@testing-library/react' instead of '@testing-library/react-hooks', since that package no longer supports React 18.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
alibaba__hooks__2116 | alibaba/hooks | 2,116 | defect | 37749a3a9a6927162e4c68146c9e06a0dffb32f9 | c5ead7d0b0cd8fbfda18e8b507de448f6078fd2d | refactor(useMap/useSet): refactoring useMap and useSet for improved initialValue checking. | <!--
First of all, thank you for your contribution! 😄
New feature please send a pull request to master branch.
Pull requests will be merged after one of the collaborators approve.
Please makes sure that these forms are filled before submitting your pull request, thank you!
-->
[[中文版模板 / Chinese template](htt... | diff --git a/packages/hooks/src/useMap/__tests__/index.test.ts b/packages/hooks/src/useMap/__tests__/index.test.ts
index 4c79ef6b5a..019c8b0893 100644
--- a/packages/hooks/src/useMap/__tests__/index.test.ts
+++ b/packages/hooks/src/useMap/__tests__/index.test.ts
@@ -26,8 +26,10 @@ describe('useMap', () => {
it('sh... | 1 | 1 | 1 | [{"id": "G0", "claim": "The eagerly evaluated `new Map(initialValue)` / `new Set(initialValue)` should be wrapped in a function so the initial object is not recreated on every rerender.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
alibaba__hooks__2598 | alibaba/hooks | 2,598 | defect | b2f12185963b7efe46ec70c97f661849f89892b5 | c953389324fedaa67c71aaf710d5b44dd3ce30ff | feat: support for array as event parameter in useEventListener | <!--
First of all, thank you for your contribution! 😄
New feature please send a pull request to master branch.
Pull requests will be merged after one of the collaborators approve.
Please makes sure that these forms are filled before submitting your pull request, thank you!
-->
[[中文版模板 / Chinese template](htt... | diff --git a/packages/hooks/src/useEventListener/__tests__/index.test.ts b/packages/hooks/src/useEventListener/__tests__/index.test.ts
index 57094df80b..a0d9972f03 100644
--- a/packages/hooks/src/useEventListener/__tests__/index.test.ts
+++ b/packages/hooks/src/useEventListener/__tests__/index.test.ts
@@ -32,6 +32,34 @... | 2 | 2 | 0 | [{"id": "G0", "claim": "Rename the forEach callback parameter in useEventListener because it shadows the outer eventName argument and the editor warns about it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add one more usage example (a demo) f... | null |
alibaba__hooks__2617 | alibaba/hooks | 2,617 | defect | 7fad40bae29e52aec61a1fbdcbe13d67f1ad400f | 0da3696ecaf9879b604d61f626850aa6d08c3d62 | feat: add useTheme | <!--
First of all, thank you for your contribution! 😄
New feature please send a pull request to master branch.
Pull requests will be merged after one of the collaborators approve.
Please makes sure that these forms are filled before submitting your pull request, thank you!
-->
[[中文版模板 / Chinese template](htt... | diff --git a/packages/hooks/src/useTheme/__test__/index.test.ts b/packages/hooks/src/useTheme/__test__/index.test.ts
new file mode 100644
index 0000000000..a06e76baab
--- /dev/null
+++ b/packages/hooks/src/useTheme/__test__/index.test.ts
@@ -0,0 +1,43 @@
+Object.defineProperty(window, 'matchMedia', {
+ writable: true,... | 9 | 8 | 5 | [{"id": "G0", "claim": "The localStorage key 'themeMode' should be made configurable via a parameter.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The setThemeMode function returned from the hook needs to be cached (wrapped in useMemoizedFn).", "catego... | null |
alibaba__hooks__272 | alibaba/hooks | 272 | defect | cf9e89cc206622fbecbb4c06f09889c3e452185f | 65feb9f8b4bb33a25b74946bfb7cac1ce452f49e | feat: add useCreation | Fix #159. | diff --git a/packages/hooks/src/index.ts b/packages/hooks/src/index.ts
index d8df4c5526..f200c61e03 100644
--- a/packages/hooks/src/index.ts
+++ b/packages/hooks/src/index.ts
@@ -35,6 +35,7 @@ import useUnmount from './useUnmount';
import useFormTable from './useFormTable';
import useSet from './useSet';
import useM... | 6 | 6 | 1 | [{"id": "G0", "claim": "The zh-CN doc seems to have an extra line break (the sentence is wrapped mid-line).", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The doc needs spaces around the English word 'memo' in the Chinese sentence.", "category": "... | null |
alibaba__hooks__2909 | alibaba/hooks | 2,909 | defect | 44ccc1b8a38765503c32f2baa1a6dc378ef156da | 22dabcc9ea7b7207056eb63692099bee404d1eae | clear timer when delete cached data from cache | <!--
First of all, thank you for your contribution! 😄
New feature please send a pull request to master branch.
Pull requests will be merged after one of the collaborators approve.
Please makes sure that these forms are filled before submitting your pull request, thank you!
-->
[[中文版模板 / Chinese template](htt... | diff --git a/packages/hooks/src/useRequest/src/utils/cache.ts b/packages/hooks/src/useRequest/src/utils/cache.ts
index 665812a568..b8d48a2955 100644
--- a/packages/hooks/src/useRequest/src/utils/cache.ts
+++ b/packages/hooks/src/useRequest/src/utils/cache.ts
@@ -12,11 +12,15 @@ interface RecordData extends CachedData {... | 2 | 2 | 1 | [{"id": "G0", "claim": "The clearTimer helper is missing semicolons after clearTimeout(cachedData.timer) and at the end of the arrow-function declaration, unlike the rest of the file.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The timer-canc... | null |
alibaba__hooks__470 | alibaba/hooks | 470 | defect | c696138add8c2987e5e710c3ec1c29ad81e1b920 | 81416bfeb324151a28b8c69f2519f1e7a54d5d22 | Feat/use interval | close #437 | diff --git a/packages/hooks/src/index.ts b/packages/hooks/src/index.ts
index a73fef7a84..0a7a6a75a6 100644
--- a/packages/hooks/src/index.ts
+++ b/packages/hooks/src/index.ts
@@ -43,6 +43,7 @@ import useEventTarget from './useEventTarget';
import useHistoryTravel from './useHistoryTravel';
import useDebounceEffect fr... | 11 | 11 | 5 | [{"id": "G0", "claim": "The docs use lowercase `options` where the exported type is `Options` — in the API signature line of index.zh-CN.md and index.en-US.md and in the en-US params table — and should be capitalized.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"... | null |
alibaba__hooks__775 | alibaba/hooks | 775 | defect | 2c3505d1e019c4b5db901be4c53fe6fcb887e7ca | 129c3173b206ca13a2b4e152cba9aafda6094f3e | feat(hooks): add a new hook named useExternal | 哈喽, 之前对于新增 `hooks/useExternal` 的 [RFC] 提议 #758 已通过评审,现在提个 PR,望采纳,感谢!
@brickspert | diff --git a/packages/hooks/src/index.ts b/packages/hooks/src/index.ts
index 2cde259dcd..05e182ae8d 100644
--- a/packages/hooks/src/index.ts
+++ b/packages/hooks/src/index.ts
@@ -56,6 +56,7 @@ import useCountDown from './useCountDown';
import useWebSocket from './useWebSocket';
import useLockFn from './useLockFn';
i... | 6 | 6 | 1 | [{"id": "G0", "claim": "The `path` and `src` states are redundant; keep only `path` and drop the parameters from `load`/`toggle` so they no longer accept a new path.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The hook's exported function is named `us... | null |
alibaba__ice__5095 | alibaba/ice | 5,095 | defect | 0cb077d18c57c1212639c6c8ad2c27c2c5852ff1 | 4e4c52e54e2e32d38f0f8c80a31165a8cb07114b | fix: wrong matching logic in pluginIndexHtml | ## 问题
我在使用 icestark 的 vite demo 时,发现 react 子应用加载会报错,后来发现是 vite-plugin-index-html 在打包时,没有删除 <script type="module" src="/src/main.tsx"></script>;
我看了下,是 icestark-vite-react 的 vite.config.ts 文件中配置的是 src/main.tsx;而 “index.html” 中的是 /src/main.tsx, 导致 vite-plugin-index-html 中的字符串匹配失败(如下图);
 so that matching in removeHtmlEntryScript also works for non-canonical written forms like 'src/main.tsx', '/src/main.tsx' and './src/main.tsx', rather than assuming './'-prefixed relative entry values.",... | null |
alibaba__ice__7097 | alibaba/ice | 7,097 | defect | 3670eadc316321486baddc469fbdceecc285cadf | ed9f1e175fc8c1e217537ad8e7c1faf0cc80fe82 | Fix/provide | - 修复webpack provide 兼容 esbuild inject 逻辑,由于import()在获取内容时会执行代码,现改为 ast 解析获取
- webpack transformInclude 改为读取 `compileDependencies`, 不再设有单独的配置 | diff --git a/.changeset/gold-foxes-protect.md b/.changeset/gold-foxes-protect.md
new file mode 100644
index 0000000000..4063082429
--- /dev/null
+++ b/.changeset/gold-foxes-protect.md
@@ -0,0 +1,7 @@
+---
+'@ice/app': patch
+---
+
+fix: compat esbuild config
+- use AST to get file exports instead of using import()
+- r... | 4 | 3 | 2 | [{"id": "G0", "claim": "The compileIncludes parameter of createWebpackConfig is typed Array<RegExp> but should be updated to Array<RegExp | string> because compileDependencies may include string paths as well.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "c... | null |
alibaba__innodb-java-reader__5 | alibaba/innodb-java-reader | 5 | defect | a9ec2a517346b12430081b2961d861509e332df2 | efd48d16c026caccec15b7724aac4f803fe2e395 | Add field values quotation. | Closes #4.
I did a small code refactor as I moved the `Utils.arrayToString` method with its tests to the `cli` module. I did this because I did not want the `reader` to be dependent on the Apache's `commons-csv` lib which I employed for text serialization. | diff --git a/README.md b/README.md
index 86b5830..5f2be30 100644
--- a/README.md
+++ b/README.md
@@ -67,7 +67,7 @@ Supported column types are listed below. Java type mapping refer to [docs](docs/
<dependency>
<groupId>com.alibaba.database</groupId>
<artifactId>innodb-java-reader</artifactId>
- <version>1.0.4</v... | 3 | 2 | 1 | [{"id": "G0", "claim": "Make the hard-coded CSV output settings configurable as CLI options: the null string printed for null values (mysql dump files treat null as NULL) and the quote mode (e.g. QuoteMode.ALL_NON_NULL), resolving the input to the enum e.g. via EnumUtils.getEnum.", "category": "design", "verdict": "sup... | null |
alibaba__libgrape-lite__134 | alibaba/libgrape-lite | 134 | defect | 4aea35a4b2a77f8e78b8f9902857e4a22b7d22d3 | 91c9a574c0b825943db7f33a34c5dc7e9916b8e9 | Small fix of vertex map | <!--
Thanks for your contribution! please review https://github.com/alibaba/libgrape-lite/blob/master/CONTRIBUTING.rst before opening an issue.
-->
## What do these changes do?
<!-- Please give a short brief about these changes. -->
When running the test of vertex map, I encountered a small problem with the sc... | diff --git a/grape/vertex_map/global_vertex_map.h b/grape/vertex_map/global_vertex_map.h
index 1a5a468b..62170833 100644
--- a/grape/vertex_map/global_vertex_map.h
+++ b/grape/vertex_map/global_vertex_map.h
@@ -70,30 +70,19 @@ class GlobalVertexMapBuilder {
const CommSpec& comm_spec = vertex_map.GetCommSpec();
... | 2 | 1 | 1 | [{"id": "G0", "claim": "The FragToWorker filtering loop in GlobalVertexMapBuilder's send/recv threads should be kept as it was, since FragToWorker(fid) == worker_id may not hold when one worker owns more than one fragment.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"... | null |
alibaba__loongcollector__1426 | alibaba/loongcollector | 1,426 | defect | e9a261c7d3666dbee034590a38234202e58fdcad | a6f9423db6c4422d56be9236564db1c3e107644e | refactor logic of last matched line | 之前的日志回退逻辑假设尽可能少的回退,因此造成代码较为复杂。
现在日志回退逻辑仅保证回退到的位置之前的日志一定是完整的,简化了逻辑,并且修复了一个corner case
```
配置 start_regex, end_regex
start -------------------------|
start |
unmatch <-- 当前读取的位置 | 完整日志
end ---------------------------|
```
这种情况下应当回退到第一个start前,而不是第二个start | diff --git a/core/reader/LogFileReader.cpp b/core/reader/LogFileReader.cpp
index 22acd7270f..b4090735c6 100644
--- a/core/reader/LogFileReader.cpp
+++ b/core/reader/LogFileReader.cpp
@@ -18,17 +18,16 @@
#include <fcntl.h>
#include <io.h>
#endif
+#include <cityhash/city.h>
#include <time.h>
#include <algorithm>
+... | 4 | 4 | 1 | [{"id": "G0", "claim": "Document the parameters and return value of the backward line helper and rename it GetLastLine(StringView buffer, size_t end), since the reverse-direction helper differs subtly from the forward one: 'end' is a position at or past the terminating \\n, and the return value excludes it.", "category... | null |
alibaba__loongcollector__1449 | alibaba/loongcollector | 1,449 | defect | 0692feb171d2f2a72f5f43cf1d2d102ae7139a65 | 1240976fbb4a0acaf010c8513868101e467109d4 | feat: rate limit for history file import | 采集后端可能无法处理太大的流量,除了反馈队列之外,还需要给用户提供手动限流的配置。
## 效果
```json
[
{
"config": "config#/root/ilogtail/debug/./user_yaml_config.d/file_simple.yaml",
"dir": "/root/ilogtail",
"name": "test.log"
},
{
"config": "config#/root/ilogtail/debug/./user_yaml_config.d/file_simple.yaml... | diff --git a/core/event_handler/HistoryFileImporter.cpp b/core/event_handler/HistoryFileImporter.cpp
index ec0348dee1..8176eb15ab 100644
--- a/core/event_handler/HistoryFileImporter.cpp
+++ b/core/event_handler/HistoryFileImporter.cpp
@@ -102,6 +102,7 @@ void HistoryFileImporter::ProcessEvent(const HistoryFileEvent& ev... | 5 | 3 | 1 | [{"id": "G0", "claim": "Class members of fundamental types in new code should always be initialized (here, HistoryFileEvent::mRate).", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Use multiplication instead of division for FlowControl's rate compu... | null |
alibaba__loongcollector__1796 | alibaba/loongcollector | 1,796 | defect | 6d9d5f2df3ec66c6fe318c7b34431c947d5b33da | fa4a31c4d81a7a2be5cb44141fc9faf2d4cd1f07 | feat: prometheus self monitor metrics |
指标 | 描述 | labels | 类型
-- | -- | -- | --
prom_register_state | 注册状态 | pod_name,operator_host,operator_port | IntGauge
prom_register_retry_total | 注册重试 | status,pod_name,... | Counter
prom_job_num | 输入插件(Job)数量 | pod_name,... | IntGauge
prom_subsricbe_targets | 订阅的 Targets 数量 | job,pod_name,... | IntGauge
prom_su... | diff --git a/core/monitor/metric_constants/MetricConstants.h b/core/monitor/metric_constants/MetricConstants.h
index bbb9690590..9351cf8bf5 100644
--- a/core/monitor/metric_constants/MetricConstants.h
+++ b/core/monitor/metric_constants/MetricConstants.h
@@ -89,6 +89,24 @@ extern const std::string METRIC_PLUGIN_MONITOR... | 8 | 6 | 1 | [{"id": "G0", "claim": "plugin_prom_subscribe_time_ms and plugin_prom_scrape_delay_total could be replaced by the common METRIC_PLUGIN_TOTAL_DELAY_MS metric.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "plugin_prom_scrape_bytes_total and plugin_... | null |
alibaba__loongcollector__1970 | alibaba/loongcollector | 1,970 | defect | 7695ae8e4780ef21f9675629c17182e2eae78d53 | 0c409e794f7b37e0cffb9d201dd33830f0567dfb | fix: judge file server changed | ## 问题
在多个配置加载时,需要根据input_file判断isFileServerInputChanged,从而决定是否启动FileServer。但是之前PR修改,导致后一个配置的结果可以覆盖前一个配置。
## 修复
任意一个配置改变了input_file,isFileServerInputChanged都应该是true | diff --git a/core/pipeline/PipelineManager.cpp b/core/pipeline/PipelineManager.cpp
index 57abcde874..2d22f90b1f 100644
--- a/core/pipeline/PipelineManager.cpp
+++ b/core/pipeline/PipelineManager.cpp
@@ -40,7 +40,7 @@ PipelineManager::PipelineManager()
: mInputRunners({
PrometheusInputRunner::GetInstance... | 2 | 2 | 2 | [{"id": "G0", "claim": "Since the change creates situations that could not be tested before, targeted unit test cases should be added for the new file-server-update behaviour.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The rewritten CheckIfFileServe... | null |
alibaba__loongcollector__2184 | alibaba/loongcollector | 2,184 | defect | e20e879f9a4fb905406c8db55239b3ef8e2025ff | f84170df27af6cbf67c26bbdd96320af03b1250b | Optimize JsonSerializer and Flusher_file | 优化了JsonSerializer和Flusher_file的性能,主要改动:
* json库替换为rapidjson
* JsonSerializer内使用不释放的buffer优化cpu开销(cpu优化最多)
* 移除Flusher_file内不必要的Batcher
* Flusher_file内spdlog从与loongcollector日志模块共享线程变为独立线程(mem优化最多)
测试场景:10M/s正则解析场景,配置和数据样例列在最后,结果见[CI](https://github.com/Takuka0311/LoongCollector/actions/runs/14468571630)。性能对比如下图... | diff --git a/core/collection_pipeline/serializer/JsonSerializer.cpp b/core/collection_pipeline/serializer/JsonSerializer.cpp
index e05b5a7827..2a2b00252e 100644
--- a/core/collection_pipeline/serializer/JsonSerializer.cpp
+++ b/core/collection_pipeline/serializer/JsonSerializer.cpp
@@ -14,15 +14,25 @@
#include "coll... | 1 | 1 | 1 | [{"id": "G0", "claim": "The 'MaxFiles' parameter is being assigned to mMaxFileSize instead of mMaxFiles; update the code to assign it to mMaxFiles.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
alibaba__loongcollector__2188 | alibaba/loongcollector | 2,188 | defect | b347c55570f61f505386242eb21fb3771bf6c981 | 687d97767fe3139391fa3c627fa45c6c7405e0d7 | fix compile dependency and unify get containerid impl | * fix compile sometimes fail due to no explicit dependency from provider_unittest_base to install_coolbpf
* unified implementation to get container id from cgroup
* unified implementation to read file | diff --git a/core/common/FileSystemUtil.cpp b/core/common/FileSystemUtil.cpp
index 7dc3d1613d..d1d5db7a8b 100644
--- a/core/common/FileSystemUtil.cpp
+++ b/core/common/FileSystemUtil.cpp
@@ -19,6 +19,7 @@
#include <fcntl.h>
#elif defined(__linux__)
#include <fnmatch.h>
+#include <sys/statvfs.h>
#endif
#include <fs... | 4 | 2 | 1 | [{"id": "G0", "claim": "In ProcParser::GetContainerId the success-path debug log prints containerId before it has been assigned the extracted value; it should log containerIdView instead to accurately reflect the extracted container ID.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "in... | null |
alibaba__loongcollector__2231 | alibaba/loongcollector | 2,231 | defect | a89951a4bf67b902dcd7445967a1831ab7d2f0b1 | d606f34308f655c7d15ed9d394c1bcf95f71f8fe | Add System Load collector | 新增采集系统负载的collector,通过读取/proc/loadavg的内容采集系统负载,和对应的ut
新增一个函数GetHostSystemStatWithPath,读取指定文件的内容,和对应ut | diff --git a/core/host_monitor/HostMonitorInputRunner.cpp b/core/host_monitor/HostMonitorInputRunner.cpp
index be0694cc3e..aca53ef889 100644
--- a/core/host_monitor/HostMonitorInputRunner.cpp
+++ b/core/host_monitor/HostMonitorInputRunner.cpp
@@ -32,6 +32,7 @@
#include "host_monitor/HostMonitorTimerEvent.h"
#include ... | 10 | 9 | 2 | [{"id": "G0", "claim": "Split the \"/proc/loadavg\" path into two constants defined in Constants.h.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The metric data should be stored in vectors instead of a struct array defining a schema, and the h... | null |
alibaba__loongcollector__2255 | alibaba/loongcollector | 2,255 | defect | 459c83d6882b2cfb440d36a445d271a6a0a50d27 | d297d50b4c6d305bbe0ea825772b3a9b6eb3c58a | Disable process security local container meta | * Disable local container meta
* Support search vmlinux in {installdir}/tools/
* Refine libbpf logging | diff --git a/core/ebpf/plugin/ProcessCacheManager.cpp b/core/ebpf/plugin/ProcessCacheManager.cpp
index 8d0216a404..b980005355 100644
--- a/core/ebpf/plugin/ProcessCacheManager.cpp
+++ b/core/ebpf/plugin/ProcessCacheManager.cpp
@@ -290,7 +290,7 @@ bool ProcessCacheManager::FinalizeProcessTags(uint32_t pid, uint64_t ktim... | 6 | 1 | 0 | [{"id": "G0", "claim": "Consider adding an inline comment explaining that the containerId parameter is intentionally unnamed because container metadata retrieval is disabled.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G2", "claim": "Consider adding a comment... | null |
alibaba__loongcollector__2289 | alibaba/loongcollector | 2,289 | defect | 451fe7cb59e083ceeee064270528fc7cf7bde838 | 102b1942445488779ca702f69a6c6347b63315a2 | add ProcessCollector | 作用
新增进程采集器ProcessCollector
新增指标
系统级别
vm_process_minimum: 多值体系下的系统内进程数最小值
vm_process_maximum: 多值体系下的系统内进程数最大值
vm_process_average: 多值体系下的系统内进程数平均值
vm_process:系统内进程数,pid数
进程级别
process_cpu_average: 多值体系下的某个进程的cpu利用率平均值
process_memory_average: 多值体系下的某个进程的内存利用率平均值
process_openfile_average: 多值体系下的某个进程的打开文件数的平均值
... | diff --git a/core/common/StringTools.cpp b/core/common/StringTools.cpp
index c2d17e70ec..b99a92eb28 100644
--- a/core/common/StringTools.cpp
+++ b/core/common/StringTools.cpp
@@ -366,4 +366,54 @@ bool IsInt(const char* sz) {
return ok;
}
+template <typename UnaryPredicate>
+std::string trimCopy(const std::strin... | 19 | 17 | 3 | [{"id": "G0", "claim": "In trimCopy, when end is decremented to 0, evaluating val[end - 1] reads out of bounds.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The hand-written split() is incorrect when the delimiter has multiple characters, and duplic... | null |
alibaba__loongcollector__2388 | alibaba/loongcollector | 2,388 | defect | 3d5ed35328d0f8d078f33b6f8e5e2cd0446e5aff | 3e5d1abf24af6a747f7a3af4f7f032b9ceb7f537 | feat: Report task status(support input_static_file_onetime) | 主要改动:
* 新增TaskStatusManager用于按region上报task信息
* 优化input_static_file_onetime的自监控数据格式,添加了start_time、expire_time等信息
* 修复了已完成的任务在agent重启时会获取到非法reader导致卡死的问题
* 修复了目录中带有`.`号时匹配不上的问题并增加UT
上报数据格式:
```json
{
"__source__": "172.17.0.2",
"__time__": 1758095177,
"task_type": "input_static_file_onetime",
... | diff --git a/core/collection_pipeline/CollectionPipeline.cpp b/core/collection_pipeline/CollectionPipeline.cpp
index 9f2bcd5f06..41b091ebe5 100644
--- a/core/collection_pipeline/CollectionPipeline.cpp
+++ b/core/collection_pipeline/CollectionPipeline.cpp
@@ -78,7 +78,9 @@ bool CollectionPipeline::Init(CollectionConfig&... | 8 | 2 | 0 | [{"id": "G0", "claim": "The code calls SendTaskStatus when DumpCheckpointFile fails, but the reviewer says it should not be invoked on dump failure.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The class relationships are messy and TaskStatusManager... | null |
alibaba__loongcollector__2421 | alibaba/loongcollector | 2,421 | defect | a077c0878bb4bfe05d7ecbd714c214df42a606e7 | 62d43df88dd4818de87afe2269367b3b85c134a8 | fix: Fix windows crash when ExcludeDirs include Chinese | Change-Id: I753628b1587e9bb6e457ca947cc31b48f6afbb4c
Co-developed-by: Cursor <noreply@cursor.com> | diff --git a/core/app_config/AppConfig.cpp b/core/app_config/AppConfig.cpp
index 65fc55f293..3b3caa60cb 100644
--- a/core/app_config/AppConfig.cpp
+++ b/core/app_config/AppConfig.cpp
@@ -25,6 +25,7 @@
#include "RuntimeUtil.h"
#include "StringTools.h"
+#include "common/EncodingConverter.h"
#include "common/EnvUtil.... | 1 | 1 | 0 | [{"id": "G0", "claim": "Too many Windows-specific #if defined(_MSC_VER) blocks are scattered through functional code such as InputStaticFileCheckpoint.cpp, and the platform differences should be shielded behind a platform-independent function.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "... | null |
alibaba__loongcollector__2423 | alibaba/loongcollector | 2,423 | defect | 646878b210f87c847b8b287c6b60021d78feca55 | fb886cecd8128ba98c621a362f478bb498f0fdfe | feat: prom host only scrape mode | 1. 支持在 Ecs、SideCar 两种场景采集本地指标
2. 新增 host_only_mode 配置项,true 表示静态采集,来区分 Operator 模式
3. 静态采集模式下会将如下列表能够获取到的数据放在 target labels 中,采用 Prometheus 规范以"__"开头为内部保留 label,可以在 relabel_config 和metric_relabel_config 中使用。
a. __host_hostname
b. __host_ip
c. __ecs_meta_instance_id
d. __ecs_meta_region_id
e. ... | diff --git a/core/common/MachineInfoUtil.cpp b/core/common/MachineInfoUtil.cpp
index 6bf5403acb..46172703e9 100644
--- a/core/common/MachineInfoUtil.cpp
+++ b/core/common/MachineInfoUtil.cpp
@@ -587,10 +587,12 @@ bool InstanceIdentity::InitFromFile() {
}
bool InstanceIdentity::UpdateInstanceIdentity(const ECSMeta& ... | 7 | 6 | 2 | [{"id": "G0", "claim": "If host_only_mode is true and static_configs is missing or invalid, InitStaticConfig should return false instead of silently succeeding.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new logs in BuildHostOnlyScrapeSchedu... | null |
alibaba__loongcollector__2425 | alibaba/loongcollector | 2,425 | defect | eba43d05ddef427adcb10c27a1b850e8d3b0527b | 29c997c0d98150cb57015f7d4f4e43aac40efc7a | feat: support add extra headers and metadata for flusher sls | - Implemented metadata handling for APM metric type in JsonSerializer and SLSSerializer, allowing serialization of the `__apm_metric_type__` key.
- Enhanced MetricEvent class with methods for setting, getting, and deleting metadata.
- Updated protobuf definitions to include metadata in MetricEvent.
- Added unit test... | diff --git a/core/collection_pipeline/serializer/JsonSerializer.cpp b/core/collection_pipeline/serializer/JsonSerializer.cpp
index 0a2af500ae..df558783a8 100644
--- a/core/collection_pipeline/serializer/JsonSerializer.cpp
+++ b/core/collection_pipeline/serializer/JsonSerializer.cpp
@@ -117,6 +117,12 @@ bool JsonEventGr... | 5 | 4 | 3 | [{"id": "G0", "claim": "The dev-environment doc contains unresolved git merge conflict markers; they must be removed and the image version resolved, keeping the 2.1.11 build per the other files' changes.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim... | null |
alibaba__loongcollector__2435 | alibaba/loongcollector | 2,435 | defect | ebfd563bf13505e91d40aa8dd7e089a9f2f0413d | ca9c205e998ccd92b07121bb6325d31c2800475f | fix: close singleton conflict loop by introducing ignored bucket and FAILED feedback | This change fixes the state stall (APPLYING/DELETED) and repeated
server pushes caused by non-primary configs being ignored without
feedback and by misusing version=-1 for singleton conflicts.
- add Ignored diff bucket and enums (IgnoredModified, IgnoredUnchanged)
- in singleton selection, route non-primary Added/igno... | diff --git a/core/app_config/AppConfig.cpp b/core/app_config/AppConfig.cpp
index fc0490fbc8..a81d414c4e 100644
--- a/core/app_config/AppConfig.cpp
+++ b/core/app_config/AppConfig.cpp
@@ -683,7 +683,7 @@ void AppConfig::LoadLocalInstanceConfig() {
}
InstanceConfigWatcher::GetInstance()->AddSource(localConfigPa... | 4 | 2 | 0 | [{"id": "G0", "claim": "Methods HasDiff() and HasIgnored() should be marked const since they do not modify object state, enabling calls on const references.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Moving cleanupUnifiedEpollMonitoring() fr... | null |
alibaba__loongcollector__2445 | alibaba/loongcollector | 2,445 | defect | 11e17b7958e6dbff76e35cba9c3a824e11736a3e | 67a26b501041591efee211cc4f27adba6bd15a3c | fix: pause file server when changing input type | 该拉取请求新增一个单元测试,用于验证在将流水线的输入类型从 `input_container_stdio` 更新为 `service_docker_stdout` 时,FileServer 的暂停/恢复行为,并改进了对涉及基于文件输入的流水线更新的处理。此次更改还确保测试中资源的正确清理,并扩展了对输入类型的测试覆盖范围。
**单元测试改进与覆盖范围:**
* 在 `PipelineUpdateUnittest` 中新增 `TestPipelineTopoUpdateCase13`,专门测试当将流水线输入从 `input_container_stdio` 切换为 `service_docker_stdout` 时 Fil... | diff --git a/core/collection_pipeline/CollectionPipelineManager.cpp b/core/collection_pipeline/CollectionPipelineManager.cpp
index c605a5275c..6181376986 100644
--- a/core/collection_pipeline/CollectionPipelineManager.cpp
+++ b/core/collection_pipeline/CollectionPipelineManager.cpp
@@ -250,6 +250,16 @@ bool CollectionP... | 1 | 1 | 0 | [{"id": "G0", "claim": "Since the modified branch now loops over all of the old pipeline's inputs, the branches above it (the modified branch's new-input check) and the added and removed cases should also be changed to for loops over all inputs instead of reading only the first input.", "category": "correctness", "verd... | null |
alibaba__loongcollector__2460 | alibaba/loongcollector | 2,460 | defect | acc3c325b4204711c7f530bf3292f0916983dc70 | 21cb48e56eb0e23a9b0a174bedef96b6be34a032 | StaticFileServer Enhanced: Real Path Updates & Rotation Detection | Enhance StaticFileServer to support real file path updates and maintain initial file size during reading. Added logic to detect file rotations and update checkpoints accordingly. Updated related unit tests for new functionality. | diff --git a/core/file_server/StaticFileServer.cpp b/core/file_server/StaticFileServer.cpp
index b5e1b471fb..9031b7b9f5 100644
--- a/core/file_server/StaticFileServer.cpp
+++ b/core/file_server/StaticFileServer.cpp
@@ -15,7 +15,9 @@
#include "file_server/StaticFileServer.h"
#include "collection_pipeline/queue/Proce... | 4 | 4 | 1 | [{"id": "G0", "claim": "GetCurrentFileFingerprint should keep reporting the original configured file path; the checkpoint's real path should only be used to open the file when recovering progress, not substituted as the fingerprint's path.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "intr... | null |
alibaba__loongcollector__2464 | alibaba/loongcollector | 2,464 | defect | dee792571f37b1e1f0ba599218e9bc86160086c6 | 5af8644c661ca34ab41c1dfdf68d2413a59ff464 | Enhance the functionality of container state change scenarios and improve compatibility with legacy Checkpoint configurations. | 修复两个场景的问题:
1. 容器的state变化的时候,容器元信息无法更新到C++侧。典型的是ECI场景,container.json文件是分段写入的,creaate的时候会写入完整的容器信息,但是state不会更新,start的时候会更新state字段。文件采集场景会对state字段进行判断,如果state字段不存在或者state字段的值不是running,则认为容器没有启动成功,则不会采集。
2. 2.1之前版本的容器元信息的checkpoint文件格式兼容问题,对Path字段做了一个兼容操作,会直接放到mRealBaseDirs里
2.1版本之前是这样的,
{
"ID": "2e832614c7e4ca22a... | diff --git a/core/container_manager/ContainerDiff.h b/core/container_manager/ContainerDiff.h
index f5735da175..511f9aeefe 100644
--- a/core/container_manager/ContainerDiff.h
+++ b/core/container_manager/ContainerDiff.h
@@ -31,9 +31,10 @@ namespace logtail {
struct ContainerDiff {
std::vector<std::shared_ptr<RawCo... | 14 | 6 | 1 | [{"id": "G0", "claim": "The new parameter name checkpointPath is ambiguous and should be renamed to basePathInCheckpoint.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "loadContainerInfoFromDetailFormat stores the legacy checkpoint Path value as... | null |
alibaba__loongcollector__2476 | alibaba/loongcollector | 2,476 | defect | ca734de87106db0007bd32fc679efb22143654dc | 577789586c3094521d6506a5ec5f7f4fda7540c3 | fix: send host monitor data in DiskBuffer | 1. DiskBuffer支持发送主机监控数据
2. 采集系统负载时,如果全部是0,属于正常情况,不需要打warning。
Change-Id: I5d64347395759bba00206b052cdf8d5c0de5adb4
Co-developed-by: Cursor <noreply@cursor.com> | diff --git a/core/host_monitor/LinuxSystemInterface.cpp b/core/host_monitor/LinuxSystemInterface.cpp
index ac13b5ee7e..4266c816fe 100644
--- a/core/host_monitor/LinuxSystemInterface.cpp
+++ b/core/host_monitor/LinuxSystemInterface.cpp
@@ -101,9 +101,14 @@ bool LinuxSystemInterface::ReadSocketStat(const std::filesystem:... | 4 | 1 | 0 | [{"id": "G0", "claim": "The validity check `uid > 0` (and likewise `gid > 0`) wrongly rejects root (uid/gid = 0), a legitimate value, so getUID/getGID is never set and credentials of root processes cannot be obtained.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id"... | null |
alibaba__loongcollector__2488 | alibaba/loongcollector | 2,488 | defect | e78e6449f909171588e357a8432ed9c237ec8665 | 95871efc38f44a2f9e3f54c98b5fa4a78b25b6d1 | fix hostmonitor collctor bug | 1. 采集网络指标时,默认数据格式类似“ TCP: inuse 10 orphan 0 tw abc alloc 15”,部分系统存在简化写法如“TCP6: inuse 15”,补充这种情况
2. 在容器内运行lc时,无法读取到磁盘挂载映射信息,导致频繁报错,控制报错频率。
3. 删除导致ut执行时间长的ut
4. 进程数量之前一直是5,现在修改为机器上实际的进程数量 | diff --git a/core/host_monitor/LinuxSystemInterface.cpp b/core/host_monitor/LinuxSystemInterface.cpp
index 98a24a3999..d569bbe56b 100644
--- a/core/host_monitor/LinuxSystemInterface.cpp
+++ b/core/host_monitor/LinuxSystemInterface.cpp
@@ -102,15 +102,37 @@ bool LinuxSystemInterface::ReadSocketStat(const std::filesystem... | 5 | 4 | 2 | [{"id": "G0", "claim": "kWarningPrintInterval should be extracted to a hostMonitor-common place, and the print-every-N-errors throttling applied to the other warnings as well.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer questions... | null |
alibaba__loongcollector__2537 | alibaba/loongcollector | 2,537 | defect | c34b81248f617f96cce4fc1875f4388eba9e3cce | 1476b084f64a8905f6bf8e3b439e4b9e99b88f4b | Fixed some race condition issues in the C++ ContainerManager module. | 修复迅飞两个comments:
- Severity: High
- File: `core/container_manager/ContainerManager.cpp`
- 问题: `checkContainerDiffForOneConfig()` 在 full refresh 分支中重置 `mFullContainerList` 后使用空 `matchList` 计算 diff。
- 影响: 该轮 full refresh 无法稳定产出 `mRemoved`,`ApplyContainerDiffs()` 可能无法清理历史容器,导致 `mContainerInfos` 长期残留过期容器。
- 建议:... | diff --git a/core/container_manager/ContainerDiff.h b/core/container_manager/ContainerDiff.h
index 92c41c9193..eb6a18f2ea 100644
--- a/core/container_manager/ContainerDiff.h
+++ b/core/container_manager/ContainerDiff.h
@@ -36,6 +36,8 @@ struct ContainerDiff {
std::vector<std::pair<std::string, std::shared_ptr<RawC... | 4 | 4 | 2 | [{"id": "G0", "claim": "IsEmpty() does not check mRefrashAllContainers, so when a full refresh returns zero containers the diff looks empty, is discarded, ClearContainerInfo() is never called and stale containers remain; it asks that IsEmpty() return false when mRefrashAllContainers=true.", "category": "correctness", "... | null |
alibaba__loongcollector__2551 | alibaba/loongcollector | 2,551 | defect | f83ba07813d64aab681d5c438056d604c7d824e4 | 3277e8f2a3480261ad4d08617d492d3a71d432cc | fix: eliminate flaky OnetimeConfigUpdateUnittest via injectable clock | `OnetimeConfigUpdateUnittest::OnCollectionConfigUpdate` was intermittently off by 1 second in CI because the production code and the test assertion each called `time(nullptr)` independently, and a second boundary could tick between them.
## Changes
- **`common/TimeUtil.h`** — Under `APSARA_UNIT_TEST_MAIN`, adds:
- ... | diff --git a/core/common/TimeUtil.cpp b/core/common/TimeUtil.cpp
index 03ba5d56f6..477dfbfc12 100644
--- a/core/common/TimeUtil.cpp
+++ b/core/common/TimeUtil.cpp
@@ -19,6 +19,9 @@
#include <atomic>
#include <chrono>
+#ifdef APSARA_UNIT_TEST_MAIN
+#include <functional>
+#endif
#include <limits>
#if defined(__linu... | 5 | 4 | 2 | [{"id": "G0", "claim": "ScopedClockOverride writes the global gCurrentTimeNs while background threads started inside its scope may call GetCurrentTimeIn*() reading it, which is a data race (UB) that could introduce new CI flakiness; the override should be thread_local or the reads/writes protected by a mutex/atomic.", ... | null |
alibaba__loongcollector__968 | alibaba/loongcollector | 968 | defect | 26e6f88cf62deca761f372ab27413b434da3fedf | e13149cbd02000d9672967e2b3273b25c2ad9f12 | fix: multi-bytes character cut off | ## 问题
UTF8 和 GBK 编码中都存在多字节字符。当读取的日志超出 buffer size 的时候,日志就会被截断读取。这种情况下,就有可能导致多字节字符被 split 在两次读取,导致乱码。
## 解决方案
在每次读取日志时,都会对读取的日志进行回退。所以,利用逆向回退,将读取的字符进行回退对齐。 | diff --git a/core/reader/LogFileReader.cpp b/core/reader/LogFileReader.cpp
index 74e7b6c5ba..702dcef498 100644
--- a/core/reader/LogFileReader.cpp
+++ b/core/reader/LogFileReader.cpp
@@ -1612,6 +1612,9 @@ void LogFileReader::ReadUTF8(LogBuffer& logBuffer, int64_t end, bool& moreData)
mLastReadPos = mLastFilePos + ... | 1 | 1 | 1 | [{"id": "G0", "claim": "In the GB 18030 backward scan of AlignLastCharacter, consecutive bytes matching only 0xC0 would make the rollback run all the way to the buffer start; the search should roll back one pair at a time and consider the 2nd byte, not only the 2nd and 4th bytes.", "category": "correctness", "verdict":... | null |
alibaba__loongsuite-go-agent__193 | alibaba/loongsuite-go-agent | 193 | defect | e0d8ee75863e7a6101bbd25ee3da9faf2534ca68 | 103eab5178d7b1652c43a75af35e63a2b56fb958 | refine: compile the world | match rules as much as possible and test if compilation works | diff --git a/test/helloworld_test.go b/test/helloworld_test.go
index e4ad253eb..13bd4b00e 100644
--- a/test/helloworld_test.go
+++ b/test/helloworld_test.go
@@ -18,8 +18,6 @@ import (
"path/filepath"
"regexp"
"testing"
-
- "github.com/alibaba/opentelemetry-go-auto-instrumentation/tool/util"
)
const Helloworld... | 2 | 1 | 0 | [{"id": "G0", "claim": "The pull request comments out the vendor-mode build tests under a FIXME, leaving it unclear whether vendor mode is supported now or will be supported later.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since the vendor build is ... | null |
alibaba__loongsuite-go-agent__358 | alibaba/loongsuite-go-agent | 358 | defect | 00bee4f508a625445acf93feffaae6cecccbb89d | 494c95d484077a478d70cdd10ed97929840bd2b2 | fix span timestamp(duration) error with `StartAndEnd()` | Ref https://github.com/alibaba/opentelemetry-go-auto-instrumentation/issues/345
CC @NameHaibinZhang I've fixed this issue.
Before:
<img width="1920" alt="Clipboard_Screenshot_1741998332" src="https://github.com/user-attachments/assets/db9a6b98-ff56-45c6-bb26-9ee533963af7" />
After:
<img width="1920" alt="C... | diff --git a/pkg/inst-api/instrumenter/instrumenter.go b/pkg/inst-api/instrumenter/instrumenter.go
index 1801e6834..d9a8d955b 100644
--- a/pkg/inst-api/instrumenter/instrumenter.go
+++ b/pkg/inst-api/instrumenter/instrumenter.go
@@ -104,7 +104,7 @@ func (i *InternalInstrumenter[REQUEST, RESPONSE]) doStart(parentContext... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a unit test for this case (the span timestamp fix in StartAndEnd) in instrumenter_test.go.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
alibaba__loongsuite-go-agent__489 | alibaba/loongsuite-go-agent | 489 | defect | 1e03a666965c2173bd9946d0bdfe5e9846a7740c | 668f572c763f3945c7fe7233cfa6bfd8ae76d93a | feat: packaging pkg module into otel binary | * -disable specific rules
* remove -log and -restore as they are no longer needed
* packaging pkg module into otel binary | diff --git a/.gitignore b/.gitignore
index a8ff67156..1bbfda338 100644
--- a/.gitignore
+++ b/.gitignore
@@ -106,3 +106,4 @@ test/redis/v9.0.5/v9.0.5
test/trpc/v1.0.0/test_trpc_basic
test/trpc/v1.0.0/test_trpc_metrics
test/zap/test_zap_with_field
+tool/data/alibaba-pkg.gz
\ No newline at end of file
diff --git a/Mak... | 1 | 1 | 1 | [{"id": "G0", "claim": "Unsanitized tar entry names from the archive, which may contain '..', are used in file system operations inside extractGZip, allowing arbitrary file writes outside the target directory (Zip Slip).", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
alibaba__loongsuite-go-agent__510 | alibaba/loongsuite-go-agent | 510 | defect | 64c47b7509772e99f50aecb8e0a75a52f6504507 | 2b73a6f67af5677427b733bde34ffc8a37a88de5 | feat(ollama): Add core instrumentation for Chat and Generate APIs | ## Summary
This PR implements core instrumentation for Ollama's Chat and Generate APIs as part of an Open Source Promotion Plan (OSPP) 2025 project.
Part of #509
## What does this PR do?
- Implements basic plugin structure following existing patterns (langchaingo, mcp)
- Adds Chat and Generate API instrume... | diff --git a/.gitignore b/.gitignore
index 616903c96..8024f3335 100644
--- a/.gitignore
+++ b/.gitignore
@@ -110,4 +110,17 @@ tool/data/alibaba-pkg.gz
test/custom/custom
example/sqlinject/sqlinjectdemo
pkg_tmp
-alibaba-pkg.gz
\ No newline at end of file
+alibaba-pkg.gz
+
+# Ollama test binaries
+test/ollama/*/test_*... | 4 | 1 | 0 | [{"id": "G0", "claim": "GetAIRequestIsStream reports as non-streaming even though Ollama uses callback-based streaming, which the bot says could mislead users expecting accurate streaming detection, and suggests returning true.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"},... | null |
alibaba__loongsuite-go-agent__535 | alibaba/loongsuite-go-agent | 535 | defect | 5329a40f48658d5b00a8a4822a3e25af656e568b | c359f858aa37bccc353318132f1a9da630de6bc0 | feat: match rule only if ImportPath and Dependencies exist | #### Description:
Match rule only if ImportPath and Dependencies exist
#### Related Issue:
Close #533
| diff --git a/docs/rule_def.md b/docs/rule_def.md
index 499f1a466..6ec9ebde3 100644
--- a/docs/rule_def.md
+++ b/docs/rule_def.md
@@ -2,6 +2,7 @@
## Instrument a function
- `ImportPath`: The import path of the package that contains the function to be instrumented. e.g. `net/http`.
+- `Dependencies`: is a list of add... | 6 | 6 | 3 | [{"id": "G0", "claim": "The Dependencies field and its getter belong on InstFuncRule rather than the InstRule interface, since InstFileRule and InstStructRule should not carry such an additional field.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Parsi... | null |
alibaba__loongsuite-go-agent__598 | alibaba/loongsuite-go-agent | 598 | defect | 5e7bf4bead297d19420f2e6c89c7c910e970a437 | 5b2b9fb5b49b1696a20d189f99843fa3fec59029 | feat: adjust metric temporality preference through env var | The agent only supports the default `Cumulative` for the [metric temporality preference setting](https://opentelemetry.io/docs/specs/otel/metrics/sdk_exporters/otlp/#additional-environment-variable-configuration). Some APM providers like [datadog](https://docs.datadoghq.com/opentelemetry/guide/otlp_delta_temporality/?... | diff --git a/docs/user/sdk-config.md b/docs/user/sdk-config.md
index 4555d1031..dd37724d6 100644
--- a/docs/user/sdk-config.md
+++ b/docs/user/sdk-config.md
@@ -12,4 +12,8 @@ In addition to automatic instrumentation, the `otel` tool injects configuration
- `OTEL_EXPORTER_OTLP_METRICS_ENDPOINT`: Specifies the endpoint ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Instead of adding a new RunAppWithoutTestMode helper, modify the existing RunApp so it defaults to setting IN_OTEL_TEST=true when the env parameter does not specify it, and uses the user's value when explicitly set.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "intr... | null |
alibaba__lowcode-engine__1013 | alibaba/lowcode-engine | 1,013 | defect | 02f8f981ef85fc0108ef112c523b182b0ca0c5a4 | a5aa3bbea57d5fbb89c73a84312bab07af87f38f | feat: support for NotFoundComponent design state is optional | 1.fixes: https://github.com/alibaba/lowcode-engine/issues/974
2.新增 componentName 在 not found 视图中

| diff --git a/packages/designer/src/builtin-simulator/host.ts b/packages/designer/src/builtin-simulator/host.ts
index 4bf049f5b8..008a76b3b1 100644
--- a/packages/designer/src/builtin-simulator/host.ts
+++ b/packages/designer/src/builtin-simulator/host.ts
@@ -232,6 +232,10 @@ export class BuiltinSimulatorHost implements... | 1 | 1 | 1 | [{"id": "G0", "claim": "The description of enableStrictNotFoundMode in packages/editor-core/src/config.ts (both the VALID_ENGINE_OPTIONS entry and the EngineOptions JSDoc) is wrong and should instead say that when strict not-found mode is enabled, the renderer does not add a default container component.", "category": "... | null |
alibaba__lowcode-engine__1166 | alibaba/lowcode-engine | 1,166 | defect | 8050415fddb9f205f56a4e94a26338ba673c3c28 | cfc7ec98257d78678227f5bce7d6790ecb42e9a7 | fix: fix empty string lost when code-generator generate variable | 生成 dataSource 时候,如果 variable 为空字符串,在字符串拼接的时候啥都没了,而作为代码应该拼接为两个引号
test case 有注释说明

暂时 test case 都跑过了,但需要维护者全面评估下这个改动,或者看有没其他合理方案来修复
, the decoding should be done at the call site.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
alibaba__nacos__10663 | alibaba/nacos | 10,663 | defect | 798f1c41e30155e50b77b8269db1071448f5f216 | 24b3a75d8208d0bb116a888effad54714a152f58 | [ISSUE #10662]Prometheus-sd add namespace and service api | Please do not create a Pull Request without creating an issue first.
#10662
## What is the purpose of the change
Promethesu sd api returns all service in once. But in lot scenes, Nacos use by alot systems. Needs isolation.
Add two interfaces, and specify Namespace and Service.
## Brief changelog
Add two i... | diff --git a/prometheus/src/main/java/com/alibaba/nacos/prometheus/api/ApiConstants.java b/prometheus/src/main/java/com/alibaba/nacos/prometheus/api/ApiConstants.java
index c4e916780f3..e5c62766c3b 100644
--- a/prometheus/src/main/java/com/alibaba/nacos/prometheus/api/ApiConstants.java
+++ b/prometheus/src/main/java/co... | 2 | 1 | 1 | [{"id": "G0", "claim": "The author should confirm the prometheus SD protocol can call the new specified APIs and should pay attention to the auth feature when implementing them.", "category": "security", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new endpoints should us... | null |
alibaba__nacos__10972 | alibaba/nacos | 10,972 | defect | c4ddf1842fa80587f5d21563015464e17677e004 | 0d27c9b42d56ceb19e676747562fb96351dc9c75 | [ISSUE #10734]Move the param check logic of grpc handler into the AbstractRequestFilter | Please do not create a Pull Request without creating an issue first.
## What is the purpose of the change
Move the param check logic of grpc handler into the AbstractRequestFilter
## Brief changelog
XX
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quic... | diff --git a/core/src/main/java/com/alibaba/nacos/core/remote/grpc/BaseGrpcServer.java b/core/src/main/java/com/alibaba/nacos/core/remote/grpc/BaseGrpcServer.java
index 0b4570e8126..5749a52d8cb 100644
--- a/core/src/main/java/com/alibaba/nacos/core/remote/grpc/BaseGrpcServer.java
+++ b/core/src/main/java/com/alibaba/na... | 1 | 1 | 1 | [{"id": "G0", "claim": "There is no test for RemoteParamCheckFilter; tests should be added for it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
alibaba__nacos__11342 | alibaba/nacos | 11,342 | defect | 0d46af03b78c027056171a16d2fccfa006e6deb8 | 364e87a05f96cf6583a2214aac4b74f08cf30798 | get retained instances only based on ip and port checking | ## What is the purpose of the change
fix #11298
## Brief changelog
* only check ip and port of deregister instances at getRetainInstance function of NamingGrpcClientProxy.java
## Verifying this change
Follow this checklist to help us incorporate your contribution quickly and easily:
* [x] Make sure there... | diff --git a/client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java b/client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java
index fa7f063becf..1f8ed00d43d 100644
--- a/client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java
+++ b/client/src/main/java/com... | 2 | 1 | 1 | [{"id": "G0", "claim": "The unit test coverage dropped, so unit tests should be added to cover the new modifications.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer questions whether matching should rely only on ip and port instead of also ... | null |
alibaba__nacos__11508 | alibaba/nacos | 11,508 | defect | 58803687c8752c92c65b4bbc146b3d2754bccaa3 | c74cc0281b9becde53918bd0553ec4cb306db745 | [ISSUES #11499] fix address server health check error | Close #11499
Please do not create a Pull Request without creating an issue first.
## What is the purpose of the change
return UP status when the nacos server doesn't use address-server
## Brief changelog
optimize HealthController#isAddressServerHealthy logic
## Verifying this change
1. start nacos... | diff --git a/config/src/main/java/com/alibaba/nacos/config/server/controller/HealthController.java b/config/src/main/java/com/alibaba/nacos/config/server/controller/HealthController.java
index 7c01b94f103..262372a80ca 100644
--- a/config/src/main/java/com/alibaba/nacos/config/server/controller/HealthController.java
+++... | 1 | 1 | 1 | [{"id": "G0", "claim": "Unit tests should be added for the address-server health-check cases handled by the rewritten isAddressServerHealthy method.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
alibaba__nacos__11572 | alibaba/nacos | 11,572 | defect | 526227c77b34278bef65346945892127c9437a29 | e1e5dec375ba99e7455d2f04c1d6bb39bcd8b50b | add UT for control default plugin | Please do not create a Pull Request without creating an issue first.
## What is the purpose of the change
link https://github.com/alibaba/nacos/issues/4981
## Brief changelog
XX
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
* [ ]... | diff --git a/plugin-default-impl/nacos-default-control-plugin/src/test/java/com/alibaba/nacos/plugin/control/impl/NacosConnectionControlManagerTest.java b/plugin-default-impl/nacos-default-control-plugin/src/test/java/com/alibaba/nacos/plugin/control/impl/NacosConnectionControlManagerTest.java
new file mode 100644
inde... | 2 | 2 | 0 | [{"id": "G0", "claim": "Test classes should carry no comments since the class name already describes their usage, so the class-level Javadoc block added on NacosConnectionControlManagerTest should be removed.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
alibaba__nacos__11668 | alibaba/nacos | 11,668 | defect | a7d1c35f85362a4538e81a721ab94b6bceeb714e | a69f5fe9ee38ee1b34f9f0c9a5f1969e2b8ac6e6 | [ISSUE #11655]fix invalid usage of ProporityQueue in ConfigChangePluginManger |
Please do not create a Pull Request without creating an issue first.
## What is the purpose of the change
Fixed an issue #11655 fix invalid usage of ProporityQueue in ConfigChangePluginMaanger
## Brief changelog
XX
## Verifying this change
XXXX
Follow this checklist to help us incorporate your c... | diff --git a/config/src/main/java/com/alibaba/nacos/config/server/aspect/ConfigChangeAspect.java b/config/src/main/java/com/alibaba/nacos/config/server/aspect/ConfigChangeAspect.java
index 0b2761e4735..c166eb7af8c 100644
--- a/config/src/main/java/com/alibaba/nacos/config/server/aspect/ConfigChangeAspect.java
+++ b/con... | 4 | 3 | 1 | [{"id": "G0", "claim": "The 'isEnabled' checking for a service should be moved out of the aspect into ConfigChangePluginManager, so that disabled services are not added to the final list at load time and logs are printed for what was loaded from the service loader and what was ignored.", "category": "design", "verdict"... | null |
alibaba__nacos__11702 | alibaba/nacos | 11,702 | defect | 849393c4a1eeaeee20dbbd7101cf60b36f91cf08 | 25e2ef8b70198b6126d87405f401a08deed37d07 | Fix class cast error when distro sync batch service data | Please do not create a Pull Request without creating an issue first.
## What is the purpose of the change
#11701
XXXXX
## Brief changelog
XX
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
* [ ] Make sure there is a Github issue fil... | diff --git a/naming/src/main/java/com/alibaba/nacos/naming/consistency/ephemeral/distro/v2/DistroClientDataProcessor.java b/naming/src/main/java/com/alibaba/nacos/naming/consistency/ephemeral/distro/v2/DistroClientDataProcessor.java
index 0a5871f59f8..95d35559540 100644
--- a/naming/src/main/java/com/alibaba/nacos/nami... | 2 | 2 | 1 | [{"id": "G0", "claim": "The branch logic for comparing the old publish info with the new batch instance data is unnecessarily complex; a direct equals comparison is enough, since a different type should simply count as inconsistent.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "in... | null |
alibaba__nacos__11883 | alibaba/nacos | 11,883 | defect | 3a1f0c297e37608035514a98ebc51133daad7863 | 33f0e529832998b5b1c38002a54898973f911634 | fix:add param for ConfigInfoMapperByMySql#findAllConfigInfoBaseFetchRows | Please do not create a Pull Request without creating an issue first.
## What is the purpose of the change
link https://github.com/alibaba/nacos/issues/11859
## Brief changelog
XX
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
* [ ... | diff --git a/plugin/datasource/src/main/java/com/alibaba/nacos/plugin/datasource/impl/mysql/ConfigInfoMapperByMySql.java b/plugin/datasource/src/main/java/com/alibaba/nacos/plugin/datasource/impl/mysql/ConfigInfoMapperByMySql.java
index 834f38b263a..6615fae3253 100644
--- a/plugin/datasource/src/main/java/com/alibaba/n... | 4 | 3 | 2 | [{"id": "G0", "claim": "The fix should keep the `?` placeholders in the LIMIT clause instead of concatenating pagination values into the SQL string, to avoid a SQL security problem.", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The same unparameterise... | null |
alibaba__nacos__12220 | alibaba/nacos | 12,220 | defect | 833e6ca59a6143c1ecca7265e28e8cd2d975041c | a6707e435336f3f1cabc4e2aa5c508286c282e2c | [ISSUE #12219] 修复nacos-client中config的ServerListManager解析endpoint失败问题 | Please do not create a Pull Request without creating an issue first.
## What is the purpose of the change
fix #12219
## Brief changelog
XX
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
* [ ] Make sure there is a Github issue fil... | diff --git a/client/src/main/java/com/alibaba/nacos/client/config/impl/ServerListManager.java b/client/src/main/java/com/alibaba/nacos/client/config/impl/ServerListManager.java
index b3904b01bf5..53f095920fc 100644
--- a/client/src/main/java/com/alibaba/nacos/client/config/impl/ServerListManager.java
+++ b/client/src/m... | 1 | 1 | 0 | [{"id": "G0", "claim": "In initEndpoint, the blank-endpoint branch should assign `endpointTmp = endpointUrl` instead of setting `this.endpoint = endpointUrl` and returning early, as the reviewer suggested.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
alibaba__nacos__12343 | alibaba/nacos | 12,343 | defect | 97162438f7952d7eae657c755ce5509310ae476c | 9349b5f31ba402f365f378872af09588c202990f | [ISSUE #12342]: Improve the retrieval of ConfigInfoState to facilitate the extension and implementation of databases like Oracle. |
## What is the purpose of the change
fixes #12342
Improve the retrieval of ConfigInfoState to facilitate the extension and implementation of databases like Oracle.
## Brief changelog
Generate the SQL required by `ExternalConfigInfoPersistServiceImpl#findConfigInfoState` using the `select` method from `MapperMa... | diff --git a/config/src/main/java/com/alibaba/nacos/config/server/service/repository/extrnal/ExternalConfigInfoPersistServiceImpl.java b/config/src/main/java/com/alibaba/nacos/config/server/service/repository/extrnal/ExternalConfigInfoPersistServiceImpl.java
index 916fe373637..14edfa40120 100644
--- a/config/src/main/j... | 1 | 1 | 1 | [{"id": "G0", "claim": "The SQL construction logic changed by this PR in ExternalConfigInfoPersistServiceImpl#findConfigInfoState is untested, and a unit test should be added for it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
alibaba__nacos__12477 | alibaba/nacos | 12,477 | defect | 3967c91d1a907ab8edfc3bd5f75480d735a8b79c | 1e1444aa8a6ce916a05fbd7bf3e899ce38db56eb | [ISSUE #12466] serviceMetadata environment variables config | Please do not create a Pull Request without creating an issue first.
## What is the purpose of the change
resolves #12466
增加serviceMetadata的环境变量配置: NACOS_NAMING_SERVICE_METADATA_LENGTH
## Brief changelog
XX
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contributio... | diff --git a/common/src/main/java/com/alibaba/nacos/common/paramcheck/DefaultParamChecker.java b/common/src/main/java/com/alibaba/nacos/common/paramcheck/DefaultParamChecker.java
index 69ca16048b2..f39d4284026 100644
--- a/common/src/main/java/com/alibaba/nacos/common/paramcheck/DefaultParamChecker.java
+++ b/common/sr... | 2 | 2 | 0 | [{"id": "G0", "claim": "The added code must not modify the existing indentation and should be formatted with the Nacos code style.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The documentation in nacos-group.github.io (parameters-check.md) sh... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.