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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IBAMR__IBAMR__1127 | IBAMR/IBAMR | 1,127 | defect | bb0c7d2d7d4a97df078de31fdc7ff3ec174621dd | 6aa5bd84eaefff7ff4b506effc7fefc13e357f3a | Multilevel ibfe 7 | <!--
This template should be included in all pull requests. Items in the list should
either be completed by the original author or explicitly dismissed by one of the
IBAMR principal developers.
IBAMR is a community effort and it wouldn't exist without people contributing
code. Thanks in advance for helping to ma... | diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000000..66ab21c2b6
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,561 @@
+## ---------------------------------------------------------------------
+##
+## Copyright (c) 2020 - 2020 by the IBAMR developers
+## All rights reserved.
+##
+## This fi... | 7 | 1 | 0 | [{"id": "G0", "claim": "The second argument passed to registerRefine should be f_prolong_scratch_data_idx rather than f_scratch_data_idx.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The prolongation step should use the proper prolongation operator ... | null |
IBAMR__IBAMR__1160 | IBAMR/IBAMR | 1,160 | defect | ceab168f605cae47a58dcaec803f98aaeec6d9c1 | 73b92022ad2da508b08d3d748d3f9da2f81cfacc | Fischer | <!--
This template should be included in all pull requests. Items in the list should
either be completed by the original author or explicitly dismissed by one of the
IBAMR principal developers.
IBAMR is a community effort and it wouldn't exist without people contributing
code. Thanks in advance for helping to ma... | diff --git a/doc/news/changes/major/20201124DavidWells b/doc/news/changes/major/20201124DavidWells
new file mode 100644
index 0000000000..3342352665
--- /dev/null
+++ b/doc/news/changes/major/20201124DavidWells
@@ -0,0 +1,7 @@
+New: Added a new class IBTK::FischerGuess, which implements an algorithm for
+estimating a s... | 6 | 2 | 0 | [{"id": "G0", "claim": "The num_fischer_vectors documentation should state whether the Fischer guess is enabled or disabled by default; if it is disabled by default, it should say something like 'defaults to 5 when enabled'.", "category": "documentation", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, ... | null |
IBAMR__IBAMR__1188 | IBAMR/IBAMR | 1,188 | defect | ac7cc20156210141a6c759d4ad5d0ad7a18b1e1b | 92707c31e5e41b82149e08d678e28683f575ca92 | enable users to control whether quadrature rules are allowed to use negative weights | Resolves #1187.
<!--
This template should be included in all pull requests. Items in the list should
either be completed by the original author or explicitly dismissed by one of the
IBAMR principal developers.
IBAMR is a community effort and it wouldn't exist without people contributing
code. Thanks in advanc... | diff --git a/examples/IBFE/explicit/ex0/example.cpp b/examples/IBFE/explicit/ex0/example.cpp
index 54a0933c99..365a9738a6 100644
--- a/examples/IBFE/explicit/ex0/example.cpp
+++ b/examples/IBFE/explicit/ex0/example.cpp
@@ -269,7 +269,8 @@ main(int argc, char* argv[])
... | 6 | 6 | 5 | [{"id": "G0", "claim": "The pull request should leave the current default behavior (allowing negative quadrature weights) until after the 0.8 release instead of changing the default now.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Adding the boolean a... | null |
IBAMR__IBAMR__1238 | IBAMR/IBAMR | 1,238 | defect | 5583260e040b3e68a44fe87fcc417436126b5160 | e151ad2da72ce33cf3e35075ca1b3acef8bb1925 | add support for uniform body forces for IB structures |
### IBAMR Pull Request Checklist
- [x] Does the test suite pass?
- [X] Was clang-format run?
- [X] Were relevant issues cited? Please remember to add `Fixes #12345` to close
the issue automatically if we are fixing the problem.
- [x] Is this a change others will want to know about? If so, then has a
... | diff --git a/include/ibamr/IBStandardForceGen.h b/include/ibamr/IBStandardForceGen.h
index c1cf3e1e29..4ee8e25d90 100644
--- a/include/ibamr/IBStandardForceGen.h
+++ b/include/ibamr/IBStandardForceGen.h
@@ -92,6 +92,12 @@ class IBStandardForceGen : public IBLagrangianForceStrategy
... | 5 | 4 | 3 | [{"id": "G0", "claim": "Alongside the new uniform-force interface, the PR should also include an interface to set a variable body force by registering a function pointer (offered to be added).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The checklist ... | null |
IBAMR__IBAMR__1317 | IBAMR/IBAMR | 1,317 | defect | 3922a88d91bbc9461aea61c76160455f4cfb6bbd | 63e602658ae8c9f6928dba5337ac7a68bda952db | Release 0.9 cleanups | <!--
This template should be included in all pull requests. Items in the list should
either be completed by the original author or explicitly dismissed by one of the
IBAMR principal developers.
IBAMR is a community effort and it wouldn't exist without people contributing
code. Thanks in advance for helping to ma... | diff --git a/ibtk/src/lagrangian/LSiloDataWriter.cpp b/ibtk/src/lagrangian/LSiloDataWriter.cpp
index 6f460f8852..e87640e572 100644
--- a/ibtk/src/lagrangian/LSiloDataWriter.cpp
+++ b/ibtk/src/lagrangian/LSiloDataWriter.cpp
@@ -1959,6 +1959,8 @@ LSiloDataWriter::writePlotData(const int time_step_number, const double sim... | 2 | 1 | 0 | [{"id": "G0", "claim": "The plotting code disabled behind the new #if 0 block in fe_surface_distance.cpp should just be removed.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use a regular conditional instead of the preprocessor macro so that the... | null |
IBAMR__IBAMR__1443 | IBAMR/IBAMR | 1,443 | defect | e3c55db32b7dd5452699eb086f4eaf4383234a86 | b3c7c8a946f2d0d2906b3c11ba09f4afb9d023ff | Libmesh dev compat | We presently don't compile with the master branch of libMesh and deprecated features turned off because we rely on their old const-incorrect iterator handling (e.g., you could get an `Elem *` to a `const Mesh`, which doesn't make sense and is now fixed). I did have to change the API of `FESurfaceDistanceEvaluator`: @am... | diff --git a/doc/news/changes/incompatibilities/20220317DavidWells b/doc/news/changes/incompatibilities/20220317DavidWells
new file mode 100644
index 0000000000..fd68e8596a
--- /dev/null
+++ b/doc/news/changes/incompatibilities/20220317DavidWells
@@ -0,0 +1,5 @@
+Changed: The return type of FESurfaceDistanceEvaluator::... | 2 | 1 | 0 | [{"id": "G0", "claim": "The iterator loops this PR rewrites should be switched to range-based for loops while the PR is at it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "FEDataManager::collectActivePatchElements should use const Elem*s inste... | null |
IBAMR__IBAMR__1498 | IBAMR/IBAMR | 1,498 | defect | a206a60fda11043e5b5a16e4b56b26eb63bfcdc4 | fceb06b07e80422dfd65e06509fa7d9a4ef0c88b | Fix initialization of director vectors for gIB. | From #1238, the retrieval of director vectors was changed in a way that's incompatible with `IBStandardInitializer`. @boyceg, do you remember the reason this was changed? If directors aren't initialized, should we return an arbitrary set of vectors, or should we throw an error?
I'll work on a test for `IBStandardIni... | diff --git a/src/IB/IBRedundantInitializer.cpp b/src/IB/IBRedundantInitializer.cpp
index e8a4e8b742..cd915d010f 100644
--- a/src/IB/IBRedundantInitializer.cpp
+++ b/src/IB/IBRedundantInitializer.cpp
@@ -1496,8 +1496,11 @@ IBRedundantInitializer::getVertexBdryMassSpec(const std::pair<int, int>& point_i
const std::vecto... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new warning message in getVertexDirectors is a little opaque; reword it to say that the director vectors are being initialized to the standard basis (ideally stating that all director vectors for the structure on that level are being initialized).", "category": "documentation", "verdict": "u... | null |
IBAMR__IBAMR__1509 | IBAMR/IBAMR | 1,509 | defect | a564aaabd295662c7eea3aa083074b8cde3f206b | 4c0bfabafa7135dba066092514afbdf708cdf802 | add a central pressure tap to IBFE instrument panel | <!--
This template should be included in all pull requests. Items in the list should
either be completed by the original author or explicitly dismissed by one of the
IBAMR principal developers.
IBAMR is a community effort and it wouldn't exist without people contributing
code. Thanks in advance for helping to ma... | diff --git a/include/ibamr/IBFEInstrumentPanel.h b/include/ibamr/IBFEInstrumentPanel.h
index a1282a9f77..72898872f3 100644
--- a/include/ibamr/IBFEInstrumentPanel.h
+++ b/include/ibamr/IBFEInstrumentPanel.h
@@ -118,6 +118,11 @@ class IBFEInstrumentPanel
*/
const std::vector<double>& getMeterMeanPressures() c... | 5 | 3 | 2 | [{"id": "G0", "claim": "The patch-level looping logic for assigning points to patches is hard to follow and should be restructured to set my_intersecting_patch_level = -1, update it over locally owned patches, do a max reduction over it, and use LEInteractor/broadcast only on the winning rank.", "category": "design", "... | null |
IBAMR__IBAMR__1519 | IBAMR/IBAMR | 1,519 | defect | 37a17f4ef80f19ffa4f9e59ea8c72a2599d87b00 | 83247078b9cf5ef03671c1d01e979d359a90aea9 | add SSP RK3 time stepping to the explicit FEM solver | <!--
This template should be included in all pull requests. Items in the list should
either be completed by the original author or explicitly dismissed by one of the
IBAMR principal developers.
IBAMR is a community effort and it wouldn't exist without people contributing
code. Thanks in advance for helping to ma... | diff --git a/examples/fe_mechanics/ex0/example.cpp b/examples/fe_mechanics/ex0/example.cpp
index f1e316b295..c6b7993225 100644
--- a/examples/fe_mechanics/ex0/example.cpp
+++ b/examples/fe_mechanics/ex0/example.cpp
@@ -508,6 +508,14 @@ main(int argc, char* argv[])
{
fem_solver->modifiedTra... | 3 | 3 | 1 | [{"id": "G0", "claim": "The redundant `inline` keyword should be dropped from partHasPressure, since a method defined inside the class declaration is always inline.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new doForwardEulerStep and co... | null |
IBAMR__IBAMR__1523 | IBAMR/IBAMR | 1,523 | defect | ae54c2ca4de55b9c645aa26326f23d9362cb2f5e | 87eeb03c622b5ba4b0538d133ef14aa53e126a3c | Nodal pressure | <!--
This template should be included in all pull requests. Items in the list should
either be completed by the original author or explicitly dismissed by one of the
IBAMR principal developers.
IBAMR is a community effort and it wouldn't exist without people contributing
code. Thanks in advance for helping to ma... | diff --git a/ibtk/include/ibtk/HierarchyMathOps.h b/ibtk/include/ibtk/HierarchyMathOps.h
index 62bdac7712..abb56eb90d 100644
--- a/ibtk/include/ibtk/HierarchyMathOps.h
+++ b/ibtk/include/ibtk/HierarchyMathOps.h
@@ -803,16 +803,14 @@ class HierarchyMathOps : public SAMRAI::tbox::DescribedClass
* cell-centered vect... | 3 | 2 | 1 | [{"id": "G0", "claim": "The force output variable d_F_cc_var is also only used for output, so it probably should be switched to a nodal variable like the new nodal pressure output.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Ghost cell filling in th... | null |
IBAMR__IBAMR__1555 | IBAMR/IBAMR | 1,555 | defect | 79502c7d8c82894e7db4e720ef8adfa27ae8a8b2 | 06587c7d4a5ce1e5696425ee1a86a3dce7640c7b | Adding a simple example to demonstrate the regridding issues | <!--
This template should be included in all pull requests. Items in the list should
either be completed by the original author or explicitly dismissed by one of the
IBAMR principal developers.
IBAMR is a community effort and it wouldn't exist without people contributing
code. Thanks in advance for helping to ma... | diff --git a/configure b/configure
index 79b727e4b0..47d8f81fed 100755
--- a/configure
+++ b/configure
@@ -39974,7 +39974,7 @@ echo
echo "================"
echo "Outputting files"
echo "================"
-ac_config_files="$ac_config_files Makefile config/make.inc examples/Makefile examples/CIB/Makefile examples/CIB/... | 7 | 5 | 3 | [{"id": "G0", "claim": "Remove the regridHierarchyBeginSpecialized specialization in AdvDiffSemiImplicitHierarchyIntegrator since it only calls the parent class implementation.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the resetHierarc... | null |
IBAMR__IBAMR__1589 | IBAMR/IBAMR | 1,589 | defect | 4c57a0ba7eb954ec458b6146f5fb13ef64902cb5 | 4bac06f23b8f9bd362442f040d83a75364dbe8d7 | Vector RAII | Spin-off from #1586.
### IBAMR Pull Request Checklist
- [x] Does the test suite pass?
- [x] Was clang-format run?
- [x] Were relevant issues cited? Please remember to add `Fixes #12345` to close
the issue automatically if we are fixing the problem.
- [x] Is this a change others will want to know about? If... | diff --git a/doc/news/changes/minor/20230504DavidWells b/doc/news/changes/minor/20230504DavidWells
new file mode 100644
index 0000000000..4f9973ba63
--- /dev/null
+++ b/doc/news/changes/minor/20230504DavidWells
@@ -0,0 +1,4 @@
+New: added two new classes ScopedVectorCopy and ScopedVectorDuplicate to enable
+usage of SA... | 6 | 5 | 0 | [{"id": "G0", "claim": "The doc comment of checked_dereference should drop the duplicated word and read \"normal assertion macro.\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Consider letting users pass a value for the timestamp argument to a... | null |
IBAMR__IBAMR__1593 | IBAMR/IBAMR | 1,593 | defect | b8c085dac9579f4bc8486c07fb4c65e74c9aedcf | 915be37fe64204af8820ab8bef8c322ab387b4f9 | Fix some more marker bugs. | We can now unset markers and then set them up again later.
### IBAMR Pull Request Checklist
- [x] Does the test suite pass?
- [x] Was clang-format run?
- [x] Were relevant issues cited? Please remember to add `Fixes #12345` to close
the issue automatically if we are fixing the problem.
- [x] Is this a cha... | diff --git a/src/IB/IBExplicitHierarchyIntegrator.cpp b/src/IB/IBExplicitHierarchyIntegrator.cpp
index 035729b8c7..18869fe57a 100644
--- a/src/IB/IBExplicitHierarchyIntegrator.cpp
+++ b/src/IB/IBExplicitHierarchyIntegrator.cpp
@@ -511,7 +511,10 @@ IBExplicitHierarchyIntegrator::setMarkers(const EigenAlignedVector<IBTK:... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment above `d_markers.setNull()` should say why the reset is needed — the reply to M001 explains that deleting the current markers removes them from the restart database, avoiding two objects with the same name.", "category": "documentation", "verdict": "supported", "priority": "P2", "sco... | null |
IBAMR__IBAMR__1599 | IBAMR/IBAMR | 1,599 | defect | ff4f301623c2b333643eb9c0f42da4a98025efc4 | 0ebbf11dfe53e48a2cde734c28c7d878818b67e9 | look up the patch data using a patch data index | <!--
This template should be included in all pull requests. Items in the list should
either be completed by the original author or explicitly dismissed by one of the
IBAMR principal developers.
IBAMR is a community effort and it wouldn't exist without people contributing
code. Thanks in advance for helping to ma... | diff --git a/ibtk/src/math/HierarchyMathOps.cpp b/ibtk/src/math/HierarchyMathOps.cpp
index 1813f4555f..ebcbd954e0 100644
--- a/ibtk/src/math/HierarchyMathOps.cpp
+++ b/ibtk/src/math/HierarchyMathOps.cpp
@@ -1987,7 +1987,7 @@ HierarchyMathOps::interp(const int dst_idx,
const bool src_cf_bdry_sy... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new nodal interpolation tests in this PR do not execute the interp coarse-fine boundary synch code path where the silent pointer-to-index conversion bug lurked, so the test needs fixing to cover it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"... | null |
IBAMR__IBAMR__1601 | IBAMR/IBAMR | 1,601 | defect | ff4f301623c2b333643eb9c0f42da4a98025efc4 | 4d59a1f406a3979f9e02a640b28292dc5aa9aab4 | Extending level_set/ex1 for initial visualization of the distorted si… | …gned distance field
<!--
This template should be included in all pull requests. Items in the list should
either be completed by the original author or explicitly dismissed by one of the
IBAMR principal developers.
IBAMR is a community effort and it wouldn't exist without people contributing
code. Thanks in a... | diff --git a/examples/level_set/ex1/LSLocateInterface.cpp b/examples/level_set/ex1/LSLocateInterface.cpp
index 0ba216814b..17b8435f65 100644
--- a/examples/level_set/ex1/LSLocateInterface.cpp
+++ b/examples/level_set/ex1/LSLocateInterface.cpp
@@ -58,7 +58,7 @@ circular_interface_neighborhood(int D_idx,
#if (NDIM == 3)... | 12 | 10 | 3 | [{"id": "G0", "claim": "The extended example still lacks the volume calculation part and it should be added before the PR is merged.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The PR carries extra features beyond upgrading an example and the pla... | null |
IBAMR__IBAMR__1671 | IBAMR/IBAMR | 1,671 | defect | 7d6da6c026adcccf13d4b560f97a26aa57074a65 | 05b51110a715493e1370a82a7f46cc8705d34d6a | Introduce doIntegrateHierarchy() virtual function. | Fixes #1636. This introduces a new protected pure virtual function `doIntegrateHierarchy()` in `HierarchyIntegrator`. Previously, `integrateHierarchy()` was designed to do two things: (1) perform an integration cycle and (2) execute post integration callbacks. The design principle was that the class furthest down the h... | diff --git a/doc/news/changes/incompatibilities/20240123AaronBarrett b/doc/news/changes/incompatibilities/20240123AaronBarrett
new file mode 100644
index 0000000000..c30af84187
--- /dev/null
+++ b/doc/news/changes/incompatibilities/20240123AaronBarrett
@@ -0,0 +1,11 @@
+Incompatability: Changed HierarchyIntegrator::int... | 7 | 5 | 2 | [{"id": "G0", "claim": "The patch breaks basically every non-IBAMR class that inherits from HierarchyIntegrator, and the PR should if possible do things in a more compatible way.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The same callback-centralizing... | null |
IBAMR__IBAMR__1786 | IBAMR/IBAMR | 1,786 | defect | 4a0776f2c915b9747d12d3ad8fbe13633dc84045 | ab25cb66b53aa2c520f488ad9e1a75bc263dab72 | Add class that can compute averaged flow quantities | This adds the `HierarchyAveragedDataManager` class that utilizes the `SnapshotCache` to compute averages of noisy fields over multiple cycles. This class does not yet support restarts. You can compute an average velocity using the following code
```c++
while (t < T_final)
{
// Advance flow field
ins_in... | diff --git a/doc/news/changes/major/20250226AaronBarrett b/doc/news/changes/major/20250226AaronBarrett
new file mode 100644
index 0000000000..5ef4791cfb
--- /dev/null
+++ b/doc/news/changes/major/20250226AaronBarrett
@@ -0,0 +1,3 @@
+New: Added a class that can compute averages of noise fields over several periods.
+<b... | 18 | 14 | 3 | [{"id": "G0", "claim": "The period keys and members should be named `period_start_time`/`period_end_time` so they are closer to what is specified for `HierarchyIntegrator`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `grid_geom` construct... | null |
IBAMR__IBAMR__1820 | IBAMR/IBAMR | 1,820 | defect | 8f2bbe262325aa28496b5f61c312c13563662b88 | 5fd203edd095d9ba827d011afc46d622cff48f4b | MarkerPatchHierarchy: save the marker ids. | Fixes #1819. This makes some kinds of visualizations easier.
### IBAMR Pull Request Checklist
- [x] Does the test suite pass?
- [x] Was clang-format (i.e., `make indent`) run? For more information see
`scripts/formatting/README.md`.
- [x] Were relevant issues cited? Please remember to add `Fixes #12345` to... | diff --git a/doc/news/changes/minor/20250811DavidWells b/doc/news/changes/minor/20250811DavidWells
new file mode 100644
index 0000000000..460d596544
--- /dev/null
+++ b/doc/news/changes/minor/20250811DavidWells
@@ -0,0 +1,3 @@
+Fixed: The H5Part marker point output now saves the marker ids.
+<br>
+(David Wells, 2025/08... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new \"id\" dataset should perhaps use a 32-bit int type (and getIntegerArray may not handle a 64-bit dataset), so H5T_STD_I64LE may not be needed.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test should plog the ma... | null |
IBAMR__IBAMR__1860 | IBAMR/IBAMR | 1,860 | defect | 8e45766d426c8bc4905c32a245a24f96d3ffb27a | d58989cb0229ab89beef2ed2e49b42687798adba | Add options for regridding operators in the advection diffusion integrator. | Also deletes an extra coarsening step that is done in the base class.
<!--
This template should be included in all pull requests. Items in the list should
either be completed by the original author or explicitly dismissed by one of the
IBAMR principal developers.
IBAMR is a community effort and it wouldn't exi... | diff --git a/include/ibamr/AdvDiffHierarchyIntegrator.h b/include/ibamr/AdvDiffHierarchyIntegrator.h
index 8738214a71..373e159e83 100644
--- a/include/ibamr/AdvDiffHierarchyIntegrator.h
+++ b/include/ibamr/AdvDiffHierarchyIntegrator.h
@@ -421,6 +421,17 @@ class AdvDiffHierarchyIntegrator : public IBTK::HierarchyIntegra... | 4 | 3 | 2 | [{"id": "G0", "claim": "The new refine/coarsen operator options should also be settable from the input file, in addition to the C++ setter.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A basic test exercising the new operator-selection functionality shou... | null |
IBM__MAX-Object-Detector__145 | IBM/MAX-Object-Detector | 145 | defect | 7782a101870dfaa7bffea1f6a4f334abe1b6271d | 22fea31c39fa00710e9e1b8d0ede1ddcfe44a713 | Training Update | PR to resolve training errors.
- Split requirements into two and add packages that are not available.
- Update to test script | diff --git a/tests/training/test_sample_training_response.py b/tests/training/test_sample_training_response.py
index ea4ff7b..e711184 100644
--- a/tests/training/test_sample_training_response.py
+++ b/tests/training/test_sample_training_response.py
@@ -49,7 +49,7 @@ def test_metadata():
def test_predict():
mode... | 4 | 3 | 0 | [{"id": "G0", "claim": "Use `assert response['predictions'][0]['label'] in ('toy', 'pen')` instead of the chained `or` equality checks.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Because there is randomness in the training process the test r... | null |
IBM__MAX-Object-Detector__36 | IBM/MAX-Object-Detector | 36 | defect | c4f5cd96ca0ea7ada8aa5278de9d7cd88d74e533 | bbce5ffdb00904bf85c5b4222e81c59e42b26b48 | Make API titles and metadata more user friendly | This is an example PR to highlight what changes would be required to make the API more user friendly, and make the metadata more informative. Ideally, we want to make these changes to the CODAIT/MAX-Framework if everyone agrees.
If we merge, I can do the same for the MAX-Framework if that's ok @bdwyer2 @djalova
... | diff --git a/api/model.py b/api/model.py
index 0fe3bd7..8449f6e 100644
--- a/api/model.py
+++ b/api/model.py
@@ -10,6 +10,8 @@
'id': fields.String(required=True, description='Model identifier'),
'name': fields.String(required=True, description='Model name'),
'description': fields.String(required=True, de... | 5 | 4 | 0 | [{"id": "G0", "claim": "Add a screenshot of the result to the pull request description.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The API description is wordy and should read 'Upload an image to predict objects and their bounding boxes.'", "c... | null |
IBM__differential-privacy-library__41 | IBM/differential-privacy-library | 41 | defect | 4d48efb6d6086c57d1b813b76b2755c87735d5d8 | a4da6a1c4a007b8ceaee1ab20bddee0167932339 | [feature] Add DP Random Forest Classifier algorithm | I would like to add an implementation of a differentially private Random Forest Classifier algorithm based on [this paper](https://arxiv.org/abs/1606.03572). As mentioned in [this issue](https://github.com/IBM/differential-privacy-library/issues/22), I read the [survey](https://dl.acm.org/doi/pdf/10.1145/3337064) on t... | diff --git a/diffprivlib/__init__.py b/diffprivlib/__init__.py
index 6fb95e3..af1a554 100644
--- a/diffprivlib/__init__.py
+++ b/diffprivlib/__init__.py
@@ -29,4 +29,4 @@
from diffprivlib import tools
from diffprivlib.accountant import BudgetAccountant
-__version__ = '0.4.1'
+__version__ = '0.4.2'
diff --git a/diff... | 11 | 9 | 4 | [{"id": "G0", "claim": "LGTM reports a new 'Unused local variable' alert in the added code that should be resolved.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The classifiers should be refactored to subclass scikit-learn's BaseEstimator - at... | null |
IBM__differential-privacy-library__46 | IBM/differential-privacy-library | 46 | defect | 90b319a90414ebf12062887c07e1609f888e1a34 | dc8d19151330cfa380462a4500a473b56340d022 | [FEA] Add implementation of snapping mechanism | First draft implementation of the snapping mechanism. This addresses a vulnerability
in the Laplace mechanism and its derivatives, stemming from floating-point numbers.
The mechanism was proposed as a solution to this vulnerability by Ilya Mironov
Paper link: https://www.microsoft.com/en-us/research/wp-content/upl... | diff --git a/diffprivlib/mechanisms/__init__.py b/diffprivlib/mechanisms/__init__.py
index 8a815e5..dbcb1a1 100644
--- a/diffprivlib/mechanisms/__init__.py
+++ b/diffprivlib/mechanisms/__init__.py
@@ -28,6 +28,7 @@
from diffprivlib.mechanisms.geometric import Geometric, GeometricFolded, GeometricTruncated
from diffpr... | 9 | 9 | 1 | [{"id": "G0", "claim": "In _scale_bound, effective_epsilon and randomise, the general case should come last with the sensitivity == 0 edge case handled first.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The mse override that only raises NotImplemented... | null |
IBM__differential-privacy-library__54 | IBM/differential-privacy-library | 54 | defect | 50b142ff04bca41736e7a7b7152cc2115704edd0 | f3b44a019fa27a8137b9c6c0a8296b153c4a4f86 | [ENH] Transition to Github Actions | This PR starts the process of moving all testing of diffprivlib to Github Actions. Github Actions will replace Travis. Travis will continue to be used up to and including the release of diffprivlib 0.5.0.
## Description
The following workflows will be run on Github Actions:
- General tests with pytest, as currentl... | diff --git a/.github/workflows/code.yml b/.github/workflows/code.yml
new file mode 100644
index 0000000..414c0af
--- /dev/null
+++ b/.github/workflows/code.yml
@@ -0,0 +1,36 @@
+# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
+# For more information see: https://he... | 2 | 1 | 0 | [{"id": "G0", "claim": "The workflow name in .github/workflows/deploy.yml should read \"PyPI deployment\" instead of the misspelled \"PyPi deployment\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The PR could consider adding a .github/dependab... | null |
IBM__mcp-context-forge__1012 | IBM/mcp-context-forge | 1,012 | defect | 92cfc5b0a3e450f4540c871f17d823c877ddbaa3 | 17d97c60bbde122036472cb284101d5669349042 | Add email_team_member_history table for tracking team member actions | This PR introduces the **`email_team_member_history`** table to maintain a complete audit trail of actions performed on email team members. Reference issue https://github.com/IBM/mcp-context-forge/issues/959
---
### Changes
Created a new table `email_team_member_history` with the following definition:
```sq... | diff --git a/mcpgateway/alembic/versions/0f81d4a5efe0_new_table_email_team_member_history_for_.py b/mcpgateway/alembic/versions/0f81d4a5efe0_new_table_email_team_member_history_for_.py
new file mode 100644
index 0000000000..d7bacea963
--- /dev/null
+++ b/mcpgateway/alembic/versions/0f81d4a5efe0_new_table_email_team_mem... | 3 | 2 | 2 | [{"id": "G0", "claim": "The pull request currently fails with \"alembic.util.exc.CommandError: Can't locate revision identified by '14ac971cee42'\" so the server cannot start.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "unclear"}, {"id": "G1", "claim": "Logging in again as a team ad... | null |
IBM__mcp-context-forge__3062 | IBM/mcp-context-forge | 3,062 | defect | bc42bbb2fbeb1f69efc0d8989a4fb3e70b6cfec5 | 604aafd03c1e4bc1773d50e3273f3e46f9252a52 | [FIX][UI]: Fix OAuth tool fetching | # 🐛 Bug-fix PR
Closes #3059
---
## 📌 Summary
Fixes a bug where clicking "Fetch Tools" button in the OAuth callback page returns a 401 error with message "Cookie authentication not allowed for API requests. Use Authorization header."
## 🐞 Root Cause
The RBAC middleware (`mcpgateway/middleware/rbac.py`) ... | diff --git a/mcpgateway/routers/oauth_router.py b/mcpgateway/routers/oauth_router.py
index ee8e3fe1485..aabe9fc12e2 100644
--- a/mcpgateway/routers/oauth_router.py
+++ b/mcpgateway/routers/oauth_router.py
@@ -477,7 +477,11 @@ async def oauth_callback(
try {{
const response = awai... | 3 | 2 | 2 | [{"id": "G0", "claim": "The added fake `hx-request: true` header misclassifies a plain fetch() as an HTMX request, so any middleware or logging that branches on `hx-request` will misclassify this request.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"... | null |
IBM__mcp-context-forge__3166 | IBM/mcp-context-forge | 3,166 | defect | 29e6aae3fb4ecda0c9f7ea11a80da20f7f009c22 | 0977122ee18087eb83d666cb59c27f5c26afde80 | [FIX][API]: Fix import endpoint JSON parameter handling | > **Note:** This PR was re-created from #3053 due to repository maintenance. Your code and branch are intact. @shoummu1 please verify everything looks good.
## Summary
Fixes issue #2960 by adding explicit `Body()` annotations to the `/import` endpoint parameters that FastAPI was incorrectly treating as query paramete... | diff --git a/docs/docs/manage/export-import.md b/docs/docs/manage/export-import.md
index 5376f833c8..11682704c4 100644
--- a/docs/docs/manage/export-import.md
+++ b/docs/docs/manage/export-import.md
@@ -126,11 +126,11 @@ mcpgateway import backup.json --conflict-strategy fail # Fail on conflicts
### REST API Import
... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add explicit validation that checks whether import_data is present in the request body and raises an error when it is missing, plus corresponding tests for that error.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}] | null |
IBM__mcp-context-forge__3283 | IBM/mcp-context-forge | 3,283 | defect | c345dc87485927770a8887617beb8245c79b81db | dc853578f6ee1c8b343947882e72586d88c7148d | chore(tests): fix slow tests by mocking unmocked network calls | ## Summary
- Move non-deterministic performance benchmark test to `tests/fuzz/`
- Fix 6 unit tests that were 5-60x slower than necessary due to unmocked network calls, wrong mock targets, or hardcoded sleeps:
- **content moderation** (60s to <1s): mock primary/fallback HTTP providers to avoid real timeout cascade
... | diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml
index f27b650fa1..e7168a9217 100644
--- a/.github/workflows/pytest.yml
+++ b/.github/workflows/pytest.yml
@@ -88,8 +88,9 @@ jobs:
# -----------------------------------------------------------
- name: 🧪 Run pytest
run: |
- ... | 4 | 3 | 1 | [{"id": "G0", "claim": "The rewritten OAuth health-check test no longer verifies that the refreshed OAuth tokens are actually used in the outgoing request, and should assert that mock_client.stream call args include 'Bearer token1' on the first call and 'Bearer token2' on the second.", "category": "testing", "verdict":... | null |
IBM__mcp-context-forge__3337 | IBM/mcp-context-forge | 3,337 | defect | 65d747ed57097c9bb146abb5e658ddbf3f394454 | 158df9a42304d9731548c59ea7c1ab3269ced56f | [FIX][API]: extract resolve_root_path into shared utils/paths module | <!--
For specialized templates, append to your PR URL:
?template=bug_fix.md - Bug fixes
?template=feature.md - New features
?template=docs.md - Documentation
?template=plugin.md - New plugins
Example: https://github.com/IBM/mcp-context-forge/compare/main...your-branch?expand=1&template=bug_f... | diff --git a/mcpgateway/admin.py b/mcpgateway/admin.py
index 2a30ff56661..7eb70087d54 100644
--- a/mcpgateway/admin.py
+++ b/mcpgateway/admin.py
@@ -154,6 +154,7 @@
from mcpgateway.utils.orjson_response import ORJSONResponse
from mcpgateway.utils.pagination import paginate_query
from mcpgateway.utils.passthrough_hea... | 9 | 7 | 1 | [{"id": "G0", "claim": "Remove the '# Made with Bob' comment at the end of mcpgateway/utils/paths.py.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add unit tests for the new resolve_root_path helper beyond the doctests, since the checklist not... | null |
IBM__mcp-context-forge__3462 | IBM/mcp-context-forge | 3,462 | defect | 2187c00eade52ec6c238df140e8955fa52b9a303 | 9d46337fe6bfc0b6e30c18c0adce69b389fcd8c3 | fix(ui): hide deactivated entities in admin UI catalog and API | <!--
For specialized templates, append to your PR URL:
?template=bug_fix.md - Bug fixes
?template=feature.md - New features
?template=docs.md - Documentation
?template=plugin.md - New plugins
Example: https://github.com/IBM/mcp-context-forge/compare/main...your-branch?expand=1&template=bug_f... | diff --git a/mcpgateway/admin.py b/mcpgateway/admin.py
index 1ebae7edc5..37f5a62fe1 100644
--- a/mcpgateway/admin.py
+++ b/mcpgateway/admin.py
@@ -53,7 +53,7 @@
from pydantic_core import ValidationError as CoreValidationError
from sqlalchemy import and_, bindparam, case, cast, desc, false, func, or_, select, String, ... | 7 | 4 | 0 | [{"id": "G0", "claim": "The change only fixes part of the reported issue: GET /servers still goes through ServerService list paths that eager-load the same relationships without the new enabled filter, and convert_server_to_read() will still serialize any disabled associations that were loaded.", "category": "correctne... | null |
IBM__mcp-context-forge__3477 | IBM/mcp-context-forge | 3,477 | defect | 8eb687cc575cf95d3dda55c443505229ecdaa01d | b8c09b3fcd0d1485d04aac47e9eb22c1800af89a | fix(ui): add JSON validation with 422 error for tool form fields | <!--
For specialized templates, append to your PR URL:
?template=bug_fix.md - Bug fixes
?template=feature.md - New features
?template=docs.md - Documentation
?template=plugin.md - New plugins
Example: https://github.com/IBM/mcp-context-forge/compare/main...your-branch?expand=1&template=bug_f... | diff --git a/mcpgateway/admin.py b/mcpgateway/admin.py
index 3c0e7f851c..f847de115d 100644
--- a/mcpgateway/admin.py
+++ b/mcpgateway/admin.py
@@ -10946,6 +10946,25 @@ async def admin_add_tool(
input_schema_raw = form.get("input_schema")
output_schema_raw = form.get("output_schema")
annotations_raw = for... | 2 | 1 | 0 | [{"id": "G0", "claim": "admin_edit_tool has the same unguarded orjson.loads() calls that will raise on invalid JSON — the exact same bug this PR fixes for admin_add_tool — and the fix should be applied consistently to both endpoints.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_e... | null |
IBM__mcp-context-forge__3586 | IBM/mcp-context-forge | 3,586 | defect | 0e2d560902cc1e3e0b452409586a17b6b8860c39 | ba2b9abfaace4500e8e314b99aee26e5f5dec31c | Fix UI test mcp test tool not handling json objects | Fix UI test mcp test tool not handling json objects
- Check for json type and validade json
- Increase json input area to 4 rows
<!--
For specialized templates, append to your PR URL:
?template=bug_fix.md - Bug fixes
?template=feature.md - New features
?template=docs.md - Documenta... | diff --git a/mcpgateway/static/admin.js b/mcpgateway/static/admin.js
index 8a81735511..728a1aaaaf 100644
--- a/mcpgateway/static/admin.js
+++ b/mcpgateway/static/admin.js
@@ -12160,9 +12160,13 @@ async function testTool(toolId) {
// Input field with validation (with multiline support)
... | 2 | 2 | 2 | [{"id": "G0", "claim": "JSON.parse(\"null\") passes the new object validation because typeof null === \"object\" and null is not an array, so the UI can send a payload the type: \"object\" schema disallows; an explicit parsed === null check is needed.", "category": "correctness", "verdict": "supported", "priority": "P1... | null |
IBM__mcp-context-forge__3600 | IBM/mcp-context-forge | 3,600 | defect | b32e8c53e6b02671ce7d5cebcef2d0c3e7c84698 | d4ae9b5c74dca286abbabf76b526d1d812565eeb | [Fix][Observability]: Fix duplicate DB session in observability middleware | <!--
For specialized templates, append to your PR URL:
?template=bug_fix.md - Bug fixes
?template=feature.md - New features
?template=docs.md - Documentation
?template=plugin.md - New plugins
Example: https://github.com/IBM/mcp-context-forge/compare/main...your-branch?expand=1&template=bug_f... | diff --git a/mcpgateway/main.py b/mcpgateway/main.py
index aaedd113eb..5283919480 100644
--- a/mcpgateway/main.py
+++ b/mcpgateway/main.py
@@ -3058,10 +3058,15 @@ def tojson_attr(value: object) -> str:
# Database dependency
-def get_db():
+def get_db(request: Request = None):
"""
Dependency function to p... | 6 | 5 | 3 | [{"id": "G0", "claim": "The middleware's main exception handler only calls db.rollback() and does not invalidate the connection when rollback fails, so broken connections (e.g. PgBouncer query_wait_timeout) stay in the pool; db.invalidate() should be added on the rollback-failure path.", "category": "correctness", "ver... | null |
IBM__mcp-context-forge__3663 | IBM/mcp-context-forge | 3,663 | defect | 641d6a4aab86c34357a0ebd79340958a3b643acc | 4705cf67592b040637bf9ec47f68ea35b967abba | feat: Add PLUGINS_CAN_OVERRIDE_AUTH_HEADERS feature flag for WXO auth | ## Summary
- Adds `PLUGINS_CAN_OVERRIDE_AUTH_HEADERS` setting (default `false`) to control whether pre-request plugin hooks can override auth-sensitive headers (`Authorization`, `Cookie`, `X-Api-Key`, `Proxy-Authorization`)
- Parameterizes `JWT_SECRET_KEY` across `docker-compose.yml` via env var substitution instead of... | diff --git a/.env.example b/.env.example
index 57dad4963f..f99eae5270 100644
--- a/.env.example
+++ b/.env.example
@@ -172,6 +172,7 @@ OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
# LLMCHAT_ENABLED=true
# MCPGATEWAY_STDIO_TRANSPORT_ENABLED=false
# PLUGINS_CAN_OVERRIDE_RBAC=false
+# PLUGINS_CAN_OVERRIDE_AUTH_HEA... | 7 | 5 | 4 | [{"id": "G0", "claim": "The locustfile docstring still says JWT_SECRET_KEY defaults to my-test-key while the code now defaults to my-test-key-but-now-longer-than-32-bytes; update the docstring to match or drop the hardcoded default.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "intr... | null |
IBM__mcp-context-forge__3696 | IBM/mcp-context-forge | 3,696 | defect | 88d21000fa45d849e430bcd1b6a270b6c0cde089 | 1db91957b7d161f4cf11ac03f0cd11caeb3b448f | fix(api): consolidate loopback RPC URLs and TLS verification into shared helper (#3543) | <!--
For specialized templates, append to your PR URL:
?template=bug_fix.md - Bug fixes
?template=feature.md - New features
?template=docs.md - Documentation
?template=plugin.md - New plugins
Example: https://github.com/IBM/mcp-context-forge/compare/main...your-branch?expand=1&template=bug_f... | diff --git a/mcpgateway/cache/session_registry.py b/mcpgateway/cache/session_registry.py
index 74fe553c66..640d16dbb1 100644
--- a/mcpgateway/cache/session_registry.py
+++ b/mcpgateway/cache/session_registry.py
@@ -71,6 +71,7 @@
from mcpgateway.services.logging_service import LoggingService
from mcpgateway.transports... | 2 | 2 | 0 | [{"id": "G0", "claim": "Add the appropriate license docstring/header at the top of mcpgateway/utils/internal_http.py, copying the pattern from other files.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The module-level _SSL_TRUE_VALUES set has no... | null |
IBM__mcp-context-forge__3714 | IBM/mcp-context-forge | 3,714 | defect | a548136bdce305eea18876d00a382db403cdd5bb | b87b2aa5782f2bc17ee3837a514236c79d99c366 | feat: service-account support and pre-invoke security hardening | ## Summary
- Add `skip_onboarding` parameter to `EmailAuthService.create_user()` to skip personal team creation, role assignment, and registration event logging for service accounts / synthetic users
- Add `ensure_user_exists()` idempotent helper with race-condition handling for concurrent user creation
- Use `!disabl... | diff --git a/docker-compose.yml b/docker-compose.yml
index b5f93cc18c..9fafbb31a2 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -394,6 +394,8 @@ services:
# Uncomment to enable plugins
- PLUGINS_ENABLED=true
- PLUGINS_CONFIG_FILE=${PLUGINS_CONFIG_FILE:-plugins/config.yaml}
+ - PL... | 4 | 3 | 2 | [{"id": "G0", "claim": "ensure_user_exists() calls create_user() with password=\"\" while skip_onboarding defaults to False, and in create_user() empty passwords only bypass hashing when skip_onboarding=True, so hash_password_async(\"\") raises ValueError and ensure_user_exists() will fail for the default case; the rev... | null |
IBM__mcp-context-forge__3796 | IBM/mcp-context-forge | 3,796 | defect | 00e9c213531bb1dd1de09d2a18a31a88cb8f7025 | 6c62cd1fe58e6ad74fc0070ba9484f063b7b3586 | fix: hardening auth for SSE and message endpoints | <!--
For specialized templates, append to your PR URL:
?template=bug_fix.md - Bug fixes
?template=feature.md - New features
?template=docs.md - Documentation
?template=plugin.md - New plugins
Example: https://github.com/IBM/mcp-context-forge/compare/main...your-branch?expand=1&template=bug_f... | diff --git a/mcpgateway/transports/streamablehttp_transport.py b/mcpgateway/transports/streamablehttp_transport.py
index d38d4c3a54..3f3501dd24 100644
--- a/mcpgateway/transports/streamablehttp_transport.py
+++ b/mcpgateway/transports/streamablehttp_transport.py
@@ -3028,7 +3028,9 @@ async def authenticate(self) -> boo... | 3 | 3 | 1 | [{"id": "G0", "claim": "Add tests that (1) with mcp_require_auth = False, requests to /mcp/sse and /mcp/message are allowed without a token, and (2) invalid tokens on /mcp/sse and /mcp/message return 401.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "M... | null |
IBM__mcp-context-forge__3802 | IBM/mcp-context-forge | 3,802 | defect | dc2816358af4c8bc4299dae4b4681d1f4a5f9501 | b80501d72f948a6f92b77fa0731850752cd5f53e | feat(ui): MCP tool refresh button | # ✨ Feature / Enhancement PR
## 🔗 Epic / Issue
Closes #3765
---
## 🚀 Summary (1-2 sentences)
Adds buttons for refreshing an MCP server's tools
<img width="448" height="525" alt="Screenshot 2026-03-20 at 22 29 34" src="https://github.com/user-attachments/assets/eeda9b6b-254a-43f3-9792-8bfe8eed63e4" />
... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index aa2f0a0134a..fd50f3fa555 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -29,6 +29,24 @@
> **Migration**: Switch to PostgreSQL for production deployments. Update `DATABASE_URL` to a `postgresql+psycopg://` connection string. SQLite (`sqlite:///./mcp.db`) remains availab... | 14 | 13 | 7 | [{"id": "G0", "claim": "The tooltip for the 'Refresh from MCPs' button in the edit modal renders behind the Edit modal, so it is not visible where the button lives.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "tool_count is read via gateway.__dict__.ge... | null |
IBM__mcp-context-forge__3826 | IBM/mcp-context-forge | 3,826 | defect | cd241b256e1bd1326f80539a9f5cc52d8f20a1a7 | e064ccad0b0963eeb643c1235a0f6a0d32b4a00f | feat(api): expand /health API to include database and Redis status | <!--
For specialized templates, append to your PR URL:
?template=bug_fix.md - Bug fixes
?template=feature.md - New features
?template=docs.md - Documentation
?template=plugin.md - New plugins
Example: https://github.com/IBM/mcp-context-forge/compare/main...your-branch?expand=1&template=bug_f... | diff --git a/mcpgateway/main.py b/mcpgateway/main.py
index f8ea700983..2a05248f03 100644
--- a/mcpgateway/main.py
+++ b/mcpgateway/main.py
@@ -112,6 +112,8 @@
GatewayRead,
GatewayRefreshResponse,
GatewayUpdate,
+ HealthCheckResponse,
+ HealthStatusItem,
JsonPathModifier,
MetricsResponse,
... | 7 | 7 | 2 | [{"id": "G0", "claim": "The database status message strings misspell \"Database\" as \"Databse\" (both the success message and the failure message).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The healthcheck docstring should state that the fun... | null |
IBM__mcp-context-forge__3931 | IBM/mcp-context-forge | 3,931 | defect | 79bf23c5e15e59dbce97aa73199a2ea91bcd4638 | daedb253c651585506997a726096289d9649c40f | test: add secrets detection hook regressions | ## 🔗 Related Issue
Related internal mirror issue: [contextforge-org/mcp-context-forge#5](https://github.ibm.com/contextforge-org/mcp-context-forge/issues/5)
---
## 📝 Summary
This PR adds regression coverage for the secrets detection plugin hook paths reported in the issue: `prompt_pre_fetch`, `tool_post_invoke`, an... | diff --git a/.secrets.baseline b/.secrets.baseline
index c3710b5e76..3b230101df 100644
--- a/.secrets.baseline
+++ b/.secrets.baseline
@@ -3,7 +3,7 @@
"files": "package-lock.json|Cargo.lock|^.secrets.baseline$|scripts/sign_image.sh|scripts/zap|sonar-project.properties|^/Users/brian/dev/github.ibm.com/contextforge-... | 1 | 1 | 0 | [{"id": "G0", "claim": "The three blocking tests assert `result.modified_payload == payload`, but that payload is backfilled by the manager (executor) rather than set by the plugin, so a brief inline comment should be added so future readers know the assertion is not testing plugin output directly.", "category": "docum... | null |
IBM__mcp-context-forge__4131 | IBM/mcp-context-forge | 4,131 | defect | 77bd03d2cca41f9c3597d5d7abc8012ad54d38fa | 25d985bd32584d76abc46a98158668734d1c349e | test: speed up slow docker-entrypoint and sensitive-logging tests | ## Summary
Two CI test-runtime wins from analyzing the pytest `--durations` output:
- **`test_install_plugin_requirements_retries_three_times_then_fails`**: ~4.2s → ~0.04s. The test forces three pip failures, and `docker-entrypoint.sh` slept 2s between retries. Made the delay configurable via `PLUGIN_REQUIREMENTS_RET... | diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml
index e609196400..83e38a6d75 100644
--- a/.github/workflows/pytest.yml
+++ b/.github/workflows/pytest.yml
@@ -94,7 +94,7 @@ jobs:
- name: 🧪 Run pytest
run: |
uv run --extra plugins pytest -n auto \
- --durat... | 1 | 1 | 1 | [{"id": "G0", "claim": "Validate PLUGIN_REQUIREMENTS_RETRY_DELAY_SECONDS as a numeric, non-negative value before using it (falling back to the 2s default with a warning, or emitting a clear error), because the script runs with set -euo pipefail and a non-numeric or negative value would make sleep error and terminate th... | null |
IBM__mcp-context-forge__4132 | IBM/mcp-context-forge | 4,132 | defect | d13e1ec2e217f978eb51538a6f021af33f711281 | b0ef6addaac70fb09d1e54a29ffdbb9e768936eb | perf(main): defer DB bootstrap, lazy-load heavy routers, minimal test defaults | ## Summary
Two related commits that together cut `import mcpgateway.main` cold-start time in test runs and drop the four slowest unit tests from 3-5s to under 0.5s.
**Commit 1 — `perf(main): defer DB bootstrap + lazy-load admin/rust proxy/llmchat`**
Several expensive operations happened at module-import time in `mcp... | diff --git a/.secrets.baseline b/.secrets.baseline
index 22e94cec3d..7a5446f5e5 100644
--- a/.secrets.baseline
+++ b/.secrets.baseline
@@ -3,7 +3,7 @@
"files": "^.secrets.baseline|package-lock.json|Cargo.lock|scripts/sign_image.sh|scripts/zap|sonar-project.properties|uv.lock|^.secrets.baseline$",
"lines": nul... | 4 | 3 | 2 | [{"id": "G0", "claim": "Calling the blocking `wait_for_db_ready(..., sync=True)` inside the async `lifespan()` startup hook blocks the running event loop; offload it to a worker thread (e.g. via `asyncio.to_thread`) or use a truly-async readiness probe.", "category": "correctness", "verdict": "supported", "priority": "... | null |
IBM__mcp-context-forge__4141 | IBM/mcp-context-forge | 4,141 | defect | 086f81ac4fe59e92b28b80acb5ce55891077f9e8 | dfccac8fe91c12ef9daae248a765f6830cbdebbd | feat: forward `_meta` in upstream MCP requests for `resources/read` and `prompts/get` |
Closes #2332
## Problem
Issue #2332 was partially resolved by #2094, which added `_meta` forwarding for `tools/call` via the streamablehttp transport. However, two gaps remained in the **non-direct-proxy (cache) code path**:
1. **`resources/read`** — `meta_data` was accepted by `invoke_resource()` and `read_... | diff --git a/mcpgateway/services/prompt_service.py b/mcpgateway/services/prompt_service.py
index c9bb4492a4..1a6a07bff3 100644
--- a/mcpgateway/services/prompt_service.py
+++ b/mcpgateway/services/prompt_service.py
@@ -25,9 +25,10 @@
# Third-Party
from jinja2 import Environment, meta, select_autoescape, Template
-f... | 4 | 3 | 2 | [{"id": "G0", "claim": "The request-building/dispatch logic for _meta is duplicated across the pooled, SSE and streamable-http branches in prompt_service.py and resource_service.py and should be refactored into a separate testable function used at each location.", "category": "maintainability", "verdict": "supported", ... | null |
IBM__operand-deployment-lifecycle-manager__1151 | IBM/operand-deployment-lifecycle-manager | 1,151 | defect | 6e340eb1e5f481a107321af5633eb9d70c7024ac | d394208a60cd7b9ab744bb400fd31d7ca8ba5fd0 | Fix operand deletion inconsistency in Keycloak upgrade case | **What this PR does / why we need it**:
This PR fixes an issue where operands were unexpectedly deleted after upgrading from a CS pre-4.6.12 version to the latest one when Keycloak operators with shared config names were switched
**Which issue(s) this PR fixes**:
Fixes # https://github.ibm.com/IBMPrivateCloud/road... | diff --git a/controllers/operandrequest/reconcile_operator.go b/controllers/operandrequest/reconcile_operator.go
index 5eb3d1dde..a1e24cd36 100644
--- a/controllers/operandrequest/reconcile_operator.go
+++ b/controllers/operandrequest/reconcile_operator.go
@@ -795,11 +795,12 @@ func checkSubAnnotationsForUninstall(reqN... | 3 | 2 | 0 | [{"id": "G0", "claim": "Test case 8's Subscription fixture should also set the reqNameB /config annotation (opConfigV4) so the scenario models the shared-config case.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Test case 8 should add an assertion tha... | null |
IBM__operand-deployment-lifecycle-manager__451 | IBM/operand-deployment-lifecycle-manager | 451 | defect | 14047c856319961314d0267298989c99a797f3cb | 2ef83ac73657972077bcb20b148dd82d4c3f8d4a | Move all the default value set into the fetch method | **What this PR does / why we need it**:
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #450
**Special notes for your reviewer**:
1. Please confirm that if this PR changes any image versions, th... | diff --git a/pkg/apis/operator/v1alpha1/operandregistry_types.go b/pkg/apis/operator/v1alpha1/operandregistry_types.go
index 43b85c753..0f44f2043 100644
--- a/pkg/apis/operator/v1alpha1/operandregistry_types.go
+++ b/pkg/apis/operator/v1alpha1/operandregistry_types.go
@@ -214,12 +214,6 @@ func (r *OperandRegistry) SetO... | 1 | 1 | 0 | [{"id": "G0", "claim": "Divide the internal (project) imports from the third-party imports in the import blocks of pkg/controller/operandconfig/operandconfig_controller.go and pkg/controller/operandregistry/operandregistry_controller.go.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope"... | null |
IBM__operand-deployment-lifecycle-manager__507 | IBM/operand-deployment-lifecycle-manager | 507 | defect | 159b51495a3425535feff62c1645e38399709ead | 5d68e88df5e9c4c5c7baecdd5bd0fb1a574761e9 | Add a new fetch csv method for delete | **What this PR does / why we need it**:
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #
**Special notes for your reviewer**:
1. Please confirm that if this PR changes any image versions, then t... | diff --git a/controllers/common/fetch.go b/controllers/common/fetch.go
index 385620691..fb6428346 100644
--- a/controllers/common/fetch.go
+++ b/controllers/common/fetch.go
@@ -166,6 +166,29 @@ func FetchClusterServiceVersion(c client.Client, sub *olmv1alpha1.Subscription)
return csv, nil
}
+// FetchClusterService... | 1 | 1 | 1 | [{"id": "G0", "claim": "When the CSV cannot be found (e.g. CurrentCSV is empty because OLM never generated the InstallPlan/CSV, or the CSV is never created in the upgrade-pending case), ODLM should still delete the subscription instead of returning an error that blocks deletion.", "category": "correctness", "verdict": ... | null |
IBM__operand-deployment-lifecycle-manager__540 | IBM/operand-deployment-lifecycle-manager | 540 | defect | 78c4400eeccfb3811287f42ac5b50b5a8f2941b9 | aef82e97955e0cba51d3db97700d60b0c11e235b | Update namespace member in NamespaceScope instance | **What this PR does / why we need it**:
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #
**Special notes for your reviewer**:
1. Please confirm that if this PR changes any image versions, then t... | diff --git a/controllers/constant/constant.go b/controllers/constant/constant.go
index 657706498..b2d3c8732 100644
--- a/controllers/constant/constant.go
+++ b/controllers/constant/constant.go
@@ -35,4 +35,7 @@ const (
//OpbiTypeLabel is the label used to label if secrets/configmaps are "original" or "copy"
OpbiT... | 1 | 1 | 1 | [{"id": "G0", "claim": "Use the name `common-service` instead of `namespacescope` for the new NamespaceScopeCrName constant that names the NamespaceScope instance to look up.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
IBM__operand-deployment-lifecycle-manager__609 | IBM/operand-deployment-lifecycle-manager | 609 | defect | 8124a9c0efedb405c6e98f2c5bb5dd327d8ca2ea | c0d6be578723d00d9e76dcf8eb69400785a9f400 | feat: Create namespacescope controller | The namespacescope controller will get the namespaces of operandrequest and namespaces of the requested operators. Then insert these namespaces into the NamespaceScope CR
**What this PR does / why we need it**:
fix #600
fix #601
**TODO:**
- [x] Unit test
- [x] E2E test
**Which issue(s) this PR fixes** ... | diff --git a/Makefile b/Makefile
index 1beba681d..de7dfb047 100644
--- a/Makefile
+++ b/Makefile
@@ -166,7 +166,7 @@ test: ## Run unit test on prow
@test -f ${ENVTEST_ASSETS_DIR}/setup-envtest.sh \
|| curl -sSLo ${ENVTEST_ASSETS_DIR}/setup-envtest.sh https://raw.githubusercontent.com/kubernetes-sigs/controller-runt... | 6 | 6 | 3 | [{"id": "G0", "claim": "The method name `checkNamespaceScapeAPI` misspells Scope and should be `checkNamespaceScopeAPI`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment `// Creat context for the OperandBindInfo reconciler` is misleadi... | null |
IBM__operand-deployment-lifecycle-manager__639 | IBM/operand-deployment-lifecycle-manager | 639 | defect | 882377458a03a765c32310fbe031fe8e4caed4dd | 3a25a18e19af7b5fe9fbf23d2e4a2f230d11c4b1 | Support multiOpeReg with same Operator | **What this PR does / why we need it**:
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #635
TODO:
- [x] Unit Test
- [x] e2e test
| diff --git a/controllers/operandrequest/operandrequest_controller_test.go b/controllers/operandrequest/operandrequest_controller_test.go
index d4112c35b..12526f073 100644
--- a/controllers/operandrequest/operandrequest_controller_test.go
+++ b/controllers/operandrequest/operandrequest_controller_test.go
@@ -34,9 +34,11... | 4 | 4 | 2 | [{"id": "G0", "claim": "The jenkins-operator existence checks in the new multi-registry unit test are unreliable: both the positive and the negative assertions can pass (sometimes both), so the test does not reliably verify that the jenkins operator is retained when one of two OperandRequests is deleted, and the test l... | null |
IBM__operand-deployment-lifecycle-manager__642 | IBM/operand-deployment-lifecycle-manager | 642 | defect | 997edf576441dee07d457ec7e131ed8e12e9a58f | 64f548d64811f2803e007acbb95d98443e443d43 | create namespace scope controller | **What this PR does / why we need it**:
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #
**Special notes for your reviewer**:
1. Please confirm that if this PR changes any image versions, then t... | diff --git a/Makefile b/Makefile
index d2ccfc54a..fafbcb867 100644
--- a/Makefile
+++ b/Makefile
@@ -156,7 +156,7 @@ test: ## Run unit test on prow
@test -f ${ENVTEST_ASSETS_DIR}/setup-envtest.sh \
|| curl -sSLo ${ENVTEST_ASSETS_DIR}/setup-envtest.sh https://raw.githubusercontent.com/kubernetes-sigs/controller-runt... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new fetch helper FetchALLOperandRegistry should be named the same as the corresponding function in the master-branch PR #609.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Fix the spelling in the NamespaceScopeReconciler doc ... | null |
IBM__operand-deployment-lifecycle-manager__650 | IBM/operand-deployment-lifecycle-manager | 650 | defect | 6823972a5bec9d68ce79e6d668c70eb3de2174d7 | 47cd302259424ea742cdca11177262456c5633bf | fix: Users can just create OperandRequest to install operator and CR … | …and remove the dependencies to CSV
**What this PR does / why we need it**:
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #636
**Special notes for your reviewer**:
1. Please confirm that if ... | diff --git a/api/v1alpha1/operandrequest_types.go b/api/v1alpha1/operandrequest_types.go
index da1b1d8d8..b74725e9a 100644
--- a/api/v1alpha1/operandrequest_types.go
+++ b/api/v1alpha1/operandrequest_types.go
@@ -62,6 +62,9 @@ type Operand struct {
// Kind identifies the kind of the custom resource.
// +optional
... | 8 | 7 | 0 | [{"id": "G0", "claim": "The `sub == nil` guard in deleteSubscription looks unnecessary, since a nil subscription would mean the subscription does not exist and `apierrors.IsNotFound(err)` would already be true.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
IBM__operand-deployment-lifecycle-manager__657 | IBM/operand-deployment-lifecycle-manager | 657 | defect | b4d80c87d823422d7b3db615adaa31fa6cc5afd8 | f8169161759c798239a2c0ebf2b4804ab4b5c6e3 | fix: Add a timeout for deleting an operandrequest | Issue: When one subscription can't be deleted, if will block the operandrequest forever.
Solution: Set a timeout 10 mins to the subscription deletion.
**What this PR does / why we need it**:
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close... | diff --git a/controllers/constant/constant.go b/controllers/constant/constant.go
index bd5b42c5f..52196a799 100644
--- a/controllers/constant/constant.go
+++ b/controllers/constant/constant.go
@@ -54,4 +54,19 @@ const (
//DefaultSyncPeriod is the frequency at which watched resources are reconciled
DefaultSyncPeri... | 1 | 1 | 1 | [{"id": "G0", "claim": "An operand should be removed from the `deepcopy` remaining-set only after it is successfully deleted, so the remaining set reported on timeout includes the operands that are not deleted and failed to delete.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introdu... | null |
IBM__operand-deployment-lifecycle-manager__661 | IBM/operand-deployment-lifecycle-manager | 661 | defect | 209fd8362dd1a247d477454b48539bba2781cfb1 | 02a19de29e4cd40e8ae317a0102440429a02dab2 | Reconcile two NSS CRs managedby ODLM | ODLM will add the namespace which are captured from the `Namespace` where Operator will be installed in `OperandRegistry` and `Namespace` of `OperandRequest` into both `nss-managedby-odlm` and `odlm-scope-managedby-odlm` NSS CRs.
On the other word, those two NSS CRs has the same `namespaceMember`
The first `nss-m... | diff --git a/controllers/constant/constant.go b/controllers/constant/constant.go
index bd5b42c5f..f7e4ba724 100644
--- a/controllers/constant/constant.go
+++ b/controllers/constant/constant.go
@@ -43,6 +43,9 @@ const (
//NamespaceScopeCrName is the name use to get NamespaceScopeCrName instance
NamespaceScopeCrName ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The test's expectation that the NamespaceScope CR ends up with 3 namespace members looks wrong: per the controller's logic (one OperandRequest namespace plus the operators' shared namespace) the total should be 2.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "pre... | null |
IBM__qpylib__23 | IBM/qpylib | 23 | defect | e33a74150a075edb9692a8fa4ab012def938fdf7 | afdaeed906a06ccd6d20e3dcbeb783abf6f6823d | Miscellaneous fixes | - gets app id from environment instead of manifest
- REST methods pass through kwargs
- REST replaces gethostname() with localhost
- get_app_base_url fixed | diff --git a/qpylib/app_qpylib.py b/qpylib/app_qpylib.py
index f1b7138..1036129 100644
--- a/qpylib/app_qpylib.py
+++ b/qpylib/app_qpylib.py
@@ -9,7 +9,10 @@
Q_CACHED_MANIFEST = None
def get_app_id():
- return get_manifest_field_value('app_id', 0)
+ app_id = os.getenv('QRADAR_APP_ID')
+ if app_id is None:
... | 6 | 4 | 2 | [{"id": "G0", "claim": "Commit comments and the merge request should not refer to RTC since GitHub is public; please edit and remove the references.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "get_app_id should return an int, not a string, as i... | null |
IBM__qpylib__29 | IBM/qpylib | 29 | defect | 43e706f9419003119f9386fab8918c77cb7f17b1 | ef9a280e61177018254d26551de7a2aa7b6a4f68 | Add exception log function and tests | Adding the [`exception` log function](https://docs.python.org/3/library/logging.html#logging.Logger.exception) which is very useful when handling exceptions to log the full traceback. | diff --git a/qpylib/log_qpylib.py b/qpylib/log_qpylib.py
index 177baff..a8a69c9 100644
--- a/qpylib/log_qpylib.py
+++ b/qpylib/log_qpylib.py
@@ -53,7 +53,8 @@ def _choose_log_fn(level):
'DEBUG': QLOGGER.debug,
'WARNING': QLOGGER.warning,
'ERROR': QLOGGER.error,
- 'CRITICAL': QLOGGER.cr... | 2 | 1 | 0 | [{"id": "G0", "claim": "Reorder the level dictionaries in log_qpylib so that ERROR and EXCEPTION are together before CRITICAL, for consistency with the underlying logger levels.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks wh... | null |
IBM__qpylib__38 | IBM/qpylib | 38 | defect | ca4cf085434e4ebb9fc6fae95bfa8994d041ca4c | 3cb028b817196f30190e6c72659da9b9c51ed2d4 | Refactor log handling | - Log format for Syslog is now RFC5424-compliant.
- Log format for app.log changes:
- module and funcName removed (redundant because was always log_qpylib.log)
- app ID and notification code added.
- log() no longer needs to add app ID and notification code to the message body.
- log() and set_log_level() ... | diff --git a/qpylib/log_qpylib.py b/qpylib/log_qpylib.py
index 1ee4bed..01325bb 100644
--- a/qpylib/log_qpylib.py
+++ b/qpylib/log_qpylib.py
@@ -4,74 +4,139 @@
import logging
from logging.handlers import RotatingFileHandler, SysLogHandler
-from . import app_qpylib
-from . import util_qpylib
+import re
+import socke... | 1 | 1 | 0 | [{"id": "G0", "claim": "Apps running under the SDK should also get the Syslog handler, rather than it being withheld whenever the SDK flag is set.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
IBM__qpylib__60 | IBM/qpylib | 60 | defect | 07b72b87aca085b92a081729329f64bb74160c98 | 5f2080fa0a15d44abfaebaa3d11c1de0537d58b9 | Update Python package versions | Resolves vulnerabilities in `cryptography` and `werkzeug` packages. Additionally, updates all Python packages to latest versions.
- This pull request does not affect `qpylib` source code. The updates are for test/build purposes only and do not require the generation of a new `qpylib` release.
- The `pylint` update... | diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 4830ea9..57e70f5 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -11,7 +11,7 @@ jobs:
steps:
- uses: actions/setup-python@v4
with:
- python-version: '3.8.7'
+ python-vers... | 2 | 1 | 1 | [{"id": "G0", "claim": "The requirements.txt dependency versions (e.g. Flask 2.2.3) should mirror the versions used by the qradar-app-base image, which still uses Flask v1.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The cryptography install_requires lo... | null |
IBM__sarama__1006 | IBM/sarama | 1,006 | defect | 3b1b38866a79f06deddf0487d5c27ba0697ccd65 | 3f78fbb6f7e5d4698239891bfe95af04ec7f9bc5 | partition consumer offset to last offset delta | Hey,
This seems to fix #1005. As far as I understood, we should advance partition consumer's offset with the LastOffsetDelta as this might be higher than the last record's offset in the batch if some of the offsets were compacted away. | diff --git a/consumer.go b/consumer.go
index 1a07289455..ad9bc36cb1 100644
--- a/consumer.go
+++ b/consumer.go
@@ -547,9 +547,11 @@ func (child *partitionConsumer) parseRecords(batch *RecordBatch) ([]*ConsumerMes
}
}
- if incomplete || len(messages) == 0 {
+ if incomplete {
return nil, ErrIncompleteResponse
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new assignment of child.offset should be guarded by a check that it actually advances the offset, and an error should be returned if it does not or if present messages do not line up.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
IBM__sarama__1096 | IBM/sarama | 1,096 | defect | e8552c0dbf502cd7ec9186b57897e6cf9f15fb34 | 0f1c3e9b8762a5c92d28a4a16560b63fb4e20406 | Add support for DeleteGroups | Fixed #1095. | diff --git a/broker.go b/broker.go
index 9755a7d7c..d836bee6d 100644
--- a/broker.go
+++ b/broker.go
@@ -539,6 +539,17 @@ func (b *Broker) AlterConfigs(request *AlterConfigsRequest) (*AlterConfigsRespon
return response, nil
}
+
+func (b *Broker) DeleteGroups(request *DeleteGroupsRequest) (*DeleteGroupsResponse, er... | 1 | 1 | 1 | [{"id": "G0", "claim": "Expose the response's throttle-time field as a native Go time type (e.g. time.Duration) instead of a raw int32, following the project's convention for time fields.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
IBM__sarama__1699 | IBM/sarama | 1,699 | defect | 8b91b872756c4220f47cc69f2e115a4641908446 | 626c1c0762d5ba87b5b0fd3f8b005d429ca2f123 | Consumer group support for manually comitting offsets | Provide manual Commit method and don't create mainloop if AutoCommit is disabled
Fixes #1570 | diff --git a/consumer_group.go b/consumer_group.go
index 056b9e387f..9c681d713f 100644
--- a/consumer_group.go
+++ b/consumer_group.go
@@ -513,6 +513,9 @@ type ConsumerGroupSession interface {
// message twice, and your processing should ideally be idempotent.
MarkOffset(topic string, partition int32, offset int64,... | 6 | 3 | 2 | [{"id": "G0", "claim": "The new manual-commit API provides no way for the caller to retrieve commit errors, and the user asks how errors are going to be returned.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new manual-commit functionality ships wi... | null |
IBM__sarama__234 | IBM/sarama | 234 | defect | 6fa7dbe1d95aad4d863bdbaaa26000d566d2c265 | b370b734526ebed623a9f25ae7cf812d94063fd6 | Retry more than once | Implement multiple in-order retries in the producer.
The mental model here is a fairly straightforward expansion of the existing single-retry logic (where the messages go through the pipeline again, and the `leaderDispatcher` pauses un-retried messages until all the retries have happened in order to preserve ordering)... | diff --git a/producer.go b/producer.go
index d046ec10ee..4689189457 100644
--- a/producer.go
+++ b/producer.go
@@ -96,7 +96,7 @@ func (config *ProducerConfig) Validate() error {
return ConfigurationError("Invalid RetryBackoff")
}
- if config.MaxRetries < 0 || config.MaxRetries > 1 {
+ if config.MaxRetries < 0 {
... | 6 | 2 | 0 | [{"id": "G0", "claim": "The new log line formats topic/partition as `%s/%d` while `%s:%d` is used elsewhere, and the reviewer is unsure which format is more common.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The comment \"we are retrying but n... | null |
IBM__sarama__3026 | IBM/sarama | 3,026 | defect | 4178837894e61ca81b00c9be7a3130ecb39eab4b | c1c3fa4c761722df6914c953cdc1bd3f05b74b23 | feat(producer): add retry buffer tuning option to prevent OOM | This commit adds an optional configuration to Sarama's retry mechanism to limit the size of the retry buffer. The change addresses issues #1358 and #1372 by preventing unbounded memory growth when retries are backlogged or brokers are unresponsive.
Key updates:
- Added `Producer.Retry.MaxBufferLength` configuration... | diff --git a/async_producer.go b/async_producer.go
index a6fa3d4a2e..e330a10733 100644
--- a/async_producer.go
+++ b/async_producer.go
@@ -13,6 +13,9 @@ import (
"github.com/rcrowley/go-metrics"
)
+// ErrProducerRetryBufferOverflow is returned when the bridging retry buffer is full and OOM prevention needs to be a... | 3 | 2 | 1 | [{"id": "G0", "claim": "The ErrProducerRetryBufferOverflow message suggests a resolution rather than describing what went wrong, and should follow a 'what went wrong: how to resolve it' format.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A very... | null |
IBM__sarama__3053 | IBM/sarama | 3,053 | defect | 1358013ce2dbdca2dacf1964b5c26c3beaa3fe1d | f9a67996b998d99e1db821a2add980ec415f1ce7 | fix(admin): add retries for GroupCoordinator errors | - retry admin operations that rely on talking to the group coordinator for a given ID if the coordinator has changed from the cached value, or is not available
- also fixup controller retry in ElectLeaders to use the err from response rather than sendAndReceive
- also rename isErrNotController to isRetriableControlle... | diff --git a/admin.go b/admin.go
index 6549c7e6fb..6c48c52827 100644
--- a/admin.go
+++ b/admin.go
@@ -199,12 +199,19 @@ func (ca *clusterAdmin) refreshController() (*Broker, error) {
return ca.client.RefreshController()
}
-// isErrNotController returns `true` if the given error type unwraps to an
+// isRetriableC... | 1 | 1 | 0 | [{"id": "G0", "claim": "In DescribeTopics the newly added `if err != nil { return err }` guard means the following `isRetriableControllerError(err)` check can only ever run with err == nil, making it dead code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
IBM__sarama__3088 | IBM/sarama | 3,088 | defect | 175959597f09ba1cf562aa53bd013ea2e92eb2e7 | 15241026f01cbf6a83ba305d955380b0dc7894b4 | feat(producer): add MaxBufferBytes to limit retry buffer size | # Summary
This PR introduces the MaxBufferBytes configuration to Sarama’s producer, allowing users to limit the retry buffer size based on the total byte size of messages. This complements the existing MaxBufferLength configuration, which limits the number of messages in the retry buffer. The implementation ensures ... | diff --git a/async_producer.go b/async_producer.go
index 5f257524b6..b0be145ff7 100644
--- a/async_producer.go
+++ b/async_producer.go
@@ -16,9 +16,16 @@ import (
// ErrProducerRetryBufferOverflow is returned when the bridging retry buffer is full and OOM prevention needs to be applied.
var ErrProducerRetryBufferOver... | 2 | 2 | 0 | [{"id": "G0", "claim": "The test's final assertions should use `assert` instead of `require` so that a failed expectation does not halt the whole test binary mid-loop (go.dev/wiki/TestComments#keep-going).", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
IBM__sarama__3120 | IBM/sarama | 3,120 | defect | c7ca87e6bf94413d8e25a0825c7e984ce24db3eb | bc2f7cc3a8f0d8fbaea1d49930c390b77b38e968 | fix(decoder): use configurable limit for max number of records in a record batch | Replace the `tmp > 2*math.MaxUint16` arbitrary number safety blanket with `tmp > MaxResponseSize` as we already have that constant (that a user can change via sarama.MaxResponseSize = ...) which is what we use for MaxBytes in a FetchRequest.
Also added a test for large record counts.
Fixes: #3119 | diff --git a/packet_decoder.go b/packet_decoder.go
index 526e0f42f..a459bc79a 100644
--- a/packet_decoder.go
+++ b/packet_decoder.go
@@ -15,6 +15,7 @@ type packetDecoder interface {
getUVarint() (uint64, error)
getFloat64() (float64, error)
getArrayLength() (int, error)
+ getArrayLengthNoLimit() (int, error)
ge... | 5 | 5 | 2 | [{"id": "G0", "claim": "In the new test's failure branch the error should be reported with plain t.Fatal (e.g. t.Fatal(\"was suppose to get ErrInsufficientData, instead got:\", err)) rather than wrapping it with fmt.Errorf for t.Fatal.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introdu... | null |
IBM__sarama__3144 | IBM/sarama | 3,144 | defect | d6ca80a198c4fbc467c67f7430182eda6881b12c | 9f66306e4e096a3438d805c4a3e1ac72d65de094 | fix(decoder): handle null arrays correctly | Array lengths in the Kafka protocol are encoded as a 32-bit signed integer in big-endian format. For a null value this corresponds to the byte sequence FF FF FF FF which is intended to represent null as a length of -1. To correctly read that we need to cast the value to int32 before widening to int. | diff --git a/real_decoder.go b/real_decoder.go
index 917891cd0..dc399f240 100644
--- a/real_decoder.go
+++ b/real_decoder.go
@@ -306,7 +306,7 @@ func (rd *realDecoder) getInt32Array() ([]int32, error) {
rd.off = len(rd.raw)
return nil, ErrInsufficientData
}
- n := int(binary.BigEndian.Uint32(rd.raw[rd.off:]))
+... | 2 | 2 | 1 | [{"id": "G0", "claim": "The array decoders should handle a null array of length -1 by returning a nil slice instead of erroring (returning []T(nil) rather than errInvalidArrayLength).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A code comment sho... | null |
IBM__sarama__3221 | IBM/sarama | 3,221 | defect | 0dd02e17caaab3fdeabd4c1b134f2acc7793f46f | 7a66726c92f9c642a3aed8835d3748da6138bca2 | fix(consumer): stuck on the batch with zero records length | This pull request addresses the known issue described in [KAFKA-5443](https://issues.apache.org/jira/browse/KAFKA-5443), which was initially analyzed in [#2053](https://github.com/IBM/sarama/pull/2053). A prior attempt to fix it was made in [#2057](https://github.com/IBM/sarama/pull/2057), but the fix was applied incor... | diff --git a/consumer.go b/consumer.go
index 60556a566d..3862313901 100644
--- a/consumer.go
+++ b/consumer.go
@@ -740,10 +740,10 @@ func (child *partitionConsumer) parseResponse(response *FetchResponse) ([]*Consu
child.fetchSize = child.conf.Consumer.Fetch.Max
}
}
- } else if block.LastRecordsBatchOffs... | 4 | 3 | 0 | [{"id": "G0", "claim": "Since the field caches a computed value rather than appearing in the serialized communication, it could be precalculated (e.g. not stored as a pointer, avoiding nil tests) instead of living in FetchResponseBlock.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduce... | null |
IBM__sarama__3225 | IBM/sarama | 3,225 | defect | 57be9bdd0a5cd133dc27edf35560b057074b9508 | 1ea2b72ad04a467375a7fc3aac1e3e5112e5ab8b | feat: option to group metadata refreshes so only one is in-flight at a time | If other goroutines ask for another metadata refresh, we are going to accumulate all requested topics into a slice and we will queue another metadata request immediately after the current one is done.
It is possible to enable this behavior by setting `config.Metadata.SingleFlight = true` in your configuration.
I c... | diff --git a/client.go b/client.go
index 21d04000bf..0a71ec7a92 100644
--- a/client.go
+++ b/client.go
@@ -166,6 +166,8 @@ type client struct {
cachedPartitionsResults map[string][maxPartitionIndex][]int32
lock sync.RWMutex // protects access to the maps that hold cluster state.
+
+ metadataRefresh MetadataRefres... | 30 | 26 | 4 | [{"id": "G0", "claim": "The newMetadataRefresh constructor could re-use the existing MetadataRefresh type rather than spelling out the same signature, and its name is confusingly similar to the type.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":... | null |
IBM__sarama__3258 | IBM/sarama | 3,258 | defect | 11b709ba2b7b6750222c02004e48ccd069b127ab | 2da92c2732ad445814c9100efb4ffdcd9e533fb5 | fix: hardcode lz4 writer blocksize to 64kb | This matches the hardcoded block-size set in the Apache Kafka Java
client.
Ref: [Lz4BlockOutputStream.java](https://github.com/apache/kafka/blob/4.0/clients/src/main/java/org/apache/kafka/common/compress/Lz4BlockOutputStream.java)
Fixes #3252 | diff --git a/compress.go b/compress.go
index a7bd525bc..b752cb8a0 100644
--- a/compress.go
+++ b/compress.go
@@ -13,7 +13,11 @@ import (
var (
lz4WriterPool = sync.Pool{
New: func() interface{} {
- return lz4.NewWriter(nil)
+ lz := lz4.NewWriter(nil)
+ if err := lz.Apply(lz4.BlockSizeOption(lz4.Block64Kb));... | 1 | 1 | 0 | [{"id": "G0", "claim": "The compress.go readability refactor bundled into this PR is out of scope for a PR titled 'fix: hardcode lz4 writer blocksize to 64kb' and should be contributed in a new PR of its own (or the PR renamed).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
IBM__sarama__3292 | IBM/sarama | 3,292 | defect | 1fc134115ff96d00bf86c53539b088a3759d94a3 | 316bf948fa626fc5088d769c9ba84103550b06b5 | feat: support V5 ListConsumerGroups protocol | Add TypesFilter to request and GroupType to group data in the protocol. These come from [KIP-848](https://cwiki.apache.org/confluence/display/KAFKA/KIP-848%3A+The+Next+Generation+of+the+Consumer+Rebalance+Protocol)
Note: the option to specify these on a request is not currently exposed via `(ca *clusterAdmin) ListC... | diff --git a/admin.go b/admin.go
index 9e52887de0..6589046406 100644
--- a/admin.go
+++ b/admin.go
@@ -1008,7 +1008,10 @@ func (ca *clusterAdmin) ListConsumerGroups() (allGroups map[string]string, err e
_ = b.Open(conf) // Ensure that broker is opened
request := &ListGroupsRequest{}
- if ca.conf.Version.IsA... | 1 | 1 | 0 | [{"id": "G0", "claim": "The response decode should declare groupData as `var groupData GroupData` instead of assigning an explicit zero value `var groupData = GroupData{}`.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
IBM__sarama__3293 | IBM/sarama | 3,293 | defect | 1fc134115ff96d00bf86c53539b088a3759d94a3 | 398f4f02afdb1eec7cafd167a8f2471433b13b6f | feat: support more describe log dirs versions (V2-V4) | Version 2 is the first flexible version.
Version 3 adds the top-level ErrorCode field
Version 4 adds the TotalBytes and UsableBytes fields | diff --git a/admin.go b/admin.go
index 9e52887de0..2c2432f114 100644
--- a/admin.go
+++ b/admin.go
@@ -1176,7 +1176,13 @@ func (ca *clusterAdmin) DescribeLogDirs(brokerIds []int32) (allLogDirs map[int32
_ = b.Open(conf) // Ensure that broker is opened
request := &DescribeLogDirsRequest{}
- if ca.conf.Versio... | 3 | 3 | 1 | [{"id": "G0", "claim": "In DescribeLogDirs, when the response reports a non-noerror ErrorCode, the new code sends the known-nil `err` to errChan instead of `response.ErrorCode`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "encode() duplicates the ... | null |
IBM__sarama__3302 | IBM/sarama | 3,302 | defect | d3894f25c8da3247139e89c6aaf8c7980088ef49 | 2c5c3adbf8eb6c6564f8eded3d0fd5b0ba00be57 | fix: update map rather than create a new map | This PR was originally just minor refactoring to improve map allocations. But a bug was found while responding to the excellent PR feedback from Cassondra.
Cassondra rightly points out that the explicit capacities are hints so don't always reduce (re)allocations. In fact, particularly when the capacities are small, ... | diff --git a/admin.go b/admin.go
index 498aec0d2..f5d190c35 100644
--- a/admin.go
+++ b/admin.go
@@ -249,7 +249,7 @@ func (ca *clusterAdmin) CreateTopic(topic string, detail *TopicDetail, validateO
return errors.New("you must specify topic details")
}
- topicDetails := make(map[string]*TopicDetail)
+ topicDetail... | 4 | 4 | 0 | [{"id": "G0", "claim": "Use a composite literal (topicDetails := map[string]*TopicDetail{topic: detail}) in CreateTopic instead of make-with-capacity-hint plus a separate assignment, since all the fields are known.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":... | null |
IBM__sarama__3322 | IBM/sarama | 3,322 | defect | 87f70d0f4db5979c4138986bf9c2b8b89db13b65 | 3f79e5ed5dd4d0e6d83b9e5a69a7336db442aa36 | feat: support CreateTopics V5 protocol | Includes tagged field handling
V5 is first flexible version
V5 also returns topic configs in the response (KIP-525)
TODO: figure out how to expose TopicConfigError via admin API | diff --git a/create_topics_request.go b/create_topics_request.go
index 48e3c4eb12..5684e2718a 100644
--- a/create_topics_request.go
+++ b/create_topics_request.go
@@ -33,8 +33,9 @@ func NewCreateTopicsRequest(
}
switch {
case version.IsAtLeast(V2_4_0_0):
+ // Version 5 is the first flexible version
// Version... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment added on the new TopicResults field in create_topics_response.go is a copy and paste of the TopicErrors comment and should be changed to describe TopicResults.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
IBM__sarama__3384 | IBM/sarama | 3,384 | defect | c7305257b20b748301f21aba09e59841c55f21db | 4405310f1483f17800406c704033092afc5c0b39 | fix: close broken tcp connections | Prevent TCP connection leaks that error occurred to kernel space's socket. Previously, when errors occurred on TCP sockets, connections would remain in TCP_CLOSE state indefinitely without being properly freed.
The leaked connections caused a cascade of kernel-level issues:
- TCP sockets remain in TCP_CLOSE state i... | diff --git a/broker.go b/broker.go
index 7c559cfcbb..6c89e0d0c9 100644
--- a/broker.go
+++ b/broker.go
@@ -13,6 +13,7 @@ import (
"strings"
"sync"
"sync/atomic"
+ "syscall"
"time"
"github.com/rcrowley/go-metrics"
@@ -28,6 +29,7 @@ type Broker struct {
correlationID int32
conn net.Conn
connErr... | 6 | 5 | 3 | [{"id": "G0", "claim": "broker.go's direct use of syscall.GetsockoptInt(int(file.Fd())) and syscall.SO_ERROR fails to compile on Windows, so the package does not build under GOOS=windows.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Open() stores ... | null |
IBM__sarama__3412 | IBM/sarama | 3,412 | defect | 265af947481970a86b455fd2c3635dbde3e91c60 | 0960b520c1ebfccc44952b3cf6e6c20c5052eefa | fix(broker): auto-close broken connections | ## Background
- Reproduces and fixes the "cannot recover after TCP reset" issue tracked in [IBM/sarama#1162](https://github.com/IBM/sarama/issues/1162).
- An earlier attempt in [PR #3406](https://github.com/IBM/sarama/pull/3406) required scattered fixes in many call sites and was hard to maintain. This revision centr... | diff --git a/broker.go b/broker.go
index 7c559cfcbb..d58c226caa 100644
--- a/broker.go
+++ b/broker.go
@@ -13,6 +13,7 @@ import (
"strings"
"sync"
"sync/atomic"
+ "syscall"
"time"
"github.com/rcrowley/go-metrics"
@@ -223,6 +224,20 @@ func (b *Broker) Open(conf *Config) error {
if conf.ApiVersionsRequest ... | 4 | 4 | 0 | [{"id": "G0", "claim": "The comment on closeInnerLocked says it is \"like closeInner\", but no function named closeInner exists anywhere in the code.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The repeated shouldCloseBrokerConn/b.connErr/close... | null |
IBM__sarama__420 | IBM/sarama | 420 | defect | 3534171f58dbecebc13032cf44b7648d21bfaf34 | 644af598dc2d341f8d1f48b78b6c72d9cf5da95d | Retry messages on shutdown | @Shopify/kafka fixes #419.
Rather than use the old complicated system of reference-counting flags to shutdown cleanly, do the much simpler thing: keep a `sync.WaitGroup` counting the number of messages "in flight" (aka owned by the producer). When shutdown is requested, spawn a goroutine that waits for this counter to... | diff --git a/async_producer.go b/async_producer.go
index 59c29a219..1b0da3ae5 100644
--- a/async_producer.go
+++ b/async_producer.go
@@ -54,6 +54,7 @@ type asyncProducer struct {
errors chan *ProducerError
input, successes, retries chan *ProducerMessage
+ inFlight sync.WaitGrou... | 4 | 2 | 1 | [{"id": "G0", "claim": "The comment on the two new `p.inFlight.Done()` lines should say the chaser is now \"handled\" rather than \"useless\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Instead of sending a message carrying the shutdown flag t... | null |
IBM__sarama__687 | IBM/sarama | 687 | defect | ee044df3c7733ec54663745f64049f5e5f5f8ee8 | 7aeedb0f4aa023f1661f2b705d91b37da304df46 | Check the received value in producers (synch/asych) mocks agains a regexp | Fixes #667. Thanks to have a look guys
| diff --git a/mocks/async_producer.go b/mocks/async_producer.go
index 6ccf1f145..c32519cba 100644
--- a/mocks/async_producer.go
+++ b/mocks/async_producer.go
@@ -8,8 +8,10 @@ import (
// AsyncProducer implements sarama's Producer interface for testing purposes.
// Before you can send messages to it's Input channel, ... | 4 | 3 | 1 | [{"id": "G0", "claim": "Do not add a String() method to the Encoder interface since not all messages are encodable as strings; instead support passing a callback func([]byte) error into the mocks.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The newly ... | null |
IBM__sarama__759 | IBM/sarama | 759 | defect | af0513c4d97979eb876d201391fac6475ec08268 | b1f4708fb4482310066d57097b49bfea465d9a77 | Fix compression timestamps | The wrapper message has to use the "new" format if the compressed messages use it as well.
This will fix #757 #758
| diff --git a/produce_set.go b/produce_set.go
index 992f1f141..60d1e9884 100644
--- a/produce_set.go
+++ b/produce_set.go
@@ -90,11 +90,29 @@ func (ps *produceSet) buildRequest() *ProduceRequest {
Logger.Println(err) // if this happens, it's basically our fault.
panic(err)
}
- req.AddMessage(topic, p... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new comment in buildRequest should say the outer message version only has to be at least as new as the inner messages' version, not strictly newer.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The producer should alwa... | null |
ICIJ__datashare__1126 | ICIJ/datashare | 1,126 | defect | 544f8a574e4b324892c9b21f93e2153b622a373e | 408c73b9d37cdbf406694e147372fc53622e6aba | feat: swagger openapi | This PR is adding an openapi endpoint that returns the specification file in json. | diff --git a/datashare-app/pom.xml b/datashare-app/pom.xml
index f4c1c21a0a..5b52a826cb 100644
--- a/datashare-app/pom.xml
+++ b/datashare-app/pom.xml
@@ -89,6 +89,11 @@
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
</dependency>
+ <dependency>
+ <g... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new /api/openapi endpoint should also carry the OpenAPI annotations (@Operation/@ApiResponse) that the pull request adds to other endpoints.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ICIJ__datashare__1128 | ICIJ/datashare | 1,128 | defect | f50a49ed105f22b0fafd20e26430b5a8a61bd55e | f7fcc88c0247844915a2f1c41c7c4271b888d1ec | feat: allow multi projects in local | ## PR description
This PR ensures that users are granted access to every projects in LOCAL mode.
## Changes
* Upgrade to Datashare API 11.0.1 in order to use `user.setProjects` ;
* In LocalUserFilter, build a user with access to all projects ;
* Adapt all the test to mock `getProjects` from the `JooqReposit... | diff --git a/datashare-app/src/main/java/org/icij/datashare/utils/PayloadFormatter.java b/datashare-app/src/main/java/org/icij/datashare/utils/PayloadFormatter.java
index bc8354b9f9..22373deabb 100644
--- a/datashare-app/src/main/java/org/icij/datashare/utils/PayloadFormatter.java
+++ b/datashare-app/src/main/java/org/... | 1 | 1 | 0 | [{"id": "G0", "claim": "PayloadFormatter can be made static so other classes can use it without instantiating it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
ICIJ__datashare__1264 | ICIJ/datashare | 1,264 | defect | 4f91449e7771b5c910be8ccf1226d7cc08ba2a0b | 9a03ef588cb0622a4802d52d1af37afdfe5e7280 | Feat/amqp batch download | Merge refactor batch download before implementing AMQP.
cf https://github.com/ICIJ/datashare/issues/1081
| diff --git a/datashare-app/pom.xml b/datashare-app/pom.xml
index 05f36817c2..26768f329c 100644
--- a/datashare-app/pom.xml
+++ b/datashare-app/pom.xml
@@ -194,7 +194,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire.version}</version>
<confi... | 5 | 2 | 1 | [{"id": "G0", "claim": "The task counter is incremented on every loop iteration before the polled task is known to be non-null and non-poison; move `nbTasks++` into the `if` statement so polls that time out or return the poison pill are not counted.", "category": "correctness", "verdict": "supported", "priority": "P1",... | null |
ICIJ__datashare__1327 | ICIJ/datashare | 1,327 | defect | de0d28a71fa2e3b3892a2312badd2d1f76abd5e3 | 134b2426fce14cb3e7b15307d0b6d6a19706101f | refactor: harmonize cli options | ## Description
This PR aims at uniformizing the launchers and CLI options (see #1326).
## Changes
* refactor: add constants for all option names
* refactor: add constants for all option default values
* refactor: simplify `launchBack.sh` to use `./datashare-dist/src/main/deb/bin/datashare`
* feat: add an al... | diff --git a/Makefile b/Makefile
index 1660aa5998..9902e27743 100644
--- a/Makefile
+++ b/Makefile
@@ -43,3 +43,6 @@ docker: $(DIST_TARGET)
unit:
mvn test
+
+run:
+ ./launchBack.sh
\ No newline at end of file
diff --git a/datashare-app/src/main/java/org/icij/datashare/WebApp.java b/datashare-app/src/main/java/or... | 5 | 4 | 0 | [{"id": "G0", "claim": "The wildcard static import of DatashareCliOptions should be avoided in favour of explicit imports.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The variable holding the found jars should be named datashare_classpath or ... | null |
ICIJ__datashare__1334 | ICIJ/datashare | 1,334 | defect | b92cc7b136831f3bf0080e88a2175596633afcf9 | 021718323740b69dbdf50755cf7fd4f9a01a4cd8 | feat: ensure consistancy when creating/deleting queues in LOCAL mode | ## PR description
While debugging #1333 we discovered the queues are not correctly deleted when deleting a project. To avoid this issue from happening again, this PR adds more constraints to the queues created in LOCAL (from the client).
## Changes
* feat: scan and index endpoint constraint the queueName based... | diff --git a/datashare-app/src/main/java/org/icij/datashare/web/TaskResource.java b/datashare-app/src/main/java/org/icij/datashare/web/TaskResource.java
index 8eee13b434..ee91ea18c2 100644
--- a/datashare-app/src/main/java/org/icij/datashare/web/TaskResource.java
+++ b/datashare-app/src/main/java/org/icij/datashare/web... | 1 | 1 | 0 | [{"id": "G0", "claim": "Clarify whether getQueueNameFor returns the whole queue name or just the prefix.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
ICIJ__datashare__1405 | ICIJ/datashare | 1,405 | defect | 7acaf35d8e030c0bb52421979bc2de802ed2bbdc | 47714d79838851091e45dda77dc58fbf2c0323c9 | fix: various errors | This PR fixes 3 things :
- The java opens error on the backend when we trying to retrieve tasks :
```
Unable to make protected final void java.util.concurrent.locks.AbstractQueuedSynchronizer.setState(int) accessible: module java.base does not "opens java.util.concurrent.locks" to unnamed module @21213b92
at [... | diff --git a/datashare-app/src/main/java/org/icij/datashare/mode/CommonMode.java b/datashare-app/src/main/java/org/icij/datashare/mode/CommonMode.java
index aa8131ba08..ce914997f0 100644
--- a/datashare-app/src/main/java/org/icij/datashare/mode/CommonMode.java
+++ b/datashare-app/src/main/java/org/icij/datashare/mode/C... | 1 | 1 | 0 | [{"id": "G0", "claim": "The injector should not install the empty parent org.icij.datashare.asynctasks.TaskFactory as a factory in CommonMode.configure().", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ICIJ__datashare__1622 | ICIJ/datashare | 1,622 | defect | 5cfa312f7defa052b2149fe40ab7bb7c588ff94e | f75a5d29a3c85a72e1aa434b2eda4916086f9c20 | Fix: workers shutdown cli | This PR fixes several issues:
- task CLI should handle the task `GROUP`
- missing singleton annotations that created several instances of services
- the waitForTasks that used an object instance lock with network access. It doesn't work because instance lock is changing at each network retrieval
- split of `shutd... | diff --git a/datashare-app/src/main/java/org/icij/datashare/CliApp.java b/datashare-app/src/main/java/org/icij/datashare/CliApp.java
index f1997241e1..71b957df75 100644
--- a/datashare-app/src/main/java/org/icij/datashare/CliApp.java
+++ b/datashare-app/src/main/java/org/icij/datashare/CliApp.java
@@ -1,6 +1,5 @@
pack... | 1 | 1 | 0 | [{"id": "G0", "claim": "The javadoc @return tag of waitTasksToBeDone should say the method returns the list of unfinished/alive tasks rather than the list of tasks.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ICIJ__datashare__1777 | ICIJ/datashare | 1,777 | defect | f1ecdb5e3f938a1934f9b8f99877b6649a46c9c4 | 38066b27d1a38ae54d644bbb17bfe6a262cfdb79 | fix; task manager memory termination | This PR fixes Datashare's shutdown which wasn't done properly | diff --git a/datashare-app/src/main/java/org/icij/datashare/tasks/TaskManagerAmqp.java b/datashare-app/src/main/java/org/icij/datashare/tasks/TaskManagerAmqp.java
index 210a9bc6c0..7519c20d2c 100644
--- a/datashare-app/src/main/java/org/icij/datashare/tasks/TaskManagerAmqp.java
+++ b/datashare-app/src/main/java/org/ici... | 1 | 1 | 0 | [{"id": "G0", "claim": "The task-manager polling interval variable and constant should carry the unit in their names (e.g. taskManagerPollingIntervalMilliseconds and DEFAULT_TASK_POLLING_INTERVAL_MS) to be consistent with the DatashareCli naming.", "category": "maintainability", "verdict": "supported", "priority": "P2"... | null |
ICIJ__datashare__1908 | ICIJ/datashare | 1,908 | defect | 75c489700eb2ccf826b3feacb0ab44e6028853a5 | 3cb288ccbd47a3409eb00cc4be22ababf77fb6a1 | feat: add "blur sensitive media" field to note record | This PR adds a field `blurSensitiveMedia` to notes (see #1907) | diff --git a/datashare-api/src/main/java/org/icij/datashare/Note.java b/datashare-api/src/main/java/org/icij/datashare/Note.java
index c3008e2174..4956c129f6 100644
--- a/datashare-api/src/main/java/org/icij/datashare/Note.java
+++ b/datashare-api/src/main/java/org/icij/datashare/Note.java
@@ -22,20 +22,27 @@ public en... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new test test_get_notes_for_project_with_blured_sensitive_media should also assert on the note's variant.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ICIJ__datashare__2058 | ICIJ/datashare | 2,058 | defect | 97f7e9d7d85f0991a01562e7c1547fb033397e2e | 12fbdc1c4fe6a789a7dd84df66d74be677f4ff7a | feat: index content type category | Solves #2057 by adding the contentTypeCategory field on docs, compute it in INDEX stage, and adds a CATEGORIZE stage to set or update it when it is missing or outdated | diff --git a/.gitignore b/.gitignore
index ebc6049410..68ab4c3099 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,6 +22,12 @@ datashare-web/src/main/resources/secret.properties
doc/
work
*.swp
+
+# Mac jenv properties
+.java-version
+
+# Flattened maven plugin
**/.flattened-pom.xml
+
# Devenv Properties File
-data... | 14 | 13 | 5 | [{"id": "G0", "claim": "The content type mapping in ContentTypeCategory could be moved to a resource file loaded at startup to make updating categories and adding new types easier.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test fixture ... | null |
ICIJ__datashare__2086 | ICIJ/datashare | 2,086 | defect | aef301cf3eab6560d0a80a81827eef47e31479ab | cddb428bf8393f5cb6dc21724af77b0237ee6058 | feat: form auth filter | Add a new cookie-based authentication filter that accepts username/password credentials via a JSON POST request. This complements the existing auth flows and is backed by a new shared base class that consolidates common authentication logic previously duplicated across filters. This is part of #2083.
## Changes
*... | diff --git a/datashare-app/src/main/java/org/icij/datashare/session/DatashareAuthFilter.java b/datashare-app/src/main/java/org/icij/datashare/session/DatashareAuthFilter.java
new file mode 100644
index 0000000000..9d67634db1
--- /dev/null
+++ b/datashare-app/src/main/java/org/icij/datashare/session/DatashareAuthFilter.... | 2 | 2 | 0 | [{"id": "G0", "claim": "The form-based authentication should be more robust by hashing passwords with argon2 as recommended by OWASP password storage best practice.", "category": "security", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "An enum should be introduced to select t... | null |
IDSIA__sacred__165 | IDSIA/sacred | 165 | defect | f9848d4c484085033ef5c7644770e6188f7104a6 | bb9583e655ec6198df65dfa041270fa053c880c2 | Metrics API (Feature/data logger) | Tracking of numerical series (e.g. int, float) using the Metrics API.
See updated Collected information docs for more information. | diff --git a/docs/collected_information.rst b/docs/collected_information.rst
index 60746646..bf72b0db 100644
--- a/docs/collected_information.rst
+++ b/docs/collected_information.rst
@@ -144,6 +144,73 @@ captured output. To interpret control characters like a console this would do:
ex.captured_out_filter = apply_b... | 4 | 3 | 0 | [{"id": "G0", "claim": "The new class should be declared as `class SacredMQ(object):` (new-style class) because Sacred tries to maintain Python 2 compatibility.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks why lines in messag... | null |
IDSIA__sacred__386 | IDSIA/sacred | 386 | defect | 94785b9592b16e8498212ad9cfa0e05d49a1819d | e4faebc17f281173ca3f23398c5484e021d6e530 | Add SignatureError | Adds a `SignatureError` that is raised when the passed config and arguments do not match the signature of a captured function. It inherits from `TypeError`, so any check for this still works and is consistent with Python errors.
Also adds more advanced options for `filter_traceback` that allow `SacredErrors` to always... | diff --git a/sacred/config/signature.py b/sacred/config/signature.py
index 1e6b0ead..a63a0e4b 100644
--- a/sacred/config/signature.py
+++ b/sacred/config/signature.py
@@ -6,7 +6,7 @@
from collections import OrderedDict
import sys
-from sacred.utils import MissingConfigError
+from sacred.utils import MissingConfigEr... | 1 | 1 | 1 | [{"id": "G0", "claim": "The argument handling of format_filtered_stacktrace is too lenient: only 'always', 'default' and 'never' should be allowed and an error should be raised on all other values.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
IDSIA__sacred__462 | IDSIA/sacred | 462 | defect | 4cad418a2fe9515af19ba4ca053d902debf26b01 | e0499f8c0d3473250a630f87be7cdb504cc9dd83 | Make failed mongo observer dump configurable | Add the option to specify the directory in which the mongo observer should dump. This is only partly resolving issues people have the failing mongo observers, but maybe it is useful anyway. | diff --git a/sacred/observers/mongo.py b/sacred/observers/mongo.py
index e436fa86..a3ac0ca4 100644
--- a/sacred/observers/mongo.py
+++ b/sacred/observers/mongo.py
@@ -59,7 +59,23 @@ class MongoObserver(RunObserver):
@staticmethod
def create(url=None, db_name='sacred', collection='runs',
overwr... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `exist_ok` argument of os.makedirs is Python 3 only, so the added failure-dump code in final_save must replace it with a manual existence check to keep working on Python 2.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
IDSIA__sacred__482 | IDSIA/sacred | 482 | defect | 787d40b55cd821a07ee2760e228f1da386969616 | c23650e98b13c29ab3f29b526c79f36ae3c33410 | Expose `info` kwarg in experiment.run | This fixes #480, by simply adding an `info` kwarg to `sacred.Experiment.run` which is later used to update the run's info dict.
Needs some tests. | diff --git a/sacred/experiment.py b/sacred/experiment.py
index ee16b0de..fbfac604 100755
--- a/sacred/experiment.py
+++ b/sacred/experiment.py
@@ -180,7 +180,7 @@ def get_usage(self, program_name=None):
return short_usage, long_usage, internal_usage
def run(self, command_name=None, config_updates=None, ... | 4 | 4 | 1 | [{"id": "G0", "claim": "The new `info` kwarg behaviour should come with tests before it can be considered fine.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Tags should be attached in a more principled way — in particular the reviewer asked whether th... | null |
IDSIA__sacred__496 | IDSIA/sacred | 496 | defect | 19524bf8b42580c0f30fc8e2a7bcc0001dfbbcb5 | 0e4c5f5428f77562308d3b6b6a7567257de8848d | Bug-fixes | Fixes #495 by specifying pytest-version that is hard-coded in tests.
Fixes #491 by adding pymongo dependency.
Fixes error on running experiment on command-line by replacing `exit()` by `sys.exit`. `exit()` is intended for interactive runs.
Also fixes a number of broken tests. | diff --git a/requirements.txt b/requirements.txt
index 399882e1..54923130 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -6,7 +6,10 @@ munch>=2.0.4
pbr>=1.10.0
py>=1.4.32
py-cpuinfo>=4.0
-pytest>=3.0.5
six>=1.10.0
wrapt>=1.10.8
packaging>=18.0
+pymongo>=3.8.0
+
+# tests/test_utils.py depends on that pyte... | 1 | 1 | 1 | [{"id": "G0", "claim": "The EXAMPLE_DIGEST hard-coded for tests/__init__.py was miscalculated (computed on the author's Windows machine), so it should be reverted to '9e428c0aa58b75ff150c4f625e32af68'.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
IDSIA__sacred__503 | IDSIA/sacred | 503 | defect | 5639ad68d648343a1ca9885bdd17072ae3b129ea | 444e9ad266cc0803b1f4d58257cab0d369a3b498 | Avoid file-observer fail to make run-dir for wrong listdir results | In practice about 1% of my runs failed on creating the run directory (10 to 50 parallel worker, network storage), because of too many attempts.
This pull request contains two improvements, which may solve this issue for me and others:
* Increase allowed fails from 100 to 1000
* Sleep for a random timeinterval aft... | diff --git a/sacred/observers/file_storage.py b/sacred/observers/file_storage.py
index e8d962f8..030fe73f 100644
--- a/sacred/observers/file_storage.py
+++ b/sacred/observers/file_storage.py
@@ -49,11 +49,16 @@ def __init__(self, basedir, resource_dir, source_dir, template,
self.cout = ""
self.cout_wr... | 5 | 5 | 2 | [{"id": "G0", "claim": "When creating the run dir fails with FileExistsError, sacred should increment the id (e.g. try mkdir 51 after mkdir 50 fails) instead of retrying the same os.listdir-derived number, since a cached listdir can keep returning stale results.", "category": "correctness", "verdict": "supported", "pri... | null |
IDSIA__sacred__505 | IDSIA/sacred | 505 | defect | 5639ad68d648343a1ca9885bdd17072ae3b129ea | 16a4f877ae1479e8b04235d98420ec58473bd195 | Added test cases and a fix for Issue #409. | Issue #409 : Recursively fill in the result with preset after setting in the conf in ConfigDict.__call__ | diff --git a/sacred/config/config_dict.py b/sacred/config/config_dict.py
index f531c84d..c3793178 100644
--- a/sacred/config/config_dict.py
+++ b/sacred/config/config_dict.py
@@ -2,7 +2,8 @@
# coding=utf-8
from sacred.config.config_summary import ConfigSummary
-from sacred.config.utils import dogmatize, normalize_o... | 2 | 2 | 0 | [{"id": "G0", "claim": "A test case using a real experiment object, as described in issue #409, should be added so the correct behaviour is documented on the user-facing API.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment referring to the so... | null |
IDSIA__sacred__542 | IDSIA/sacred | 542 | defect | 985567b5bd6810460879999643e24a46e0d40f82 | a8c3f59cf25fa300f97ff46d36c5b1cc56181f52 | S3 FileObserver | Creates a S3FileObserver that uses boto3 to automatically sync all run file data to a S3 location. Doesn't handle any credentials or permissions itself, so requires the user to have gone through `aws configure` on command line, or to have in some other fashion generated` ~/.aws/config` and `~/.aws/credentials` files wi... | diff --git a/dev-requirements.txt b/dev-requirements.txt
index 003067be..96ba873a 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -28,4 +28,6 @@ wrapt==1.10.8
scikit-learn==0.20.3
pymongo==3.8.0
py-cpuinfo==4.0
-
+boto3>=1.9.0
+moto>=1.3.13
+google-compute-engine>=2.8.0
\ No newline at end of file
di... | 20 | 14 | 1 | [{"id": "G0", "claim": "The duplicate-id test seems to depend on the order of test execution; it would be better to create a non-failing run first and then try to create a second run with the same id.", "category": "testing", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The __e... | null |
IDSIA__sacred__547 | IDSIA/sacred | 547 | defect | 6df989ead955e6f812b9a172ae707173a12322ad | deb4b7f6e1c6ffb67c02d002d3dfc1d32dee0adc | Added the test for the import error. | We have an issue with error messages for optional dependencies. For exemple, trying to use the sql observer without sql installed throws the following error:
```
tests/test_observers/test_sql_observer_not_installed.py:11 (test_importerror_sql)
ex = <sacred.experiment.Experiment object at 0x7f5495d9f4a8>
@py... | diff --git a/sacred/observers/sql.py b/sacred/observers/sql.py
index 1fba4131..f67db93d 100644
--- a/sacred/observers/sql.py
+++ b/sacred/observers/sql.py
@@ -1,16 +1,12 @@
#!/usr/bin/env python
# coding=utf-8
-import hashlib
import json
-import os
from threading import Lock
-import sacred.optional as opt
from... | 1 | 1 | 0 | [{"id": "G0", "claim": "In SqlObserver.create, sqlalchemy should be imported directly rather than via the sa re-export from sql_bases.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
IDSIA__sacred__569 | IDSIA/sacred | 569 | defect | d3fe102ff5e0dbe12e4b1735ec391f63e2ce7fb7 | b8583bbe583b1c9c4e3b0959b84784eb6afa1c7f | [API Change] Changed the way host information is collected. | I propose here an API change (without breaking compatibility).
Old way:
```python
from sacred import host_info_getter
@host_info_getter('hello')
def get_hello():
return 'hello world'
experiment = Experiment('ator3000')
@experiment.main
def foo():
pass
experiment.run()
assert experiment.c... | diff --git a/sacred/experiment.py b/sacred/experiment.py
index d0c1c7ce..9d2ac3c9 100755
--- a/sacred/experiment.py
+++ b/sacred/experiment.py
@@ -6,7 +6,7 @@
import os.path
import sys
from collections import OrderedDict
-from typing import Sequence, Optional
+from typing import Sequence, Optional, Dict, Callable
... | 11 | 7 | 1 | [{"id": "G0", "claim": "The new `additional_gatherers` parameter needs a better name; JarnoRFB suggests `additional_host_infos`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It is unclear whether overwriting the default host info gather functi... | null |
IDSIA__sacred__572 | IDSIA/sacred | 572 | defect | 2d9031e65a53a950de1ee01c77c11ff50b9cb665 | 0c5cc57f3c58375734b8e843db48bad9c84d496d | [API change] New way to create command line options. | This is backward compatible.
Old command line options:
```python
class DebugOption(CommandLineOption):
"""
Suppress warnings about missing observers and don't filter the stacktrace.
Also enables usage with ipython --pdb.
"""
@classmethod
def apply(cls, args, run):
"""Se... | diff --git a/sacred/arg_parser.py b/sacred/arg_parser.py
index 283aed95..4627f8b1 100644
--- a/sacred/arg_parser.py
+++ b/sacred/arg_parser.py
@@ -17,6 +17,7 @@
from sacred.serializer import restore
from sacred.settings import SETTINGS
from sacred.utils import set_by_dotted_path
+from sacred.commandline_options impo... | 3 | 3 | 2 | [{"id": "G0", "claim": "The new `additional_cli_options` parameter should be typed `Optional[Sequence[CLIOption]]` since its default value is None.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Default command line options should come from a global... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.