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
algorand__java-algorand-sdk__85
algorand/java-algorand-sdk
85
defect
87865cb8dd4193b906fa4007611d018a716ef50b
214231ea3aa271a606b030ebc9f22880a58b3054
Transaction Fee Refactoring
When setting a fee make sure that it is always at least min transaction fee. Also switch a bunch of tests from JUnit4 -> AssertJ assertions.
diff --git a/src/main/java/com/algorand/algosdk/account/Account.java b/src/main/java/com/algorand/algosdk/account/Account.java index daf05888d..82cb4f388 100644 --- a/src/main/java/com/algorand/algosdk/account/Account.java +++ b/src/main/java/com/algorand/algosdk/account/Account.java @@ -46,7 +46,7 @@ public class Acco...
1
1
1
[{"id": "G0", "claim": "The unconditional MIN_TX_FEE_UALGOS floor in the new setFee() is problematic because it gives the impression of an absolute minimum transaction fee, when the minimum fee may actually be relative to transaction size — algonautshant questions whether such an absolute minimum exists.", "category": ...
null
algorand__java-algorand-sdk__866
algorand/java-algorand-sdk
866
defect
97196313120375b7fa4001d31819a2126e6f6376
83d5b749175e0375400a5135ddd2f85a0f154b02
Types: add txn.Access constructor
Support txn.Access fields for foreign references in app call transaction creation.
diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 000000000..f2f82b746 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,100 @@ +# CLAUDE.md + +This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. + +## Build and Development Commands + +### Build +```bash +mvn packag...
4
3
2
[{"id": "G0", "claim": "The access list can contain a null ResourceRef, which the builder silently skips instead of throwing an exception.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The BoxRef hashCode implementation could be simplified to use O...
null
algorand__js-algorand-sdk__498
algorand/js-algorand-sdk
498
defect
7c5334552d1cb3300f8904ed614dcc7ed1c384ff
104b5bc1f163efc38085d098edcb567734ce4876
Implement C2C tests
- [x] Add pendingTransactionInformation field to ABI methodResult - [x] Implement all c2c.feature tests - [x] Implement new test in applications.verified - [x] Implement new test in compile.feature - [x] Deprecate template tests - related PR [here](https://github.com/algorand/js-algorand-sdk/pull/428/files) an...
diff --git a/Makefile b/Makefile index df7fe684d..0c06ec980 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ unit: node_modules/.bin/cucumber-js --tags "@unit.offline or @unit.algod or @unit.indexer or @unit.rekey or @unit.tealsign or @unit.dryrun or @unit.applications or @unit.responses or @unit.transactions or...
2
2
2
[{"id": "G0", "claim": "Move the `methodResult.txInfo = pendingInfo` assignment to immediately after `pendingInfo` is created, because an error thrown between its current placement at the end of the try block and the assignment means the caller would not receive `txInfo` when they should.", "category": "correctness", "...
null
algorand__js-algorand-sdk__698
algorand/js-algorand-sdk
698
defect
3ad0913306d091a384bd7a5f17404aa958732e2a
abcdc3ec711b7ff1cb826342d9c4113eeec9fd82
Enhancement: allowing zero-length static array
Fixes https://github.com/algorand/js-algorand-sdk/issues/497
diff --git a/.test-env b/.test-env index df783a4fd..3f160fc7d 100644 --- a/.test-env +++ b/.test-env @@ -1,6 +1,6 @@ # Configs for testing repo download: SDK_TESTING_URL="https://github.com/algorand/algorand-sdk-testing" -SDK_TESTING_BRANCH="master" +SDK_TESTING_BRANCH="zero-length" SDK_TESTING_HARNESS="test-harness...
2
2
1
[{"id": "G0", "claim": "The SDK_TESTING_BRANCH override to \"zero-length\" in .test-env should be reverted back to \"master\" before the PR is merged into develop.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A test case like `bool[01]` should be adde...
null
alibaba__BladeDISC__145
alibaba/BladeDISC
145
defect
1d42619723ddbdb00a1c3976511fc6969e8d0a14
30d7f6fbb214e60017bad70fc9d6c0d399f0bbc4
Add FuseSplatConstPass to support fusion of splat const to avoid
Add FuseSplatConstPass to support fusion of splat const to avoid unnecessary memory access #113
diff --git a/tao_compiler/mlir/disc/BUILD b/tao_compiler/mlir/disc/BUILD index 42298762684..4c4feb2812f 100644 --- a/tao_compiler/mlir/disc/BUILD +++ b/tao_compiler/mlir/disc/BUILD @@ -309,6 +309,22 @@ cc_library( alwayslink = 1, ) +cc_library( + name = "disc_fuse_splat_const", + srcs = ["transforms/disc_...
5
3
2
[{"id": "G0", "claim": "The new regression test's name is misleading — the reviewer says it does not seem to be a kStitch fusion and asks to rename it in a later PR.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pass does not handle memref.ca...
null
alibaba__BladeDISC__188
alibaba/BladeDISC
188
defect
ab2bca8640ed1be55851d2bde89965e5b77c9a59
059abeec6ab7404be18fea06ece9063ed66336b0
[TorchDISC]register Disc CustomClassHolder to bind RAL
This PR implements a `DiscClass` which inherits CustomClassHolder to bind Disc RAL and replace the disc node with `prim::CallMethod`. At the runtime stage, we feed the DiscClass object to the Graph and execute it. This PR also updates the demo program `disc_demo.py`, which runs one training iteration. code struc...
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 67834b19bec..4cd0b924417 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -203,4 +203,5 @@ jobs: -v $HOME/.cache:$HOME/.cache \ -v /etc/passwd:/etc/passwd:ro \ -v /etc/group:/etc/group:...
7
6
1
[{"id": "G0", "claim": "The new GetShapeTypeSpec parameter is misspelled and should be named force_concrete instead of force_concurrent.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new single-line if statements in GetShapeTypeSpec should ...
null
alibaba__BladeDISC__350
alibaba/BladeDISC
350
defect
c65119e7ab96daed95fee653650029af5d8cf949
6da89251d6267ef5fe6427c1fbf3d40c439dbfd3
Row-reduce ops interleave for kStitch codegen.
1. Interleave the codegen schedule of independent row-reduce ops in the same kStitch fusion. 2. Some other detailed codegen schedule optimizations.
diff --git a/tao_compiler/mlir/disc/BUILD b/tao_compiler/mlir/disc/BUILD index b6e145e9bf4..e4e25c360ff 100644 --- a/tao_compiler/mlir/disc/BUILD +++ b/tao_compiler/mlir/disc/BUILD @@ -173,6 +173,7 @@ cc_library( "disc_util.h", ], deps = [ + ":cycle_detector", ":placement_utils", ...
9
4
1
[{"id": "G0", "claim": "The reviewer asks what the difference is between the new lowerWithScheduleStitchV2 path and the existing lowerWithScheduleStitch, implying the distinction should be clarified or documented.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G...
null
alibaba__BladeDISC__379
alibaba/BladeDISC
379
defect
05efae0008d66a35b7c6cffbcc17985e3f6d3840
981144cbab020fafe9792b0aa3ed0357c72bc4f9
[to #196] remove Bazel from tensorflow_blade's python part
1. Remove bazel from python project, it controls only C++ code. - Use setup.py to drive C++ build and test. - Use pytest to test python code. - Refine .bazelrc 2. Move python build script about symbolic linking into common_setup.py for feather reuse. 3. Make coompatible changes with interal refactor.
diff --git a/.gitignore b/.gitignore index 751f8beed61..afd358cba55 100644 --- a/.gitignore +++ b/.gitignore @@ -8,18 +8,10 @@ pytorch_blade/.torch_env_workspace.bzl pytorch_blade/torch_blade/version.py pytorch_blade/version.txt scripts/ci/.tao_ci_conf -tensorflow_blade/bazel-bin -tensorflow_blade/bazel-out -tensorf...
6
2
0
[{"id": "G0", "claim": "The new recursive symlink_dir helper may generate a lot of soft links, and linking just the top-level directory might be enough.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Maybe run some pycheck (type checking) on these files.",...
null
alibaba__BladeDISC__391
alibaba/BladeDISC
391
defect
8bbb8559cfedd4402ad159b2a6d80e79c06ded56
551b2db82c04119bc650667d99defd4eed6fdf63
[TorchMLIR]supports dynamic shape in torch-mlir converter unit test
fixed #383
diff --git a/pytorch_blade/src/compiler/jit/fusion.cpp b/pytorch_blade/src/compiler/jit/fusion.cpp index 393dcba3198..b229e13eb93 100644 --- a/pytorch_blade/src/compiler/jit/fusion.cpp +++ b/pytorch_blade/src/compiler/jit/fusion.cpp @@ -136,5 +136,20 @@ torch::TypePtr create_tensor_type_from_scalar_type(const c10::Type...
8
7
2
[{"id": "G0", "claim": "The debug statement printing the graph with std::cout in ConvertTorchToMhlo should use LOG instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tensor_to_dynamic_shape function needs a return statement in its if br...
null
alibaba__BladeDISC__487
alibaba/BladeDISC
487
defect
aff3d37fa280d41614489632b25b513347bbe6fd
ce70666a7d72e5ffa4b0f8663a90faec45aec530
Dead argument elimination for GPU kernels.
It is an experimental function in this commit, which is disabled by default. Enable by setting `DISC_MEM_INTENSIVE_OPT_EXPERIMENTAL` as `true`. This function will be enabled by default after more benchmarking for robustness.
diff --git a/tao_compiler/mlir/disc/BUILD b/tao_compiler/mlir/disc/BUILD index cdf3d2a6ed9..edcdf61cb3c 100644 --- a/tao_compiler/mlir/disc/BUILD +++ b/tao_compiler/mlir/disc/BUILD @@ -245,6 +245,7 @@ cc_library( ":disc_to_llvm_common", ":pass_details", ":placement_utils", + "//tensorf...
4
3
0
[{"id": "G0", "claim": "The DISC_MEM_INTENSIVE_OPT_EXPERIMENTAL env var should be read and initialized in one shared place (like the existing helpers in disc_util.cc) instead of duplicated inline at every use site.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":...
null
alibaba__BladeDISC__488
alibaba/BladeDISC
488
defect
00c36ba6286b1429def2533273323818695d593c
5fffa3115d7730e898564b80a22a86d15c2e7f99
support compilation cache serialization in disc TF plugin
Support load/store compilation cache on disk in disc TF plugin. Note that: - we suppose the clustering result is stable across different process. The above assumption may not always hold. Thus be careful when using this feature. - We may have multiple instances of `TaoCompilationCache` if we have multiple sessi...
diff --git a/tao/tao_bridge/common.cc b/tao/tao_bridge/common.cc index b0d4e11e294..cdd62428157 100644 --- a/tao/tao_bridge/common.cc +++ b/tao/tao_bridge/common.cc @@ -45,8 +45,8 @@ static void AllocateTaoBridgeFlags() { &opts->verbose_compilation_err_log)); CHECK_OK(ReadBoolFromEnvVa...
5
3
0
[{"id": "G0", "claim": "The env-var naming mixes TAO_* and DISC_* prefixes in the same function, and the reviewer asks what the standard here is.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The dump helper that assumes the lock is already hel...
null
alibaba__BladeDISC__57
alibaba/BladeDISC
57
defect
a8632ed1d8f994f1cc9e2ffee5bc415b6438cae2
a044e6c31d4341f5fa30636f4371fd768520c2a4
[disc-cpu] [bugfix] fix a bug of cpu multi-thread task assigner
For a nested parallel for loop: ``` scf.parallel((iv1, iv2, ... ivn) in range(L1, L2, ... LN)) { ... } ``` The task assigner partitions the loop as even as possible across M threads. Original implementation fails to tackle the situations like following example. Suppose we have parallel domain: (5, 1) and ...
diff --git a/tao_compiler/mlir/xla/ral/context/common_context_impl.cc b/tao_compiler/mlir/xla/ral/context/common_context_impl.cc index 07314f031b9..ae70e6e305e 100644 --- a/tao_compiler/mlir/xla/ral/context/common_context_impl.cc +++ b/tao_compiler/mlir/xla/ral/context/common_context_impl.cc @@ -876,7 +876,7 @@ struct ...
1
1
1
[{"id": "G0", "claim": "The pull request should add a unit test to ensure the cpu multi-thread task assigner's partition plan is correct.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
alibaba__BladeDISC__58
alibaba/BladeDISC
58
defect
a8632ed1d8f994f1cc9e2ffee5bc415b6438cae2
08c40c86b3dee48039a5b556d28a49676bf00e8f
[disc-cpu] add a new schedule for concat op with many operands
For a concat op: ``` lmhlo.concatenate(%operand1, %operand2, ... %operandN, %output) { concat_axis = m} ``` Original schedule: ``` scf.for ((iv1, ..., iv{m-1}, iv{m+1},...iv{n}) in range(non_concat_dims)) { scf.for (iv{m} in range(concat_dim)) { if ((iv1, iv2, ..., ivn) maps to operand1) { outpu...
diff --git a/tao_compiler/mlir/disc/disc_compiler.cc b/tao_compiler/mlir/disc/disc_compiler.cc index ff59de17eea..7e3e7cc6a96 100644 --- a/tao_compiler/mlir/disc/disc_compiler.cc +++ b/tao_compiler/mlir/disc/disc_compiler.cc @@ -61,6 +61,7 @@ limitations under the License. #include "mlir/Transforms/Passes.h" #include...
3
3
0
[{"id": "G0", "claim": "nit: build the 64 identical input descriptors with the vector fill constructor (std::vector<std::string> input_descriptors(64, \"30x4xf32_X\")) instead of a loop of push_back.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim":...
null
alibaba__BladeDISC__594
alibaba/BladeDISC
594
defect
986de548398d25c4fd8748d49a813dc91c52d9fb
9c708cb3c1112be4fc23208e4227ee89d5c3de16
improve the performance of const lookup in RAL
1, assign a unique index for each unique const value. 2, using the index to do fast lool up whenever possible at runtime.
diff --git a/pytorch_blade/src/compiler/mlir/runtime/ral_context.h b/pytorch_blade/src/compiler/mlir/runtime/ral_context.h index 88b9e7dba72..804a82886a2 100644 --- a/pytorch_blade/src/compiler/mlir/runtime/ral_context.h +++ b/pytorch_blade/src/compiler/mlir/runtime/ral_context.h @@ -34,6 +34,7 @@ using CUDAStream = ::...
2
1
0
[{"id": "G0", "claim": "The new member `name2Idx_` should be renamed because its naming style is inconsistent with the surrounding context.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks why yet another array for atomically-wra...
null
alibaba__BladeDISC__620
alibaba/BladeDISC
620
defect
d23360fc6d038555aa136ba3a353c8b1bdae3d1d
849e07db1969415d7efff12fb8e9ad4e1f15397a
[RAL] refactor metadata file: remove protobuf dependency.
The metadata file is generated during compilation and is used to aid the execution of the compiled binary. it includes the (large) weight values extracted from the original AI model. Protobuf does not support file larger than 2GB, leading to the failure of compiling some large models. This CL replaces the protobuf-b...
diff --git a/pytorch_blade/src/compiler/mlir/runtime/ral_context.h b/pytorch_blade/src/compiler/mlir/runtime/ral_context.h index 804a82886a2..88b9e7dba72 100644 --- a/pytorch_blade/src/compiler/mlir/runtime/ral_context.h +++ b/pytorch_blade/src/compiler/mlir/runtime/ral_context.h @@ -34,7 +34,6 @@ using CUDAStream = ::...
5
4
1
[{"id": "G0", "claim": "Questions why the explicit type conversion to RalGlobalConstantState* is required on the nullptr return, implying it may be unnecessary.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Log the metadata-file load failure with TAO_LOG(...
null
alibaba__BladeDISC__674
alibaba/BladeDISC
674
defect
1452e0bc88cfbd584be6129946d2e887f1350c0c
322d3e84265e8a9a85461259e0f6dc3473b3a0b0
[quantization] Support qconv int8 for BladeDISC on GPU
to #567 - [x] transpose conv rewrite pass for quantized conv - [x] int8 h2d/d2h mem gpu copy - [x] library call of cudnn/bladnn int8 kernel - [x] e2e subgraph test
diff --git a/tao_compiler/mlir/disc/disc_compiler.cc b/tao_compiler/mlir/disc/disc_compiler.cc index 25de3ca9a8b..c64910e7812 100644 --- a/tao_compiler/mlir/disc/disc_compiler.cc +++ b/tao_compiler/mlir/disc/disc_compiler.cc @@ -311,6 +311,11 @@ LogicalResult LowerHLOToLLVM(ModuleOp m, const DISCLoweringOptions& option...
7
7
1
[{"id": "G0", "claim": "The new QuantizedConvParams struct (and its extract function) duplicates ConvParams and should re-use that code, e.g. via a template struct.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "DiscQuantizedConvRewriterPass is ...
null
alibaba__BladeDISC__676
alibaba/BladeDISC
676
defect
c6298cdd2c5d71b5889f834c5d061874492a36e8
5f2faff46e16346b2a7c16dbe815d7718c1fa5f1
fix #462, Remove target 'torch_blade_include`
Remove target 'torch_blade_include` and rename directory 'src` to 'pytorch_blade`.
diff --git a/pytorch_blade/bazel_build.py b/pytorch_blade/bazel_build.py index c03526a9e11..4d99ce23bd2 100644 --- a/pytorch_blade/bazel_build.py +++ b/pytorch_blade/bazel_build.py @@ -45,8 +45,8 @@ def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.targets = [ "@...
2
2
1
[{"id": "G0", "claim": "The leftover cc_library target `torch_blade_include` at line 22 of pytorch_blade/pytorch_blade/BUILD should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The target paths in pytorch_blade/distribution.cfg s...
null
alibaba__BladeDISC__683
alibaba/BladeDISC
683
defect
cf7017f5011abf74a91901f88f813ae160c5a08c
76788c7ec62de4c4568303a7d2be3e27ae50fa4e
[quantization] Support qgemm int8 for BladeDISC on GPU
to #567 - [x] const weight transpose pass - [x] bladnn int8 gemm library call - [x] end2end subgraph test (only work when blade_gemm is on) - [x] qconv related bug fix
diff --git a/tao_compiler/mlir/disc/BUILD b/tao_compiler/mlir/disc/BUILD index f02d5dc79d1..311be293176 100644 --- a/tao_compiler/mlir/disc/BUILD +++ b/tao_compiler/mlir/disc/BUILD @@ -433,6 +433,28 @@ cc_library( alwayslink = 1, ) +cc_library( + name = "quantized_dot_rewriter", + srcs = ["transforms/quan...
3
3
3
[{"id": "G0", "claim": "The UT is declared with per-channel weight quantization (axis=[1], 128-element scale tensor) while the GPU ral_qgemm kernel only reads the first weight-scale element and supports only per-tensor; the reviewer asks whether this is intended and requests a per-tensor UT and a kernel registered with...
null
alibaba__BladeDISC__685
alibaba/BladeDISC
685
defect
3e4b836890ce4f31083f79e9b8a7ac974356b942
78a55345e7f60237e5ca37db7844f8c10ef29c99
add transpose library call
This PR added a custom library call for the transpose2D operator, which calls the TF kernel instead of the disc code generator to get higher performance. I will improve the disc codegen to get higher performance with fusion with other elementwise operator. benchmark between disc codegen and custom library call: ...
diff --git a/tao_compiler/mlir/disc/tests/tensorflow_ops/data/transpose_2d_s_f32.mlir b/tao_compiler/mlir/disc/tests/tensorflow_ops/data/transpose_2d_s_f32.mlir new file mode 100644 index 00000000000..c87597d6b3a --- /dev/null +++ b/tao_compiler/mlir/disc/tests/tensorflow_ops/data/transpose_2d_s_f32.mlir @@ -0,0 +1,10 ...
7
7
5
[{"id": "G0", "claim": "The new transpose GPU kernel should not introduce tensorflow/core dependencies (conv_2d_gpu.h, math_util.h) into RAL whenever it can be avoided.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new exclusion of rank-2 transposes...
null
alibaba__BladeDISC__722
alibaba/BladeDISC
722
defect
8af337ba3d5d3d9076decc5d22847fee9be14cfe
3784ea5ef62eed65f15a804f7be004361bfcf0de
Add a `mhlo.dynamice_slice` converter pass
1. add a pass to convert `mhlo.dynamic_slice` with dynamic shape input to `mhlo.real_dynamic_slice`, we have encountered such `mhlo.dynamic_slice` in easy rec's models with sparse input 3. add a regression test for sparse subgraph
diff --git a/tao_compiler/mlir/disc/BUILD b/tao_compiler/mlir/disc/BUILD index 648384b1b9e..92059148222 100644 --- a/tao_compiler/mlir/disc/BUILD +++ b/tao_compiler/mlir/disc/BUILD @@ -1701,6 +1701,28 @@ cc_library( alwayslink = 1, ) +cc_library( + name = "disc_dynamic_slice_converter", + srcs = ["transfo...
2
1
0
[{"id": "G0", "claim": "Rename `input_type` and related variables to follow the project's snake_case naming style.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Use C++17 structured bindings with llvm::enumerate instead of the indexAndSliceStar...
null
alibaba__BladeDISC__739
alibaba/BladeDISC
739
defect
6cf3fed950add01363e85214be60845bd690ad57
d0770e373f3667bc011aaa735c023fa6a305380a
Init shape analysis filecheck
As discussed in https://github.com/alibaba/BladeDISC/pull/707, this pull request initialize the shape analysis file check configurations. Another issue is that it seems the `shape_analysis_tests.cpp` added in https://github.com/alibaba/BladeDISC/pull/707 is not compiled and run. cc @Yancey1989
diff --git a/pytorch_blade/bazel/tests/BUILD b/pytorch_blade/bazel/tests/BUILD new file mode 100644 index 00000000000..d2755de2189 --- /dev/null +++ b/pytorch_blade/bazel/tests/BUILD @@ -0,0 +1,2 @@ + +exports_files(["lit.cfg.py"]) diff --git a/pytorch_blade/tests/torch-disc-pdll/glob_lit_test.bzl b/pytorch_blade/bazel...
2
1
1
[{"id": "G0", "claim": "The shape analysis test setup may need stride configuration, since ShapeAnalysisPass uses isComplete() to decide whether a shape is static, so without strides the concrete input shapes may fail to propagate.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introdu...
null
alibaba__BladeDISC__741
alibaba/BladeDISC
741
defect
3d36cb3dc79322686c448f46a9090f89076e23b5
862761c1a68d32c9818c9e907c1facde37f062f1
initial e2e support for a simple disc-tf-pdll UT
This is the first step to support lowering pdll-based custom call op. More work in following PR: support more different types of custom attribute.
diff --git a/pytorch_blade/tests/torch-disc-pdll/torch-disc-pdll.cpp b/pytorch_blade/tests/torch-disc-pdll/torch-disc-pdll.cpp index de18caf58d8..a9683f3f0c7 100644 --- a/pytorch_blade/tests/torch-disc-pdll/torch-disc-pdll.cpp +++ b/pytorch_blade/tests/torch-disc-pdll/torch-disc-pdll.cpp @@ -33,7 +33,7 @@ static void l...
5
2
0
[{"id": "G0", "claim": "The TODO comments added in lhlo_disc_ops.td (and the similar ones in disc_hlo_legalize_to_lhlo.cc) should carry the author's ID in parentheses after TODO, e.g. TODO(wyzero).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Ad...
null
alibaba__BladeDISC__743
alibaba/BladeDISC
743
defect
6cf3fed950add01363e85214be60845bd690ad57
e28d26ce6114b600ccb8949299995f029da3c45b
[PDLL] Fake quant convert
torch.operator "fake_quant" -> torch.operator "quantize" + torch.operator "dequantize"
diff --git a/pytorch_blade/tests/torch-disc-pdll/tests/fake_quant.mlir b/pytorch_blade/tests/torch-disc-pdll/tests/fake_quant.mlir new file mode 100644 index 00000000000..2705f7402f5 --- /dev/null +++ b/pytorch_blade/tests/torch-disc-pdll/tests/fake_quant.mlir @@ -0,0 +1,18 @@ +// RUN: torch-disc-pdll --payload-input %...
6
6
1
[{"id": "G0", "claim": "The single generic `// CHECK: torch.operator` line will pass even when the converter fails to apply, so the test should explicitly check `torch_blade.quant`/`torch_blade.dequant` and that the dequant result is the returned value.", "category": "testing", "verdict": "supported", "priority": "P1",...
null
alibaba__BladeDISC__747
alibaba/BladeDISC
747
defect
1043fc4fe9490b3514b6e6c3321e864f3a4340b4
e61d109fa9bd9ba49c2a78ec2c106f42977536c5
impl of where fusion
#742 With bug fix for `DiscMarkShapeCalc` pass when running regression test for a `embedding column` subgraph.
diff --git a/tao_compiler/mlir/disc/tests/regression/data/where_fusion_d_3d_i64.mlir b/tao_compiler/mlir/disc/tests/regression/data/where_fusion_d_3d_i64.mlir new file mode 100644 index 00000000000..bc49eeb2da0 --- /dev/null +++ b/tao_compiler/mlir/disc/tests/regression/data/where_fusion_d_3d_i64.mlir @@ -0,0 +1,11 @@ ...
3
3
2
[{"id": "G0", "claim": "The where fusion implementation needs a test case for the fusion.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Delete the setenv(\"DISC_CPU_ENABLE_PROFILE\", \"1\", 1) line the PR adds to the embedding column test.", "category"...
null
alibaba__BladeDISC__797
alibaba/BladeDISC
797
defect
e8554881d6a6625bc7e163b57b7c2f651340a2d1
07987408730909bb2cbcc2017b2170057ade1366
New fusion decision logic for GEMM fusion and codegen.
The fusion decision of kDot in last version is not robust. It actually relies on horizontal fusion to merge dot and other kloop fusions together, which is easy to fail given the checking logic in initialization phase of fusion pattern. This PR gives a robust fusion decision for kDot fusion. It does not rely on horiz...
diff --git a/tao_compiler/mlir/disc/tests/regression/data/epilogue_fusion_gemm_multi_consumers.mlir b/tao_compiler/mlir/disc/tests/regression/data/epilogue_fusion_gemm_multi_consumers.mlir new file mode 100644 index 00000000000..ab1e08807a1 --- /dev/null +++ b/tao_compiler/mlir/disc/tests/regression/data/epilogue_fusio...
9
4
0
[{"id": "G0", "claim": "Hitting the fallback else in makeNewDeviceStrategy would cause strange errors in release builds because its assert compiles to nothing and the function then returns no value.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "T...
null
alibaba__BladeDISC__813
alibaba/BladeDISC
813
defect
2f8875ba413b7c30cf2539997e7718fdfb0fcddf
ad3f3328b53c040f8e72cef9fd5b66707eee8f76
[Quantization] Add bias quant
The target of this pr is to be compatible with int8 kernel implementation, namely int32 biasadd for cpu and int8 biasadd for gpu.
diff --git a/pytorch_blade/tests/disc/pdl/pdll_files/gpu/dequant_gemm_quant.pdll b/pytorch_blade/tests/disc/pdl/pdll_files/gpu/dequant_gemm_quant.pdll index 4585644279b..2d646b30224 100644 --- a/pytorch_blade/tests/disc/pdl/pdll_files/gpu/dequant_gemm_quant.pdll +++ b/pytorch_blade/tests/disc/pdl/pdll_files/gpu/dequant...
2
2
0
[{"id": "G0", "claim": "Bias support with fake-quant should be built as a stand-alone pdll file rather than by extending the existing dequant_gemm_quant.pdll pattern, since embedding it there is not the common way.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
alibaba__EasyCV__119
alibaba/EasyCV
119
defect
b2c8f0ef4d90ffa0df42d3c1711857cec35de656
25b201ff1e2c0911973ee592ff6badb86e8f2ea1
add dn_detr algo
1. support dn-detr-r50: 44.39 2. refactor set_criterion
diff --git a/configs/base.py b/configs/base.py index 1244a32c..4805d305 100644 --- a/configs/base.py +++ b/configs/base.py @@ -3,7 +3,7 @@ optimizer_config = dict() # grad_clip, coalesce, bucket_size_mb # yapf:disable log_config = dict( - interval=10, + interval=50, hooks=[ dict(type='TextLogger...
3
3
2
[{"id": "G0", "claim": "Set initial to False in the eval_config of the shared autoaug_coco_detection base config instead of running an initial evaluation.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "When a user sets pretrained=True and the model ...
null
alibaba__EasyCV__15
alibaba/EasyCV
15
defect
df4e54f05c99302fc614eb06c7af7f622bafcd17
a7d64afca9edeae01e5fd2c26f68f50ae6e151b6
[Feature]: support image visualization for tensorboard and wandb
Tensorboard visulization is as follows: <img width="1465" alt="image" src="https://user-images.githubusercontent.com/30484308/164178438-0c9d5991-cd9f-4744-bd03-cc81777726a9.png"> Wandb visulization is as follows: <img width="1766" alt="image" src="https://user-images.githubusercontent.com/30484308/164178749-...
diff --git a/benchmarks/extract_dataset_configs/imagenet.py b/benchmarks/extract_dataset_configs/imagenet.py index 29925bed..6c2a15ce 100644 --- a/benchmarks/extract_dataset_configs/imagenet.py +++ b/benchmarks/extract_dataset_configs/imagenet.py @@ -23,4 +23,5 @@ dict(type='CenterCrop', size=224), ...
5
4
2
[{"id": "G0", "claim": "The simhei.ttf font should be added to the git repository and automatically packaged into the python whl (and zip) instead of being downloaded from a remote URL at runtime.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Using only...
null
alibaba__EasyCV__239
alibaba/EasyCV
239
defect
7ffff511a5f168c99fc2e6e5f9fa1ea71bbb7c9c
3b50f7ae8277079377d958eb5546eee1ebc08f67
add prediction script
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers. # Motivation add tools/predict.py for local single ...
diff --git a/easycv/predictors/detector.py b/easycv/predictors/detector.py index aa8e0b54..83a0ac10 100644 --- a/easycv/predictors/detector.py +++ b/easycv/predictors/detector.py @@ -332,7 +332,8 @@ def __init__(self, model_config: config string for model to init, in json format """ if mode...
6
4
1
[{"id": "G0", "claim": "The easy_predict whl should be added to requirements so the new prediction script's required dependency gets installed as a default dependency.", "category": "maintainability", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Choosing predict_fn with `predic...
null
alibaba__EasyCV__346
alibaba/EasyCV
346
defect
8c90ceaf84678b4da75c3fd29ecca3e8cb85d9ed
1388f0c1fb8912962e307f1e37c5adc815dcc8e7
implement onnx export for inception3/4, resnext, mobilenetv2
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers. # Motivation Please describe the motivation of this...
diff --git a/configs/classification/imagenet/inception/inceptionv3_b32x8_100e.py b/configs/classification/imagenet/inception/inceptionv3_b32x8_100e.py index a0cf8d57..1d74ec39 100644 --- a/configs/classification/imagenet/inception/inceptionv3_b32x8_100e.py +++ b/configs/classification/imagenet/inception/inceptionv3_b32...
2
2
0
[{"id": "G0", "claim": "Restores the check that model_type must be set when user_config_params is given, which the PR had commented out in tools/export.py.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The inception config files are highly repeti...
null
alibaba__EasyCV__67
alibaba/EasyCV
67
defect
c9a7d02d328da18c1aea5dc27180bff14edc6556
a2c3d8b724afa19b1133a776e0f4ce8ce66a89f0
fix eval metric during training and add metric unittest
1. fix bug: `dataset.visualize` modified values of results['detection_classes'] from class id to class names , which cause the wrong eval metric values during the training 2. support visualization for oss image file 3. add train and eval metric unittest
diff --git a/easycv/datasets/detection/data_sources/base.py b/easycv/datasets/detection/data_sources/base.py index e08879b2..7f5a226f 100644 --- a/easycv/datasets/detection/data_sources/base.py +++ b/easycv/datasets/detection/data_sources/base.py @@ -2,40 +2,19 @@ import copy import functools import logging -import ...
4
4
0
[{"id": "G0", "claim": "Add logging after the n retries in case the retry-and-sleep behaviour on image read failures causes an invisible hang.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The error raised when image loading fails should say 'R...
null
alibaba__GraphScope__1547
alibaba/GraphScope
1,547
defect
cbe749cd38c4e355f16969c48814ba44440519c3
a289f052531b5e6ff52b37b1d36e16e6e1d7b8cd
Reorganize and cleanup proto definitions.
This PR does the following stuffs: - [x] move *.proto into `python/graphscope/proto`, and change proto generating related stuff correspondingly. - [x] To make proto interface simple and understandable, remove or unify some unused fields (may not be concise and correct, subject to change): - [x] rm place_holder...
diff --git a/analytical_engine/CMakeLists.txt b/analytical_engine/CMakeLists.txt index a9f524776ec6..3f723f575847 100644 --- a/analytical_engine/CMakeLists.txt +++ b/analytical_engine/CMakeLists.txt @@ -189,9 +189,7 @@ include("cmake/FindGRPC.cmake") include_directories(${GRPC_INCLUDE_DIR}) # Generate proto -execut...
4
2
1
[{"id": "G0", "claim": "The reviewer questions the renaming of EngineService to GAEService, asking why it was renamed when by design running a DAG should not be specific to GAE.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks what the de...
null
alibaba__GraphScope__1552
alibaba/GraphScope
1,552
defect
8fbf1929bf0b9fcc77bfd6afc8544e54deb5b8ad
912927a326cdd55df1c3ef4caf0da800712cf266
Implement voterank app
<!-- Thanks for your contribution! please review https://github.com/alibaba/GraphScope/blob/main/CONTRIBUTING.md before opening an issue. --> ## What do these changes do? <!-- Please give a short brief about these changes. --> Implement voterank app. - [x] implement C++ PIE app with analytical engineAPI; ...
diff --git a/analytical_engine/apps/voterank/voterank.h b/analytical_engine/apps/voterank/voterank.h new file mode 100755 index 000000000000..bf2e13dfe59b --- /dev/null +++ b/analytical_engine/apps/voterank/voterank.h @@ -0,0 +1,224 @@ +/** Copyright 2020 Alibaba Group Holding Limited. + +Licensed under the Apache Lice...
6
5
2
[{"id": "G0", "claim": "Analytical apps in GraphScope should use namespace gs, not grape, in voterank.h.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use size_t for edge_num, since int could overflow as edge_num could be a huge number.", "category": "c...
null
alibaba__GraphScope__1774
alibaba/GraphScope
1,774
defect
9abea6d4a94a80abff60b9f4e6e85484a96e4fa4
c5820b5b3259f0d8b8d5468997236f0528a9d145
grape-jdk support mac
<!-- Thanks for your contribution! please review https://github.com/alibaba/GraphScope/blob/main/CONTRIBUTING.md before opening an issue. --> ## What do these changes do? Add GRAPE-jdk support for mac os. Including m1 chipset. <!-- Please give a short brief about these changes. --> ## Related issue number...
diff --git a/Makefile b/Makefile index e07a68ac2156..f8bc37cc38cf 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ NETWORKX ?= ON BUILD_TEST ?= OFF # build java sdk option -ENABLE_JAVA_SDK ?= OFF +ENABLE_JAVA_SDK ?= ON .PHONY: all all: graphscope...
1
1
1
[{"id": "G0", "claim": "Unconditionally forcing arm64 on every Darwin host (set(SYSTEM_PROCESSOR \"arm64\") / CMAKE_OSX_ARCHITECTURES \"arm64\" whenever CMAKE_HOST_SYSTEM_NAME matches Darwin) breaks macOS on Intel x86_64 chips, which also need to be supported.", "category": "correctness", "verdict": "supported", "prior...
null
alibaba__GraphScope__2477
alibaba/GraphScope
2,477
defect
1209e3eafeee097307b127844a730ce9a3601dbc
8996cbd7f7f0ab69fdd0649973977e15112d2d58
Fixes flatten fragment over a fragment with masked labels
## What do these changes do? - Fixes bugs in flatten fragment - Upgrade GAE to latest vineyard ## Related issue number <!-- Are there any issues opened that will be resolved by merging this change? --> Fixes #2476 See also: - #211 - https://github.com/v6d-io/v6d/pull/239 - https://github.com/v6d-io/v...
diff --git a/.github/workflows/gae.yml b/.github/workflows/gae.yml index 5b3a30b756c8..5989ac5bdd2d 100644 --- a/.github/workflows/gae.yml +++ b/.github/workflows/gae.yml @@ -36,22 +36,21 @@ jobs: - uses: actions/checkout@v3 - name: Install latest vineyard - if: false + if: true run: | ...
1
1
0
[{"id": "G0", "claim": "The 'Install latest vineyard' step in .github/workflows/gae.yml should source ~/.graphscope_env before cloning vineyard, as the corresponding local-ci step already does.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
alibaba__MNN__3723
alibaba/MNN
3,723
defect
daa62c77c10349bf4b1cefef9579a3d7b60af535
8907c96b4eae3ab3fd23bb9f8be621535a5db6c6
new feature to allow user to specify cpu
I’m submitting this PR to introduce a new configuration option: `MNN::BackendConfig::cpuIds`. This allows users to explicitly specify CPU core IDs to maximize multi-threaded performance by core assignment. This idea comes from various situations we’ve observed while using MNN in our AI development. In recent years, ...
diff --git a/docs/inference/session.md b/docs/inference/session.md index b2bf13f117..7ec0ab53c4 100644 --- a/docs/inference/session.md +++ b/docs/inference/session.md @@ -181,11 +181,17 @@ struct BackendConfig { PrecisionMode precision = Precision_Normal; /** user defined context */ - void* sharedCon...
1
1
1
[{"id": "G0", "claim": "There should be a way to expose the CPU-core setting without adding the cpuIds member variable to BackendConfig — for example setting the CPU affinity through setSessionHint.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
alibaba__MNN__3776
alibaba/MNN
3,776
defect
5952e335702d4f92570e8238ed0be02bbdcfdafe
26667576aa41208704d94e0333f41563df09014a
Replace the KleidiAI macro with the hint config
This patch replaces the `MNN_KLEIDIAI_ENABLED` to the hint configuration. Due to the `Module::load` in some tests will change current runtime's configuration, clone current runtime and create a new scope for them.
diff --git a/CMakeLists.txt b/CMakeLists.txt index f7647ed511..e61e1a2913 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -236,7 +236,7 @@ option(MNN_OPENGL "Enable OpenGL" OFF) option(MNN_VULKAN "Enable Vulkan" OFF) option(MNN_ARM82 "Enable ARMv8.2's FP16 Compute" ON) option(MNN_SUPPORT_FP16_ARMV7 "Enable ARMv8...
1
1
1
[{"id": "G0", "claim": "The change flipping MNN_KLEIDIAI's default to ON should be accompanied by a matching update to the docs/cmake/compile.md documentation.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
alibaba__MNN__4227
alibaba/MNN
4,227
defect
080bb3182b2977fbfb3e8ddb5c2ae0aa2cf4ec0d
8b398a0d7ef8e37afd16ac35066895fdac8fcb4c
[CUDA Backend] Optimize `TopKV2` OP for CUDA backend
## Motivation I am benchmarking RT-DETRv4 and YOLO26 models using MNN and find that they are much slower than other models like YOLO11, `timeProfile` tells that TopKV2 for CUDA is much slower than CPU, which is strange, so I checked `source/backend/cuda/execution/TopKV2Execution.cu` using LLM and found insertion sor...
diff --git a/source/backend/cuda/execution/TopKV2Execution.cu b/source/backend/cuda/execution/TopKV2Execution.cu index 2bef11ca74..b880dead97 100644 --- a/source/backend/cuda/execution/TopKV2Execution.cu +++ b/source/backend/cuda/execution/TopKV2Execution.cu @@ -15,17 +15,92 @@ __device__ void TopKInThread(const valueT...
2
2
0
[{"id": "G0", "claim": "The sift-down heap logic is copy-pasted three times (unrolled loop, remainder loop, heap-sort phase) and should be extracted into a `__device__ inline` helper like `SiftDown(valuesThread, indicesThread, parent, heapSize, descendFlag)` to reduce duplication and maintenance burden.", "category": "...
null
alibaba__MNN__848
alibaba/MNN
848
defect
c99c4b7f16b59fe5f3cfdd7fb9651e86e420d7f4
0ae7eab53c9a4409dec383e35334b344035449f0
Add BlstmComputer
Main changes 1. Add blstmcomputer 2. Add blstmcomputer unit test 3. add matrix dot product method to math/matrix.hpp 4. modify CmakeLists under /test a little to pass test building At first I was tring to convert Tensorflow's op 'CudnnRNNV3' into MNN op, but later on I found that kernel weight in 'CudnnRNNV3' ...
diff --git a/source/backend/cpu/compute/BlstmComputer.cpp b/source/backend/cpu/compute/BlstmComputer.cpp new file mode 100644 index 0000000000..b9733b0a46 --- /dev/null +++ b/source/backend/cpu/compute/BlstmComputer.cpp @@ -0,0 +1,346 @@ +// +// BLSTM.cpp +// MNN +// +// Created by MNN on 2020/04/30. +// Copyright ...
1
1
1
[{"id": "G0", "claim": "The intermediate tensors held by BlstmComputer should be released via onReleaseBuffer after they are used (in the destructor and when onResize reinitializes them) instead of being left acquired.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
alibaba__QLExpress__221
alibaba/QLExpress
221
defect
115412dde2562edcb8aaa6c1bbfbbd10877fa4d7
458fc6a774d71d4f1457b3da585e67fd2b287432
feat: use ConcurrentHashMap instead of HashMap with Sync(as HashTable…
use ConcurrentHashMap(AQS) instead of HashMap with Sync(as HashTable with low efficient) and allow user provide replace candidates based on ConcurrentHashMap.
diff --git a/pom.xml b/pom.xml index 7ed21649e..1ec4addb8 100644 --- a/pom.xml +++ b/pom.xml @@ -100,6 +100,17 @@ <version>2.5.6</version> <scope>test</scope> </dependency> + <dependency> + <groupId>cn.hutool</groupId> + <artifactId>hutool-all</artifactId>...
6
6
4
[{"id": "G0", "claim": "Do not introduce other second-party libraries (hutool, guava) into the pom; second-party packages should minimise dependencies and QLExpress's dependencies are currently under governance.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai...
null
alibaba__QLExpress__314
alibaba/QLExpress
314
defect
4004bef0aa78c9026c6cbafa731f1789eb4ff37b
fd27456c986042403cb8342369c01d761d4c63d0
超时设置的线程重入问题修复
#294 将 timeout 设置到 RunEnvironment 对象的属性中, 每个 environment 自己维护自己的超时, 嵌套调用时可以避免相互冲突。 ``` com.ql.util.express.RunEnvironment#executeTimeOut ```
diff --git a/src/main/java/com/ql/util/express/ExecuteTimeOut.java b/src/main/java/com/ql/util/express/ExecuteTimeOut.java new file mode 100644 index 000000000..d59a62783 --- /dev/null +++ b/src/main/java/com/ql/util/express/ExecuteTimeOut.java @@ -0,0 +1,28 @@ +package com.ql.util.express; + +/** + * Author: DQinYuan ...
6
5
0
[{"id": "G0", "claim": "The import of QLTimeoutException in QLExpressTimer.java is no longer needed and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The class ExecuteTimeOut should be renamed to ExecuteTimeout, since timeout...
null
alibaba__QLExpress__394
alibaba/QLExpress
394
defect
707f0338ffa0bdec843af7193b717a47458cb096
80849455793cdb4874dfe3cdfd905cb749ba2061
fix: Support primitive to Object boxing conversion in method resolution
<img width="1434" height="899" alt="image" src="https://github.com/user-attachments/assets/836ceb18-a78f-4775-9f00-c39aa6b15db0" /> 1. 根本原因:QLExpress 在方法解析时,对于基本类型(如 int)到 Object 类的装箱转换支持不完整 2. 表现症状:调用 JSONObject.put("key", primitiveValue) 时会报方法未找到错误 3. 影响范围:使用 FastJSON 的 JSONObject.put 方法存储基本类型值时失败 P...
diff --git a/src/main/java/com/alibaba/qlexpress4/runtime/MemberResolver.java b/src/main/java/com/alibaba/qlexpress4/runtime/MemberResolver.java index 6f68ae2b3..053bd834d 100644 --- a/src/main/java/com/alibaba/qlexpress4/runtime/MemberResolver.java +++ b/src/main/java/com/alibaba/qlexpress4/runtime/MemberResolver.java...
3
3
1
[{"id": "G0", "claim": "Remove the newly added test method test_jsonObject_vs_map_put from TestSuiteRunner.java, because the existing featureDebug method already provides similar single-file test functionality.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim...
null
alibaba__QLExpress__396
alibaba/QLExpress
396
defect
d94adc31135f087f85ed9634f5946ac2462e1449
8746c1d2ebb6306a60e45e4294cf2ea4e13db1f8
feat(function): 支持函数前向引用并优化函数声明处理- 新增 hasForwardFunctionReferences 方法…
…检查是否存在前向函数引用 #395 - 对非空子节点进行分类处理,先处理函数声明再处理其他语句 - 添加多个测试用例验证函数前向引用、递归调用和各种参数类型的支持 - 修改测试运行器以使用新的测试用例 🎯 解决方案 实现类似JavaScript的函数提升机制,支持在函数定义前调用函数,提升代码编写的灵活性。 🔧 技术实现 核心策略 采用智能提升策略: - 条件触发:仅当检测到前向函数引用时才进行提升 - 全量提升:一旦检测到前向引用,将所有函数定义提升到代码块开头 - 兼容性保证:无前向引用时保持原始执行顺序,确保宏等现有功能不受影响 实现...
diff --git a/src/main/java/com/alibaba/qlexpress4/aparser/QvmInstructionVisitor.java b/src/main/java/com/alibaba/qlexpress4/aparser/QvmInstructionVisitor.java index 599944215..eeae76a69 100644 --- a/src/main/java/com/alibaba/qlexpress4/aparser/QvmInstructionVisitor.java +++ b/src/main/java/com/alibaba/qlexpress4/aparse...
1
1
1
[{"id": "G0", "claim": "The hasForwardFunctionReferences detection is too crude — a user string containing text like \"name(\" would be wrongly judged a forward reference — so the check should be dropped and all functionStatements hoisted/parsed upfront instead.", "category": "correctness", "verdict": "supported", "pri...
null
alibaba__QLExpress__406
alibaba/QLExpress
406
defect
4f6c502484e944b751d28594d10dfd7f5ce519f3
f5e41bf56e968911233a2c0667147614ae6df589
feat: 语法检测支持运算符限制
新增OperatorVisitor支持语法检测支持运算符限制(https://github.com/alibaba/QLExpress/issues/397)
diff --git a/.catpaw/rules/qlexpress-architecture.md b/.catpaw/rules/qlexpress-architecture.md new file mode 100644 index 000000000..f42c1f45f --- /dev/null +++ b/.catpaw/rules/qlexpress-architecture.md @@ -0,0 +1,301 @@ +--- +ruleType: Manual +description: QLExpress4 项目架构与开发指南 +globs: +--- +rule编写规则: https://km.sankua...
12
11
3
[{"id": "G0", "claim": "Code comments in the new classes should be written in English per the project convention, not Chinese.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Instead of separate whitelist/blacklist options (or a strategy enum plus ...
null
alibaba__Sentinel__1049
alibaba/Sentinel
1,049
defect
4d9a5ef7f9a57304bcf3d41463e24fa0dd9c0188
6c173480ac08f2749af75dc1edba1d3fca3b57c0
Support URL exclusion using UrlCleaner in Spring WebFlux adapter
### Describe what this PR does / why we need it ### Does this pull request fix one issue? Resolves #1020 ### Describe how you did it ### Describe how to verify it ### Special notes for reviews
diff --git a/sentinel-adapter/sentinel-spring-webflux-adapter/README.md b/sentinel-adapter/sentinel-spring-webflux-adapter/README.md index ed47f5d7c8..158937fe93 100644 --- a/sentinel-adapter/sentinel-spring-webflux-adapter/README.md +++ b/sentinel-adapter/sentinel-spring-webflux-adapter/README.md @@ -50,7 +50,7 @@ pub...
2
2
0
[{"id": "G0", "claim": "The sentinel-web-servlet README change (documenting null as a UrlCleaner exclusion value) should be removed from this WebFlux-only pull request and made in a separate pull request.", "category": "scope", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The...
null
alibaba__Sentinel__1293
alibaba/Sentinel
1,293
defect
c5071550faa968f6923006a86df582f1cae996da
b1a7ca07570dc637f028d1a4e9ce453c214e9a1c
Fix NPE in Tracer when context size exceeds the limit (#1184)
### Describe what this PR does / why we need it When context size exceeds the limit, `Tracer#trace` throws NPE. ### Does this pull request fix one issue? Fixes #1184 ### Describe how you did it Add checking logic in `Tracer#traceContext` and `Context#getCurNode`. ### Describe how to verify it Add a...
diff --git a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/Tracer.java b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/Tracer.java index 08df6b2c94..4d0e6da3ae 100755 --- a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/Tracer.java +++ b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/Tracer.ja...
1
1
0
[{"id": "G0", "claim": "The new test should do some context clean-up, using ContextTestUtil.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
alibaba__Sentinel__1328
alibaba/Sentinel
1,328
defect
51331879af2ec3c3fefc74d8b1efa56e19bbf782
6a31cdd44cc9c0fea1bc67ce7790327bb44cc7e2
Add "web-context-unify" configuration to support "chain" relation flow strategy in Spring webmvc adapter
### Describe what this PR does / why we need it Add "web-context-unify" configuration in spring webmvc adaptor, the same as web servlet adaptor, to support "chain" relation flow strategy. ### Does this pull request fix one issue? Fixes #1314 ### Describe how you did it Add a configuration `webContextU...
diff --git a/sentinel-adapter/sentinel-spring-webmvc-adapter/README.md b/sentinel-adapter/sentinel-spring-webmvc-adapter/README.md index 941daed42e..cfbeb2da95 100755 --- a/sentinel-adapter/sentinel-spring-webmvc-adapter/README.md +++ b/sentinel-adapter/sentinel-spring-webmvc-adapter/README.md @@ -97,6 +97,7 @@ config....
1
1
0
[{"id": "G0", "claim": "The Javadoc of the new webContextUnify field in SentinelWebMvcConfig could add a `@since 1.7.2` tag.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
alibaba__Sentinel__1344
alibaba/Sentinel
1,344
defect
eed77cafc28e68a291bc0adcd71ceeceffdc8db9
0d9c07cd4612bd650074836169b2c179a02e72bc
Add SLF4J extension
<!-- Thanks for submitting a pull request! Here are some tips for you: 1. Please make sure you have read and understood the contributing guidelines: https://github.com/alibaba/Sentinel/blob/master/CONTRIBUTING.md 2. Please make sure the PR has a corresponding issue. --> ### Describe what this PR does / why we ne...
diff --git a/sentinel-extension/pom.xml b/sentinel-extension/pom.xml index 72bd6d92f9..6d96dcce8f 100755 --- a/sentinel-extension/pom.xml +++ b/sentinel-extension/pom.xml @@ -22,6 +22,7 @@ <module>sentinel-datasource-spring-cloud-config</module> <module>sentinel-datasource-consul</module> <mo...
7
5
1
[{"id": "G0", "claim": "The new logger classes should include the project's license header.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The module could maybe be renamed `sentinel-logging-slf4j` for short, and a new `sentinel-logging` module at...
null
alibaba__Sentinel__1353
alibaba/Sentinel
1,353
defect
87f95adc2e6c5081ad16a21e27de36cf02f605c3
65ff6761162a6473a8cede311c1a2216f469be66
Fixes exit context when request is blocked in springwebmvc adaptor
### Describe what this PR does / why we need it When a request is blocked, the current context hasn't exited, and it may affect other request, since the context is `ThreadLocal` and web server will usually reuse thread. ### Does this pull request fix one issue? Fixes #1350 ### Describe how you did it W...
diff --git a/sentinel-adapter/sentinel-spring-webmvc-adapter/src/main/java/com/alibaba/csp/sentinel/adapter/spring/webmvc/AbstractSentinelInterceptor.java b/sentinel-adapter/sentinel-spring-webmvc-adapter/src/main/java/com/alibaba/csp/sentinel/adapter/spring/webmvc/AbstractSentinelInterceptor.java index eab24e1461..ef7...
1
1
1
[{"id": "G0", "claim": "Calling ContextUtil.exit() before handleBlockException means users may still need the context in the block handler; a try-catch structure here would be better.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
alibaba__Sentinel__1365
alibaba/Sentinel
1,365
defect
be4d058bf83ccb43a6bf763b3374945046f3bbab
84de476fdb5c7908ec398e11eeddc6aac6ec3781
Set default log level to INFO of JDK logging and improve log info and comment in SpiLoader
### Describe what this PR does / why we need it Relate to #411 Improve the log, comment and test case of `SpiLoader`. ### Does this pull request fix one issue? NONE ### Describe how you did it Rename the method `loadDifferentInstanceListSorted` to `loadPrototypeInstanceListSorted` in `SpiLoader`, using...
diff --git a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/log/jul/BaseJulLogger.java b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/log/jul/BaseJulLogger.java index e8a1fe6f30..0490efd299 100644 --- a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/log/jul/BaseJulLogger.java +++ b/sentinel-core/src...
4
3
0
[{"id": "G0", "claim": "The `list` (and likewise `orderWrappers`) should be created with an initial capacity since the size is known, and in-order copying only needs `add(T obj)` instead of positional `add(i, obj)`.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": ...
null
alibaba__Sentinel__1420
alibaba/Sentinel
1,420
defect
a0196b6b00032caa06d440b5b18891ef1fa0a75b
59704f2cd5c7c0c18d33775d1fea8db33d55a490
Refactor the mechanism of recording error (on completed)
<!-- Thanks for submitting a pull request! Here are some tips for you: 1. Please make sure you have read and understood the contributing guidelines: https://github.com/alibaba/Sentinel/blob/master/CONTRIBUTING.md 2. Please make sure the PR has a corresponding issue. --> ### Describe what this PR does / why we ne...
diff --git a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/Entry.java b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/Entry.java index 8740022992..9ec64f3be2 100755 --- a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/Entry.java +++ b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/Entry.java @...
4
2
0
[{"id": "G0", "claim": "With the maxStatisticRt judgement removed, an RT greater than the configured maximum is now recorded with its actual value in MetricBucket (and minRt carries a different meaning than the old maxRt judgement), and the reviewer asked whether the clamp is still needed somewhere to keep RT-based cir...
null
alibaba__Sentinel__1456
alibaba/Sentinel
1,456
defect
ba391097ca908b6ffd733e85a24dfa9c2e677ba7
7476ca2b148aa712e75bb42b7c3bebc6551da8e2
Add OkHttp integration
resolve #1435
diff --git a/sentinel-adapter/pom.xml b/sentinel-adapter/pom.xml index a8ef8810e7..329658161f 100755 --- a/sentinel-adapter/pom.xml +++ b/sentinel-adapter/pom.xml @@ -27,6 +27,7 @@ <module>sentinel-spring-cloud-gateway-adapter</module> <module>sentinel-spring-webmvc-adapter</module> <module>s...
11
10
0
[{"id": "G0", "claim": "The okhttp dependency in sentinel-okhttp-adapter/pom.xml should have scope `provided` instead of compile.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If OkHttp does not require JDK 1.8 or later, the module's java source/target ...
null
alibaba__Sentinel__1493
alibaba/Sentinel
1,493
defect
46076b34aaf62262f91835bd6b2f2ae4ba4ad8f6
dc86fbf122e9093bddae4c24da369f485afcd8cc
Support setting class-level defaultFallback for annotation extension
Resolves #1464
diff --git a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/annotation/SentinelResource.java b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/annotation/SentinelResource.java index 95f6584841..19ff18a252 100644 --- a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/annotation/SentinelResource.java +++ b...
4
3
1
[{"id": "G0", "claim": "GlobalFallback.java is missing the 1999-2020 license header and has an unused blank line that should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new class-level fallback code unconditionally overwrites ...
null
alibaba__Sentinel__1501
alibaba/Sentinel
1,501
defect
5523fd0d427ba0f66c3e110c2de6347edadcd125
eef3d7ef6e14e62b018ab58a0586be1143def088
add unit test for tuple2
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn> <!-- Thanks for submitting a pull request! Here are some tips for you: 1. Please make sure you have read and understood the contributing guidelines: https://github.com/alibaba/Sentinel/blob/master/CONTRIBUTING.md 2. Please make sure the PR has a corresponding ...
diff --git a/sentinel-core/src/test/java/com/alibaba/csp/sentinel/util/function/Tuple2Test.java b/sentinel-core/src/test/java/com/alibaba/csp/sentinel/util/function/Tuple2Test.java new file mode 100644 index 0000000000..c07c47121a --- /dev/null +++ b/sentinel-core/src/test/java/com/alibaba/csp/sentinel/util/function/Tu...
2
2
0
[{"id": "G0", "claim": "The new Tuple2Test.java should carry the standard Apache license header like other Sentinel files.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test should compare the tuple's r1/r2 values directly rather than compari...
null
alibaba__Sentinel__1502
alibaba/Sentinel
1,502
defect
5523fd0d427ba0f66c3e110c2de6347edadcd125
5a7ab2eb95fd74f93d99145489954dda4b3c51df
Support Eureka data source
### Describe what this PR does / why we need it Support Eureka data source ### Does this pull request fix one issue? Fixes #1197
diff --git a/sentinel-extension/pom.xml b/sentinel-extension/pom.xml index 0918a75680..3efadd0cda 100755 --- a/sentinel-extension/pom.xml +++ b/sentinel-extension/pom.xml @@ -22,6 +22,7 @@ <module>sentinel-datasource-spring-cloud-config</module> <module>sentinel-datasource-consul</module> <mo...
4
4
1
[{"id": "G0", "claim": "The new EurekaDataSource.java file should include the Apache license header.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The README sentence 'you need to call Eureka-REST-operations update instance metadata:' is missin...
null
alibaba__Sentinel__1529
alibaba/Sentinel
1,529
defect
bd29e046e1055dee6cdf18794b344450b876c755
39b3cb408f2afb3622826999f5e573231ac2aecd
add unit test for sentinel-cluster-server
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn> ### Special notes for reviews **I am an asoc participant. I will be mainly responsible for the cluster flow control. I will supplement the missing unit tests while reading the relative code.Thanks for your review and help!!!**
diff --git a/sentinel-cluster/sentinel-cluster-server-default/src/main/java/com/alibaba/csp/sentinel/cluster/flow/statistic/metric/ClusterParamMetric.java b/sentinel-cluster/sentinel-cluster-server-default/src/main/java/com/alibaba/csp/sentinel/cluster/flow/statistic/metric/ClusterParamMetric.java index 12710e71af..ab6...
2
2
1
[{"id": "G0", "claim": "The added line `AssertUtil.isTrue(number>0,\"number must be positive\")` in ClusterParamMetric.getTopValues should be reformatted to the project's code style.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new Cluster...
null
alibaba__Sentinel__1555
alibaba/Sentinel
1,555
defect
07df2818fe8cec3b3fd127a85b751b73456d28d7
4bb9590653ed2c4f6e36f874d26b02e7354ff914
Customized handler parser in Dubbo provider filter.
### Describe what this PR does / why we need it I make dubbo provider can customized origin by DubboOrigin interface. Not only application name. ### Does this pull request fix one issue? Fixes #1476 Customized handler parser in Dubbo provider filter. ### Describe how you did it Refer to DubboFallback,I create ...
diff --git a/sentinel-adapter/sentinel-dubbo-adapter/src/main/java/com/alibaba/csp/sentinel/adapter/dubbo/SentinelDubboProviderFilter.java b/sentinel-adapter/sentinel-dubbo-adapter/src/main/java/com/alibaba/csp/sentinel/adapter/dubbo/SentinelDubboProviderFilter.java index 85d566ad99..ff2fb4c63e 100755 --- a/sentinel-ad...
4
3
1
[{"id": "G0", "claim": "The origin returned by the parser may be null and should be checked and replaced with an empty string in SentinelDubboProviderFilter.invoke.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new interface DubboOrigin should ...
null
alibaba__Sentinel__1572
alibaba/Sentinel
1,572
defect
d8714cacebeafd3adb463a58573d5b7940f4fab8
0d7ec4306020e0e2ec905d0fbc7b425144053c8e
Polish Dubbo 2.6.x adapter
<!-- Thanks for submitting a pull request! Here are some tips for you: 1. Please make sure you have read and understood the contributing guidelines: https://github.com/alibaba/Sentinel/blob/master/CONTRIBUTING.md 2. Please make sure the PR has a corresponding issue. --> ### Describe what this PR does / why we ne...
diff --git a/sentinel-adapter/sentinel-dubbo-adapter/README.md b/sentinel-adapter/sentinel-dubbo-adapter/README.md index f72fca45d4..29dc61b79a 100755 --- a/sentinel-adapter/sentinel-dubbo-adapter/README.md +++ b/sentinel-adapter/sentinel-dubbo-adapter/README.md @@ -1,6 +1,6 @@ # Sentinel Dubbo Adapter -> Note: 中文文档...
3
2
0
[{"id": "G0", "claim": "When a provider (or consumer) prefix is configured, the interface resource name should also be appended with that prefix (e.g. by adding a getInterfaceResourceName helper in AbstractDubboFilter, and likewise for the consumer filter), so prefix-based dashboard search covers interface resources to...
null
alibaba__Sentinel__1605
alibaba/Sentinel
1,605
defect
5e1a44366303920589b171cf08c9278bb1671094
2a046ccbf915bcf6e3708e03b160a136596d85a4
Solve the problem of prefix and suffix matching #1109
### Describe what this PR does / why we need it Solve the problem of prefix and suffix matching #1109
diff --git a/sentinel-adapter/sentinel-zuul-adapter/src/main/java/com/alibaba/csp/sentinel/adapter/gateway/zuul/api/route/PrefixRoutePathMatcher.java b/sentinel-adapter/sentinel-zuul-adapter/src/main/java/com/alibaba/csp/sentinel/adapter/gateway/zuul/api/route/PrefixRoutePathMatcher.java index 21e636e589..1bcac236cf 10...
4
4
3
[{"id": "G0", "claim": "pathInfo may be untrimmed or full of spaces, so the `StringUtils.length(pathInfo) > 0` check should use Apache Commons StringUtils `isBlank` instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The embedded com.alibaba.csp...
null
alibaba__Sentinel__1645
alibaba/Sentinel
1,645
defect
a5fe23ad633cfd7e9268429150ba4ebac3f169dc
b2a78be9dfd4cc69783f95e584482d4b703db772
Refactor the flow of request to fix #1638 for circuit breakers
### Describe what this PR does / why we need it Current implementation of circuit breakers will fire a bug when do examination in half-open state. The examination will be interrupted if the detecting request was blocked by other breakers or slots. For details please refer to https://github.com/alibaba/Sentinel/pu...
diff --git a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/CtEntry.java b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/CtEntry.java index d59e52a5ff..9b4917436c 100644 --- a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/CtEntry.java +++ b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/CtEntr...
5
2
1
[{"id": "G0", "claim": "Registering whenComplete on the trial Entry may not be thread-safe, and since other requests blocked by the half-open state can also revert HALF_OPEN back to OPEN, the single request allowed through in half-open state may not be the one that transforms the breaker to CLOSED.", "category": "corre...
null
alibaba__Sentinel__1680
alibaba/Sentinel
1,680
defect
bcbc19c77232ea780326e1301aac0f3ea1ae4a20
20229fc2c9a47c38a0ec07c6609a72b17cdedc0b
Fix bugs and improve default fallback logic of Apache Dubbo adapter
<!-- Thanks for submitting a pull request! Here are some tips for you: 1. Please make sure you have read and understood the contributing guidelines: https://github.com/alibaba/Sentinel/blob/master/CONTRIBUTING.md 2. Please make sure the PR has a corresponding issue. --> ### Describe what this PR does / why we ne...
diff --git a/sentinel-adapter/sentinel-apache-dubbo-adapter/README.md b/sentinel-adapter/sentinel-apache-dubbo-adapter/README.md index f46cf41da7..9d232bef03 100755 --- a/sentinel-adapter/sentinel-apache-dubbo-adapter/README.md +++ b/sentinel-adapter/sentinel-apache-dubbo-adapter/README.md @@ -1,4 +1,4 @@ -# Sentinel A...
2
2
0
[{"id": "G0", "claim": "The error traced on completion should prefer the throwable over the result's exception, since a throwable is the more fatal condition.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The error should be computed once outside the co...
null
alibaba__Sentinel__1783
alibaba/Sentinel
1,783
defect
55a8294ab0afb08c6c048e541cf8a99c49069dac
c72752f233d231e2522fecc063e64ec1462c4796
fix the potential concurrence issue when rules updates
<!-- Thanks for submitting a pull request! Here are some tips for you: 1. Please make sure you have read and understood the contributing guidelines: https://github.com/alibaba/Sentinel/blob/master/CONTRIBUTING.md 2. Please make sure the PR has a corresponding issue. --> ### Describe what this PR does / why we ne...
diff --git a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/slots/block/flow/FlowRuleManager.java b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/slots/block/flow/FlowRuleManager.java index fc733aef1f..6f06e5559a 100755 --- a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/slots/block/flow/FlowRuleMan...
3
3
0
[{"id": "G0", "claim": "The logging statement should log the updated rules instead of the AtomicReference's default toString, so the message shows what was received.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "flowRules should be explicitly initi...
null
alibaba__Sentinel__1896
alibaba/Sentinel
1,896
defect
6719ceef65258aa691e0424967ac9b5865c9ee2b
ce2b0bbafeb6360970887d29b4e162f21af1f5f0
Support HTTPS url for -Dcsp.sentinel.dashboard.server attribute
### Does this pull request fix one issue? Fixes #1840 ### Describe how you did it 1. The involved HTTPS request is only heartbeat transmission, so this PR takes the operation of trusting all certificates 2. Because the dashboard does not have a certificate configured by default, this modification does not invol...
diff --git a/sentinel-transport/sentinel-transport-common/src/main/java/com/alibaba/csp/sentinel/transport/config/TransportConfig.java b/sentinel-transport/sentinel-transport-common/src/main/java/com/alibaba/csp/sentinel/transport/config/TransportConfig.java index 3c0f89d853..ce48a298f3 100755 --- a/sentinel-transport/...
6
6
3
[{"id": "G0", "claim": "The lines added to getConsoleServerList are indented with tabs instead of the project's four-space indent; please fix up the indents.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The protocol should use an enum type to ...
null
alibaba__Sentinel__3114
alibaba/Sentinel
3,114
defect
36deadbed8ae6ccd1b2e5177e94cfe4af933028d
3143bacc023e274efd1337cdf5c7d47b22743fc7
Remove the requirement of carrying args in entry.exit()
### Describe what this PR does / why we need it Remove the requirement of carrying args or batchCount in entry.exit() so that users don't need to carry args or batchCount on Entry exit. ### Does this pull request fix one issue? Fixes #3109 ### Describe how you did it Hold args and batchCount in Entry when ini...
diff --git a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/AsyncEntry.java b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/AsyncEntry.java index 98ccb85a22..b58ec7ba6a 100644 --- a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/AsyncEntry.java +++ b/sentinel-core/src/main/java/com/alibaba/csp/sentin...
1
1
1
[{"id": "G0", "claim": "The new test testEntryExitAutomation does not actually verify the case this pull request addresses (that entry.exit() without args still records the batch successes).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
alibaba__Sentinel__3136
alibaba/Sentinel
3,136
defect
a2e140010cf3611a618ab71f38c86d978bc8c53b
c8563ecc4e03333a921ce8a3d20b7229e28e2489
fix issues/1463 : Make default JUL-based logging asynchronous
### Describe what this PR does / why we need it Make default JUL-based logging asynchronous ### Does this pull request fix one issue? Fixes #1463 ### Describe how you did it use java.util.concurrent.Executor, submit the log task into single thread. ### Describe how to verify it ### Special notes for re...
diff --git a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/log/jul/ConsoleHandler.java b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/log/jul/ConsoleHandler.java index 589b094961..a21bc4029e 100644 --- a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/log/jul/ConsoleHandler.java +++ b/sentinel-core/...
4
3
1
[{"id": "G0", "claim": "The log handlers should follow the Java code guidelines instead of masking the PMD thread-creation rule with @SuppressWarnings, and the executor queue should be bounded, in both ConsoleHandler and DateFileLogHandler.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "int...
null
alibaba__Sentinel__3234
alibaba/Sentinel
3,234
defect
d00798ff8d04c805a0f64772d7802b801e1c86e3
9180a8c1d0b7015615a043f93f2d96595911abbf
feature: Adaptive Flow Control
<!-- Thanks for submitting a pull request! Here are some tips for you: 1. Please make sure you have read and understood the contributing guidelines: https://github.com/alibaba/Sentinel/blob/master/CONTRIBUTING.md 2. Please make sure the PR has a corresponding issue. --> ### Describe what this PR does / why we ne...
diff --git a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/Constants.java b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/Constants.java index 5dc2356870..937fd57943 100755 --- a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/Constants.java +++ b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/...
9
8
4
[{"id": "G0", "claim": "Avoid meaningless names like `rule1` when creating the new FlowRule in updateFlowQpsRule.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The SentinelProperty-related mechanism in AdaptiveRuleManager should be kept consist...
null
alibaba__Sentinel__3251
alibaba/Sentinel
3,251
defect
d00798ff8d04c805a0f64772d7802b801e1c86e3
cf4e8c5f6d3b134e277cd637b7631c1ae6f85199
resource rules (flow/degrade/param/authority) support regex matching
### Describe what this PR does / why we need it Resource rules support matching resource names according to regular rules, allowing users to configure traffic limiting rules or batch configuration. When adding/deleting interfaces, there is no need to manually create/delete rules. 资源规则支持按照正则匹配资源名称,允许用户按照配置兜底限流规则或批量...
diff --git a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/slots/block/AbstractRule.java b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/slots/block/AbstractRule.java index befec3bc1a..d34cb9996e 100755 --- a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/slots/block/AbstractRule.java +++ b/sentinel...
3
3
1
[{"id": "G0", "claim": "The new RuleManager.java is missing its license header and the reviewer asks to prepend one.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks for unit tests for the new RuleManager class.", "category": "test...
null
alibaba__Sentinel__3395
alibaba/Sentinel
3,395
defect
dbd3c06ca7c34918981ad70f1b123824f287adcf
945468f996346b636656c1472cdc7d3fd5bddb8c
fix #3386
<!-- Thanks for submitting a pull request! Here are some tips for you: 1. Please make sure you have read and understood the contributing guidelines: https://github.com/alibaba/Sentinel/blob/master/CONTRIBUTING.md 2. Please make sure the PR has a corresponding issue. --> ### Describe what this PR does / why we ne...
diff --git a/sentinel-demo/sentinel-demo-annotation-spring-aop/src/main/java/com/alibaba/csp/sentinel/demo/annotation/aop/controller/DemoController.java b/sentinel-demo/sentinel-demo-annotation-spring-aop/src/main/java/com/alibaba/csp/sentinel/demo/annotation/aop/controller/DemoController.java index d2ba5a8697..f06d8fc...
3
1
0
[{"id": "G0", "claim": "Adding runtime support for same-name methods introduces unnecessary extra complexity, and since no problem arises as long as names are not duplicated it should perhaps be reconsidered, with the plugin from the issue as a good alternative solution.", "category": "design", "verdict": "opposed", "p...
null
alibaba__Sentinel__3440
alibaba/Sentinel
3,440
defect
b78b09d324fd4bb3eeac1da766a67d321d7cd0fa
ec11cb71858a1525a2a8467e4473bcc23f932f79
fix issue 2485 which occur oom when using async servlet request.
<!-- Thanks for submitting a pull request! Here are some tips for you: 1. Please make sure you have read and understood the contributing guidelines: https://github.com/alibaba/Sentinel/blob/master/CONTRIBUTING.md 2. Please make sure the PR has a corresponding issue. --> ### Describe what this PR does / why we ne...
diff --git a/sentinel-adapter/sentinel-spring-webmvc-adapter/src/main/java/com/alibaba/csp/sentinel/adapter/spring/webmvc/AbstractSentinelInterceptor.java b/sentinel-adapter/sentinel-spring-webmvc-adapter/src/main/java/com/alibaba/csp/sentinel/adapter/spring/webmvc/AbstractSentinelInterceptor.java index ef115e372e..f4d...
2
2
0
[{"id": "G0", "claim": "The commented-out return statement left in the new /async demo endpoint should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The private helper exitContext does more than exit the context, so it should be nam...
null
alibaba__Sentinel__3569
alibaba/Sentinel
3,569
defect
d75a6687b82711f8611ef91f6a56e993d24f57c5
8416ce1aefbbb734dc47e6ce1838b06d6b36b9a4
fix the bugs about http-method-specify in spring-webmvc-v6x and incorrect time unit in dashboard
### Describe what this PR does / why we need it Some bugs have caused problems for users when they were using the product. Fix the issue in the spring-webmvc-v6x-adapter where, after configuring http-method-specify:true, the prefixes for different request methods were not concatenated. And Fix incorrect time unit ...
diff --git a/sentinel-adapter/sentinel-spring-webmvc-v6x-adapter/src/main/java/com/alibaba/csp/sentinel/adapter/spring/webmvc_v6x/SentinelWebInterceptor.java b/sentinel-adapter/sentinel-spring-webmvc-v6x-adapter/src/main/java/com/alibaba/csp/sentinel/adapter/spring/webmvc_v6x/SentinelWebInterceptor.java index 524bd0409...
2
1
0
[{"id": "G0", "claim": "The mseHttpMethodSpecify field is a previously introduced mistake and should not exist — please remove it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "In one of the test classes the sub-thread and main-thread execution sequen...
null
alibaba__Sentinel__730
alibaba/Sentinel
730
defect
1d1878c1dd170e0c5c2e657bed5ed1c6c116eceb
8f3b3c0c4e81c13e9519be19b7d9fef81c5c1ede
[Feature]Add metric extension to Sentinel internal statistics
<!-- Thanks for submitting a pull request! Here are some tips for you: 1. Please make sure you have read and understood the contributing guidelines: https://github.com/alibaba/Sentinel/blob/master/CONTRIBUTING.md 2. Please make sure the PR has a corresponding issue. --> ### Describe what this PR does / why we ne...
diff --git a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/Tracer.java b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/Tracer.java index 8a5cdea7eb..6a967803bb 100755 --- a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/Tracer.java +++ b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/Tracer.ja...
1
1
0
[{"id": "G0", "claim": "The SPI loading should live in a MetricExtensionProvider class based on the project's SpiLoader rather than in the MetricExtensionInit InitFunc using raw ServiceLoader.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
alibaba__Sentinel__747
alibaba/Sentinel
747
defect
845b258b61a7b6dafa1b38f4428b031f85509c15
11dba5e01a3c76583ae9fabeb93567a9a7c1817c
com.alibaba.csp.sentinel.node.StatisticNode#curThreadNum
using the LongAdder rather than AtomicInteger to Provides better performance <!-- Thanks for submitting a pull request! Here are some tips for you: 1. Please make sure you have read and understood the contributing guidelines: https://github.com/alibaba/Sentinel/blob/master/CONTRIBUTING.md 2. Please make sure the ...
diff --git a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/node/StatisticNode.java b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/node/StatisticNode.java index 44d2dc76ce..533d30c6ad 100755 --- a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/node/StatisticNode.java +++ b/sentinel-core/src/main/jav...
4
4
0
[{"id": "G0", "claim": "Benchmark data supporting the claimed performance benefit of replacing AtomicInteger with LongAdder should be provided for the pull request.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test code should be reformatted t...
null
alibaba__Sentinel__804
alibaba/Sentinel
804
defect
e6e27c6faa98e715a33fc348ad4f40ac00a5908d
99991547fde3c4fefe152fef396fe955212b6456
Fix issue62 : Support customized log directory and configuration properties directory
### Does this pull request fix one issue? Resolves #62 ### Describe how you did it Split the configuration into two parts: the **log** and the **sentinel-core**. There are special tool classes to load the respective configurations. The tool class supports reading **specified files, default files, and virtual m...
diff --git a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/config/ConfigLoadUtils.java b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/config/ConfigLoadUtils.java new file mode 100644 index 0000000000..45d3a47113 --- /dev/null +++ b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/config/ConfigLoadUti...
5
4
1
[{"id": "G0", "claim": "The javadoc of the new config-loading class should read `@since 1.7.0` rather than the date '2019-05-31 15:19'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The resolved app name should be printed to the log (RecordLog) r...
null
alibaba__Sentinel__817
alibaba/Sentinel
817
defect
0176f0ead37c907718115062909368e7c749af02
74ffbd8136bdbe259b7d3ecb7fd616fc985c4129
Fix unknown command issue in sentinel-transport-netty-http module
### Describe what this PR does / why we need it If a command whose mapping path and command name has more than one "/", the CommandHandler can't be found in `sentinel-transport-netty-http`, such as: `/cluster/server/flowRules` `FetchClusterFlowRulesCommandHandler` will case: Unknown command "cluster" ### D...
diff --git a/pom.xml b/pom.xml index 944bfc7a16..7abd2cd6a5 100755 --- a/pom.xml +++ b/pom.xml @@ -125,6 +125,11 @@ <artifactId>sentinel-transport-simple-http</artifactId> <version>${project.version}</version> </dependency> + <dependency> + <group...
1
1
0
[{"id": "G0", "claim": "Introducing the sentinel-cluster-server-default dependency makes the test case overly complicated by entangling it with cluster-rule loading logic; instead a test command handler with multiple / in its name should be added via SPI in test scope and tested for.", "category": "design", "verdict": ...
null
alibaba__Sentinel__914
alibaba/Sentinel
914
defect
dca4440d400b0189d87cc3c7790296c3738fe1a2
820ba11a4573c53de233a94277bcd950b703b386
Add the feature of excluding unused URLs in CommonFilter (#287)
<!-- Thanks for submitting a pull request! Here are some tips for you: 1. Please make sure you have read and understood the contributing guidelines: https://github.com/alibaba/Sentinel/blob/master/CONTRIBUTING.md 2. Please make sure the PR has a corresponding issue. --> ### Why we need it We need to support fil...
diff --git a/sentinel-adapter/sentinel-web-servlet/src/main/java/com/alibaba/csp/sentinel/adapter/servlet/CommonFilter.java b/sentinel-adapter/sentinel-web-servlet/src/main/java/com/alibaba/csp/sentinel/adapter/servlet/CommonFilter.java index f24bbe55e2..cc242cd9c0 100755 --- a/sentinel-adapter/sentinel-web-servlet/src...
3
3
1
[{"id": "G0", "claim": "CommonFilter should use `StringUtil.isEmpty(target)` instead of the reference comparison `target != \"\"` when checking whether the URL was excluded.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The document at sentinel-ada...
null
alibaba__Sentinel__979
alibaba/Sentinel
979
defect
56c73698cbb9f3cc4c04e46f4b82450e769a5cb1
ad7e6412cfafca6bfd9efded913f39fcfa44d155
DataSource integration for Consul
<!-- Thanks for submitting a pull request! Here are some tips for you: 1. Please make sure you have read and understood the contributing guidelines: https://github.com/alibaba/Sentinel/blob/master/CONTRIBUTING.md 2. Please make sure the PR has a corresponding issue. --> ### Describe what this PR does / why we ne...
diff --git a/sentinel-extension/pom.xml b/sentinel-extension/pom.xml index 075323a6d4..f7ae6b6a29 100755 --- a/sentinel-extension/pom.xml +++ b/sentinel-extension/pom.xml @@ -19,6 +19,7 @@ <module>sentinel-datasource-redis</module> <module>sentinel-annotation-aspectj</module> <module>sentinel...
5
5
3
[{"id": "G0", "claim": "The junit dependency should carry test scope, as it is a unit-test dependency.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The module should include a README.md with usage instructions, modelled on the redis data-sourc...
null
alibaba__Sentinel__995
alibaba/Sentinel
995
defect
e71d036794b1595b12d5bad2c5f0bd2c7fc76ce6
ec0bfff2dfa452a900e3b18a7ccabfbafbdec29b
Improve RT statistic and exception tracing in Sentinel gRPC adapter
<!-- Thanks for submitting a pull request! Here are some tips for you: 1. Please make sure you have read and understood the contributing guidelines: https://github.com/alibaba/Sentinel/blob/master/CONTRIBUTING.md 2. Please make sure the PR has a corresponding issue. --> ### Describe what this PR does / why we ne...
diff --git a/sentinel-adapter/sentinel-grpc-adapter/README.md b/sentinel-adapter/sentinel-grpc-adapter/README.md index 38d60030b6..4bf6071a45 100755 --- a/sentinel-adapter/sentinel-grpc-adapter/README.md +++ b/sentinel-adapter/sentinel-grpc-adapter/README.md @@ -3,7 +3,6 @@ Sentinel gRPC Adapter provides client and se...
1
1
0
[{"id": "G0", "claim": "In SentinelGrpcServerInterceptor the exception should also be traced wherever the entry is not absent (the RuntimeException catch path in interceptCall did not trace it).", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
alibaba__arthas__1517
alibaba/arthas
1,517
defect
ffc411b6eab9144c4773bd24fac9cd12e2f80fcf
824816f9f6dd83aa9043b8b0a2dc35d1ea0f21e4
Improve arthas stop logic (#1513, #1514)
fix issues: https://github.com/alibaba/arthas/issues/1514 https://github.com/alibaba/arthas/issues/1513 * Improve arthas stop logic, fix #1513 * Clean resources when http port bind failed
diff --git a/agent/src/main/java/com/taobao/arthas/agent334/AgentBootstrap.java b/agent/src/main/java/com/taobao/arthas/agent334/AgentBootstrap.java index 1e1199bca83..d4eda2f991b 100755 --- a/agent/src/main/java/com/taobao/arthas/agent334/AgentBootstrap.java +++ b/agent/src/main/java/com/taobao/arthas/agent334/AgentBo...
4
4
1
[{"id": "G0", "claim": "The locking added around arthasClassLoader is unnecessary and should be simplified: resetArthasClassLoader need not lock at all (locking does not affect the result), and loadOrDefineClassLoader should simply use synchronized(AgentBootstrap.class) with a null check outside the synchronized block....
null
alibaba__arthas__3041
alibaba/arthas
3,041
defect
05962028cee611b4cb076b581611510deb296a44
349c7bf957d09a22e904baa5cb8e83fe9f4528f2
fix bug of enum obj
使用了错误的类型判断,所以导致 enum 枚举走了不该走的逻辑。 在 jdk 高版本 的场景下,会有问题。 ts=2025-07-17 15:58:47.327; [cost=0.03725ms] result=ERROR DATA!!! object class: class java.util.ArrayList, exception class: class java.lang.reflect.InaccessibleObjectException, exception message: Unable to make field private final java.lang.String java.lang.En...
diff --git a/core/src/main/java/com/taobao/arthas/core/view/ObjectView.java b/core/src/main/java/com/taobao/arthas/core/view/ObjectView.java index 3e5391db62..6d7f6bf8cd 100644 --- a/core/src/main/java/com/taobao/arthas/core/view/ObjectView.java +++ b/core/src/main/java/com/taobao/arthas/core/view/ObjectView.java @@ -5...
1
1
1
[{"id": "G0", "claim": "Add a unit test covering the enum-object fix, specified to run only on higher JDK versions.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
alibaba__arthas__3143
alibaba/arthas
3,143
defect
a4dcbb5c189fe91b7ed7b12144169d53c22126c5
5abc8e529960ef56fa3d96816f146f74f8b8ef37
feature(http api): retransfrom命令增加增强的id返回
http api 中, retransfrom命令增加增强的id返回, 用来定点取消某个增强 https://github.com/alibaba/arthas/issues/2421
diff --git a/core/src/main/java/com/taobao/arthas/core/command/klass100/RetransformCommand.java b/core/src/main/java/com/taobao/arthas/core/command/klass100/RetransformCommand.java index fe929db740f..ce952f2fc02 100644 --- a/core/src/main/java/com/taobao/arthas/core/command/klass100/RetransformCommand.java +++ b/core/s...
2
1
0
[{"id": "G0", "claim": "The stream chain collecting the retransform ids is overly complex for what is usually a single-digit number of entries, and the reviewer suggests replacing it with a simple for loop.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "...
null
alibaba__arthas__3147
alibaba/arthas
3,147
defect
bd5e2350ee63a2b110270f8479f2e33c2b52e860
95c09326abd7a9cf7ecfa7738940422407a6f86c
Add object-size-limit GlobalOptions for ObjectView
- Add GlobalOptions object-size-limit for ObjectView output size\n- Make ObjectView/watch/tt default size limit dynamic via options\n- Update options docs and tests\n\nCloses #3146
diff --git a/core/src/main/java/com/taobao/arthas/core/GlobalOptions.java b/core/src/main/java/com/taobao/arthas/core/GlobalOptions.java index f9b9f0df36c..c5faa3a45ff 100644 --- a/core/src/main/java/com/taobao/arthas/core/GlobalOptions.java +++ b/core/src/main/java/com/taobao/arthas/core/GlobalOptions.java @@ -2,6 +2,...
5
4
1
[{"id": "G0", "claim": "WatchView and TimeTunnelView read `GlobalOptions.objectSizeLimit` (and the per-command model limit) without normalizing non-positive values, so a 0/negative `options object-size-limit` makes watch/tt output always hit the too-large path.", "category": "correctness", "verdict": "supported", "prio...
null
alibaba__arthas__3182
alibaba/arthas
3,182
defect
a99996f1337dcc5249e0ba5b132aedc0077cf0e9
659a9b8cb153024d2db22c13f90c892020f0a297
feat(mcp-task): cap concurrent task sessions
## 背景与问题 Arthas MCP Server 在高并发场景下存在以下问题: 1. **Session 泄漏(TTL Bug)**:`InMemoryTaskStore` 的 TTL 清理逻辑对所有状态的 task 统一删除 `cancellationRequests` 条目,而对于尚在执行中 (`WORKING`/`INPUT_REQUIRED`)的 task,后台线程依赖此标志感知取消; 标志被提前删除导致后台线程"认为自己未被取消",继续持有 Arthas session 直至 Arthas 自身 30 分钟超时——即 session 泄漏。 2. **线程池污染**:`...
diff --git a/arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/session/ArthasCommandSessionManager.java b/arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/server/session/ArthasCommandSessionManager.java index 400d48d77d6..949a438a045 100644 --- a/arthas-mcp-server/src/main/java/com/taobao/arthas/mcp/ser...
8
2
2
[{"id": "G0", "claim": "Expired non-terminal tasks get their taskId added to cancellationRequests while the task entry is removed, and no later code path clears the flag (storeTaskResult/updateTaskStatus never clean it), so repeated TTL expiries make cancellationRequests grow without bound; a reclaim mechanism or expli...
null
alibaba__arthas__95
alibaba/arthas
95
defect
99fa83ab651b6632dc9a1f4a8432936dae7c09c7
af45b299a4fbae65d5101c0490b7ab9a347d3bde
增加jvm命令中memory可读性
原输出: ![image](https://user-images.githubusercontent.com/1333657/45801471-8f735380-bce6-11e8-813f-89359b88da90.png) 新输出: ![image](https://user-images.githubusercontent.com/1333657/45801486-9a2de880-bce6-11e8-886e-a420350394ed.png)
diff --git a/core/src/main/java/com/taobao/arthas/core/command/monitor200/JvmCommand.java b/core/src/main/java/com/taobao/arthas/core/command/monitor200/JvmCommand.java index a4018044bf0..540112b2107 100644 --- a/core/src/main/java/com/taobao/arthas/core/command/monitor200/JvmCommand.java +++ b/core/src/main/java/com/t...
2
1
1
[{"id": "G0", "claim": "Add unit tests for the newly added StringUtils.humanReadableByteCount method.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Use text instead of pictures in the pull request description, because pictures are not searchable.", "ca...
null
alibaba__async_simple__104
alibaba/async_simple
104
defect
a0d9b01df5beb2b01a9b68808c93fea49dcb22b8
84e2cbda952d972e5b83047cf9afe38e3c80ae17
[ThreadPool] Run a thread per CPU in SimpleExecutor
<!-- Thank you for your contribution! --> ## Why Now we don't bind threads in ThreadPool to physical CPU cores. So we might not be able to get the expected concurrency. ## What is changing This one should be transparent for users.
diff --git a/async_simple/coro/test/LazyTest.cpp b/async_simple/coro/test/LazyTest.cpp index 6b4c3ef01..2b9387893 100644 --- a/async_simple/coro/test/LazyTest.cpp +++ b/async_simple/coro/test/LazyTest.cpp @@ -417,7 +417,11 @@ TEST_F(LazyTest, testCollectAll) { } TEST_F(LazyTest, testCollectAllBatched) { +#ifndef ND...
6
3
2
[{"id": "G0", "claim": "CPU IDs may not start at 0 or be continuous in container environments.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "_threadNum may exceed the number of available CPUs, causing out-of-range CPU IDs.", "category": "correctnes...
null
alibaba__async_simple__20
alibaba/async_simple
20
defect
929e5030dd96c172011d9f0927c877bfa9bd22bc
b6283ad5ae1f8f75f187dd8c865b85e6b857937f
fix Promise copy assign operator
Signed-off-by: Rain Mark <rain.by.zhou@gmail.com> <!-- Thank you for your contribution! --> ## Why fix for #16 ## What is changing ## Example
diff --git a/async_simple/Promise.h b/async_simple/Promise.h index dbded6d94..9e8504e7f 100644 --- a/async_simple/Promise.h +++ b/async_simple/Promise.h @@ -49,6 +49,9 @@ class Promise { _sharedState->attachPromise(); } Promise& operator=(const Promise& other) { + if (_sharedState) { + ...
3
3
1
[{"id": "G0", "claim": "The copy assignment operator should call `this->~Promise()` instead of duplicating the detach logic, since that is more stable if other logic is later added to `~Promise()`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "...
null
alibaba__async_simple__223
alibaba/async_simple
223
defect
660fa961c8df1f16773a46cfe62112a43e3cdae7
c0097903d4185150c56d46ab4d26fbae5afd6315
allow future<void> and promise<void>
<!-- Thank you for your contribution! --> ## Why Allow `futrue<void>` and `promise<void>` <!-- For example: "Closes #1234" --> <!-- Please give a short summary of the change and the problem this solves. --> ## What is changing ## Example ```cpp TEST_F(FutureTest, testVoidFuture) { Promise<void> p; ...
diff --git a/async_simple/Future.h b/async_simple/Future.h index 45b1f7921..26228696e 100644 --- a/async_simple/Future.h +++ b/async_simple/Future.h @@ -49,13 +49,14 @@ class Promise; template <typename T> class Future { public: - using value_type = T; - Future(FutureState<T>* fs) : _sharedState(fs) { + usi...
5
5
2
[{"id": "G0", "claim": "The IsFuture<void> specialization should not be left as commented-out dead code in Traits.h (initially 'why delete it?', settled as 'delete the block instead of keeping it commented out').", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
alibaba__async_simple__238
alibaba/async_simple
238
defect
7d17e622b157ab8e5d959d1655744b412f05c4b0
95079372715b3ee2ce320247af0d3629f2a39b72
Add the second version of uthread::async
<!-- Thank you for your contribution! --> ## Why <!-- For example: "Closes #1234" --> <!-- Please give a short summary of the change and the problem this solves. --> ## What is changing ## Example
diff --git a/async_simple/uthread/Async.h b/async_simple/uthread/Async.h index cc8fd01dd..a8c6ccae6 100644 --- a/async_simple/uthread/Async.h +++ b/async_simple/uthread/Async.h @@ -80,6 +80,45 @@ requires(policy == Launch::Current) inline void async(F&& f, Executor* ex) { uth.detach(); } +template <class F, cla...
2
2
1
[{"id": "G0", "claim": "Add a test exercising uthread and stackless coroutines calling each other via the returned future (co_await uthread), and supplement the docs with mixed-coroutine mutual-call examples.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"...
null
alibaba__async_simple__25
alibaba/async_simple
25
defect
ebd20aed0771a0d05ae45262c8ac1b7a1c89d8b8
420d46a6dbd288d18ab3dc24c28376a67ec0c133
add support for gcc
<!-- Thank you for your contribution! --> ## Why <!-- For example: "Closes #1234" --> Close #11 <!-- Please give a short summary of the change and the problem this solves. --> add gcc support. ## What is changing ## Example
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5dde05fd5..4210e9524 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,6 +47,10 @@ set(CXX_FLAGS -g ) +if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") + list(APPEND CXX_FLAGS "-fcoroutines") +endif() + set(HEADERS_PATH ${PROJECT_SOURCE_DIR} ${...
7
5
0
[{"id": "G0", "claim": "Removing noexcept from Task's promise operator new/delete is a design step backwards; Task should instead get the exception handling Lazy has, e.g. a get_return_object_on_allocation_failure() method returning a Task/Lazy carrying an allocation-failure exception and/or an exception_ptr member.", ...
null
alibaba__async_simple__257
alibaba/async_simple
257
defect
2f4f0660ae84947a27f6dfba3a74a65989195a32
a7baa4425e452ccd3611876cbbd5933c8ae0ada3
Fix some bug
<!-- Thank you for your contribution! --> ## Why <!-- For example: "Closes #1234" --> <!-- Please give a short summary of the change and the problem this solves. --> ## What is changing ## Example
diff --git a/.github/workflows/conan.yml b/.github/workflows/conan.yml index c0b867c70..38aa369cc 100644 --- a/.github/workflows/conan.yml +++ b/.github/workflows/conan.yml @@ -15,7 +15,7 @@ jobs: # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. # ...
6
4
1
[{"id": "G0", "claim": "Initializing g_current_context to &g_unthreaded_context instead of nullptr removes the only way to detect whether a thread has ever run a uthread, and the check now lives in can_switch_out, so RainMark questions whether the new non-null default can still tell a thread that never ran uthread from...
null
alibaba__async_simple__279
alibaba/async_simple
279
defect
3c078a0af7e23bcb15dc743a5c75ee4e5b2cb118
0ec2c62211aac2d11b0ac397b4d000fe1e351b43
feat: Add Generator
<!-- Thank you for your contribution! --> ## Why https://github.com/alibaba/async_simple/issues/103 TODO: add documents <!-- For example: "Closes #1234" --> <!-- Please give a short summary of the change and the problem this solves. --> ## What is changing ## Example
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3ab5648c0..74a995e3b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -103,6 +103,7 @@ else() -std=c++20 -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated-register + -Wno-mismatched-new-delete -D_FILE_OFFSET_BITS=64 -fPIC...
17
13
7
[{"id": "G0", "claim": "The Generator's design and implementation should follow the standard paper P2502R2 and simply alias std::generator (and std::ranges::elements_of) when the <generator> header is available, instead of being a differently designed component.", "category": "design", "verdict": "supported", "priority...
null
alibaba__async_simple__352
alibaba/async_simple
352
defect
2afd463af1a3e65fa60296e085619718643c8bd4
e09a8228ebe05f082cc7dec858876cf5c46a5267
feat: restore MoveWrapper to maintain forward compatibility; add schedule_move_only interface
feat: restore MoveWrapper to maintain forward compatibility; add schedule_move_only interface <!-- Thank you for your contribution! --> ## Why <!-- For example: "Closes #1234" --> <!-- Please give a short summary of the change and the problem this solves. --> ## What is changing ## Example
diff --git a/async_simple/Executor.h b/async_simple/Executor.h index 14ede1cf5..400d3e449 100644 --- a/async_simple/Executor.h +++ b/async_simple/Executor.h @@ -21,6 +21,8 @@ #include <string> #include <thread> #include "async_simple/experimental/coroutine.h" +#include "async_simple/util/move_only_function.h" +#incl...
2
1
0
[{"id": "G0", "claim": "It would be better to define MoveWrapper as a local class inside schedule_move_only rather than as a public header.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A sentence about the new schedule_move_only interface should also be ...
null
alibaba__async_simple__370
alibaba/async_simple
370
defect
5da9511c617bc9758ed7e076e546b56a599e3826
fa5d36487c89d1aa4048789c5b65710e9ea679eb
[fix] fix compile
<!-- Thank you for your contribution! --> ## Why fix compile error on gcc10.2 or lower version; fix compile error on msvc; <!-- Please give a short summary of the change and the problem this solves. --> ## What is changing add no-unused-value when gcc10.2 or lower; use (std::min) instead of std::mi...
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d956a3e4..1503ac410 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -63,6 +63,7 @@ else() -Wno-deprecated-register -Wno-mismatched-new-delete -Wno-deprecated-declarations + -Wno-unused-value -D_FILE_OFFSET_BITS=64 ...
2
2
0
[{"id": "G0", "claim": "Globally adding -Wno-unused-value to the build flags is overkill and bad practice; instead the underlying unused-value warning should be fixed at its source (e.g. by adding a `(void)Result;` before `co_return` in the demo).", "category": "maintainability", "verdict": "supported", "priority": "P2...
null
alibaba__async_simple__400
alibaba/async_simple
400
defect
866cc3a23503ade1867a268ab147112281fecec8
633aff91a4f8a7fd2fea897dde44f2d5cb863fff
Deprecated setEx, instead by start(cb, ex)
<!-- Thank you for your contribution! --> ## Why deprecated `Lazy::setEx()` instead by Lazy::start(cb,ex), which is may not expected behavior. ## What is changing 1. deprecated `Lazy::setEx()` 2. add `Lazy::start(cb,ex)`, which will start a coroutine and binding it to a new executor without scheduling imme...
diff --git a/async_simple/coro/Lazy.h b/async_simple/coro/Lazy.h index aec997794..65b0a4b71 100644 --- a/async_simple/coro/Lazy.h +++ b/async_simple/coro/Lazy.h @@ -507,9 +507,8 @@ class [[nodiscard]] CORO_ONLY_DESTROY_WHEN_DONE ELIDEABLE_AFTER_AWAIT Lazy // Bind an executor only. Don't re-schedule. // - ...
2
2
0
[{"id": "G0", "claim": "Rename the newly added start(callback, executor) overload of Lazy to directly_start.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Avoid modifying async_simple/uthread/Await.h in this pull request.", "category": "maintainability"...
null
alibaba__async_simple__401
alibaba/async_simple
401
defect
866cc3a23503ade1867a268ab147112281fecec8
a74187401414e72771ab43510609f3c29b3b79d4
Add executor schedule prority hint
<!-- Thank you for your contribution! --> ## Why add schedule hint parameter for schedule/sleep. Default hint is zero. `schedule_hint` is used to guide the scheduling. Low 16 bits are reserved for async-simple, and lowest 4 bits are stand for priority level. larger number indicating lower priority. Default pri...
diff --git a/async_simple/Executor.h b/async_simple/Executor.h index 74912a7bc..64d28236d 100644 --- a/async_simple/Executor.h +++ b/async_simple/Executor.h @@ -91,12 +91,20 @@ class Executor { // `schedule` would return false if schedule failed, which means function // func will not be executed. In case sche...
6
5
4
[{"id": "G0", "claim": "Leave a default implementation for the new schedule overload instead of forcing every Executor implementor to implement it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Change the hint parameter's name to schedule_context and it...
null
alibaba__async_simple__403
alibaba/async_simple
403
defect
af5bcc840e6778d6d323da3a044cebbe250afffc
2d557800b338183edc721f70d146589848c9a879
[breakchange] refact lazy local variable
<!-- Thank you for your contribution! --> ## Why Now, the lazy local is a void*, which is dangerous, and user need manage life-time manually. ## What is changing Refact lazy local. Now we allow user add local variable derived from `LazyLocalBaseImpl`. we aslo support `SimpleLazyLocal` for simple local varia...
diff --git a/async_simple/coro/Lazy.h b/async_simple/coro/Lazy.h index f7d8c53a7..073f2a73d 100644 --- a/async_simple/coro/Lazy.h +++ b/async_simple/coro/Lazy.h @@ -24,6 +24,7 @@ #include "async_simple/Common.h" #include "async_simple/Try.h" #include "async_simple/coro/DetachedCoroutine.h" +#include "async_simple/co...
12
9
4
[{"id": "G0", "claim": "The lazy-local type identification should not use std::type_info; the type value should be the address of a static member variable instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "dynamicCast should be a free-standing funct...
null
alibaba__async_simple__413
alibaba/async_simple
413
defect
abaffa9b82fb28d1f0fd5938a3263f49a7aafb10
929d7099c8cf3974f70d0f05fed6ce0912efc09d
add assert and [[nodiscard]] for spinlock
<!-- Thank you for your contribution! --> ## Why 1. Close #391 2. We found some mistake use of spinlock in [user issue](https://github.com/alibaba/yalantinglibs/issues/881) ## What is changing 1. add cassert header for `Mutex.h` 3. add nodiscard attribute for `SpinLock::coScopedLock()` 4. add assert for...
diff --git a/async_simple/coro/Mutex.h b/async_simple/coro/Mutex.h index 7e4df81b9..5607d2cdf 100644 --- a/async_simple/coro/Mutex.h +++ b/async_simple/coro/Mutex.h @@ -25,6 +25,7 @@ #ifndef ASYNC_SIMPLE_USE_MODULES #include <atomic> +#include <cassert> #include <mutex> #include "async_simple/experimental/corouti...
2
2
1
[{"id": "G0", "claim": "The <atomic> include should be moved inside the ASYNC_SIMPLE_USE_MODULES guard (and headers in general should be listed within that guard).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The author should look into the cm...
null
alibaba__async_simple__51
alibaba/async_simple
51
defect
9125e487d7285700fce74e8790ef757b69cec443
9a74ca6a3ec98fb47282e487706f8e18e8f370d8
[coro] Add FutureAwaiter
Signed-off-by: Rain Mark <rain.by.zhou@gmail.com> <!-- Thank you for your contribution! --> ## Why Close #37 ## What is changing add FutureAwaiter.h and Test source ## Example ```c++ Promise<T> pr; auto fut = pr.getFuture(); // invoke pr.setValue() in callback auto val = co_await FutureAwaiter...
diff --git a/async_simple/coro/FutureAwaiter.h b/async_simple/coro/FutureAwaiter.h new file mode 100644 index 000000000..b7d15cfac --- /dev/null +++ b/async_simple/coro/FutureAwaiter.h @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2022, Alibaba Group Holding Limited; + * + * Licensed under the Apache License, Version 2.0 (the...
3
3
0
[{"id": "G0", "claim": "Add an operator co_await for Future (taking the future by forwarding reference) so users can co_await a Future directly instead of writing co_await std::move(fut).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use std::this_threa...
null
alibaba__async_simple__56
alibaba/async_simple
56
defect
79fe3e5e0406470f5a9a2234174160c4845596e7
d277063f1af1438b3818cb54652e635e6f07fb7d
[Cross platform]remove usleep
## Why Close #54
diff --git a/async_simple/Future.h b/async_simple/Future.h index a4a4df731..2ed1f3e1e 100644 --- a/async_simple/Future.h +++ b/async_simple/Future.h @@ -21,7 +21,6 @@ #include <async_simple/LocalState.h> #include <async_simple/Promise.h> #include <async_simple/Traits.h> -#include <unistd.h> #include <type_traits> ...
1
1
0
[{"id": "G0", "claim": "The waitQueueEmpty sleep in async_simple/util/ThreadPool.h was written as std::chrono::microseconds(10000) instead of the chrono-literal form (10000us) used for every other usleep conversion in this pull request — the 'us' suffix was forgotten here.", "category": "maintainability", "verdict": "s...
null
alibaba__async_simple__66
alibaba/async_simple
66
defect
0144f11fe65ae5bab49be5ee1d012b8c57508ffc
9ab1f4088b2c01a9141994c28056348f93486271
switch-off uthread on not supported platform
Signed-off-by: Rain Mark <rain.by.zhou@gmail.com> <!-- Thank you for your contribution! --> ## Why 1. disable uthread on not supported platform 2. fix SimpleIOExecutorTest failed without libaio 3. no need to link async_simple when uthread disabled, because there is no other cpp source file Close #39 ...
diff --git a/async_simple/CMakeLists.txt b/async_simple/CMakeLists.txt index 4e614770d..92c006dd6 100644 --- a/async_simple/CMakeLists.txt +++ b/async_simple/CMakeLists.txt @@ -1,14 +1,17 @@ file(GLOB coro_src "coro/*.cpp") file(GLOB executors_src "executors/*.cpp") -file(GLOB uthread_src "uthread/internal/*.cc") -...
7
3
0
[{"id": "G0", "claim": "It is unverified whether the pull request's changes work on Mac; the reviewer asked whether they had been tested there.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The if(SRCS) condition guarding the library targets in async_s...
null
alibaba__async_simple__84
alibaba/async_simple
84
defect
b958ff777f19b9ec3019e8e75e671d32459207d5
420d6dc1154bdf29ca2680c1df6b5f3f7efe3e62
Support windows
## Why Closes #72 ## What is changing name conflicts to windows: - _try --> _try_value - Yield() --> Yield_t() not exist functions on windows: - ```__builtin_expect --> #define __builtin_expect(EXP, C) (EXP)``` - ```__attribute__((__always_inline__)) --> #define FL_INLINE inline``` change some compi...
diff --git a/CMakeLists.txt b/CMakeLists.txt index 595666309..82ad77717 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,7 @@ enable_testing() list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) message(STATUS "CMAKE_MODULE_PATH: ${CMAKE_MODULE_PATH}") +find_package(Threads) find_package(Aio) fi...
12
10
1
[{"id": "G0", "claim": "The reviewer guesses that the -fsanitize=address flag is not meaningful on Windows and should not be set when building with MSVC.", "category": "build", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer questions whether collapsing the async_si...
null