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
IDSIA__sacred__595
IDSIA/sacred
595
defect
036763660dd38e3d40b772fd5de4a5f2a460ab19
366d466c3c674dfc8fae3aaa661da0b1ce2e9429
[API change] Making git information gathering enabled by default with GitPython as mandatory dependency.
The plan here is to change the way we gather git information in sources. Currently, the behavior is the following: If the user has GitPython (optional dependency) installed, then go through the sources. If there is a problem when gathering git information about a source file, skip it. Desired behavior: If the use...
diff --git a/docs/collected_information.rst b/docs/collected_information.rst index 404eabcf..86fc0b7a 100644 --- a/docs/collected_information.rst +++ b/docs/collected_information.rst @@ -55,16 +55,18 @@ It can also be inspected using the :ref:`print_dependencies` command. Version Control --------------- -If the exp...
4
3
1
[{"id": "G0", "claim": "Git integration should be on by default (but disableable) with GitPython as a required core dependency, silently deactivated when no repository is detected, and raising an error that stops the run when a repository exists but information gathering fails.", "category": "design", "verdict": "suppo...
null
IDSIA__sacred__686
IDSIA/sacred
686
defect
7df32d28d4b0b0e10240c7679b6d4ee416049fbf
71465bf79475098535a9faadc13647328d1a684b
Google Cloud Storage observer
## Motivation With the advent of the new [Google AI platform (formerly ML-engine)](https://cloud.google.com/ai-platform/) many users will probably like to run experiments on this platform, but due the containerised nature of the platform, the experimenter cannot make use of the existing FileStorageObserver. In order t...
diff --git a/dev-requirements.txt b/dev-requirements.txt index 6f73e455..f1288da0 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -31,5 +31,6 @@ py-cpuinfo==4.0 boto3>=1.9.0 moto>=1.3.13 google-compute-engine>=2.8.0 +google-cloud-storage==1.20.0 pre-commit==1.18.0 boto3>=1.9.0 diff --git a/docs/obs...
5
4
0
[{"id": "G0", "claim": "Remove the shebang and coding lines at the top of tests/test_observers/test_gcs_observer.py, as they are no longer needed in Python 3.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Split the bucket-name test into one tes...
null
IDSIA__sacred__737
IDSIA/sacred
737
defect
c1c19a58332368da5f184e113252b6b0abc8e33b
188d7cac7e882bd3b93fd57223d1c0246588863b
ReadOnlyDict/List pickle compatibility and serialization tests
Makes ReadOnly{Dict,List} picklable. Also adds tests for pickle, json serialization. The main changes to the read-only custom types were adding a `__reduce__` method and simplifying the various `__init__` calls a bit by using using explicit `class.__init__` calls rather than `super().__init__` (h/t @Qwlouse https://...
diff --git a/sacred/config/config_scope.py b/sacred/config/config_scope.py index b35f2d04..3d8da657 100644 --- a/sacred/config/config_scope.py +++ b/sacred/config/config_scope.py @@ -186,8 +186,8 @@ def find_doc_for(ast_entry, body_lines): line_comments = [t.string for t in tokens if t.type == COMMENT] ...
6
5
1
[{"id": "G0", "claim": "The `message` attribute should be hidden better by renaming it to `_message` or `__message`, since it is private and should not be used or modified by users of sacred.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The ...
null
IDSIA__sacred__799
IDSIA/sacred
799
defect
8e30b8d8f84138a166dfc5e2e25f5471bc13ea6a
a1dc84eed18205d126c9b968cb8ccd116a297b62
Update test pipelines.
I updated ubuntu to the latest LTS not sure about OS and Windows versions.
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9071b8d2..883fde80 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -3,85 +3,105 @@ jobs: - job: test strategy: matrix: - Windows py35: - IMAGE_NAME: 'vs2017-win2016' - PYTHON_VERSION: '3.5' - TOX_CMD: 'py35' ...
4
3
1
[{"id": "G0", "claim": "The pipeline config should use rolling image aliases such as macOS-latest and windows-latest (and a newer Windows image) instead of pinned OS versions, to avoid frequent manual updates of the pipeline config.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pr...
null
IDSIA__sacred__806
IDSIA/sacred
806
defect
89d8bb1d71b1732bf9735752524db71af9fe349c
5f54ac265e4f07f7f4b56ba6be74ebef5d87d9ed
FileStorageObserver: additional flags for saving sources and copying resources
At the moment `FileStorageObserver` will copy files into `_resources` even if they're already present elsewhere in `basedir/`. My particular use case is when resuming model training, in which the model's weights are saved as an artifact of one run, and used as a resource in a subsequent run. This isn't necessarily d...
diff --git a/docs/observers.rst b/docs/observers.rst index 67c45361..3291f5d1 100644 --- a/docs/observers.rst +++ b/docs/observers.rst @@ -288,6 +288,13 @@ The FileStorageObserver also stores a snapshot of the source-code in a separate Their filenames are stored in the ``run.json`` file such that the corresponding fi...
4
2
0
[{"id": "G0", "claim": "The new keyword argument should be named something like save_sources, without the should prefix.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new keyword argument should be named copy_artifacts instead of no_duplicate, becau...
null
IDSIA__sacred__868
IDSIA/sacred
868
defect
df6834b8e39dab1bdba413b09a0814a5b9c6d950
96a4e20cc5bcf73da3363bba9b3abba67efe84f0
Allow config scopes with type annotations.
Allows the usage of type hints in config scopes. Closes #818. Notes: - A new test is added for this behaviour. - Instead of fixing the regexp, it uses `ast` and `tokenize` modules. With `ast` we find the first line with code in the function body. As comments are removed in the AST representation, we then generate ...
diff --git a/.gitignore b/.gitignore index 213dd8ab..815a5453 100644 --- a/.gitignore +++ b/.gitignore @@ -93,4 +93,5 @@ com_crashlytics_export_strings.xml # GEdit temporary files *~ +/.pytest_cache/ pip-wheel-metadata/ diff --git a/sacred/config/config_scope.py b/sacred/config/config_scope.py index 631aae29..35c3...
4
4
4
[{"id": "G0", "claim": "The new implementation does not work: running the testcases fails with `NameError: name 'generate_tokens' is not defined` because the change calls generate_tokens without importing it.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "cl...
null
IDSIA__sacred__928
IDSIA/sacred
928
defect
cd90ee1f55df04e2bb55d2e3b6badcd7c2a30bfe
e3dbea0f40615b1fab6d8cc867e474c34837106c
Fixes for numpy 2.0
I also fixed the s3_observer tests to make the tests pass
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f3eab0e9..33f9304a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,6 +2,7 @@ name: Tests on: - push + - pull_request jobs: pytest: diff --git a/sacred/config/custom_containers.py b/sacred/config/custom...
3
3
2
[{"id": "G0", "claim": "The rewritten is_different check is not behaviorally identical to the previous np.array_equal-based check (numpy 2.0 issue 27271), so comparisons involving values that are not both ndarrays can change result.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introd...
null
IENT__YUView__351
IENT/YUView
351
defect
6147ad8948cdb3d6b53fdd4f8ba26d6ca712428f
26308b3b2f02826f887e52a026bbdaae0511c982
Added missing funcitonality for statistic parser.
Can now display values in zoom box: - Values of affine motion vectors - Motion vectors for geo partitioning mode
diff --git a/YUViewLib/src/statistics/FrameTypeData.cpp b/YUViewLib/src/statistics/FrameTypeData.cpp index 6a7efdae7..52c88bec5 100644 --- a/YUViewLib/src/statistics/FrameTypeData.cpp +++ b/YUViewLib/src/statistics/FrameTypeData.cpp @@ -127,7 +127,7 @@ void FrameTypeData::addPolygonVector(const Polygon &points, int vec...
3
3
2
[{"id": "G0", "claim": "StatisticsData should not include or use Qt classes: the QtGui/QPolygon include the PR adds (and the pre-existing QPainterPath remnant) should be removed so the statistics part stays Qt-free and reusable in other projects.", "category": "design", "verdict": "supported", "priority": "P1", "scope"...
null
INRIA__spoon__4358
INRIA/spoon
4,358
defect
dbb18412f05989de8dfc130f8d18b2dc6d781fb1
5987064d0968773d3e920b69fc2c6539782c2622
fix #4357: spoon doesn't handle paths containinig spaces correctly
Fix #4357 please review and apply
diff --git a/src/main/java/spoon/support/StandardEnvironment.java b/src/main/java/spoon/support/StandardEnvironment.java index 30008b2f8e7..ce76b43117d 100644 --- a/src/main/java/spoon/support/StandardEnvironment.java +++ b/src/main/java/spoon/support/StandardEnvironment.java @@ -43,7 +43,9 @@ import java.net.Malforme...
3
1
1
[{"id": "G0", "claim": "The bugfix must include a test case demonstrating that the fix handles paths containing spaces, as required by the contributing guidelines.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "URLDecoder.decode may be less robust than ...
null
INRIA__spoon__5070
INRIA/spoon
5,070
defect
67a2e87b079b1dc6f444ff3b4c9c9352c5129cee
c44e491acf3eea908bf84ddd16c112c262106e98
fix: Remove escaping of ' in a CtLiteral<String>
Currently, spoon escapes every `'` in a `CtLiteral<String>` without a source position. In a `string `escaping `'` is not necessary.
diff --git a/src/main/java/spoon/reflect/visitor/LiteralHelper.java b/src/main/java/spoon/reflect/visitor/LiteralHelper.java index 103893c2d45..9e4b2df2875 100644 --- a/src/main/java/spoon/reflect/visitor/LiteralHelper.java +++ b/src/main/java/spoon/reflect/visitor/LiteralHelper.java @@ -92,7 +92,7 @@ public static <T>...
5
5
1
[{"id": "G0", "claim": "The backwards-compatibility wrapper appendCharLiteral(StringBuilder, Character, boolean) triggers a constant value warning, and fixing it with another overload would needlessly increase the size of the class.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "in...
null
INRIA__spoon__5237
INRIA/spoon
5,237
defect
67208c1d7a225f086c719bc5cbff73d4deeabfdb
8734441f2ef8eacbceee79af8ef10b3707ce08ee
review: fix: Refactor code to fix runtime exception caused by package name with CtType.INNERTTYPE_SEPARATOR
The check is 17 years old and $ is allowed in packages. Interesting that we had no bug reports earlier. The check for the `CtType.INNERTTYPE_SEPARATOR` that caused runtime exceptions has been removed so that valid packages with `CtType.INNERTTYPE_SEPARATOR` can be found. A new test has been added to verify that a...
diff --git a/src/main/java/spoon/reflect/factory/PackageFactory.java b/src/main/java/spoon/reflect/factory/PackageFactory.java index c918e78a02e..a1984c6c75d 100644 --- a/src/main/java/spoon/reflect/factory/PackageFactory.java +++ b/src/main/java/spoon/reflect/factory/PackageFactory.java @@ -16,7 +16,6 @@ import spoon...
1
1
0
[{"id": "G0", "claim": "The formatting of the whole PackageFactoryTest.java file is a bit broken (a random mix of spaces and tabs).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
INRIA__spoon__5291
INRIA/spoon
5,291
defect
a6b3d45d718acfcdaf010033e4fa09df4066102b
4be906dfe1097219d6368d4e08e571843adb842e
Fix bugs in `VisitorPartialEvaluator`, namely with support for `char` and preservation of types
There are multiple issues with `VisitorPartialEvaluator`: - [x] should not crash with `char`-literals #5273 - [x] the type should be set for emitted `CtLiterals` #5289 - [x] should not crash with unsupported `CtUnaryOperator` (instead yield the original code without simplifying it) - [x] the `isLiteralType` method...
diff --git a/src/main/java/spoon/support/reflect/eval/VisitorPartialEvaluator.java b/src/main/java/spoon/support/reflect/eval/VisitorPartialEvaluator.java index 3dc64527839..5174adc0a7e 100644 --- a/src/main/java/spoon/support/reflect/eval/VisitorPartialEvaluator.java +++ b/src/main/java/spoon/support/reflect/eval/Visi...
2
2
0
[{"id": "G0", "claim": "Prefer the short-circuiting boolean operators && and || to & and | for the Boolean operands of BITAND and BITOR in visitCtBinaryOperator.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G7", "claim": "Integer division by zero might behav...
null
INRIA__spoon__5406
INRIA/spoon
5,406
defect
dae341af0076bf3aaed867af7539e3f2316d9416
ea9a0adfd6648bdc9a68b2ca7c2ceffb2229f8ff
review: fix: Use CtSuperAccess when implicitly accessing superclass field
Closes #5221
diff --git a/spoon-dataflow/src/main/java/fr/inria/spoon/dataflow/utils/CommonUtils.java b/spoon-dataflow/src/main/java/fr/inria/spoon/dataflow/utils/CommonUtils.java index ded72f98f9d..bbd47743ef7 100644 --- a/spoon-dataflow/src/main/java/fr/inria/spoon/dataflow/utils/CommonUtils.java +++ b/spoon-dataflow/src/main/jav...
1
1
1
[{"id": "G0", "claim": "The owning type for the implicit field access should probably be something other than singleNameReference.actualReceiverType.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
INRIA__spoon__5445
INRIA/spoon
5,445
defect
0d86d677ed21be4451783306a21e3295fdbda1bc
505b540288e0d7ed01f30ce46b1a2b2e72eb6563
review: fix: replace Infinity, NaN in reflection model with divisions
Fixes #5429. (-)Infinity and NaN are no valid literals, but the reflection model previously built such literals, causing exceptions when printing them. By representing those values by suitable divisions, we can still represent them in the model (as it is done in e.g. `java.lang.Double`). ![df6ae1dfe89a6f3e](ht...
diff --git a/src/main/java/spoon/support/visitor/java/JavaReflectionTreeBuilder.java b/src/main/java/spoon/support/visitor/java/JavaReflectionTreeBuilder.java index 1a1ce2a4cc8..0d9c32c4233 100644 --- a/src/main/java/spoon/support/visitor/java/JavaReflectionTreeBuilder.java +++ b/src/main/java/spoon/support/visitor/jav...
1
1
0
[{"id": "G0", "claim": "The inline Java source block in test() should be indented consistently (with tab indentation like the surrounding code) instead of the over-indented alignment it has.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
INRIA__spoon__5744
INRIA/spoon
5,744
defect
4b4936c3aa5aa955c22e5853ce8129d6240b1edd
a1b2d3fe38e257db01052e3901150926a654695b
review: refactor: rework CtGenerationTest to minimize unrelated diff
During the work on Java 21 features and #5674 we noticed that `CtGenerationTest` always generates diffs for the license headers and file endings. This PR aims to clean up the code to allow generating the exactly same content, especially - license headers with `*` prefixes - newlines at the end of the file - inclu...
diff --git a/pom.xml b/pom.xml index 853deaf45a1..908e9d290a1 100644 --- a/pom.xml +++ b/pom.xml @@ -211,6 +211,7 @@ <consoleOutput>true</consoleOutput> <!-- we exclude the generated files, see CtGenerationTest --> <excludes>spoon/support/visitor/clone/CloneBuilder.java</excludes> + ...
3
3
1
[{"id": "G0", "claim": "The regenerated ModelRoleHandlers.java came out wrong: an extra blank line appeared at the end of the class and the license header/private-constructor block moved to the bottom of the file.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"...
null
INRIA__spoon__5747
INRIA/spoon
5,747
defect
4b4936c3aa5aa955c22e5853ce8129d6240b1edd
db143b56896f24de3ba2f5d70db3389a8dd42e73
review: feat: Add newline at file end and refactor type calculation
A newline has been added to the end of each file by convention. Additionally, the calculate method in DefaultJavaPrettyPrinter has been refactored. The type calculation logic is now cleaner and easier to understand, as unnecessary conditional checks have been removed.
diff --git a/src/main/java/spoon/reflect/visitor/DefaultJavaPrettyPrinter.java b/src/main/java/spoon/reflect/visitor/DefaultJavaPrettyPrinter.java index 969e27bce8b..19be75b642c 100644 --- a/src/main/java/spoon/reflect/visitor/DefaultJavaPrettyPrinter.java +++ b/src/main/java/spoon/reflect/visitor/DefaultJavaPrettyPrin...
2
1
0
[{"id": "G0", "claim": "The test's concatenated code string should have a space before the '+' operator (apply the reviewer's formatting suggestion).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer questions whether the newly added t...
null
INRIA__spoon__5848
INRIA/spoon
5,848
defect
86d735f032baf559c1f2bb06bd0ada3d3a386049
1c7baeb953929040a4c003a556a644c4d4d800e4
review: feature: Unnamed Variables & Patterns (JEP 456)
Implementation of [JEP 456](https://openjdk.org/jeps/456). It mainly consists of two features: 1. Unnamed patterns (`_`) 2. Unnamed (local) variables (`Type _`) Fixes #5722.
diff --git a/doc/code_elements.md b/doc/code_elements.md index 35833fb1d57..13427ccaa61 100644 --- a/doc/code_elements.md +++ b/doc/code_elements.md @@ -474,6 +474,19 @@ int x = switch(i) { // <-- switch expression int x=3; --x; // <-- unary -- +``` +### CtUnnamedPattern +[(javadoc)](http://spoon.gforge.inr...
11
10
0
[{"id": "G0", "claim": "The javadoc for CtParameter.isUnnamed should clarify that method parameters cannot be unnamed and the method is there for lambda parameters.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pretty printer should not refer...
null
INRIA__spoon__5981
INRIA/spoon
5,981
defect
5e77e89f54f1f3162076cb74718764de0e99a58b
1b7c9fd26cbae1ecc660bd3330e0d1b95b60d9e5
fix: Duplicated class simple name in import section when use inline c…
fix: Duplicated class simple name in import section when use inline class qualified name (#4783)
diff --git a/src/main/java/spoon/support/compiler/jdt/ReferenceBuilder.java b/src/main/java/spoon/support/compiler/jdt/ReferenceBuilder.java index 7b6c9ef9565..efbc68dd0ec 100644 --- a/src/main/java/spoon/support/compiler/jdt/ReferenceBuilder.java +++ b/src/main/java/spoon/support/compiler/jdt/ReferenceBuilder.java @@ ...
4
4
0
[{"id": "G0", "claim": "The blank line at the start of the getPackageName body should be removed (the comment carries an empty suggestion block over that line).", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "getPackageName can return null but its signatur...
null
INRIA__spoon__6043
INRIA/spoon
6,043
defect
5c5424cafc76cc6380e10bdb7e8dd1306d43ee83
dad29a482135c1ba38169d7ddc4b504237ff7b9b
review: feat: read jvm version for default compliance level
Maybe the current JVM version is a better default compared to 8 or?
diff --git a/src/main/java/spoon/support/StandardEnvironment.java b/src/main/java/spoon/support/StandardEnvironment.java index cf7c3e31ce2..1e5fe2b1c1e 100644 --- a/src/main/java/spoon/support/StandardEnvironment.java +++ b/src/main/java/spoon/support/StandardEnvironment.java @@ -65,7 +65,15 @@ public class StandardEnv...
4
2
0
[{"id": "G0", "claim": "The default compliance level change should be highlighted in the next release notes.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "No exception handling is needed around the JVM version code, since it works on Java 10 onwa...
null
INRIA__spoon__6226
INRIA/spoon
6,226
defect
41672875cb0c8790f3f1d9de68c9d9b456b77318
140db5a4b84c3fca628e06f8c8d16867ef4d753b
chore: update jdt.core to v3.41.0
See https://github.com/INRIA/spoon/pull/6220 for context and discussion cc @monperrus @I-Al-Istannen @algomaster99 @frankreyesgarcia
diff --git a/pom.xml b/pom.xml index 492f98c7e49..544d037a7fe 100644 --- a/pom.xml +++ b/pom.xml @@ -34,7 +34,7 @@ <dependency> <groupId>org.eclipse.jdt</groupId> <artifactId>org.eclipse.jdt.core</artifactId> - <version>3.40.0</version> + <version>3.41.0</version> <exclusions> ...
1
1
0
[{"id": "G0", "claim": "The launcher's Java compliance level should be set (to 21, or at least 17) instead of being left unset, since otherwise the tests just rely on JDT being tolerant, which might be wrong in the first place and might break again on the next update.", "category": "design", "verdict": "supported", "pr...
null
INRIA__spoon__6560
INRIA/spoon
6,560
defect
a2b3c433c68d6f9e98dd691c29d6804d1a1c3fcf
3914fea83732538c5c423e63aebaeace513a9449
Fix: ordering of implicit fields generated from record components
This PR preserves the same ordering for implicit fields generated from record components as the one of record components. Implicit type members are inserted at index 0. When adding several record components, the implicit fields generated from these record components end up being in the reverse order. This PR fixes t...
diff --git a/src/main/java/spoon/support/reflect/declaration/CtRecordImpl.java b/src/main/java/spoon/support/reflect/declaration/CtRecordImpl.java index 4ccb8749a68..84d7764317f 100644 --- a/src/main/java/spoon/support/reflect/declaration/CtRecordImpl.java +++ b/src/main/java/spoon/support/reflect/declaration/CtRecordI...
1
1
0
[{"id": "G0", "claim": "The new test should build the record fluently and, at least, assert the implicit field names with AssertJ's containsExactly instead of indexed assertEquals calls, for cleaner code and much better failure messages.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope"...
null
INRIA__spoon__6648
INRIA/spoon
6,648
defect
f0f4a0b8531a932b3df82c9f133550b4fe3c1af9
94bdf82fdd31f3f2320484b348986120db2f3b32
Fix: Anonymous class names
This PR provides a fix for: - inner class names that contains the $ sign, - classes with 10 or more inner classes. Both cases are dealt with by fixing method https://github.com/INRIA/spoon/blob/2ecfe9d52519ad52263ea0d2534fa07134fe1966/src/main/java/spoon/support/compiler/jdt/JDTTreeBuilderHelper.java#L106 An ...
diff --git a/src/main/java/spoon/support/compiler/jdt/JDTTreeBuilderHelper.java b/src/main/java/spoon/support/compiler/jdt/JDTTreeBuilderHelper.java index 472a7dd00bf..f85a89b354e 100644 --- a/src/main/java/spoon/support/compiler/jdt/JDTTreeBuilderHelper.java +++ b/src/main/java/spoon/support/compiler/jdt/JDTTreeBuilde...
1
1
0
[{"id": "G0", "claim": "computeAnonymousName would be more straightforward if it were passed the name of the enclosing class (or just its length), or better the binding itself, so that the anonymous name is obtained by stripping the enclosing class's constant pool name and the '$' instead of reverse-scanning the traili...
null
ISibboI__evalexpr__101
ISibboI/evalexpr
101
defect
c514410323ea75225f4cbb1bedf89a95d1536516
9d5ef651aee2407d0c62f707b95a8e82c474167e
Add support for is_nan and other floating-point functions
Add support for is_nan, is_finite, and other floating-point testing functions
diff --git a/README.md b/README.md index f493b02..e4c535b 100644 --- a/README.md +++ b/README.md @@ -345,6 +345,11 @@ This crate offers a set of builtin functions. | `round` | 1 | Numeric | Returns the nearest integer to a number. Rounds half-way cases away from 0.0 | | `ceil...
3
3
2
[{"id": "G0", "claim": "The new floating-point testing functions (is_nan, is_finite, is_infinite, is_normal) should be placed under the `math::` prefix since they relate to the existing math functions.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `...
null
ISibboI__evalexpr__113
ISibboI/evalexpr
113
defect
db191e167450ec04fa8983468731ec15413b3475
927e0e4075d6e2664a465f0d640dd490ab089028
Replaces `f64` and `i64` with `FloatType` and `IntType`.
Replaces use of `f64` and `i64` literal syntax in favour of custom `FloatType` and `IntType`. This is done to make changing `FloatType`'s and `IntType`'s definitions more seamless. As one might do in relation to issues like #111 .
diff --git a/src/function/builtin.rs b/src/function/builtin.rs index d1e4fbd..bb06453 100644 --- a/src/function/builtin.rs +++ b/src/function/builtin.rs @@ -23,7 +23,7 @@ macro_rules! simple_math { }; } -fn float_is(func: fn(f64) -> bool) -> Option<Function> { +fn float_is(func: fn(FloatType) -> bool) -> Option...
1
1
0
[{"id": "G0", "claim": "The code should still be formatted (e.g. with rustfmt) before the pull request is merged.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
ISibboI__evalexpr__127
ISibboI/evalexpr
127
defect
f2263bd21853892fa3cebecdde1304998b27ba6f
76d480c465fe3725dfb5f0fa0c68e5ed6b7135d5
`Some` function to check if tuple contains value
Issue #126 Provides built in function `some` to provide support for checking if tuple contains value.
diff --git a/src/function/builtin.rs b/src/function/builtin.rs index bb06453..1ec2bb6 100644 --- a/src/function/builtin.rs +++ b/src/function/builtin.rs @@ -148,6 +148,25 @@ pub fn builtin_function(identifier: &str) -> Option<Function> { let result_index = if arguments[0].as_boolean()? { 1 } else { 2 }; ...
2
2
2
[{"id": "G0", "claim": "Instead of silently returning false, the `some` function should return `Err(EvalexprError::expected_tuple(wrong_first_value))` when the first argument is not a tuple and `Err(EvalexprError::expected_tuple(wrong_second_value))` when the second argument of `contains_any` is not a tuple.", "categor...
null
ISibboI__evalexpr__131
ISibboI/evalexpr
131
defect
f527c941d2b3e08264abd1927d26a2982cbad3ee
a314c6019d3e8f0aa9987957ee4699d2046ca9d5
add hex integer literal parsing support
This PR implements parsing integer literals as both decimal and hex (`1234` and `0x1234`). ~~It adds `num_traits` as dependency, but that's a very light one.~~
diff --git a/Cargo.toml b/Cargo.toml index c497c77..f4353dd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,6 +27,7 @@ regex = { version = "1.5.5", optional = true} serde = { version = "1.0.133", optional = true} serde_derive = { version = "1.0.133", optional = true} rand = { version = "0.8.5", optional = true} +num...
3
3
2
[{"id": "G0", "claim": "Parse decimal/hex integer literals without the num-traits dependency, by checking for a \"0x\" prefix and calling IntType::from_str_radix instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new hex test should also cover n...
null
ISibboI__evalexpr__189
ISibboI/evalexpr
189
defect
e92667e8e8c37c66540e3107643fb4ac66f92d2e
780457253c5e53853fa3dfaf48491998860a343c
Added function remove_value to HashMapContext
Implements a new method to remove variables from context maps. Returns the removed Value if present, or None otherwise. Includes corresponding unit test for verification. ------------- * [x] I publish this contribution under the [MIT License](https://opensource.org/license/mit).
diff --git a/README.md b/README.md index 828ab71..f2e9c4e 100644 --- a/README.md +++ b/README.md @@ -329,6 +329,10 @@ assert_eq!(eval_with_context_mut("a = 10; b = 1.0;", &mut context), Ok(().into() // ...and read the value in code like this assert_eq!(context.get_value("a"), Some(&Value::from_int(10))); assert_eq!(...
5
4
1
[{"id": "G0", "claim": "The pull request's CI tests do not pass and the author is asked to make them pass.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Coverage requires that the default remove_value body be tested as well; the author asks whether...
null
ISibboI__evalexpr__38
ISibboI/evalexpr
38
defect
725472ef96a0ba7ada369b3d8822269543d6967e
bf2bd5199624a74c63810f0f9d98f54dab6e8c36
String operators and builtin functions
I'm planning a project which will have both rules (i.e. boolean expressions) and transformations (i.e. string expressions) in the same configuration entry, so it makes sense to use a library with support for both to get a unified syntax for these expressions. Evalexpr almost fills this description, but would need a bit...
diff --git a/Cargo.toml b/Cargo.toml index a0fed32..91a63f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,6 +16,7 @@ name = "evalexpr" path = "src/lib.rs" [dependencies] +regex = { version = "1" } serde = { version = "1", optional = true} serde_derive = { version = "1", optional = true} diff --git a/README.md...
8
7
1
[{"id": "G0", "claim": "The builtin string functions should be put into a `str::` namespace (prefixed with `str::`) so variables and functions have more of a context.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The builtin function names should stay a...
null
ISibboI__evalexpr__79
ISibboI/evalexpr
79
defect
1bed7e1f9f5081d3dbc92a146b1d68b5c4072883
8491bc61fcb203da56b88a240995ca305d1cfd06
Add common math functions
Hi, I thought it'd be useful to have the basic math functions from the standard library available. All the added functions still need to be documented but I'll wait for feedback before doing that. Since this might could beak existing programs using this crate, perhaps these new functions should be behind a featu...
diff --git a/src/function/builtin.rs b/src/function/builtin.rs index fa776d4..5ea0aac 100644 --- a/src/function/builtin.rs +++ b/src/function/builtin.rs @@ -6,8 +6,49 @@ use crate::{ EvalexprError, Function, Value, ValueType, }; +macro_rules! simple_math { + ($func:ident) => { + Some(Function::new(|ar...
1
1
1
[{"id": "G0", "claim": "The new math functions should be prefixed with `math::` (e.g. `math::ln`), in line with the string functions, and these functions need documentation.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
IanVS__eslint-nibble__108
IanVS/eslint-nibble
108
defect
eb5545b3ebb1e6063f6b8b3c212a3d4467ae6293
83c50124472533e6e5ee79b1f50aad665fba51d0
Pull in pull in summary line generation
Fixes https://github.com/IanVS/eslint-nibble/issues/107 # Background [`eslint-summary`](https://github.com/davidwaterston/eslint-summary) provides the summary line for `eslint-nibble`. ![image](https://user-images.githubusercontent.com/220755/230822681-530510d9-caee-465e-b714-d5af3e9a0ae7.png) While `eslint-ni...
diff --git a/README.md b/README.md index dc614a4..0408331 100644 --- a/README.md +++ b/README.md @@ -62,8 +62,7 @@ npm run nibble ``` Eslint-nibble will then display a rundown of the rules that are failing and a summary of the results, -using [eslint-stats](https://github.com/ganimomer/eslint-stats) -and [eslint-...
2
1
1
[{"id": "G0", "claim": "src/summary.js is taken from the eslint-summary package, so it should carry a comment saying so, with a link to its GitHub repo and a copy of its license.", "category": "documentation", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The cli output assert...
null
IanVS__eslint-nibble__28
IanVS/eslint-nibble
28
defect
cfecc97188a1a9f698a36af1be5b9926e32b2313
c93d15040a4d8ea712635ade9f41828e45893274
Adding support for custom eslint config files
Relates to https://github.com/IanVS/eslint-nibble/issues/27
diff --git a/src/cli.js b/src/cli.js index 6f5be64..c9fad73 100644 --- a/src/cli.js +++ b/src/cli.js @@ -12,13 +12,15 @@ let cli = { execute: function (args) { let currentOptions, files, - extensions; + extensions, + config; // Parse options try { currentOptions ...
3
2
2
[{"id": "G0", "claim": "The code should consider and handle the case where no custom config is specified, since `config` will be `undefined` in that case (and should be verified).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "`setExtensions` should...
null
Icinga__icinga2__10077
Icinga/icinga2
10,077
defect
b6b2f720552e50038fb4a59799d683306dab094b
310efe0b7ddb92c1f29681bf95bc8e3a41e463a4
Reject infinite performance data values
Some fault monitoring plugins may return "inf" or "-inf" as values due to a failure to initialize or other errors. This patch introduces a check on whether the parse value is infinite (or negative infinite) and rejects the data point if that is the case. The reasoning here is: There is no possible way a value of ...
diff --git a/lib/base/perfdatavalue.cpp b/lib/base/perfdatavalue.cpp index aca8c0f3ab2..530a3302b50 100644 --- a/lib/base/perfdatavalue.cpp +++ b/lib/base/perfdatavalue.cpp @@ -259,6 +259,10 @@ PerfdataValue::Ptr PerfdataValue::Parse(const String& perfdata) double value = Convert::ToDouble(tokens[0].SubStr(0, pos))...
1
1
0
[{"id": "G0", "claim": "The manual `value == INFINITY || value == -INFINITY` check should use the standard functions such as std::isinf(), and std::isfinite() or std::isnormal() might be even better suited as they exclude more edge cases (e.g. possibly subnormal numbers).", "category": "maintainability", "verdict": "su...
null
Icinga__icinga2__10432
Icinga/icinga2
10,432
defect
33824c2acc31aedb765f555540bd6e513ef7a9a4
e09bef3971aa2f27f929977f2d6a5ee04359dc85
Fix PerfdataValue Counter Parsing
Ensure that the counter unit of measurement, "c", is parsed correctly for performance data values again. A prior refactoring in 720a88c29a489cec91815af49755413202802d7a changed the parsing logic, resulting in an incorrect behavior for counter units. By passing the raw input into the l_CsUoMs map first, the "c" UoM i...
diff --git a/lib/base/perfdatavalue.cpp b/lib/base/perfdatavalue.cpp index 217167e01e9..5c7c7622fc7 100644 --- a/lib/base/perfdatavalue.cpp +++ b/lib/base/perfdatavalue.cpp @@ -270,6 +270,11 @@ PerfdataValue::Ptr PerfdataValue::Parse(const String& perfdata) if (pos != String::NPos) unit = tokens[0].SubStr(pos, Str...
1
1
0
[{"id": "G0", "claim": "The counter test's assertions should also cover the empty unit and the formatted output, and the new test suite should be merged into the already existing BOOST_AUTO_TEST_CASE(uom) test case.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Icinga__icinga2__10528
Icinga/icinga2
10,528
defect
0a08fcc0e159a157cb46c7f7b1838f0343f39a9c
90ead859ba63bca6b7a0c80c6506e73d91acc24b
Automatically discover unit-tests and test fixture dependencies
This PR adds automated unit test discovery to our build system, so that unit tests don't need to be enumerated individually in the CMakeLists.txt file. This is in function similar to `gtest_discover_tests()` which CMake includes for GoogleTest or similar modules shipped by other unit testing frameworks like Catch2 or d...
diff --git a/CMakeLists.txt b/CMakeLists.txt index 86abc77d661..6c5968385c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,7 +35,6 @@ option(ICINGA2_WITH_COMPAT "Build the compat module" ${ICINGA2_MASTER}) option(ICINGA2_WITH_LIVESTATUS "Build the Livestatus module" ${ICINGA2_MASTER}) option(ICINGA2_WITH_NOT...
14
11
0
[{"id": "G0", "claim": "Raise the required CMake version instead of keeping the CMAKE_CURRENT_LIST_DIR workaround for CMAKE_CURRENT_FUNCTION_LIST_DIR in DiscoverBoostTests.cmake.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add some documentation comme...
null
Icinga__icinga2__10609
Icinga/icinga2
10,609
defect
6d98756fb50187215a793e2bd574cd4f8f47bbcb
05b635d5037b3d5673c30b6f3d3ced199cbb48d8
Fix misc compiler warnings
Together with #9411, #9728, #9729 and #9730 this fixes most of the remaining compiler warnings, except the following: + A few `-Wdangling-reference` in `scheduleddowntime-apply.cpp`, which I'm pretty sure are false positives. + The OpenSSL 3.0 `-Wdeprecated-declarations` warnings. + The '-Wdeprecated' warnings abo...
diff --git a/lib/base/application.hpp b/lib/base/application.hpp index f45c8bdd74a..95a11cc2fde 100644 --- a/lib/base/application.hpp +++ b/lib/base/application.hpp @@ -119,7 +119,7 @@ class Application : public ObjectImpl<Application> { virtual void OnShutdown(); - void ValidateName(const Lazy<String>& lvalue, c...
2
2
1
[{"id": "G0", "claim": "Casting the replay-log timestamp (the double from Utility::GetTime()) to int for the first element of the allFiles pair is wrong; the reviewer asks to change that pair's type to double and adjust LogGlobHandler accordingly, since a 32-bit int truncates the value and cannot represent post-2038 ti...
null
Icinga__icinga2__10628
Icinga/icinga2
10,628
defect
0d32ae3159a088e01a678c8031fa989cf9ebd6d1
cd81d3af61daa793a28510d1ed53b189b7a82b5d
Fix a race condition in NotificationComponent leading to duplicate notification
### Problem The race is between `NotificationTimerHandler`, which sends a reminder notification after a certain inverval during problem states and `SendNotificationsHandler` which sends out the notifications on state changes. When the timer handler runs just before a state change triggers a notification, the time...
diff --git a/lib/notification/notificationcomponent.cpp b/lib/notification/notificationcomponent.cpp index 58c3fc28a04..5d653161107 100644 --- a/lib/notification/notificationcomponent.cpp +++ b/lib/notification/notificationcomponent.cpp @@ -161,6 +161,7 @@ void NotificationComponent::NotificationTimerHandler() } ...
2
2
1
[{"id": "G0", "claim": "Adopting the trivial solution (never attempting to send a reminder when interval <= 0 and not waiting for the no_more_notifications flag) would mean delayed notifications, i.e. notifications with times.begin set but interval <= 0, are never sent, so the PR must preserve that use case.", "categor...
null
Icinga__icinga2__10749
Icinga/icinga2
10,749
defect
d565401cdf1009aa1da279dd34729daf8f401e08
25816e4089a38af0ea2ae5cd499da3f8674efeba
Fix `CertificateFixture` error if previous test fails
This fixes an issue where a when a test-case using the `CertificateFixture` fails, it causes the next test using this fixture to also fail. ### Problem Originally, `CertificateFixture` used a symlink to a persistent directory containing the certificates generated over the course of a test run. Then it was changed...
diff --git a/test/base-tlsutility.cpp b/test/base-tlsutility.cpp index 737cc30b52c..fa2653f0414 100644 --- a/test/base-tlsutility.cpp +++ b/test/base-tlsutility.cpp @@ -6,6 +6,7 @@ #include "base/utility.hpp" #include "remote/pkiutility.hpp" #include "test/remote-certificate-fixture.hpp" +#include "test/test-ctest.h...
4
2
0
[{"id": "G0", "claim": "The `fs` namespace alias in the destructor is now unused.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Use the project's utility function instead of `fs::copy` when copying the certificates into the fixture directories.",...
null
Icinga__icinga2__5693
Icinga/icinga2
5,693
defect
20e8fe5ed3dc0c361a3387df856746845f7a1be3
091942a246be6e3730963f9a5aa7e58d594cc98e
Re-implement flapping
Todo: * MORE tests * One of the tests fails, idk why though * Documentation
diff --git a/doc/08-advanced-topics.md b/doc/08-advanced-topics.md index a7d129ae1ca..13c4dbd1073 100644 --- a/doc/08-advanced-topics.md +++ b/doc/08-advanced-topics.md @@ -414,19 +414,36 @@ Example output in Icinga Web 2: Icinga 2 supports optional detection of hosts and services that are "flapping". -Flapping oc...
7
6
3
[{"id": "G0", "claim": "Keep the flapping_threshold config attribute but immediately deprecate it in 2.8 with no functionality, waiting on the mkclass 'deprecated' support from #5682.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "FlappingStart notificat...
null
Icinga__icinga2__7092
Icinga/icinga2
7,092
defect
6a298615e4334b0e06d16a5abfae59e4b82891b3
c4389103bdbe0e6eba53d5090a584c787fa9462b
Fix Windows command escape for \"
fixes #4849
diff --git a/lib/base/utility.cpp b/lib/base/utility.cpp index 331af3832c4..7b9162e97b2 100644 --- a/lib/base/utility.cpp +++ b/lib/base/utility.cpp @@ -1147,7 +1147,7 @@ String Utility::EscapeCreateProcessArg(const String& arg) result.Append(numBackslashes * 2, '\\'); break; } else if (*it == '"') { - res...
4
2
1
[{"id": "G0", "claim": "Please add a test protocol showing the behavior before and after the fix.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add test cases for the Windows command escaping, ideally ones that also pass the result through CommandLineT...
null
Icinga__icinga2__8195
Icinga/icinga2
8,195
defect
338d0aaa8ca17b94cc84048d4811c0c478f363a4
e5df408c3a4cb13af48e1535696e33d8bd6d3ebe
JsonEncode(): suffix pretty JSON w/ \n
fixes #8194
diff --git a/lib/base/json.cpp b/lib/base/json.cpp index c1a47c788df..d9e1718c2e3 100644 --- a/lib/base/json.cpp +++ b/lib/base/json.cpp @@ -193,7 +193,7 @@ String icinga::JsonEncode(const Value& value, bool pretty_print) Encode(stateMachine, value); - return stateMachine.GetResult(); + return stateMachine.Get...
1
1
1
[{"id": "G0", "claim": "The base-base_json/encode unit test fails on Windows and some Linux distributions and must be fixed.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
Icinga__icinga2__8218
Icinga/icinga2
8,218
defect
338d0aaa8ca17b94cc84048d4811c0c478f363a4
5c227073feed91d40c2f17c28902edf80b3a4505
Introduce redundancy groups for Dependency Objects
Traditional behaviour was to regard all dependencies as cumulative (e.g., the parent considered unreachable if any one dependency is violated). After some discussion in https://github.com/Icinga/icinga2/issues/1869, [this commit](https://github.com/Icinga/icinga2/commit/ed5892238916ab667a4c9d904bd73acd3ed162f2) made a...
diff --git a/doc/09-object-types.md b/doc/09-object-types.md index ebbf2e546bb..d90745f3e6b 100644 --- a/doc/09-object-types.md +++ b/doc/09-object-types.md @@ -200,6 +200,7 @@ Configuration Attributes: parent\_service\_name | Object name | **Optional.** The parent service. If omitted, this dependency ...
9
5
1
[{"id": "G0", "claim": "The pull request's unit tests are expected to fail because they still expect the pre-#7785 behaviour, so somebody has to adapt (or rewrite) them for the new behaviour.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The disjunctiv...
null
Icinga__icinga2__8827
Icinga/icinga2
8,827
defect
0a362937b39490fd18730a0fbd8a191ee172a7ac
ba758b1200c36e9526cbe5f22e04d8b9962a7163
Allow using E in perfdata both as exponent and unit prefix
Merging both #7871 and #8492 resulted in a failing test because 'E' can now be used both as exponent (`1E10`) and as unit prefix (`1EB`). This PR changes how perfdata values and units are split to support both, even at the same time (`1E10EB`). It also adds tests for this and some parsing edge cases that came to my min...
diff --git a/lib/base/perfdatavalue.cpp b/lib/base/perfdatavalue.cpp index 2871f5501d7..7732199a634 100644 --- a/lib/base/perfdatavalue.cpp +++ b/lib/base/perfdatavalue.cpp @@ -242,24 +242,28 @@ PerfdataValue::Ptr PerfdataValue::Parse(const String& perfdata) if (spq == String::NPos) spq = perfdata.GetLength(); -...
1
1
1
[{"id": "G0", "claim": "The comma check should examine the whole value, not just the first semicolon token, and the reviewer asks why only tokens[0] is checked.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Icinga__icinga2__9009
Icinga/icinga2
9,009
defect
95cdc00ad4e1ab788794322c92c54cd3f5c8c2bf
7135e1bc4a1e6d7d204f5f166540ba1c56eb8092
Icinga DB: Make sure object relationships are handled correctly during runtime updates
This PR adds the following missing object relationship runtime updates: - Insert - `icinga:notification:recipient` => Insert on user creation for groups that have notifications - Delete - `icinga:*:customvar` - `icinga:notification:recipient` - `icinga:notification:user` - `icinga:notification:usergrou...
diff --git a/lib/icinga/command.ti b/lib/icinga/command.ti index 5055ee3d538..a49d6e869cc 100644 --- a/lib/icinga/command.ti +++ b/lib/icinga/command.ti @@ -11,11 +11,11 @@ namespace icinga abstract class Command : CustomVarObject { [config] Value command (CommandLine); - [config] Value arguments; + [config, signal...
19
17
9
[{"id": "G0", "claim": "Since the project uses C++11, the new declaration should use `>>` without a space between the closing angle brackets.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "GetArrayDeletedValues() feeds arrays that come straight ...
null
Icinga__icinga2__9207
Icinga/icinga2
9,207
defect
948f70a175a63d9094e5092b20f7457de14a4185
5709d9c1965138021f2b7d26bce7c41cc7f43d80
Checkable: send state notifications after suppression if and only if the state differs compared to before the suppression started
This PR changes the behavior of state notifications (problem, recovery) following a suppression condition (unreachable, in downtime, acknowledged) so that notification is sent if and only if the hard state after the suppression is different from the (last) hard state from before the suppression. If the suppression ends...
diff --git a/lib/icinga/checkable-check.cpp b/lib/icinga/checkable-check.cpp index ff9b1a266c8..f53dc7cf76a 100644 --- a/lib/icinga/checkable-check.cpp +++ b/lib/icinga/checkable-check.cpp @@ -477,7 +477,7 @@ void Checkable::ProcessCheckResult(const CheckResult::Ptr& cr, const MessageOrig if (send_notification && !...
7
6
2
[{"id": "G0", "claim": "The new suppression condition reads as if, once suppression is over but the suppressed notifications have not been fired yet, they get neutralized; the intended keep-suppressing behavior should be clarified with a comment.", "category": "maintainability", "verdict": "supported", "priority": "P2"...
null
Icinga__icinga2__9895
Icinga/icinga2
9,895
defect
76b460c8ba33e65a670a3e3b17b2bf52f09d5c98
af3f5a4aa80874ee39b6cf79b40aa691b7a3968d
FilterUtility::GetFilterTargets(): don't run filter for specific object(s) for all objects
This is basically the same as * #9545 but for API filters, not for assign rules: 1. There's a filter on Hosts/Services 2. Does it unambiguously target only specific Hosts/Services? 3. If yes: fetch just them, don't run filter for all * This is unquestionably a significant performance improvement * If we'...
diff --git a/lib/base/dictionary.cpp b/lib/base/dictionary.cpp index aca7d519c7b..43df4af8f0b 100644 --- a/lib/base/dictionary.cpp +++ b/lib/base/dictionary.cpp @@ -67,6 +67,20 @@ bool Dictionary::Get(const String& key, Value *result) const return true; } +/** + * Retrieves a value's address from a dictionary. + *...
3
2
0
[{"id": "G0", "claim": "The GetTargetHosts/GetTargetServices declarations should define a default value for the `constants` parameter.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since the PR's goal is reducing performance overhead, the code should fa...
null
Igalia__wolvic__1383
Igalia/wolvic
1,383
defect
3cc40ebca125800b0ca67b316f956c999eb7113c
2fa293f97b705c7ac4b726be83e65d1d92c961fe
Fixes related to URL schemes
We didn't have support for `chrome://` pages because it was not recognized as a scheme handled by the engine. That's correct for Gecko but not for Chromium. So we had to refactor some UrlUtils to cope with engine differences. This also fixes a hidden bug handling the launch of externally managed URLs via intents. Fi...
diff --git a/app/src/common/chromium/com/igalia/wolvic/browser/api/impl/SessionImpl.java b/app/src/common/chromium/com/igalia/wolvic/browser/api/impl/SessionImpl.java index 3bbace8b84d..d89572c8e7e 100644 --- a/app/src/common/chromium/com/igalia/wolvic/browser/api/impl/SessionImpl.java +++ b/app/src/common/chromium/com...
4
2
0
[{"id": "G0", "claim": "The @Override annotation appended to the ENGINE_SUPPORTED_SCHEMES declaration line in the gecko SessionImpl should be on its own next line.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "getUrlUtilsVisitor() should early-...
null
Igalia__wolvic__1962
Igalia/wolvic
1,962
defect
406f44db802cae49334ab1d46009ce68875b4888
9895b72ec22023237a652b09de59dd2d83f5f2f4
Fix session loss on app updates
## Changes Fixes the serialization issue and improves the session restoration process: - SessionState.java: Removed the duplicate unconditional write so `mSettings` is now written only once within the null check. - Windows.java: Replaced the destructive `file.delete()` on parse failure with `Log.e()`, preventing...
diff --git a/app/src/common/shared/com/igalia/wolvic/browser/engine/SessionState.java b/app/src/common/shared/com/igalia/wolvic/browser/engine/SessionState.java index f6100a0104..127af4dcf4 100644 --- a/app/src/common/shared/com/igalia/wolvic/browser/engine/SessionState.java +++ b/app/src/common/shared/com/igalia/wolvi...
4
2
2
[{"id": "G0", "claim": "The reviewer fails to see how the duplicate write of mSettings relates to losing opened tabs on app update, since a decode error at launch should happen without an app update.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Do...
null
IgnisDa__ryot__1418
IgnisDa/ryot
1,418
defect
7af40548f84983bb00c963ecb097a89d81f5b75d
be5375b9de84372fdf9882dd23f5a3a52477a162
Allow importing from Trakt public lists
Fixes #1412. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added support for importing items from a public Trakt list by entering a list URL and selecting a target collection. - Updated the import interface to allow users to choose between i...
diff --git a/apps/docs/src/importing/trakt.md b/apps/docs/src/importing/trakt.md index 70dac7b906e..2d6a40e9d07 100644 --- a/apps/docs/src/importing/trakt.md +++ b/apps/docs/src/importing/trakt.md @@ -1,17 +1,31 @@ # Trakt +You can import from either a Trakt public user or a public list. + +## User + All movies and...
12
6
1
[{"id": "G0", "claim": "The new DeployTraktImportInput enum and DeployTraktImportListInput struct fields should use Rust doc comments (///) instead of regular comments for consistency.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The Trakt use...
null
IgnisDa__ryot__1420
IgnisDa/ryot
1,420
defect
c3f8447879c3048f2875a00414fb4d1ffb5a8f2f
8c49eaed0934e094ffabf03e097c9ce1eae4aade
Add user reset functionality and improve documentation
Fixes #1419. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added the ability for admins to reset user accounts, generating a new password if applicable. The new password is displayed upon successful reset. - **Improvements** - User deletion ...
diff --git a/.cursor/rules/running-tests.mdc b/.cursor/rules/running-tests.mdc deleted file mode 100644 index d82617537aa..00000000000 --- a/.cursor/rules/running-tests.mdc +++ /dev/null @@ -1,6 +0,0 @@ ---- -description: Instructions for running tests in the project. -globs: -alwaysApply: true ---- -To run tests, use ...
12
10
1
[{"id": "G0", "claim": "The new attribute-ordering rule in CLAUDE.md should be clarified: state whether ordering is ascending or descending and how to handle attributes of equal length or spanning multiple lines.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1...
null
IgnisDa__ryot__1438
IgnisDa/ryot
1,438
defect
7099dd239edb68c43f2235c439e297e6fccd798c
766aa43175d1d0a441825899ec645d4b130e2f00
Allow custom start and end time while updating progress
Fixes #1437. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Enhanced date selection in progress update forms, allowing users to specify both a start date and a finish date. * Updated custom date picker to support separate start and finish d...
diff --git a/apps/frontend/app/components/dashboard/forms/metadata-progress-update/new-progress-form.tsx b/apps/frontend/app/components/dashboard/forms/metadata-progress-update/new-progress-form.tsx index 8467025715a..e48e36bd2ad 100644 --- a/apps/frontend/app/components/dashboard/forms/metadata-progress-update/new-pro...
2
1
1
[{"id": "G0", "claim": "The bulk update handlers always use the finish date as the selected date, which could behave unexpectedly when the user sets only a start date in the form; the reviewer asked to make bulk updates pick the appropriate date based on which dates are provided (or document the limitation).", "categor...
null
IgnisDa__ryot__1542
IgnisDa/ryot
1,542
defect
41b20e5496e9abd97273497fa866ae12733880fa
69a4e133950340eb944ff2a63d17e04c93dac68d
Update FEATURE_DATA to include 'isPro' property for additional features
Fixes #1541. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Media Tracking** * Consolidated activity and statistics views available to all users. * Manual time entry for seen items marked Pro. * YouTube Music and Jellyfin integrations marked Pro (copy upd...
diff --git a/apps/website/app/routes/features.tsx b/apps/website/app/routes/features.tsx index ba5abbcd19a..72110ad7e78 100644 --- a/apps/website/app/routes/features.tsx +++ b/apps/website/app/routes/features.tsx @@ -140,7 +140,6 @@ const FeatureSection = (props: { ); }; -// Feature data structure const FEATURE_D...
7
3
0
[{"id": "G0", "claim": "Update the proper noun in the feature text from \"Youtube\" to \"YouTube\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Hyphenate \"pre plan\" to \"pre-plan\" in the workout-templates feature text.", "category": "docum...
null
IgniteUI__ignite-ui__1099
IgniteUI/ignite-ui
1,099
defect
6650b17ef6cbef541a072e42c9e8a513f830f6c6
ed74cde6ab06097ef11f6635bb371ccdb306436f
Dpetev/mask initial error
Closes #1027 ### Additional information related to this pull request: Since the original issue was in incorrect initialization, I've made sure _setInitialvalue is always called. This also obsoletes and reverts most changes made for #892. The change actually led to some additional changes for text and numeric edi...
diff --git a/src/js/modules/infragistics.ui.editors.js b/src/js/modules/infragistics.ui.editors.js index 7d9c72636..a0a31f461 100644 --- a/src/js/modules/infragistics.ui.editors.js +++ b/src/js/modules/infragistics.ui.editors.js @@ -1871,6 +1871,13 @@ } initialValue = this.options.value; + + // D.P. Set nul...
1
1
0
[{"id": "G0", "claim": "Double check whether defaulting the numeric editor's initial value to 0 when both value and nullValue are invalid adds a breaking change to the editor's behavior.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
IgniteUI__ignite-ui__1463
IgniteUI/ignite-ui
1,463
defect
3f3b90350d2c2f4e46b825e034ff1a976b4ed3f1
96e5010632ad9ca2bc225f5dbca37016ae71a191
Dpetev/datepicker enter reset 1453
Closes #1453 ### Additional information related to this pull request: **Many for the price of one** Changes include: - DatePicker internal mask using first digit as optional (should't affect any functionality since required validation was not used in the date editors so far) - Tied `datepicker` sync to `textCha...
diff --git a/src/js/modules/infragistics.ui.editors.js b/src/js/modules/infragistics.ui.editors.js index 069f01b5e..c05923e50 100644 --- a/src/js/modules/infragistics.ui.editors.js +++ b/src/js/modules/infragistics.ui.editors.js @@ -8538,7 +8538,7 @@ } else if (flag === 22) { txt += "0"; } else { - ...
1
1
1
[{"id": "G0", "claim": "The new TestUtil.wait helper should check whether Promise exists instead of using a hardcoded if (false), which leaves the native-Promise branch unreachable.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
IgniteUI__ignite-ui__1876
IgniteUI/ignite-ui
1,876
defect
7961d02d23725572c907d8e66c74360df47dc4d5
607dc33cce364b059599d57241b25f16cdfad0e2
Parse editors value according to mask when coming wrong from edit mode
Closes #1853
diff --git a/src/js/modules/infragistics.ui.editors.js b/src/js/modules/infragistics.ui.editors.js index 347e0d5a7..85e3bf012 100644 --- a/src/js/modules/infragistics.ui.editors.js +++ b/src/js/modules/infragistics.ui.editors.js @@ -7214,6 +7214,11 @@ if (this._validateValue(value) && (this.options.revertIfNo...
1
1
1
[{"id": "G0", "claim": "Add a test simulating the unmasked-value edit-mode behavior (focus the editor field, set a value, optionally trigger key event with 229, and blur).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
IgniteUI__ignite-ui__1928
IgniteUI/ignite-ui
1,928
defect
2f08aa845845f4b69ae1e544a4e08285fb4d710b
bda201518d408b7c8e4a02b870eff0b27dad9629
Fix issues with to/from oa date
### Additional information related to this pull request: There were issues with how we were converting to/from OA date when the timezone offset for Dec 30, 1899 differed from the current timezone offset which happens for certain timezones.
diff --git a/src/js/modules/infragistics.util.js b/src/js/modules/infragistics.util.js index c92d0d6ae..a931eae4b 100644 --- a/src/js/modules/infragistics.util.js +++ b/src/js/modules/infragistics.util.js @@ -1260,10 +1260,11 @@ return new Date(); }, fromOADate: function (value) { - var result = new Date(+(...
2
1
1
[{"id": "G0", "claim": "The new OADate test should include a few more asserts covering a larger variety of dates.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "grunt verify should verify everything, including the test files it currently excludes from l...
null
IgniteUI__ignite-ui__1994
IgniteUI/ignite-ui
1,994
defect
4d3f0c192754db4529d9edddbba425edefbf8b87
1baf1ad55b4f7016d7ce719e7071ed46e28124ab
Editors should correctly set validator language and locale
If one sets language/locale to igEditor is should set same language/locale to its validator if any. If language/locale are set to validator through `validatorOptions`, even if one sets different language/locale to the editor validator should use ones set through its options. Closes #1901 ### Additional informati...
diff --git a/src/js/modules/infragistics.ui.editors.js b/src/js/modules/infragistics.ui.editors.js index 410a2ce18..f454dd150 100644 --- a/src/js/modules/infragistics.ui.editors.js +++ b/src/js/modules/infragistics.ui.editors.js @@ -641,7 +641,14 @@ }, _setupValidator: function () { if (this.element.igValid...
2
2
0
[{"id": "G0", "claim": "The comment added in _setupValidator should be formatted per the suggestion: tab-indented and reading 'Update validator language and locale correctly' (no apostrophe, no stray blank line).", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "clai...
null
IgniteUI__igniteui-angular-wrappers__223
IgniteUI/igniteui-angular-wrappers
223
defect
da105aa8175898b9207b3b320f9e0cbbf768a3f0
d200cd7fa3e8e2db5e4c2da0fabf24cec14407c9
Updating model value when there are no selected items.
Updating model value when there are no selected items. Closes #204
diff --git a/src/igcombo/igcombo.component.ts b/src/igcombo/igcombo.component.ts index 8c71f45..c01be6b 100644 --- a/src/igcombo/igcombo.component.ts +++ b/src/igcombo/igcombo.component.ts @@ -30,6 +30,7 @@ export class IgComboComponent extends IgControlBase<IgCombo> implements ControlV var items = ui.items; ...
1
1
1
[{"id": "G0", "claim": "A test should be included for this change (the added viewToModelUpdate call when there are no selected items).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Immediate-Mode-UI__Nuklear__504
Immediate-Mode-UI/Nuklear
504
defect
07bd7a0925a94b88131019b8db92252089457a3f
fc5ce1c495d88a920c0c475dc48f5370aed71138
demos: set style with defines
Not a big deal, but it's annoying to have to modify the demos code to see the effect of styles, then revert to keep on the upstream commit. It's already possible to use defines to select which demos to include, for example: ``` CFLAGS='-DINCLUDE_CANVAS' make ``` This PR adds the possibility to select the used ...
diff --git a/demo/allegro5/main.c b/demo/allegro5/main.c index 24a27ba36..0c0f88cbb 100644 --- a/demo/allegro5/main.c +++ b/demo/allegro5/main.c @@ -115,10 +115,17 @@ int main(void) ctx = nk_allegro5_init(font, display, WINDOW_WIDTH, WINDOW_HEIGHT); /* style.c */ - /*set_style(ctx, THEME_WHITE);*/ - /...
1
1
0
[{"id": "G0", "claim": "Add a short comment above the style ifdefs in every demo file explaining what they are for (reviewer suggests the wording \"ease regression testing during Nuklear release process; not needed for anything else\") so newcomers are not surprised the ifdefs are needed.", "category": "documentation",...
null
InQuest__ThreatIngestor__53
InQuest/ThreatIngestor
53
defect
cdbe705488f480284d5a2f3558be34d0c92f2691
dc8c170a7827b05f386156aa298e1592471e8e72
Issue/43 & Issue/47 Github source
Reformatted to follow convention, should be ready to go!
diff --git a/.gitignore b/.gitignore index e112c24..46244a7 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,8 @@ test*.yml # dev sources .virtualenv +build/ +dist/ # coverage cover/ diff --git a/config.example.yml b/config.example.yml index a24d1f2..686164c 100644 --- a/config.example.yml +++ b/config.exa...
4
4
2
[{"id": "G0", "claim": "The make_requests method should be renamed to something more specific with a leading underscore (e.g. _repository_search) to show it is for internal use only.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Separation of c...
null
InQuest__ThreatIngestor__83
InQuest/ThreatIngestor
83
defect
7021626743c2a3f0f3eea945a7113bf08c379609
1904fd3a1ffd3e04ebc015f2e5cea6342aa073e5
Update MISP operator
This PR contains two changes in MISP operator. ### 1. Catching up to the latest PyMISP. Remove deprecated / deleted methods and use `ExpandedPyMISP` to catch up the latest PyMISP. ### 2. Grouping attributes by a reference link Current MISP operator implementation creates an event per an attribute. IMO it's...
diff --git a/tests/test_operators_misp.py b/tests/test_operators_misp.py index 19b29a0..7e08b46 100644 --- a/tests/test_operators_misp.py +++ b/tests/test_operators_misp.py @@ -7,77 +7,100 @@ class TestThreatKB(unittest.TestCase): - @patch('pymisp.PyMISP') - def setUp(self, PyMISP): + @patch('pymisp.Expan...
11
11
1
[{"id": "G0", "claim": "The DependencyError raise should be reformatted so the closing parenthesis sits on its own line, as given in the suggestion block.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The super().__init__ call should be reforma...
null
InQuest__ThreatIngestor__95
InQuest/ThreatIngestor
95
defect
f20d132becea8817e3fd165cd48e4a03416649c5
b712c91abcdf7bfcd3ad63aa706844d45d81a5bb
feat: add MISP-warninglist compatible whitelisting feature
Implement #86 (@cmmorrow This is a draft pull request. Please let me know your opinion about this implementation.)
diff --git a/tests/fixtures/whitelist.json b/tests/fixtures/whitelist.json new file mode 100644 index 0000000..b143aa4 --- /dev/null +++ b/tests/fixtures/whitelist.json @@ -0,0 +1,8 @@ +{ + "name": "test", + "version": 20200203, + "description": "test", + "matching_attributes": ["hostname", "domain"], + "type": "h...
1
1
0
[{"id": "G0", "claim": "The debug message should read 'whitelisted.' instead of the misspelled 'whitelisetd', as proposed in the suggestion block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
InboxSDK__InboxSDK__895
InboxSDK/InboxSDK
895
defect
c083a927ac3e5fab8366f865745fb7443019fa69
79c43804a069e472ef9eadd201a6419b761a7710
fix: partially bring back older idMap impl
Prevents issues where a @inbox/core@>=1.1.0 is unable to find the Gmail sidebar after an older @inbox/core using extension loads. This issue was introduced in #881. From @Macil: > ContentPanelViewDriver's constructor expects an element with the classname idMap('app_sidebar_waiting_platform') to exist already. The...
diff --git a/gulpfile.babel.ts b/gulpfile.babel.ts index 30d7687ce..fa40f1b39 100644 --- a/gulpfile.babel.ts +++ b/gulpfile.babel.ts @@ -206,9 +206,6 @@ async function webpackTask({ localIdentName: args.production ? 'inboxsdk__[hash:base64]' : 'inboxsdk__[nam...
6
6
1
[{"id": "G0", "claim": "legacyIdMap is not needed for 'app_sidebar_container' because nothing ever looks up an element by that legacy classname, so the added legacy class should be dropped there.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "Th...
null
InboxSDK__InboxSDK__971
InboxSDK/InboxSDK
971
defect
c81542bf97b6177f2823e3d2ae144dfb346b77d4
4dcef9b5a0dd44c0fbb7f322ed5cc2ab19153509
Use deferred and promises to bootstrap the NONREMOTE SDK
Uses the SDK's local Deferred and Promises to bootstrap the NONREMOTE SDK.
diff --git a/__tests__/inboxsdk-gmail.ts b/__tests__/inboxsdk-gmail.ts index f9741a41d..4e23d6e60 100644 --- a/__tests__/inboxsdk-gmail.ts +++ b/__tests__/inboxsdk-gmail.ts @@ -21,7 +21,7 @@ document.head.setAttribute( ); document.head.setAttribute('data-inboxsdk-using-sync-api', 'false'); -const InboxSDK = require...
4
4
2
[{"id": "G0", "claim": "The delay the old loader applied is possibly load bearing — the new loadPi ignores its `delay` argument and is called with 0, which appeared to stop an example extension from starting up — so the timeout should be preserved (and the startup smoothing done) as part of this pull request.", "catego...
null
InboxWhiz__gmail-declutter-extension__72
InboxWhiz/gmail-declutter-extension
72
defect
d8a56f1ffefa1e4bbbcc87dc9fae4a11ec70be4f
a52bc47c4635ab90c4efb62f611876621d9bc529
Feat/progressive inbox scan
# Summary This PR resolves the performance issue where the extension would freeze when scanning very large inboxes (~500k emails). It replaces the "all-at-once" email fetching mechanism with a progressive loading system that processes emails in batches. This provides a much better user experience by preventing...
diff --git a/src/data/content_scripts/content.ts b/src/data/content_scripts/content.ts index 1d51b3d..b49ad3e 100644 --- a/src/data/content_scripts/content.ts +++ b/src/data/content_scripts/content.ts @@ -6,11 +6,15 @@ chrome.runtime.onConnect.addListener(function (port) { console.assert(port.name === "gmail-port");...
6
6
3
[{"id": "G0", "claim": "The setProgressCallback and cancelFetch methods added to BrowserEmailRepo and MockEmailRepo should be part of the EmailRepo interface so consumers get a consistent contract instead of type checks or casts.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ...
null
IndicoDataSolutions__finetune__631
IndicoDataSolutions/finetune
631
defect
ebb19bfedd602eb282f12ecc1d117859d5ab07c5
79e53912ad799729feb287ede55a520316fc5985
Ben: Variety of small fixes / improvements
Currently running tests. Main Changes * Default for subtoken preds - setting this to false is noticeably slower. If anyone thinks this option is important enough to keep as default we should figure out how to do something equivalent but fast. * Fix albert tokenizer * Add AlbertXL * Add predict batch size default...
diff --git a/finetune/base.py b/finetune/base.py index b067ea3fd..7eee9e08c 100644 --- a/finetune/base.py +++ b/finetune/base.py @@ -43,10 +43,24 @@ LOGGER = logging.getLogger("finetune") +def start_end_gen(gen): + """ + yields from generator along with booleans for start and end. + """ + start = True ...
9
9
2
[{"id": "G0", "claim": "Fix the misspelling \"duplcicate\" in the comment about tokenizers outputting start and end tokens.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Remove the rogue debug print of weight_lookup.keys() left in load_weights_fr...
null
IndicoDataSolutions__finetune__635
IndicoDataSolutions/finetune
635
defect
97d4331bba29a03c55e990437bd66e9063de17a0
653b1cb692cdf8b87f044f02574be0fd7f51ede0
ADD: Ability to pre chunk sequences during prediction
This commit adds the ability to pre chunk documents into "sub documents" prior to creation of the input pipeline during prediction for the sequence labeler target model by setting config.max_document_chars. The purpose is to prevent memory issues for very long documents.
diff --git a/finetune/config.py b/finetune/config.py index a1f31d50b..87ac9cd41 100644 --- a/finetune/config.py +++ b/finetune/config.py @@ -63,7 +63,7 @@ class Settings(dict): (unless `chunk_long_sequences=True` for SequenceLabeler models). Defaults to `512`. :param weight_stddev: Standard deviation of i...
1
1
1
[{"id": "G0", "claim": "The num_splits computation in _pre_chunk_document can produce an empty chunk when a document's length is exactly divisible by max_doc_len; use math.ceil instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
IndicoDataSolutions__finetune__75
IndicoDataSolutions/finetune
75
defect
4170ae3d53cff9934dbc9c6e30b1e1a1f3aec025
c07a26da9fdd4d371dd6514dae974976ab748330
Ben/add multichoice qa
Needs a proper dataset and some tests, but this is the basic idea.
diff --git a/finetune/__init__.py b/finetune/__init__.py index ddbe14a65..12d6ea50c 100644 --- a/finetune/__init__.py +++ b/finetune/__init__.py @@ -3,6 +3,7 @@ from finetune.regressor import Regressor from finetune.sequence_labeling import SequenceLabeler from finetune.comparison import Comparison +from finetune.mu...
5
4
2
[{"id": "G0", "claim": "The docstrings added in the pull request still use the copy-pasted X1/X2 parameter names and wrong module description and need updating.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The parameter holding the wrong answers...
null
InditexTech__gh-sherpa__114
InditexTech/gh-sherpa
114
defect
d46f3dc4bc6cce8739d2ad84650ee441c420a5d5
10bb0fc79672b48500730098aa2ae64c17553bb0
Add Pull Request template support for create-pr command
Closes #99
diff --git a/cmd/create_pull_request/cmd.go b/cmd/create_pull_request/cmd.go index 134056e..dca1319 100644 --- a/cmd/create_pull_request/cmd.go +++ b/cmd/create_pull_request/cmd.go @@ -33,6 +33,7 @@ type createPullRequestFlags struct { NoDraft bool NoCloseIssue bool UseDefaultValues bool + TemplatePa...
5
4
2
[{"id": "G0", "claim": "The duplicated template path-resolution logic in validateTemplateFile and getPullRequestTitleAndBody could be extracted into a normalizeTemplatePath helper that returns the absolute path (and is used for the existence check), e.g. `func normalizeTemplatePath(path string) (normalizedPath string, ...
null
InditexTech__gh-sherpa__138
InditexTech/gh-sherpa
138
defect
4d8af25f7bd5962f3eaafa10a0a3a012f60683e4
22856ab4de68cf21b5efe0b7fefa00858cbb30ea
Allow to prefer hotfix branch when creating from a bug report issue with -y
## Description This PR implements the feature requested in #136 by adding a new `--prefer-hotfix` flag to both `create-branch` and `create-pr` commands. ## Motivation When using Sherpa CLI non-interactively (`-y` flag) to create branches or PRs from bug issues, the default behavior creates a `bugfix` prefixed branch...
diff --git a/cmd/create_branch/cmd.go b/cmd/create_branch/cmd.go index 68e9a1b..d69d867 100644 --- a/cmd/create_branch/cmd.go +++ b/cmd/create_branch/cmd.go @@ -34,6 +34,7 @@ type createBranchFlags struct { UseDefaultValues bool ForkValue bool ForkNameValue string + PreferHotfix bool } var flags...
1
1
0
[{"id": "G0", "claim": "The new `--prefer-hotfix` flag should be documented in the README.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
InditexTech__gh-sherpa__142
InditexTech/gh-sherpa
142
defect
36ec9167177f8dcc8e9355d5ebfbde8282bebbe4
169b6c65db0b86effbbea6407e43926e85516852
Integer overflow error when unmarshaling GitHub API responses with large Label IDs
Close #141
diff --git a/internal/config/jira.go b/internal/config/jira.go index 1199d5a..ebb70ed 100644 --- a/internal/config/jira.go +++ b/internal/config/jira.go @@ -32,7 +32,7 @@ type patRequestBody struct { } type patResponseBody struct { - Id int `json:"id,omitempty" structs:"id,omitempty"` + Id int64 ...
1
1
0
[{"id": "G0", "claim": "The test comment in internal/config/jira_test.go references \"Label.Labels.Id\" while the test targets patResponseBody.Id, and should be corrected to say \"Go struct field patResponseBody.Id of type int\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introdu...
null
InditexTech__gh-sherpa__20
InditexTech/gh-sherpa
20
defect
2ad125bd754620b903efd1b77452d0fe75055bcf
76bededd04d2746ea5c514170d3f32957601d5ef
Validate configuration
Closes #19
diff --git a/go.mod b/go.mod index 6308cbf..d787a2c 100644 --- a/go.mod +++ b/go.mod @@ -6,6 +6,7 @@ require ( github.com/AlecAivazis/survey/v2 v2.3.7 github.com/andygrunwald/go-jira v1.16.0 github.com/cli/go-gh/v2 v2.2.0 + github.com/go-playground/validator/v10 v10.15.5 github.com/jwalton/gchalk v1.3.0 githu...
3
3
0
[{"id": "G0", "claim": "Rename the variables in uniqueMapValues to more meaningful names (k: key, v: value, s: element) and rename fieldValue to field.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In validIssueTypeKeys, rename the variable it ...
null
InditexTech__gh-sherpa__51
InditexTech/gh-sherpa
51
defect
5b8a4bab8e7afaed6b5c65b2afa0c509749f21ae
814180f3c4e8d69059d620e1fb28dee8789419e8
Add GitHub issue type label to the generated pull request
Closes #50 Tests: - Success: - https://github.com/inditex-sandbox/gh-sherpa/pull/282 - https://github.com/inditex-sandbox/gh-sherpa/pull/285 - Failure: - https://github.com/inditex-sandbox/gh-sherpa/pull/283
diff --git a/internal/domain/issue_tracker.go b/internal/domain/issue_tracker.go index 59a9f4c..cbab5e9 100644 --- a/internal/domain/issue_tracker.go +++ b/internal/domain/issue_tracker.go @@ -26,6 +26,8 @@ type IssueTracker interface { ParseRawIssueId(identifier string) (issueId string) // GetIssueTrackerType retu...
3
3
0
[{"id": "G0", "claim": "The IssueLabels configuration field set in NewFromConfiguration should be renamed to TypeLabels or IssueTypeLabels.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Github.GetIssueTypeLabel can be made much simpler, iterati...
null
InditexTech__gh-sherpa__54
InditexTech/gh-sherpa
54
defect
1441cde06c87d45faeeded9e98f675e5483fb832
93499d9b854d264b790eb7fdeca431964e474498
Remove license from files and use a folder license approach
Closes #53
diff --git a/.reuse/dep5 b/.reuse/dep5 new file mode 100644 index 0000000..26e7f4a --- /dev/null +++ b/.reuse/dep5 @@ -0,0 +1,7 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: GH Sherpa +Source: https://github.com/InditexTech/gh-sherpa + +Copyright: 2023 INDITEX S.A +Licen...
1
1
0
[{"id": "G0", "claim": "The .reuse/dep5 copyright line should read 2024 instead of 2023.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
InditexTech__gh-sherpa__93
InditexTech/gh-sherpa
93
defect
6d99e6eddacd2997afb6646cdd4a5d6e333e5329
edcee1f0bbdd22dc4a2931ac27909f838033577d
Branch Name Length Control Configurable
Closes #77
diff --git a/Makefile b/Makefile index 7fa8f0d..23b3c0d 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ coverage: $(eval TEST_COVERAGE_PROFILE_OUTPUT_DIRNAME=$(shell dirname $(TEST_COVERAGE_PROFILE_OUTPUT))) $(eval TEST_REPORT_OUTPUT_DIRNAME=$(shell dirname $(TEST_REPORT_OUTPUT))) mkdir -p $(TEST_COVERAGE_...
3
3
0
[{"id": "G0", "claim": "The comment in default-config.yml reading 'Bran max length configuration' should be corrected to 'Branch name max number of characters'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment in default-config.yml shoul...
null
InditexTech__gh-sherpa__95
InditexTech/gh-sherpa
95
defect
2fa2c6eb97b23c2dbeb8db114e71372306d77f70
9b2dc82c4a98e6d0fb66b11d587098b9132df7f6
Cannot create pull request if remote branch already exists
Closes #92
diff --git a/docs/USAGE.md b/docs/USAGE.md index 4b81682..e74e9ed 100644 --- a/docs/USAGE.md +++ b/docs/USAGE.md @@ -40,7 +40,7 @@ gh sherpa create-branch, cb [flags] #### Optional parameters * `--base`: Base branch for checkout. By default is the default branch. -* `--no-fetch`: The base branch will not be fetched...
3
3
0
[{"id": "G0", "claim": "The `--no-fetch` flag description in docs/USAGE.md (both the create-branch and create-pr sections) should read 'Remote branches will not be fetched.' instead of 'The base branch and current branch will not be fetched.'", "category": "documentation", "verdict": "supported", "priority": "P2", "sco...
null
Inferara__inference__128
Inferara/inference
128
defect
c9f96bbbd281f9dc83766f3ea938a896f1451f09
3ba197e23a153ab5ea852c00da748828dcc9da58
Remove LLVM from `infs`
Closes #126
diff --git a/CHANGELOG.md b/CHANGELOG.md index a77252d1..684ad095 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,7 +63,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Rename environment variable and directory for consistency ([#96]) - `INFS_HOME` → `INFERENCE_HOME` - ...
3
1
1
[{"id": "G0", "claim": "remove_symlinks/update_symlinks now manage only `infc`, so legacy `inf-llc`/`rust-lld` symlinks created by older versions would be left behind in the bin directory after upgrade; consider explicitly removing the legacy symlinks (during remove_symlinks and/or update_symlinks) to avoid stale/broke...
null
Infisical__agent-vault__102
Infisical/agent-vault
102
defect
5f3e36fbda457b931b634f8d50085c99518f2a73
8bac88cb6e9c09ce539df81adef77cf7a5845a52
feat: add `agent-vault run` shorthand for `agent-vault vault run`
## Summary - Promote `run` to a top-level command so wrapping an agent reads `agent-vault run -- claude` instead of `agent-vault vault run -- claude`. Both forms are identical in behavior and flags. - A factory `newRunCmd(examplePrefix)` in [cmd/run.go](cmd/run.go) builds the command twice — once under `vaultCmd`, onc...
diff --git a/README.md b/README.md index 2350558f..f59755f8 100644 --- a/README.md +++ b/README.md @@ -77,10 +77,10 @@ The server starts the HTTP API on port `14321` and a TLS-encrypted transparent H ### CLI — local agents (Claude Code, Cursor, Codex, OpenClaw, Hermes, OpenCode) -Wrap any local agent process with ...
1
1
1
[{"id": "G0", "claim": "Top-level `agent-vault run` does not accept the `--vault` flag, so its own Long help example and the docs claiming identical behavior and flags fail, and users cannot express the highest-priority vault selection from the shorthand; register `--vault` for both copies and add it to `expectedRunFla...
null
Infisical__agent-vault__103
Infisical/agent-vault
103
defect
c8b6461d5f0d31f3dbb52ec3730074fe66fe9401
1aa1b6124d3a7ec7f0e4df0f02a8b5a15b12890b
fix(sandbox): post-merge audit — exit codes, reserved dsts, root-uid, egress tests
## Summary Post-merge audit of the container-mode sandbox (PR #99 + follow-up `--share-agent-dir` work). Four must-fix items from the audit: - **Exit-code propagation**: container's real exit status now propagates to the parent via a new `ExitCodeError` sentinel unwrapped in `Execute()`. Previously every non-zero exit...
diff --git a/cmd/exit_code_error.go b/cmd/exit_code_error.go new file mode 100644 index 00000000..1c051886 --- /dev/null +++ b/cmd/exit_code_error.go @@ -0,0 +1,17 @@ +package cmd + +import "fmt" + +// ExitCodeError carries a specific process exit code through the Cobra +// RunE return path. Execute() unwraps it and ca...
2
2
2
[{"id": "G0", "claim": "validateContainerDst only rejects mounts on a reserved path or its descendants, so a user --mount of an ancestor directory (e.g. --mount /tmp/evil:/usr/local/sbin) can shadow the image's baked-in entrypoint.sh/init-firewall.sh and run attacker-controlled code as root before the egress lockdown, ...
null
Infisical__agent-vault__109
Infisical/agent-vault
109
defect
fdf011e8be294653ad3ed46128a9ee15da0f7662
3e1a2cc0d77527614ff0b3da1468f0adec4713a8
fix(server): keep `server stop` working after a foreground retry against a live daemon
## Summary - Pre-flight PID check in `serverCmd.RunE` refuses early — before opening the DB or prompting for the master password — when another live server already owns the PID file. The duplicate check inside `spawnDetached` is removed since `RunE` now guards both branches. - `Server.Start()` now binds HTTP synchrono...
diff --git a/cmd/cmd_test.go b/cmd/cmd_test.go index 559c15c5..d1ae08a3 100644 --- a/cmd/cmd_test.go +++ b/cmd/cmd_test.go @@ -2,9 +2,13 @@ package cmd import ( "bytes" + "fmt" "os" + "path/filepath" + "strings" "testing" + "github.com/Infisical/agent-vault/internal/pidfile" "github.com/Infisical/agent-vau...
1
1
1
[{"id": "G0", "claim": "The pre-flight 'already running' error advises passing --port to run a second instance, but the pidfile is keyed only on $HOME with no port component, so the suggested workaround is impossible and the --port clause should be dropped.", "category": "correctness", "verdict": "supported", "priority...
null
Infisical__agent-vault__111
Infisical/agent-vault
111
defect
da4e1aacff914f7b962dc107bba367c1a1fce8f9
3fbfe8933c07618694449727ffbdf70fc73cc5ee
feat(cli): re-prompt for credentials on expired session and retry once
## Summary - A user running `agent-vault run -- claude` whose stored broker session had expired hit a dead end: `Error: failed to create scoped session: Session expired`. They had to read the error, recall that `agent-vault auth login` was the fix, run it, then re-run the original command. `run` is the marquee entrypo...
diff --git a/cmd/helpers.go b/cmd/helpers.go index 6d6c0af8..0aa0b483 100644 --- a/cmd/helpers.go +++ b/cmd/helpers.go @@ -3,6 +3,7 @@ package cmd import ( "bytes" "encoding/json" + "errors" "fmt" "io" "net/http" @@ -20,6 +21,33 @@ import ( "golang.org/x/term" ) +// errSessionExpired marks an error as r...
4
4
3
[{"id": "G0", "claim": "The PR wraps only runCmdRunE's vault resolution + scoped-session mint in withReauthRetry, so `vault token` (cmd/token.go), which performs the same mint flow with the same two helpers, still dead-ends with 'failed to create scoped session: Session expired' on an expired admin session; the suggest...
null
Infisical__agent-vault__73
Infisical/agent-vault
73
defect
9b08de65f0969963f161be61336f5f3bef720041
d398c8328f8f13a0e4474a57deef4623d66d1fdb
feat: enable transparent MITM proxy by default on port 14322
## Summary - Flip `--mitm-port` default from `0` (disabled) to `14322`. The transparent `HTTPS_PROXY` ingress is now the out-of-the-box experience; `agent-vault ca fetch` works immediately on a fresh `agent-vault server`. - Make MITM bind failures non-fatal — a port conflict on 14322 now logs a warning and leaves the ...
diff --git a/CLAUDE.md b/CLAUDE.md index d916b72a..e87b9527 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -24,7 +24,7 @@ make docker # Multi-stage Docker image; data persisted at /data/.agent-vau - **Two ingress paths into the broker**: - Explicit proxy: `GET/POST /proxy/{target_host}/{path}` with a vault-scope...
4
4
3
[{"id": "G0", "claim": "When the MITM proxy fails to bind, the premature 'transparent proxy listening on' message contradicts the later warning, and s.mitm stays non-nil so GET /v1/mitm/ca.pem still serves a valid PEM with HTTP 200 even though nothing is listening on port 14322.", "category": "correctness", "verdict": ...
null
Infisical__agent-vault__74
Infisical/agent-vault
74
defect
cfa2a69181d3b8822cc1af1e99b7ed48bd6040fd
b1939ec8507685640c2dd289c1f5ac566614bc10
feat: add --log-level flag + structured per-request proxy logs
## Summary - Adds `--log-level` (info|debug) + `AGENT_VAULT_LOG_LEVEL` env fallback on `agent-vault server`. - At debug level, both ingress paths (explicit `/proxy/` and transparent MITM) emit one structured slog line per request: ingress, method, host, path, matched broker service, injected credential **key names**, u...
diff --git a/.claude/settings.json b/.claude/settings.json index 12115e39..bc7da3d0 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -7,7 +7,11 @@ "Bash(go build:*)", "Bash(go vet:*)", "Bash(npm test:*)", - "Bash(npm run:*)" + "Bash(npm run:*)", + "Bash(command -v go...
4
4
2
[{"id": "G0", "claim": "In handleProxy the explicit-ingress ProxyEvent keeps Path set to the full ingress URL path (/proxy/{host}/...) and never resets it to the upstream path after parsing, so explicit ingress logs a structurally different path than the MITM ingress path, contradicting the PR's promise of uniform per-...
null
Infisical__agent-vault__75
Infisical/agent-vault
75
defect
79b3aa4c108fefaccb773601eb7183dd4cf0b2dc
8e62ef11a3344e4c79476f032af45cdb92a68d39
feat: route `vault run` child HTTPS through the MITM proxy by default
## Summary - `vault run` now fetches the server's root CA via `/v1/mitm/ca.pem`, writes it to `~/.agent-vault/mitm-ca.pem`, and exports `HTTPS_PROXY` + standard CA-trust env vars (`SSL_CERT_FILE`, `NODE_EXTRA_CA_CERTS`, `REQUESTS_CA_BUNDLE`, `CURL_CA_BUNDLE`, `GIT_SSL_CAINFO`) so standard HTTPS clients in the child tr...
diff --git a/cmd/ca.go b/cmd/ca.go index e80d2399..b612ead1 100644 --- a/cmd/ca.go +++ b/cmd/ca.go @@ -11,6 +11,31 @@ import ( "github.com/spf13/cobra" ) +// fetchMITMCA requests the transparent-proxy root CA from the local server. +// Returns (pem, true, nil) on 200, (nil, false, nil) on 404 (MITM disabled), +// ...
3
3
3
[{"id": "G0", "claim": "augmentEnvWithMITM appends HTTPS_PROXY, HTTP_PROXY, SSL_CERT_FILE and related variables to env without first removing pre-existing occurrences of those keys, so in shells that already set them the child gets duplicate entries and C/curl-based tools (whose getenv returns the first match) keep usi...
null
Infisical__agent-vault__79
Infisical/agent-vault
79
defect
191d0ddc078ea946195af4badc3d9355047f7aad
0247d1326cd830f6183aebbe75e56f75ad0941c9
feat: simplify agent skills to MITM-only + add help hints to proxy errors
## Summary - **Skill files simplified**: Remove explicit `/proxy/{host}/{path}` fallback, "Managing Services Directly", dual-ingress passthrough header handling, and "Instance-Level Agent Tokens" sections from both `skill_cli.md` and `skill_http.md`. The agent contract is now just "make normal requests, raise a propos...
diff --git a/cmd/run.go b/cmd/run.go index 676cf3f3..ad725701 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -29,7 +29,7 @@ var skillHTTP string var runCmd = &cobra.Command{ Use: "run [flags] -- <command> [args...]", Short: "Wrap an agent process with Agent Vault access", - Long: `Start an agent process (e.g. claud...
3
3
2
[{"id": "G0", "claim": "The Tip added to docs/quickstart/hermes-agent.mdx says `vault run` installs a single Agent Vault skill at `~/.hermes/skills/agent-vault/SKILL.md`, but the code installs two skill files at `~/.hermes/skills/agent-vault-cli/SKILL.md` and `~/.hermes/skills/agent-vault-http/SKILL.md`, so both the su...
null
Infisical__agent-vault__81
Infisical/agent-vault
81
defect
191d0ddc078ea946195af4badc3d9355047f7aad
8c16207e4c57188e268886bc2eacb62b36d3a54d
feat: SDK container config, NODE_USE_ENV_PROXY, and README quickstart restructure
## Summary - **SDK container config**: `sessions.create()` now returns a `containerConfig` with MITM proxy URL, bypass list, and CA certificate PEM. New `buildProxyEnv()` helper expands this into the full env var set for any container runtime. - **NODE_USE_ENV_PROXY**: `vault run` now injects `NODE_USE_ENV_PROXY=1` so ...
diff --git a/README.md b/README.md index 631987eb..14dd2f5e 100644 --- a/README.md +++ b/README.md @@ -35,10 +35,9 @@ See the [installation guide](https://docs.agent-vault.dev/installation) for full ### Script (macOS / Linux) -Auto-detects your OS and architecture, downloads the latest release, and installs. Works...
2
2
2
[{"id": "G0", "claim": "The SDK's buildProxyEnv() omits NODE_USE_ENV_PROXY=1, so Node.js v22.21.0+ agents launched via the SDK path bypass HTTPS_PROXY and route native fetch()/https.get() traffic directly to upstream APIs instead of through the MITM proxy; add NODE_USE_ENV_PROXY: \"1\" to the returned object, with a ma...
null
Infisical__agent-vault__85
Infisical/agent-vault
85
defect
7462901772986fee0e81fff725ebbe5e397b7fd7
1042f6a8b7a9f38193e0481d25496c54fe9d95a3
feat: TLS-wrap the MITM proxy listener
## Summary - TLS-wrap the MITM proxy listener so the CONNECT handshake (carrying session tokens in `Proxy-Authorization`) is encrypted. The proxy's own cert is signed by the existing MITM CA via a `GetCertificate` callback — no new cert infrastructure needed. - Backward-compatible version negotiation via `X-MITM-TLS: ...
diff --git a/CLAUDE.md b/CLAUDE.md index ff58f9da..dd320b2b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -24,7 +24,7 @@ make docker # Multi-stage Docker image; data persisted at /data/.agent-vau - **Two ingress paths into the broker**: - Explicit proxy: `GET/POST /proxy/{target_host}/{path}` with a vault-scope...
1
1
1
[{"id": "G0", "claim": "When the proxy binds to `--host ::` (IPv6 unspecified), the SNI fallback maps it to \"127.0.0.1\", minting a cert with an IPv4-only IP SAN so clients connecting to ::1 without SNI fail the TLS handshake; fix by checking ip.To4() == nil and using \"::1\" as the fallback for IPv6 unspecified addre...
null
Infisical__infisical__3519
Infisical/infisical
3,519
defect
632572f7c3b3c955ee762c29b0f63bb00c8fbe78
9112586086bafdaceaeb6000ea8147942600b896
Updates IP Library to fix #3517
# Description 📣 Resolves the issue in #3517 where remote IP addresses may include a port when operating behind a load balancer which causes IP address / CIDR verification to fail such as when using universal authentication on a self hosted instance. ## Type ✨ - [x] Bug fix - [ ] New feature - [ ] Improvemen...
diff --git a/backend/src/lib/ip/index.test.ts b/backend/src/lib/ip/index.test.ts new file mode 100644 index 00000000000..5f3b64facdd --- /dev/null +++ b/backend/src/lib/ip/index.test.ts @@ -0,0 +1,121 @@ +import { extractIPDetails, IPType, isValidCidr, isValidIp, isValidIpOrCidr } from "./index"; + +describe("IP Valida...
8
2
0
[{"id": "G0", "claim": "Using the native regex to validate the port could be vulnerable to ReDoS attacks; consider using the RE2 package as per repository guidelines.", "category": "security", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In checkIPAgainstBlocklist the IP type...
null
Infisical__infisical__3528
Infisical/infisical
3,528
defect
296493484fc41ed7e18409f60a36b3d3d28cfa72
9f1ac77afab4a87ccbdaecf2c9e3e486f4239d5e
feat(admin): Invalidate Cache
# Description 📣 Added `deleteItems` to keyStore, added an admin endpoint + service func, and added some UI to the server admin console. ## Type ✨ - [ ] Bug fix - [x] New feature - [ ] Improvement - [ ] Breaking change - [ ] Documentation --- - [x] I have read the [contributing guide](https://infisic...
diff --git a/backend/e2e-test/mocks/keystore.ts b/backend/e2e-test/mocks/keystore.ts index 48f52f9e7f1..ddf57bfd52a 100644 --- a/backend/e2e-test/mocks/keystore.ts +++ b/backend/e2e-test/mocks/keystore.ts @@ -1,5 +1,6 @@ import { TKeyStoreFactory } from "@app/keystore/keystore"; import { Lock } from "@app/lib/red-loc...
14
8
6
[{"id": "G0", "claim": "The POST /invalidate-cache route is registered without the onRequest authentication (verifyAuth + verifySuperAdmin) that other admin routes have, leaving cache invalidation open to unauthenticated callers.", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}...
null
Infisical__infisical__3640
Infisical/infisical
3,640
defect
4292cb2a04ceecd2d401fcac3171d5b43be73867
bb2a70b986b817a041e36af5ee916b2e77ba8541
Feat/redis sentinel support
# Description 📣 Support for redis sentinel in infisical ## Type ✨ - [ ] Bug fix - [ ] New feature - [x] Improvement - [ ] Breaking change - [ ] Documentation # Tests 🛠️ <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any...
diff --git a/backend/e2e-test/vitest-environment-knex.ts b/backend/e2e-test/vitest-environment-knex.ts index 46b32234926..d3e6bb2e15c 100644 --- a/backend/e2e-test/vitest-environment-knex.ts +++ b/backend/e2e-test/vitest-environment-knex.ts @@ -55,8 +55,8 @@ export default { }); const smtp = mockSmtpSer...
14
4
0
[{"id": "G0", "claim": "Using non-null assertions (!) on REDIS_SENTINEL_HOSTS and REDIS_SENTINEL_MASTER_NAME is unsafe; these fields are required for Sentinel mode and should be validated before creating the client.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1"...
null
Infisical__infisical__3833
Infisical/infisical
3,833
defect
a767870ad62d955deaa83b3ae7685c6f21d18c23
3cfe2223b6fbcb31196992551a781a2969ce36c7
feat: migrated dynamic secret to pg queue and corrected service layer
# Description 📣 Previously our dynamic secret was queued using bullmq. We are moving away from persistent model in redis and keeping persistence in postgres. This is first one of the PRs for this migration. Moving dynamic secret to pg queue. I have also fixed types for dynamic secret, lease and queue types to sp...
diff --git a/backend/e2e-test/mocks/queue.ts b/backend/e2e-test/mocks/queue.ts index 3f49bcfeaba..58eebdedfa0 100644 --- a/backend/e2e-test/mocks/queue.ts +++ b/backend/e2e-test/mocks/queue.ts @@ -26,6 +26,7 @@ export const mockQueue = (): TQueueServiceFactory => { getRepeatableJobs: async () => [], clearQueu...
3
3
2
[{"id": "G0", "claim": "The polling interval of 30 seconds with 2 workers is too long, throttling an instance to 2 secret revocation jobs every 30 seconds; it should be set to 5 or 10 seconds instead.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "T...
null
Infisical__infisical__4466
Infisical/infisical
4,466
defect
65f0597bd84a9095ae55b9b158d290b7356fc263
4e16b0ac8f14962c682d2352b66b54ab5c6e77b6
Fix folder path and environment on secret imports
# Description 📣 <!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. Here's how we expect a pull request to be : https://infisical.com/docs/contributing/getting-started/pull-requests --> ...
diff --git a/backend/src/ee/services/secret-replication/secret-replication-service.ts b/backend/src/ee/services/secret-replication/secret-replication-service.ts index 4a5558f465b..f08c1560e6c 100644 --- a/backend/src/ee/services/secret-replication/secret-replication-service.ts +++ b/backend/src/ee/services/secret-repli...
1
1
0
[{"id": "G0", "claim": "The duplicated RE2 regex pattern in processReservedImports should be extracted to a constant to avoid recompiling it on every call.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Infisical__infisical__4684
Infisical/infisical
4,684
defect
d00c9e422f31b7ffdbe8bbaa6c9ed3d184704427
27f32aa2bcab235ec10b275195f750ba25e5b052
[ENG-3811] fix: adds delete protection in folder deletion with resources
# Description 📣 adds forceDelete flag to folder deletion V2 endpoint ## Type ✨ - [ ] Bug fix - [ ] New feature - [x] Improvement - [ ] Breaking change - [ ] Documentation # Tests 🛠️ <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please al...
diff --git a/backend/src/lib/api-docs/constants.ts b/backend/src/lib/api-docs/constants.ts index 1799555fb03..a2294a94037 100644 --- a/backend/src/lib/api-docs/constants.ts +++ b/backend/src/lib/api-docs/constants.ts @@ -949,7 +949,8 @@ export const FOLDERS = { projectId: "The ID of the project to delete the folde...
3
1
0
[{"id": "G0", "claim": "Defaulting forceDelete=true in the frontend useDeleteFolder hook could be dangerous if the backend treats it as bypassing safety checks, so false would be a safer default.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The DAL queri...
null
Infisical__infisical__4848
Infisical/infisical
4,848
defect
833e66b829ab17ac6bb374ea6e9b9f1451cd9ad7
d06151b28c84f265e06018c90379729d7e50db9a
[PKI-34] Add license check for PKI ACME feature
# Description 📣 ref: https://linear.app/infisical/issue/PKI-34/gate-the-acme-feature-with-license-check ## Type ✨ - [ ] Bug fix - [ ] New feature - [x] Improvement - [ ] Breaking change - [ ] Documentation # Tests 🛠️ Turn on & off the feature `pkiAcme` feature flag at [here](https://github.com/Infi...
diff --git a/backend/src/ee/routes/v1/index.ts b/backend/src/ee/routes/v1/index.ts index ce05ea3b670..7ff9ec09a56 100644 --- a/backend/src/ee/routes/v1/index.ts +++ b/backend/src/ee/routes/v1/index.ts @@ -1,5 +1,4 @@ import { registerProjectTemplateRouter } from "@app/ee/routes/v1/project-template-router"; -import { g...
5
2
1
[{"id": "G0", "claim": "The `pkiAcme` field in TFeatureSet should be typed `boolean` instead of the literal type `false`.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The non-null assertion `profile.project!.orgId` in validateAcmeProfile can cause a runt...
null
Infisical__infisical__4874
Infisical/infisical
4,874
defect
624c26821087abe819d6a10f6904fa30f8f9dfbc
0728eadc142d900f8e2c49af611a79c99ceeeb34
Move nock to dev deps and include the route only for dev/test builds
We had problem with nock module in the production build. It turned out that importing the nock module and not even using it causes it to intercepts all the outgoing requests (while doing nothing about them) and increase the memory footprint a lot. We commented out the route for nock. This PR brought back the nock route...
diff --git a/backend/src/server/routes/v1/bdd-nock-router.ts b/backend/src/server/routes/v1/bdd-nock-router.ts index 6a32cac20a4..43c5b6494f5 100644 --- a/backend/src/server/routes/v1/bdd-nock-router.ts +++ b/backend/src/server/routes/v1/bdd-nock-router.ts @@ -1,87 +1,100 @@ -// import { z } from "zod"; +import type { ...
4
1
0
[{"id": "G0", "claim": "The `if (!nock)` guard after `await import(\"nock\")` is dead code because a dynamic import either resolves with the module or throws, so the helper should simply return the module.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim...
null
Infisical__infisical__5126
Infisical/infisical
5,126
defect
815af3a8922b68fce5ff1314402c370317613c19
5e2a2fafe6ec62973aa5ceafd5d599615a3d0ed6
chore: remove old membership tables
## Context This PR removes old membership tables that got replaced with a standard data structure recently. This also remove other ones like org role, project role etc. I have also removed the knex.js binding and ensure the type check passes without any issue thus ensuring system works correctly ## Screenshots ...
diff --git a/backend/e2e-test/vitest-environment-knex.ts b/backend/e2e-test/vitest-environment-knex.ts index 0f84dbee233..45121400b96 100644 --- a/backend/e2e-test/vitest-environment-knex.ts +++ b/backend/e2e-test/vitest-environment-knex.ts @@ -144,14 +144,8 @@ export default { // @ts-expect-error type ...
2
1
1
[{"id": "G0", "claim": "Running the backend e2e tests fails: the migration rollback/teardown cannot drop tables that other objects depend on (e.g. additional_privileges), the environment errors out with an unhandled drop-table error, and the backend tests are still failing after the drop-schema change.", "category": "t...
null
Infisical__infisical__5458
Infisical/infisical
5,458
defect
8b86eeaaab975e8844352b183a3bf86c3e709ff4
424b1d6e0aa91870539cfc941d04f5e43e99fb19
improvement(api): add config for sending audit logs to clickhouse
## Context https://linear.app/infisical/issue/ENG-4567/update-infisical-platform-backend-code-to-allow-sending-audit-logs-to ## Screenshots <!-- If UI/UX changes, add screenshots or videos. Delete if not applicable. --> ## Steps to verify the change 1. ClickHouse is added to .dev docker compose file 2. ...
diff --git a/.env.example b/.env.example index 489aa292cbb..4600de6f2b6 100644 --- a/.env.example +++ b/.env.example @@ -137,3 +137,6 @@ DATADOG_HOSTNAME= # kubernetes KUBERNETES_AUTO_FETCH_SERVICE_ACCOUNT_TOKEN=false + +# ClickHouse (optional) for audit log storage +# CLICKHOUSE_URL=http://default:clickhouse@click...
6
3
3
[{"id": "G0", "claim": "Promise.allSettled is given the async function itself instead of an invoked promise, so the Postgres insert never executes; the function should be invoked.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The trailing comma aft...
null
Infisical__infisical__5508
Infisical/infisical
5,508
defect
bb4b8ab8e8c52ce870a66807d953b535ee01ad6f
101b5beb3f434fa1cd47b4d009303962931f0a90
fix: unblock e2e tests
## Context Unblocks failing E2E tests. The issue was that our OracleDB instance had been spun down. ## Screenshots <!-- If UI/UX changes, add screenshots or videos. Delete if not applicable. --> ## Steps to verify the change ## Type - [x] Fix - [ ] Feature - [ ] Improvement - [ ] Breaking - [ ] Do...
diff --git a/.github/workflows/run-backend-tests.yml b/.github/workflows/run-backend-tests.yml index 0a71819f174..b271086c138 100644 --- a/.github/workflows/run-backend-tests.yml +++ b/.github/workflows/run-backend-tests.yml @@ -3,11 +3,6 @@ name: "Run backend tests" on: pull_request: types: [opened, synchroni...
2
2
1
[{"id": "G0", "claim": "The workflow sends the E2E_TEST_ORACLE_DB_19_HOST/USERNAME/PASSWORD secrets to the external ngrok endpoint https://nonmomentary-milkily-jamari.ngrok-free.dev/test via curl POST, and this step must be removed immediately.", "category": "security", "verdict": "supported", "priority": "P0", "scope"...
null
Infisical__infisical__5602
Infisical/infisical
5,602
defect
a445c75a2cdf3cee9791aa47b537629580c792c4
5ed8bdb3e8db4e6f723bcb4c1c589877024c8792
feat: added redis stream based log aggregator
## Context This PR updated the audit log queue to use redis stream to push audit log when the clickhouse is provided and also the audirt log clickhouse mode is activated. This will then be aggregated and batch inserted into clickhouse. Right now the batch size is 50k in each 5s - target 10k RPS. The redis stream...
diff --git a/backend/e2e-test/mocks/keystore.ts b/backend/e2e-test/mocks/keystore.ts index 25782feee6d..d112b54b0bc 100644 --- a/backend/e2e-test/mocks/keystore.ts +++ b/backend/e2e-test/mocks/keystore.ts @@ -134,6 +134,10 @@ export const mockKeyStore = (): TKeyStoreFactory => { list = JSON.parse(existing) as ...
5
2
2
[{"id": "G0", "claim": "The CREATE TABLE IF NOT EXISTS migration is a no-op on existing deployments, so the new expiresAt column and TTL clause will not be applied after upgrade and inserts carrying expiresAt may be rejected or silently dropped; an ALTER TABLE ... ADD COLUMN IF NOT EXISTS / MODIFY TTL migration should ...
null
Infisical__infisical__5688
Infisical/infisical
5,688
defect
c50afd7f6758d6d8999284364a682317eda7597b
58343b073d4af2fa31ffd5364afe09357213846f
feat(pam): redis web access, arrow key support
## Context 1. Adds support for Redis Web Access - users can now access PAM Redis resource from the browser 2. Adds arrow key support - non-SSH web access interfaces will now support line editing and arrow keys for navigation and command history ## Screenshots <img width="3456" height="2082" alt="CleanShot 202...
diff --git a/backend/src/ee/services/pam-web-access/pam-redis-session-handler.ts b/backend/src/ee/services/pam-web-access/pam-redis-session-handler.ts new file mode 100644 index 00000000000..59d1745be18 --- /dev/null +++ b/backend/src/ee/services/pam-web-access/pam-redis-session-handler.ts @@ -0,0 +1,223 @@ +import { R...
8
2
2
[{"id": "G0", "claim": "If the initial ready/error promise rejects, handleRedisSession throws without disconnecting the abandoned ioredis client, whose later error emissions would be unhandled; the failure path should explicitly disconnect the client.", "category": "correctness", "verdict": "supported", "priority": "P1...
null
Infisical__infisical__5689
Infisical/infisical
5,689
defect
e897ce0f2f341f2bad42996afd738c708040e5b8
4b493856e9523a9ccdd952929deff58a08b4ba46
feat: enrich PostHog person records for machine identities with Redis-based dedup
## Context Machine identity PostHog person records (those with `identity-{uuid}` distinctIds) are created automatically when `postHog.capture()` or `postHog.groupIdentify()` fires during secret pulls, but they never receive a `postHog.identify()` call — leaving them with zero useful properties (no name, no auth method...
diff --git a/backend/e2e-test/mocks/keystore.ts b/backend/e2e-test/mocks/keystore.ts index d112b54b0bc..1e59a69a357 100644 --- a/backend/e2e-test/mocks/keystore.ts +++ b/backend/e2e-test/mocks/keystore.ts @@ -21,6 +21,11 @@ export const mockKeyStore = (): TKeyStoreFactory => { store[key] = value; return "...
4
3
0
[{"id": "G0", "claim": "The new identifyIdentity() function and the new setItemWithExpiryNX keystore method have no dedicated unit tests; tests should be added covering the dedup path (first call fires, second call within TTL skips) and the Redis-outage fallback to the in-memory set.", "category": "testing", "verdict":...
null