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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
tensorflow__tflite-micro__2121 | tensorflow/tflite-micro | 2,121 | defect | 296b8185838ff644d368a7e69b42d34661704bc7 | 3484dd7222ffea311ed38938d076d114b1aa9187 | Energy op | `port c++ energy op to open source in tflm_signal`
-port energy op and corresponding to new open source location for C++
BUG=[b/289422411](https://b.corp.google.com/issues/289422411) | diff --git a/python/tflite_micro/python_ops_resolver.cc b/python/tflite_micro/python_ops_resolver.cc
index f67f7dd37ed..4aad245a0f7 100644
--- a/python/tflite_micro/python_ops_resolver.cc
+++ b/python/tflite_micro/python_ops_resolver.cc
@@ -45,6 +45,7 @@ PythonOpsResolver::PythonOpsResolver() {
AddDequantize();
A... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a blank line after the include block in signal/src/energy.cc, add a cleanup TODO for it, and wrap the code in the `tflite` namespace as well.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
tensorflow__tflite-micro__2137 | tensorflow/tflite-micro | 2,137 | defect | 70aed11c9545897976b046655ba45c8bbae07075 | e66e325a2894749dc437e663bba39f24a2ca5a34 | Adds IRFFT Op to Signal Library | Inverse-RFFT as part of Signal library ops.
Testing via current FFT Op tests.
BUG=[287346710](http://b/287346710) | diff --git a/python/tflite_micro/python_ops_resolver.cc b/python/tflite_micro/python_ops_resolver.cc
index becdcbb9e53..e6f9cf7f290 100644
--- a/python/tflite_micro/python_ops_resolver.cc
+++ b/python/tflite_micro/python_ops_resolver.cc
@@ -64,6 +64,7 @@ PythonOpsResolver::PythonOpsResolver() {
AddGreaterEqual();
... | 6 | 6 | 2 | [{"id": "G0", "claim": "Add a check in Init to ensure params is not nullptr, returning nullptr as done elsewhere.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Remove the buffer_t variable, whose _t suffix reads like a type, and put the reinterpret... | null |
tensorflow__tflite-micro__2140 | tensorflow/tflite-micro | 2,140 | defect | 40a6936e9461fa8db157b5b3faf89ae9a0384554 | 3e4287532b993dc984bdd0de7cfb0cc826dd8144 | Add Q16x8 Depthwise Conv Support | Adds support for 16-bit activations + 8-bit weights for depthwise convolution in the reference kernel. Uses 64-bit bias to match TFLite. Also adds passthrough to the q16x8 reference kernel for Xtensa, CEVA, and ARC (CMSIS already has it's own implementation).
Tested:
depthwise_conv_test
BUG=2141 | diff --git a/tensorflow/lite/micro/kernels/arc_mli/depthwise_conv.cc b/tensorflow/lite/micro/kernels/arc_mli/depthwise_conv.cc
index 1fa1d19ad1a..c2c9cd5c438 100644
--- a/tensorflow/lite/micro/kernels/arc_mli/depthwise_conv.cc
+++ b/tensorflow/lite/micro/kernels/arc_mli/depthwise_conv.cc
@@ -660,6 +660,30 @@ TfLiteStat... | 1 | 1 | 0 | [{"id": "G0", "claim": "Expand the comment to explain why only the default depthwise convolution is needed for int16 input — specifically that int16 falls back to the reference kernels, so there is no need to call the Xtensa-specific Prepare methods.", "category": "documentation", "verdict": "supported", "priority": "P... | null |
tensorflow__tflite-micro__2147 | tensorflow/tflite-micro | 2,147 | defect | c20bab12dbdb091bcd92b3204b4f1cfbfe58eae9 | 5554f9825a8d228178d02009ce06a8f43ffe0fe6 | Port BATCH_MATMUL | @tensorflow/micro
Port BATCH_MATMUL kernel from TfLite along with unit tests.
[b/291110349
](https://issuetracker.google.com/issues/291110349)
bug=fixes #2146 | diff --git a/tensorflow/lite/micro/kernels/BUILD b/tensorflow/lite/micro/kernels/BUILD
index 11ece2debc0..4898f1186a8 100644
--- a/tensorflow/lite/micro/kernels/BUILD
+++ b/tensorflow/lite/micro/kernels/BUILD
@@ -185,6 +185,7 @@ tflm_kernel_cc_library(
"add_n.cc",
"arg_min_max.cc",
"assign_va... | 16 | 16 | 0 | [{"id": "G0", "claim": "The OpContext member `opdata` should be named `op_data`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "OpContext's constructor should assign params and op_data via a constructor initializer list instead of in the body.",... | null |
tensorflow__tflite-micro__2180 | tensorflow/tflite-micro | 2,180 | defect | 0228e3e1997dda99ec1aa8988f790e8847eed24a | 7ac0db60557e1c1d3238715a396b98a1b34fa793 | `PCAN C++` | `port c++ PCAN op to open source in tflm_signal`
-port PCAN op and corresponding to new open source location for C++
BUG=[b/294387385](https://b.corp.google.com/issues/294387385) | diff --git a/python/tflite_micro/python_ops_resolver.cc b/python/tflite_micro/python_ops_resolver.cc
index a47a2613004..ab67bd4ac0a 100644
--- a/python/tflite_micro/python_ops_resolver.cc
+++ b/python/tflite_micro/python_ops_resolver.cc
@@ -92,6 +92,7 @@ PythonOpsResolver::PythonOpsResolver() {
AddPack();
AddPad(... | 6 | 5 | 0 | [{"id": "G0", "claim": "Drop the pcan namespace in pcan.cc and also add a TODO for cleaning up the tflm_signal namespace.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Move the reinterpret_cast into the FlexbufferWrapper arguments instead of using the t... | null |
tensorflow__tflite-micro__2335 | tensorflow/tflite-micro | 2,335 | defect | 944b23edbffb3fda1ad74b55b9cff2480d9368b7 | 4a6138f77eb43836e4b18c3d6834e9f85c10e656 | SPACE_TO_BATCH_ND: update output tensor shape | @tensorflow/micro
Update the output tensor shape during prepare phase when the computed shape does not match the shape in the flatbuffer.
Added additional tests from TfLite.
See #2319 for additional details.
Resolves [b/313360569](https://issuetracker.google.com/313360569)
bug=fixes #2332 fixes #2319 #16... | diff --git a/tensorflow/lite/micro/examples/micro_speech/micro_speech_test.cc b/tensorflow/lite/micro/examples/micro_speech/micro_speech_test.cc
index f31728c3707..6fe75c18c15 100644
--- a/tensorflow/lite/micro/examples/micro_speech/micro_speech_test.cc
+++ b/tensorflow/lite/micro/examples/micro_speech/micro_speech_tes... | 2 | 1 | 0 | [{"id": "G0", "claim": "Move the comment about copying from the input tensor above the line and describe why it copies from the input tensor.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The error message should say that increasing tensor size i... | null |
tensorflow__tflite-micro__2446 | tensorflow/tflite-micro | 2,446 | defect | 42f4bb836a5fc2a34463f35ab46fca504982fef8 | d856cb345b5930fe01f46430df20be3cdba46c13 | Update CMSIS-NN CONV and LSTM implementations | CONV
- Set filter_dims.c to allow for use of grouped convolution
- Additionally moves all consistency checks to the prepare stage
LSTM
- Updates CMSIS-NN download SHA
- New API for arm_lstm_unidirectional_s8
- New API for arm_vector_sum_s8
BUG=#2074, bit exactness of lstm kernel. | diff --git a/tensorflow/lite/micro/kernels/cmsis_nn/conv.cc b/tensorflow/lite/micro/kernels/cmsis_nn/conv.cc
index 6628168929f..03c12ba116d 100644
--- a/tensorflow/lite/micro/kernels/cmsis_nn/conv.cc
+++ b/tensorflow/lite/micro/kernels/cmsis_nn/conv.cc
@@ -75,29 +75,45 @@ TfLiteStatus Prepare(TfLiteContext* context, Tf... | 2 | 2 | 0 | [{"id": "G0", "claim": "The comment added in conv.cc reads '// Initialize cmsis_nn dimension dimensions' and the duplicated word 'dimension' should be dropped.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The manually multiplied four-factor bias... | null |
tensorflow__tflite-micro__2504 | tensorflow/tflite-micro | 2,504 | defect | d3088479753fb0963dd72d75bddbc5ff5bf64aec | cb0b8d32a8138650e4ab58b49cb1722cbea018f7 | CMSIS-NN LSTM issue fixes | - Remove read of non-initialized buffer
- Adds back integer unidirectional_sequence_lstm_test for CMSIS-NN
- Adds back dtln example using CMSIS-NN
- Reverts "Add intermediate tensors to LSTM unit test to enable CMSIS-NN (#1996)"
BUG=#2449 | diff --git a/tensorflow/lite/micro/kernels/cmsis_nn/unidirectional_sequence_lstm.cc b/tensorflow/lite/micro/kernels/cmsis_nn/unidirectional_sequence_lstm.cc
index 27e31f5729f..75ba5ea09e2 100644
--- a/tensorflow/lite/micro/kernels/cmsis_nn/unidirectional_sequence_lstm.cc
+++ b/tensorflow/lite/micro/kernels/cmsis_nn/uni... | 1 | 1 | 0 | [{"id": "G0", "claim": "The micro::KernelRunner in TestUnidirectionalLSTMInteger and TestUnidirectionalLSTMFloat should use kLstmMaxNumInputOutputTensors instead of the hardcoded 24 + 1.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tensorflow__tflite-micro__2642 | tensorflow/tflite-micro | 2,642 | defect | 213eb8769b919f722f85877a2affeddd76f45dca | 4baae1824c911ecc0358330f493218bea7210bd1 | feat: add fixed-capacity, statically-allocated type tflite::StaticVector | Add a type, tflite::StaticVector, which behaves like std::vector, but
which avoids heap memory allocation.
BUG=#2636 | diff --git a/tensorflow/lite/micro/BUILD b/tensorflow/lite/micro/BUILD
index 527b85a8ea8..458260b71f5 100644
--- a/tensorflow/lite/micro/BUILD
+++ b/tensorflow/lite/micro/BUILD
@@ -407,6 +407,12 @@ cc_library(
copts = micro_copts(),
)
+cc_library(
+ name = "static_vector",
+ hdrs = ["static_vector.h"],
+ ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The copyright year in the new static_vector.h should read 2024 instead of 2023.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Avoid including the <ostream> header in static_vector.h, since including iostream-related headers ... | null |
tensorflow__tflite-micro__2682 | tensorflow/tflite-micro | 2,682 | defect | c01ca97f52ca451bfba714d7eb8ae0349d85f537 | 18d1247be8cf754260e60be5adab0b35a636acf2 | Add int16 support to OP_RELU6 | This PR adds int16 support to OP_RELU6. This is already supported in TF Lite.
bug=#2681 | diff --git a/tensorflow/lite/micro/kernels/activations.cc b/tensorflow/lite/micro/kernels/activations.cc
index 1086325ca84..346a455ca0e 100644
--- a/tensorflow/lite/micro/kernels/activations.cc
+++ b/tensorflow/lite/micro/kernels/activations.cc
@@ -70,12 +70,15 @@ TfLiteStatus ReluEval(TfLiteContext* context, TfLiteNod... | 1 | 1 | 1 | [{"id": "G0", "claim": "The template on Relu6OpData should be eliminated in favor of a single largest type (int32_t) so the allocation is always the same size, and an ENSURE check should be added on the output of FloatToQuantizedType to keep it within int16_t/int8_t bounds before narrowing.", "category": "correctness",... | null |
tensorflow__tflite-micro__2774 | tensorflow/tflite-micro | 2,774 | defect | b23864944c0bc6c2603408754fd2b9b3dbaa862d | 8de9680d3291ebb0a5fa2f29664943db93a3d454 | feat: add compression metadata flatbuffer schema and tests | Add a flatbuffer schema for describing compressed models.
Flatbuffers with this schema are to be used as the value in a
.tflite model flatbuffer metadata field, and contain the extra
information necessary to describe a compressed model.
Include tests to ensure basic functionality and demonstrate
integration with... | diff --git a/tensorflow/lite/micro/compression/BUILD b/tensorflow/lite/micro/compression/BUILD
new file mode 100644
index 00000000000..1e4746fefc3
--- /dev/null
+++ b/tensorflow/lite/micro/compression/BUILD
@@ -0,0 +1,97 @@
+load(
+ "//tensorflow/lite/micro:build_def.bzl",
+ "tflm_cc_library",
+ "tflm_cc_test"... | 7 | 5 | 0 | [{"id": "G0", "claim": "Put the comments in metadata.fbs above the items they describe rather than below them.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "schema_version should be uint rather than int.", "category": "design", "verdict": "supp... | null |
tensorflow__tflite-micro__3132 | tensorflow/tflite-micro | 3,132 | defect | bbf70db4993618bcabc01cf2f02cd9eb089d5dca | 7ddd84bf509c14fbaec283cf9cd63ade6484c5a1 | Support for DECODE operator | @tensorflow/micro
Add initial support for DECODE operator.
Add reference implementation.
Add LUT decompression support.
Update op resolvers.
Update Makefiles and Bazel BUILD files.
Add kernel unit test.
bug=fixes #3131 | diff --git a/python/tflite_micro/python_ops_resolver.cc b/python/tflite_micro/python_ops_resolver.cc
index 90204ff3827..138f76dada6 100644
--- a/python/tflite_micro/python_ops_resolver.cc
+++ b/python/tflite_micro/python_ops_resolver.cc
@@ -40,6 +40,7 @@ PythonOpsResolver::PythonOpsResolver() {
AddConv2D();
AddCo... | 6 | 5 | 0 | [{"id": "G0", "claim": "Change `struct DecodeState` to `class` per the Google C++ style guide's structs-vs.-classes rule.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename `DecodeStateLUT` to `DecodeStateLut` per the Google C++ style guide's... | null |
tensorflow__tflite-micro__3188 | tensorflow/tflite-micro | 3,188 | defect | 6264a6985516ae36be887fcca63be6cb9ae09530 | 991c81299b0227346238003c452c34688370cbcd | Support for DECODE operator | Support for DECODE operator
@tensorflow/micro
Add reference implementation of Huffman decompression to DECODE operator.
Makefile and Bazel BUILD file changes.
Additional unit tests.
bug=fixes #3187 | diff --git a/tensorflow/lite/micro/kernels/BUILD b/tensorflow/lite/micro/kernels/BUILD
index e9c5fe7a691..2009d99ca85 100644
--- a/tensorflow/lite/micro/kernels/BUILD
+++ b/tensorflow/lite/micro/kernels/BUILD
@@ -252,6 +252,7 @@ tflm_kernel_cc_library(
"cumsum.cc",
"decode.cc",
"decode_state.... | 4 | 3 | 0 | [{"id": "G0", "claim": "DecodeStateHuffman should be declared as a `class` (with an explicit access specifier) rather than a `struct`.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The IsLittleEndian helper could be a static function and could also be `... | null |
tensorflow__tflite-micro__3191 | tensorflow/tflite-micro | 3,191 | defect | 93ebaa9ca4a33449bfa61b6b0f3a63b4aa5f0e15 | b9ea8b1f9389aadeaf2ed106d869ac24588c201e | PRelu Int16x8 Ref C support | @tensorflow/micro
Add PReLu int16x8 support in reference C
bug=fixes #3168 | diff --git a/tensorflow/lite/micro/kernels/prelu.cc b/tensorflow/lite/micro/kernels/prelu.cc
index 66a017b2aec..e98b4832c0c 100644
--- a/tensorflow/lite/micro/kernels/prelu.cc
+++ b/tensorflow/lite/micro/kernels/prelu.cc
@@ -1,4 +1,4 @@
-/* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
+/* Copyright 2025 ... | 4 | 4 | 1 | [{"id": "G0", "claim": "The pull request should not change the year in the copyright comment of prelu.cc and prelu_test.cc.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new unsupported-type error message in prelu.cc should print only the type ... | null |
tensorflow__tflite-micro__3213 | tensorflow/tflite-micro | 3,213 | defect | 14b8584ee0c58ad3499b05f4e3fa471b72810c26 | 9ac09a024a0c968d8bc6c6c034426549d9b4824c | Support for DECODE operator | @tensorflow/micro
Add support for alternate decompression memory to DECODE operator. Additional unit tests.
Update generic benchmark application and Makefile.
bug=fixes #3212 | diff --git a/tensorflow/lite/micro/kernels/decode.cc b/tensorflow/lite/micro/kernels/decode.cc
index 09c490eb043..9f4d34cff15 100644
--- a/tensorflow/lite/micro/kernels/decode.cc
+++ b/tensorflow/lite/micro/kernels/decode.cc
@@ -18,12 +18,37 @@ limitations under the License.
#include "tensorflow/lite/kernels/kernel_ut... | 3 | 2 | 0 | [{"id": "G0", "claim": "Add comments to TestSetDecompressionMemory explaining why these specific interpreter-state checks are necessary.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a comment clarifying that the next allocation fails due to ... | null |
tensorflow__tflite-micro__3239 | tensorflow/tflite-micro | 3,239 | defect | ecf58d7a4c2852a696cee399e1b28173ce61c23b | 900d6cf3eca10fee0dc1e4540ae8d6bf0b60edfb | Support for DECODE operator |
@tensorflow/micro
Add comprehensive DECODE unit test for LUT decompression.
Update decode_test_helpers.h with additional expected comparison tensor types.
Update Makefiles and Bazel build files.
bug=fixes #3238
| diff --git a/tensorflow/lite/micro/kernels/BUILD b/tensorflow/lite/micro/kernels/BUILD
index c0fd4759362..e9c5fe7a691 100644
--- a/tensorflow/lite/micro/kernels/BUILD
+++ b/tensorflow/lite/micro/kernels/BUILD
@@ -664,6 +664,22 @@ tflm_cc_test(
],
)
+tflm_cc_test(
+ name = "decode_state_lut_test",
+ srcs =... | 1 | 1 | 0 | [{"id": "G0", "claim": "The final `return 0` in FindValueTableIndex looks unreachable, and the reviewer asks whether that line can ever be reached.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tensorflow__tflite-micro__3246 | tensorflow/tflite-micro | 3,246 | defect | 6264a6985516ae36be887fcca63be6cb9ae09530 | 665cf674b4298bb139b4bc8ba49a9068d3599cb7 | Porting Dynamic_Update_Slice operator from TFLite | Added Dynamic_Update_Slice operator changes.
BUG=fixes https://github.com/tensorflow/tflite-micro/issues/3217 | diff --git a/python/tflite_micro/python_ops_resolver.cc b/python/tflite_micro/python_ops_resolver.cc
index 13f160ca53c..a8873dbc955 100644
--- a/python/tflite_micro/python_ops_resolver.cc
+++ b/python/tflite_micro/python_ops_resolver.cc
@@ -47,6 +47,7 @@ PythonOpsResolver::PythonOpsResolver() {
AddDequantize();
A... | 8 | 4 | 0 | [{"id": "G0", "claim": "Replace the hard-coded 6 in kMaxDimensions with RuntimeShape::kMaxSmallSize so the limit tracks RuntimeShape instead of requiring a hunt for 6's when LiteRT changes it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Asks ... | null |
tensorflow__tflite-micro__3298 | tensorflow/tflite-micro | 3,298 | defect | e1a6329fe954f2916e36f4edfa8edf545143425a | ce68d5ff99900a4db90880803bc9e445486c417c | Added ResetVariableTensor | Added a new `ResetVariableTensor` method to `MicroInterpreterGraph`. This allows for the manual resetting of variable tensors (stateful tensors) to their initial values. This is particularly useful for complex models where only a partial set of tensors needs to be cleared.
BUG=n/a | diff --git a/tensorflow/lite/micro/BUILD b/tensorflow/lite/micro/BUILD
index 279e751245c..f1c6b4e7daf 100644
--- a/tensorflow/lite/micro/BUILD
+++ b/tensorflow/lite/micro/BUILD
@@ -490,6 +490,19 @@ tflm_cc_test(
],
)
+tflm_cc_test(
+ name = "micro_interpreter_graph_test",
+ srcs = [
+ "micro_interp... | 6 | 5 | 5 | [{"id": "G0", "claim": "ResetVariableTensor should return failure (kTfLiteError) by default instead of kTfLiteOk, since it only works for TensorFlow 1.0-style variable tensors.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The zero-point read shoul... | null |
tensorflow__tflite-micro__3413 | tensorflow/tflite-micro | 3,413 | defect | a6cd602b1a9c0c123c8d0b2b63f8d5010f28ca3b | b2c604b236d8a47196390ffbb20ba260e88d4081 | [Fix] Batch MatMul Op | Batmul
* Disabled optimization when adj_x=true.
* Extracted logic into `ReshapeToFlattenBatchDimsIfPossible` for better maintainability.
* Added two new tests.
BUG=https://github.com/tensorflow/tflite-micro/issues/3412 | diff --git a/tensorflow/lite/micro/kernels/batch_matmul.cc b/tensorflow/lite/micro/kernels/batch_matmul.cc
index bbb1c0b0a7e..59eca5de6a4 100644
--- a/tensorflow/lite/micro/kernels/batch_matmul.cc
+++ b/tensorflow/lite/micro/kernels/batch_matmul.cc
@@ -340,6 +340,46 @@ TfLiteStatus EvalInt16(TfLiteContext* context, con... | 2 | 2 | 0 | [{"id": "G0", "claim": "The change to disable the flatten-batch-dims optimization when adj_x is true means the LiteRT code also needs to be corrected.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The CMSIS_NN optimized kernel also needs to be up... | null |
tensorflow__tflite-support__612 | tensorflow/tflite-support | 612 | defect | 03fd0ff2c6c12f1d06ab2049400f2773c657ecdb | 294de06b008dcdd13dd0550218e48e90c384480b | Support for dynamic input shape | This should, to some extent, solve tensorflow/tensorflow#50448. @lu-wang-g Some help here would be great. | diff --git a/tensorflow_lite_support/cc/task/vision/utils/image_tensor_specs.cc b/tensorflow_lite_support/cc/task/vision/utils/image_tensor_specs.cc
index 51e72fa17..7d3cf46ee 100644
--- a/tensorflow_lite_support/cc/task/vision/utils/image_tensor_specs.cc
+++ b/tensorflow_lite_support/cc/task/vision/utils/image_tensor_... | 4 | 2 | 2 | [{"id": "G0", "claim": "BuildInputTensorSpecs has no access to the image height/width the dynamic resize needs (the code contains ??? placeholders), so the dynamic-shape handling should be moved out of image_tensor_specs.cc into ImagePreprocessor::Preprocess.", "category": "design", "verdict": "supported", "priority": ... | null |
tensorflow__tflite-support__702 | tensorflow/tflite-support | 702 | defect | 66564166c6994157318872b8049664878111b199 | d9ea8c721db116d1b35e2a73822c010ccbd8b7b5 | Integration of Error Reporting in C Image Classifier | 1. Added a method in c/common_utils to create errors originating in C layer.
2. Integrated error reporting in C Image Classifier.
3. Added error testing in C Image Classifier tests.
4. Added checks for score and label of first category in classify tests. | diff --git a/tensorflow_lite_support/c/common_utils.cc b/tensorflow_lite_support/c/common_utils.cc
index 3925dc6a3..5d1ca3beb 100644
--- a/tensorflow_lite_support/c/common_utils.cc
+++ b/tensorflow_lite_support/c/common_utils.cc
@@ -24,6 +24,15 @@ limitations under the License.
namespace tflite {
namespace support {
... | 6 | 5 | 1 | [{"id": "G0", "claim": "CreateImageClassifierCppOptionsFromCOptions should return StatusOr<ImageClassifierOptionsCpp>, with the null-options check and error creation (lines 106-110) moved into it, so the caller can simply use `if (!cpp_options_status.ok())`.", "category": "design", "verdict": "supported", "priority": "... | null |
tensorflow__tflite-support__752 | tensorflow/tflite-support | 752 | defect | 678a4dc7c80a79901bef8065495fbbbb9a3cc762 | 15151ba53e2c7ca2fe140b6681d748d443d10edb | Added iOS Image Segmentation Headers | Updated C image_segmenter.h to include typedef for Segmentation Output Type enum.
Added headers
Updated build files. | diff --git a/tensorflow_lite_support/c/task/vision/image_segmenter.h b/tensorflow_lite_support/c/task/vision/image_segmenter.h
index db0a5f400..dd87e61e5 100644
--- a/tensorflow_lite_support/c/task/vision/image_segmenter.h
+++ b/tensorflow_lite_support/c/task/vision/image_segmenter.h
@@ -97,7 +97,7 @@ typedef struct Tf... | 5 | 5 | 3 | [{"id": "G0", "claim": "Use NSUInteger instead of UInt8 for all fields currently defined as UInt8 in TFLSegmentationResult.h, because the underlying C++ protos use uint32.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Rework the raw C-pointer mask ... | null |
tensorflow__tflite-support__851 | tensorflow/tflite-support | 851 | defect | 9023f4074b248ccd5a593c90fbb7778f5af92f87 | 66dc8afb68046168b47b50ad3cf3ffcc30c849cc | Task Library: Added an `offset` param to the `LoadAudioBufferFromFile` C++ function for flexibility | - Updated some C tests
- Added an offset param to `create_from_wav_file` in the Python Task API | diff --git a/tensorflow_lite_support/c/test/task/audio/audio_classifier_test.cc b/tensorflow_lite_support/c/test/task/audio/audio_classifier_test.cc
index 17b2a4cce..01f4d991e 100644
--- a/tensorflow_lite_support/c/test/task/audio/audio_classifier_test.cc
+++ b/tensorflow_lite_support/c/test/task/audio/audio_classifier... | 1 | 1 | 0 | [{"id": "G0", "claim": "The offset parameter added to DecodeLin16WaveAsFloatVector should use uint32_t instead of int, with the offset datatype of the underlying methods aligned to that of sample_count throughout the codebase.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tensorflow__transform__65 | tensorflow/transform | 65 | defect | 83db26204657bb08838208fcd5261fe3b2e7fc4e | d77ad3d04ca134393abc6674d74ec713a1c84f3a | Fix division by 0 in scale_to_z_score | 1. Added vectorization support for zscore
2. Added test impl_test.testScaleToZScoreVectorized
3. Ran unit test as: python -m unittest -q tensorflow_transform.beam.impl_test
4. Fixes #47 | diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000..0d20b648
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*.pyc
diff --git a/tensorflow_transform/analyzers.py b/tensorflow_transform/analyzers.py
index 20cce715..f70befdd 100644
--- a/tensorflow_transform/analyzers.py
+++ b/tensorflow_transform/ana... | 3 | 1 | 0 | [{"id": "G0", "claim": "The block computing cond, including the tf.tile(...) line, should be indented with 2 leading spaces per the project style guidelines.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The one-line x_var = mean(squared_deviat... | null |
tensorlakeai__tensorlake__346 | tensorlakeai/tensorlake | 346 | defect | a94b0d104cf4820d86266845e4b375c5aed3ca07 | 5a319ec95b6bb76a2e07fbba6e7c8e4b4e954a78 | Feat/added ocr pipeline cross page detect and citations | ## Description
- Added `cross_page_header_detection` and `ocr_pipeline_provider` in parsing options
- Added `provide_citations` in structured extraction options | diff --git a/pyproject.toml b/pyproject.toml
index a78d03365..40eaff414 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "tensorlake"
-version = "0.2.43"
+version = "0.2.44"
description = "Tensorlake SDK for Document Ingestion API and Serverless Workflows"
readme = "README.md"
... | 1 | 1 | 1 | [{"id": "G0", "claim": "Export the new OcrModelProvider enum from document ai's __init__.py so the type of the newly added ocr_pipeline_provider option is importable from the public package.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
tensorlakeai__tensorlake__403 | tensorlakeai/tensorlake | 403 | defect | e1e8e1cc5d4a893a614a468a125b94c0419a4abf | 18845c625af1a1daa07d329d2647e6c7c0c78c9e | Separate success and failure event logs. | This makes it more clear for customers that the initialization failed. The failure event also includes part of the stack trace that's relevant for users to see the cause of the failure. | diff --git a/src/tensorlake/function_executor/service.py b/src/tensorlake/function_executor/service.py
index 3c97bf0e1..63d7330be 100644
--- a/src/tensorlake/function_executor/service.py
+++ b/src/tensorlake/function_executor/service.py
@@ -61,6 +61,7 @@
from .request_state.request_state_proxy_server import RequestSta... | 3 | 3 | 1 | [{"id": "G0", "claim": "The pre-existing FE-log error block and its comment are already sufficient since the full backtrace is printed right there, so the reviewer asks whether the PR really needs to remove that line and comment.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ... | null |
tensorlakeai__tensorlake__404 | tensorlakeai/tensorlake | 404 | defect | af791519caf8a1fd762cb5cc390373155bc07658 | 8580520605081aeb7b950343fd85c8c68032fec4 | feat: include pydantic model schema | ## Description
- `_type_hint_json_schema()` to output pydantic model schema
- simplified function deployment output logic
| diff --git a/src/tensorlake/applications/remote/manifests/function.py b/src/tensorlake/applications/remote/manifests/function.py
index 3c4d9d49a..f9ab0ca7b 100644
--- a/src/tensorlake/applications/remote/manifests/function.py
+++ b/src/tensorlake/applications/remote/manifests/function.py
@@ -1,10 +1,5 @@
import inspec... | 5 | 4 | 3 | [{"id": "G0", "claim": "The new TYPE_TO_JSON_SCHEMA constant should carry a link to the JSON Schema standard (an RFC or other spec).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CLI should iterate `for application in filter_applications(func... | null |
tensorlakeai__tensorlake__433 | tensorlakeai/tensorlake | 433 | defect | 381c71326915491fb0c179e6e99d9f062b0680c7 | f24a89755c36d5f4ff4c27c41a24999060a9c2c3 | Resolve the cloud URL based on the API url. | If the API url is set to https://api.tensorlake.dev, we want the cloud url to be automatically set to https://cloud.tensorlake.dev without having to specify that in the configuration.
This change checks the API url to resolve the right cloud url. That way, when you run `tensorlake login` with an instance that's not ... | diff --git a/src/tensorlake/cli/__init__.py b/src/tensorlake/cli/__init__.py
index b27cc26e1..8935cb1f0 100644
--- a/src/tensorlake/cli/__init__.py
+++ b/src/tensorlake/cli/__init__.py
@@ -33,7 +33,7 @@
)
@click.option(
"--api-url",
- "base_url",
+ "api_url",
envvar="TENSORLAKE_API_URL",
help="Th... | 1 | 1 | 1 | [{"id": "G0", "claim": "httpx.Client() is passed `api_url` as the parameter name instead of `base_url`, which will cause a runtime error.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
tensorlakeai__tensorlake__456 | tensorlakeai/tensorlake | 456 | defect | 792c130587dc7370902819f135a8f23c5199cec0 | 2a8cbbe585f3c5ec6cd948be2a415b92ad46a0b7 | Fix progress update serialization. |
Document and raise SerializationError if we cannot serialize a value to JSON.
Include tests for cloud events and progress updates.
Fixes #450
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Ensure progress and cloud events are JSON-serializable, include function name and message in progress updates, and add compreh... | diff --git a/pyproject.toml b/pyproject.toml
index eccdeff10..258ec5320 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "tensorlake"
-version = "0.2.85"
+version = "0.2.86"
description = "Tensorlake SDK for Document Ingestion API and Serverless Applications"
readme = "README.md... | 12 | 10 | 5 | [{"id": "G0", "claim": "The recursive _serialize_value serialization mutates the caller's input dictionaries in place (Pydantic models replaced with plain dicts), unlike the list handling which copies.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
tensorlakeai__tensorlake__491 | tensorlakeai/tensorlake | 491 | defect | a495c020035f6765b12c835a0dfb1839236c2845 | 42cfed5c38f6b3229361cef74775c13618738c38 | Replace the created_at type for progress updates. | Using the iso format is more stable to handle dates than timestamps.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Standardizes event timestamps to ISO 8601 with `Z` and updates progress events to use the same format.
>
> - Introduces `event_time()` to generate UTC timestamps as `YYYY-MM-DDTHH:MM:SS.ffffffZ` (supports Pyt... | diff --git a/src/tensorlake/applications/cloud_events.py b/src/tensorlake/applications/cloud_events.py
index b2acea37d..6588c5aa1 100644
--- a/src/tensorlake/applications/cloud_events.py
+++ b/src/tensorlake/applications/cloud_events.py
@@ -1,6 +1,6 @@
-import datetime
import json
import uuid
+from datetime import da... | 1 | 1 | 1 | [{"id": "G0", "claim": "The regex in test_timestamp_is_iso_format uses `\\Z` (end-of-string anchor) instead of a literal `Z` character, so the test may pass without validating that the timestamp ends with a literal \"Z\".", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
tensorlakeai__tensorlake__572 | tensorlakeai/tensorlake | 572 | defect | e6d4cc5bde175f59bd291e30008c6b9b2c6cbfde | ea87c5a5611f3e6a57b2c35b2ff1d6923981de78 | Make v3 image builder the default | Included in the PR:
* v3 image builder is now the default for deploy
* restored GIL release during v3 image log streaming
* added terminal SSE regression coverage
* fixed the city guide sample to avoid local agents import requirements
* bumped the CLI/package version to 0.4.20 | diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
index b825f7f23..a73ac6e30 100644
--- a/.github/workflows/tests.yaml
+++ b/.github/workflows/tests.yaml
@@ -17,6 +17,27 @@ env:
TENSORLAKE_API_URL: http://localhost:8900
jobs:
+ rust_tests:
+ name: Rust workspace tests
+ runs-on: ubun... | 1 | 1 | 1 | [{"id": "G0", "claim": "The reworked city_guide.py example (lazy agents imports, removed @function_tool decorators, and the S2 wrapper tool functions) reads as a workaround instead of a smooth integration of tensorlake functions with the Agentic SDK, showcasing the product as worse; the reviewer asks for the example to... | null |
tensorlakeai__tensorlake__606 | tensorlakeai/tensorlake | 606 | defect | 031ff569a6b6ae28fa570a4f39477fe5a62b9616 | a426fd41289413a5a13febf02cbaee9ebeb01b09 | Use Filesystem only snapshots for sandbox images | ## Summary
- Thread `snapshot_content_mode` parameter through Rust cloud SDK, PyO3 bindings, and Python SDK layers
- `create_sandbox_image` now creates `FilesystemOnly` snapshots instead of `Full`
- This allows `tl sbx new --image` to override CPU, memory, and other resource settings (previously rejected by server f... | diff --git a/crates/cli/src/commands/sbx/clone.rs b/crates/cli/src/commands/sbx/clone.rs
index 8047a4207..5ea3df2cd 100644
--- a/crates/cli/src/commands/sbx/clone.rs
+++ b/crates/cli/src/commands/sbx/clone.rs
@@ -11,7 +11,7 @@ pub async fn run(ctx: &CliContext, sandbox_id: &str, timeout: f64, times: usize)
epr... | 3 | 2 | 0 | [{"id": "G0", "claim": "The argument of the image create command should be named image_file_path (both the Rust parameter and the CLI arg), with its description updated.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "All occurrences of the term ... | null |
tensorzero__tensorzero__3470 | tensorzero/tensorzero | 3,470 | defect | 8eadf228d65a1ebfb94d47ec6a48280db756235f | 1e4ec6f148b5355be369b9a328000c20deee7ffb | Validate the DICL variants from the database instead of config | closes #3465
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> Validate DICL variants by checking database for existing examples, preventing overwrites, and update tests to ensure correct behavior.
>
> - **Behavior**:
> - Validate DICL variants by checking if examples exist in the database using `dicl_examples... | diff --git a/clients/python/tests/test_optimization.py b/clients/python/tests/test_optimization.py
index c661b6621c7..658381afd36 100644
--- a/clients/python/tests/test_optimization.py
+++ b/clients/python/tests/test_optimization.py
@@ -13,6 +13,7 @@
TensorZeroGateway,
TogetherSFTConfig,
)
+from uuid_utils i... | 1 | 1 | 0 | [{"id": "G0", "claim": "Using count(*) with LIMIT 1 is inefficient for the existence check in dicl_examples_exist; the query should use SELECT 1 or EXISTS instead of counting all rows.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tensorzero__tensorzero__3626 | tensorzero/tensorzero | 3,626 | defect | 957eb7a36ae86073bc93149158577338ef8cdf4a | cb3958224fa4c25f52b38f923ea055e5e87bc687 | Add flag to disable_automatic_migrations | Fixes #3609
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> Adds a configuration flag to disable automatic ClickHouse migrations, requiring manual application if set, with updates to configuration, migration management, and tests.
>
> - **Behavior**:
> - Adds `observability.disable_automatic_migrations` flag ... | diff --git a/internal/tensorzero-node/lib/bindings/UninitializedObservabilityConfig.ts b/internal/tensorzero-node/lib/bindings/UninitializedObservabilityConfig.ts
index d299d5d2aa1..22ce441188e 100644
--- a/internal/tensorzero-node/lib/bindings/UninitializedObservabilityConfig.ts
+++ b/internal/tensorzero-node/lib/bind... | 6 | 6 | 0 | [{"id": "G0", "claim": "The log message misspells `disable_automatic_migrations` as `diable_automatic_migrations`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The stray `// TODO: add check for manual running` comment should be removed.", "categ... | null |
tensorzero__tensorzero__3693 | tensorzero/tensorzero | 3,693 | defect | 292fedf2d9603782ab15b619a9cec4ee5e517db6 | e80c793f4ca2d3cd148b38206a5805ebe0705e40 | Make sure retries do not occur for rate limited errors | Closes #3554
This PR introduces the concept of a nonretryable error. It also adds a utils file for retries and wraps the `backon` implementation with our own custom logic for retries. It bans using the backon implementation directly across the codebase in favor of a dependency on our own wrapper.
<!-- ELLIPSIS_HIDDEN... | diff --git a/Cargo.toml b/Cargo.toml
index 794896d765a..50aa241868f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -76,6 +76,7 @@ unsafe_code = "forbid"
[workspace.lints.clippy]
allow_attributes = "deny"
dbg_macro = "deny"
+disallowed-types = "deny"
# NB: Slowly making progress towards:
# doc_markdown = "deny"
expec... | 3 | 2 | 0 | [{"id": "G0", "claim": "Rename Error::nonretryable() to is_nonretryable() or preferably is_retryable() to avoid double negatives and allow writing retry().when(e.is_retryable()).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The retry semantics... | null |
tensorzero__tensorzero__3742 | tensorzero/tensorzero | 3,742 | defect | 4053c624d2f44fceb52f0965328d93c9bb5af9db | 2505aaaecfb1491720d22a83c45045ca6862a6c7 | Add static OTLP extra headers to config | Fix #3289
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> Add support for static OTLP headers in configuration, allowing users to specify headers included in all OTLP export requests, with tests and documentation updates.
>
> - **Configuration**:
> - Add `export.otlp.traces.extra_headers` to configuration for... | diff --git a/docs/gateway/configuration-reference.mdx b/docs/gateway/configuration-reference.mdx
index 62b82585805..9984920a647 100644
--- a/docs/gateway/configuration-reference.mdx
+++ b/docs/gateway/configuration-reference.mdx
@@ -71,6 +71,31 @@ system](/gateway/guides/opentelemetry-otlp).
environment variable. Se... | 8 | 5 | 2 | [{"id": "G0", "claim": "The documentation misspells 'precendence' where it should say 'precedence'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Storing the static OTLP headers in an Arc<RwLock<MetadataMap>> that is cloned on every span creation... | null |
tensorzero__tensorzero__3866 | tensorzero/tensorzero | 3,866 | defect | 573f3937fb0287a5bd8a394e831468232c618ee8 | d7c20b6b7abca4f28b119df559c49c3821cc192b | Replace glob crate with globset for config file pattern matching | This change replaces the `glob` crate with `globset` + `walkdir` for parsing glob patterns in `ConfigFileGlob::new`, following the same approach as ripgrep and the original glob crate's design.
Benefits:
- Better pattern matching with well-maintained globset (used by ripgrep)
- Efficient directory traversal with walkd... | diff --git a/tensorzero-core/Cargo.toml b/tensorzero-core/Cargo.toml
index 6a5b99550e7..af15a96cc86 100644
--- a/tensorzero-core/Cargo.toml
+++ b/tensorzero-core/Cargo.toml
@@ -125,7 +125,8 @@ mime_guess = "2.0.5"
indexmap = "2.11.0"
base64 = "0.22.1"
thiserror = "2.0.16"
-glob = "0.3.3"
+globset = "0.4.15"
+walkdir... | 9 | 7 | 4 | [{"id": "G0", "claim": "Converting PathBuf to String for sorting is inefficient; sort PathBuf directly with sort() since it implements Ord.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The PR truncated the multi-line comment explaining why s... | null |
tensorzero__tensorzero__4588 | tensorzero/tensorzero | 4,588 | defect | f532344acaac3f249cd2ea204110287b48ff80ae | dfedd161752a36803b8b219c83dafb6a8105b98f | Add limit and offset parameters to experimental_run_evaluation | This PR adds `limit` and `offset` parameters to the `experimental_run_evaluation` function in both the Python client (sync and async) and the underlying evaluations crate.
### What Changed
- Added `limit` and `offset` parameters to `experimental_run_evaluation` in both sync and async Python clients
- Updated the `que... | diff --git a/clients/python/src/lib.rs b/clients/python/src/lib.rs
index 16cec27ca5f..cd07f56a6e3 100644
--- a/clients/python/src/lib.rs
+++ b/clients/python/src/lib.rs
@@ -1100,16 +1100,21 @@ impl TensorZeroGateway {
/// * `concurrency` - The maximum number of examples to process in parallel
/// * `inference... | 6 | 4 | 3 | [{"id": "G0", "claim": "The limit and offset values are interpolated into the SQL query string with format! instead of being passed as ClickHouse query parameters, which could allow SQL injection if these values ever come from untrusted sources; use the codebase's parameterized query syntax for LIMIT and OFFSET.", "cat... | null |
tensorzero__tensorzero__4621 | tensorzero/tensorzero | 4,621 | defect | 7dfd43b105742f3f77be431c67481b2ece8df76e | df2ff29d91504d3f2f53cec10aae4af47a3706ea | Support experimental text query for inferences | This adds parameters for an experimental text query that does a substring match on inference inputs and outputs. We also support ranking by term frequency (externally called "relevance" to allow for future evolution) as an additional OrderBy option.
This just works in the python library.
Fixes #3438. | diff --git a/clients/python/src/lib.rs b/clients/python/src/lib.rs
index 41ba85dd4d5..a6288437fba 100644
--- a/clients/python/src/lib.rs
+++ b/clients/python/src/lib.rs
@@ -1458,6 +1458,63 @@ impl TensorZeroGateway {
Ok(wires)
}
+ /// Get specific inferences by their IDs.
+ ///
+ /// :param ids... | 6 | 5 | 5 | [{"id": "G0", "claim": "The new experimental text search adds the three term-frequency columns (input_term_frequency, output_term_frequency, total_term_frequency) to every SELECT even when no text_query_experimental is provided, so the SQL string comparison tests expecting the previous column set fail.", "category": "c... | null |
tensorzero__tensorzero__4629 | tensorzero/tensorzero | 4,629 | defect | 59ab5d7ab741d7f4e62ba5dd3c1e0b85685f9038 | b51049975e2d3f4f6b105ef8763e2784342f32db | Improve error information in rate limiting | Fix #3556
```
TensorZero rate limit exceeded for rule {"resource":"model_inference","scope_key":[{"type":"TagEach","key":"user_id","value":"intern"}]}. Requested 1 units but only 0 available.
```
→
```
TensorZero rate limit exceeded for `model_inference` resource.
Scope: tag_key="user_id", tag_value="tensorzero... | diff --git a/AGENTS.md b/AGENTS.md
index 6afdb22cf44..a4290ce21cb 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -3,7 +3,7 @@
- Use `cargo check` for quick verification, restrict further (e.g. `cargo check --package tensorzero-core`) if appropriate. For complex changes, you might want to run `cargo check --all-targets --al... | 3 | 2 | 1 | [{"id": "G0", "claim": "Rendering the rate-limit resource with `format!(\"{:?}\", limit.resource).to_lowercase()` produces `modelinference` instead of the snake_case `model_inference` used everywhere else, so the new error text reports resource names that do not exist; the resource should be rendered via its serde snak... | null |
tensorzero__tensorzero__4753 | tensorzero/tensorzero | 4,753 | defect | 19e0ce59122510aef57ac920b2c2e0cb231f9d21 | 2febbbf3538ef7775a2cc100376ec274d6cd6aab | Add description fields to evaluation and evaluator configs | ## Summary
- Add optional `description` to `InferenceEvaluationConfig`/`EvaluationConfig` and `EvaluatorConfig` (LLMJudge), with serde skip when absent and ts-rs optional exports.
- Thread description through uninitialized loaders so values persist into loaded configs, and regenerate TypeScript bindings.
- Extend evalu... | diff --git a/evaluations/src/evaluators/llm_judge/mod.rs b/evaluations/src/evaluators/llm_judge/mod.rs
index 650a1e61ea1..c33ab7e9920 100644
--- a/evaluations/src/evaluators/llm_judge/mod.rs
+++ b/evaluations/src/evaluators/llm_judge/mod.rs
@@ -555,6 +555,7 @@ mod tests {
cutoff: None,
optimiz... | 5 | 5 | 3 | [{"id": "G0", "claim": "The TypeScript `cutoff?: number` in LLMJudgeConfig.ts is wrong: the Rust `LLMJudgeConfig.cutoff` is serialized even when None, so the binding should be the required `cutoff: number | null` unless `skip_serializing_if` is added in Rust.", "category": "correctness", "verdict": "supported", "priori... | null |
tensorzero__tensorzero__5165 | tensorzero/tensorzero | 5,165 | defect | 7add8823cda8dab2c93a0b1e237c320d1bbadbe4 | b97b2b0d5e63d59079cf8076dd721a79754acf79 | Support filtering for demonstration feedback | Fixes #5155
This constructs a sql filter for inferences `WHERE id [NOT] IN (SELECT DISTINCT inference_id FROM DemonstrationFeedback)` because we expect this list to be relatively small, so this should keep less data in memory in comparison to a join.
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> Adds support for f... | diff --git a/clients/python/tensorzero/generated_types.py b/clients/python/tensorzero/generated_types.py
index 1f9d6d937d0..5354c96b73d 100644
--- a/clients/python/tensorzero/generated_types.py
+++ b/clients/python/tensorzero/generated_types.py
@@ -110,6 +110,15 @@ class DeleteDatapointsResponse:
"""
+@datacla... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new DemonstrationFeedbackFilter/InferenceFilterDemonstrationFeedback types are generated but not re-exported from the Python package's public exports (tensorzero/__init__.py and tensorzero/types.py), so Python users importing filters from the top-level package cannot construct the new demons... | null |
tensorzero__tensorzero__5213 | tensorzero/tensorzero | 5,213 | defect | e6f38aa2749139c7d8e9c5082e104afee5262f45 | 9416d158feb3d4c3b7d28d4e8bf433fb680b5b9b | Claude 3.7 -> 4.5 | Fix #5212
128k output beta feature is no longer supported
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> Update model version from `claude-3-7-sonnet-20250219` to `claude-sonnet-4-5-20250929` across configurations, documentation, and tests.
>
> - **Model Update**:
> - Update model version from `claude-3-7-s... | diff --git a/.github/workflows/batch-completion-cron.yml b/.github/workflows/batch-completion-cron.yml
index f764a9e55d2..e542e048d55 100644
--- a/.github/workflows/batch-completion-cron.yml
+++ b/.github/workflows/batch-completion-cron.yml
@@ -219,7 +219,7 @@ jobs:
Request(
cu... | 2 | 2 | 0 | [{"id": "G0", "claim": "Rename the variant \"anthropic_claude_4_5_sonnet_20250219\" to \"anthropic_claude_4_5_sonnet_20250929\" so its date matches the model \"anthropic::claude-sonnet-4-5-20250929\" it points at, in the docs example and the config-test fixtures including their expected error messages.", "category": "m... | null |
tensorzero__tensorzero__5304 | tensorzero/tensorzero | 5,304 | defect | 774a1256f3d4d368bdbf9006adc555b980d55765 | ac97d90ffa5fa0fec3d4a48f6a588883affdcfed | Add concurrency to `experimental_render_samples` | Fix #2324
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> Add concurrency control to `experimental_render_samples` with a default of 100, using a semaphore for concurrent processing.
>
> - **Behavior**:
> - Add `concurrency` parameter to `experimental_render_samples` in `lib.rs` and `tensorzero.pyi`, defaulti... | diff --git a/clients/python/src/lib.rs b/clients/python/src/lib.rs
index aacb4dfcc5e..e0b62359f12 100644
--- a/clients/python/src/lib.rs
+++ b/clients/python/src/lib.rs
@@ -1649,12 +1649,14 @@ impl TensorZeroGateway {
///
/// :param stored_samples: A list of stored samples to render.
/// :param variants:... | 3 | 1 | 1 | [{"id": "G0", "claim": "If callers pass concurrency=0, Semaphore::new(0) creates a semaphore with no permits so every task awaits acquire forever and the whole render call hangs; the code should clamp to at least 1 or return an error when concurrency == 0 (M006: error rather than clamp).", "category": "correctness", "v... | null |
tensorzero__tensorzero__5352 | tensorzero/tensorzero | 5,352 | defect | d61d2b34bbf1c1c6ce0091d39271270ef7d8a279 | c859c36a74ad8a5965ac680415765628fc64468c | Add extra_headers support for embedding models | Adds support for configuring extra_headers on embedding model providers, mirroring the existing extra_body support added in #3063.
* Adds `extra_headers` field to `UninitializedEmbeddingProviderConfig`, `EmbeddingProviderInfo`, and `EmbeddingProviderRequestInfo`
* Wires `extra_headers` through to `ModelProviderRequ... | diff --git a/tensorzero-core/src/config/stored/mod.rs b/tensorzero-core/src/config/stored/mod.rs
index 49698d46e4f..27a9f545004 100644
--- a/tensorzero-core/src/config/stored/mod.rs
+++ b/tensorzero-core/src/config/stored/mod.rs
@@ -21,6 +21,7 @@ use crate::config::{
use crate::embeddings::{UninitializedEmbeddingModel... | 4 | 4 | 3 | [{"id": "G0", "claim": "The pull request changes Rust structs whose TypeScript bindings are checked in without regenerating them, leaving a binding issue that fails CI; the author needs to run `pnpm build-bindings` in `internal/tensorzero-node` to fix it.", "category": "correctness", "verdict": "supported", "priority":... | null |
tensorzero__tensorzero__5537 | tensorzero/tensorzero | 5,537 | defect | d6ff257f51c77823ab2d154808f89d8a5a71e37a | afdc7bd0b32f43faf035e3617d2bc7a9a4e1ee3d | Deprecate default `model` in `DICLOptimizationConfig` | ### Summary
Makes the `model` field in `DICLOptimizationConfig` effectively required by deprecating its default value. Users who don't specify `model` will receive a warning at config load time and when optimization runs, with the current default (`openai::gpt-4o-mini-2024-07-18`) applied. In a future release, the fie... | diff --git a/clients/python/tensorzero/tensorzero.pyi b/clients/python/tensorzero/tensorzero.pyi
index 5a04b03d576..856a94e64f2 100644
--- a/clients/python/tensorzero/tensorzero.pyi
+++ b/clients/python/tensorzero/tensorzero.pyi
@@ -220,6 +220,13 @@ class OptimizationJobInfo:
@final
class DICLOptimizationConfig:
+ ... | 6 | 6 | 0 | [{"id": "G0", "claim": "Remove the deprecation note about the `model` field from the DICLOptimizationConfig docstring in the Python client stub.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the `load` fallback warning, wrap the value placehol... | null |
tensorzero__tensorzero__5640 | tensorzero/tensorzero | 5,640 | defect | 8f39bbf38850457d67519dc542fa0be58f43b14f | 13248743d69bffc7ef54f6ede95620db317db832 | Support Dummy Thought Signatures for Cross-Model Inference in Gemini | Closes #5637
## Summary
Gemini 3 requires `thought_signature` on function call parts. When replaying conversations from other models (cross-model inference), these signatures don't exist, causing Gemini to return a 400 error.
This PR injects the dummy signature `"skip_thought_signature_validator"` for Function... | diff --git a/tensorzero-core/src/providers/gcp_vertex_gemini/mod.rs b/tensorzero-core/src/providers/gcp_vertex_gemini/mod.rs
index 86378f94a41..d6cf6ebf087 100644
--- a/tensorzero-core/src/providers/gcp_vertex_gemini/mod.rs
+++ b/tensorzero-core/src/providers/gcp_vertex_gemini/mod.rs
@@ -77,6 +77,10 @@ pub const PROVID... | 3 | 2 | 2 | [{"id": "G0", "claim": "It would be better to attach the dummy thought signature unconditionally to subsequent parallel tool calls, instead of preserving the old behavior when real signatures exist, in case Gemini becomes stricter in the future.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "... | null |
tensorzero__tensorzero__5802 | tensorzero/tensorzero | 5,802 | defect | 89e6d3cd2a6bdb5f455a1af1a10ef18435a1b20c | 9d3da60427f34a761417736a2a772c2d6440e19b | Improve error message for `global_outbound_http_timeout_ms` | Fix #5761
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Increase default global HTTP timeout and clarify errors**
>
> - Raise default `gateway.global_outbound_http_timeout_ms` to `900000` (15 minutes) in code (`DEFAULT_HTTP_CLIENT_TIMEOUT`) and docs
> - Improve timeout error messages to explicitly reference `gateway.glo... | diff --git a/docs/gateway/configuration-reference.mdx b/docs/gateway/configuration-reference.mdx
index ba199f2b3cb..e91a380611c 100644
--- a/docs/gateway/configuration-reference.mdx
+++ b/docs/gateway/configuration-reference.mdx
@@ -162,11 +162,11 @@ This can be more efficient, but may result in different content being... | 1 | 1 | 1 | [{"id": "G0", "claim": "Changing the default timeout to 15 minutes leaves tests and fixtures that still bake in the 5-minute default (deny_timeout_with_default_global_timeout asserts 300000 in tensorzero-core/src/config/tests.rs:2618-2621, and the e2e snapshot-hash fixture sets global_outbound_http_timeout_ms = 300000 ... | null |
tensorzero__tensorzero__5808 | tensorzero/tensorzero | 5,808 | defect | eea7a20da1be0c3902f76067bd1f4b04c6f8e212 | 88ac0e54706deccb80a5e5a0ebc32e3e60010826 | Split postgres from clickhouse tests | Fixes #5744.
Refactors the cargo-nextest config:
- `e2e` profile is a catch-all for everything except clickhouse, batch, optimization, and bindings tests
- `clickhouse` profile contains only clickhouse tests (including anything explicitly mentioning clickhouse::, and anything in db:: that are not explicitly scoped to ... | diff --git a/.cargo/config.toml b/.cargo/config.toml
index c619c6164ee..f8221b2ad47 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -129,5 +129,5 @@ tsbuild = [
"tensorzero-types",
# TODO(shuyangli): Remove `gateway` when we redesign evaluations crate.
"-p",
- "gateway"
+ "gateway",
] ... | 2 | 1 | 0 | [{"id": "G0", "claim": "ui/fixtures/load_fixtures_postgres.sh is only a placeholder, and the reviewer asks whether the real postgres fixture loading will be added together with the implementations of the tests.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai... | null |
tenstorrent__luwen__129 | tenstorrent/luwen | 129 | defect | 0688eecc06086ea8f76dd14616504f2cbb01592e | 241ba75377f08c7d9e3b0d0fab19410404530917 | Alternative low-level `arc_msg_buf` API in pyluwen | Adds support for an alternative API to `arc_msg` in pyluwen on BH devices called `arc_msg_buf`. This API expects a list of 8 words (`u32`), which is passed to the firmware and returned as-is, performing the error checking on the response as `arc_msg`. | diff --git a/bind/pyluwen/src/lib.rs b/bind/pyluwen/src/lib.rs
index 5290b659..73ddec4b 100644
--- a/bind/pyluwen/src/lib.rs
+++ b/bind/pyluwen/src/lib.rs
@@ -611,6 +611,7 @@ macro_rules! common_chip_comms_impls {
Ok(ArcMsgOk::Ok {rc, arg}) => {
Ok(Some((arg, rc)))
... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new `request.copy_from_slice(data)` in `bh_arc_msg` panics at runtime when `data` is not exactly 8 words (demo crashed with `copy_from_slice: source slice length (1) does not match destination slice length (8)` at crates/luwen-api/src/chip/blackhole.rs:270).", "category": "correctness", "ver... | null |
tenstorrent__luwen__133 | tenstorrent/luwen | 133 | defect | b0cb046c454f5ee6287f045ed6213e739ed15909 | 10ff9dd7530b218246d428c120230989e509ae5a | Properly deprecate old KMD, fix BH ARC message format | - **fix: add explicit error for unsupported KMD**
- **docs(readme): document support**
- **tests: add SPI test for BH**
- **fix: use correct call-site semantics for `bh_arc_msg`**
| diff --git a/README.md b/README.md
index ad365055..60fb9bd9 100644
--- a/README.md
+++ b/README.md
@@ -47,6 +47,38 @@ There are three supported use cases:
See the included [`INSTALL.md`](./INSTALL.md) for detailed instructions on how
to build and install Luwen.
+## Support
+
+### Hardware
+
+Luwen officially suppor... | 2 | 2 | 1 | [{"id": "G0", "claim": "The README's IMPORTANT note should say \"The current minimum supported firmware version is: `v18`\" instead of \"driver version\".", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new Blackhole SPI test's output message s... | null |
tenstorrent__luwen__51 | tenstorrent/luwen | 51 | defect | d3cf4c5bc36fe373de123aa1c03af0246782ab05 | 7bb925b76359416a32d15034045301a1941b8564 | Enable hardware tests | Make use of the new github CI infra to enable hardware testing for some of luwen's more basic functionality | diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml
index 1ebd1922..3b6a5236 100644
--- a/.github/workflows/rust-ci.yml
+++ b/.github/workflows/rust-ci.yml
@@ -74,7 +74,69 @@ jobs:
with:
command: test
args: --no-fail-fast
+
+ hardwre_test_wh:
+ name: H... | 1 | 1 | 1 | [{"id": "G0", "claim": "The workflow does not limit the GITHUB_TOKEN's permissions; it should set an explicit permissions block, minimally `contents: read`.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
teoxoy__encase__42 | teoxoy/encase | 42 | defect | 2dfa542740e7abce2a3a859eccab6ee21da8c8cc | 7811e525e34e115db475bb397ad30ce9252768e4 | accept doc comments when deriving `ShaderType` | Since the migration to `syn` 2 (#35), doc comments are not accepted:
```
test tests/pass/attributes.rs [should pass] ... error
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
error: expected `(`
--> tests/pass/attributes.rs:24:5
|
24 | /// This is an unisgned integer
| ^^^^^^^^^^^... | diff --git a/derive/impl/src/lib.rs b/derive/impl/src/lib.rs
index 4eb5aab..4fc75d4 100644
--- a/derive/impl/src/lib.rs
+++ b/derive/impl/src/lib.rs
@@ -197,6 +197,9 @@ pub fn derive_shader_type(input: DeriveInput, root: &Path) -> TokenStream {
align: None,
};
for attr in &fie... | 1 | 1 | 0 | [{"id": "G0", "claim": "Fix the typo in the doc comment on the new test field: \"This is an unisgned integer\" should read \"This is an unsigned integer\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
teoxoy__encase__63 | teoxoy/encase | 63 | defect | 0ba28f7e48b71b3b4ebba2300b3e9344ecd53dd2 | c9b715c0607bf7fde4f25d43b03dfeb05ea4e094 | Add MIRI to CI and fix UB | Resolves #62 | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d472682..4477bad 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -90,3 +90,16 @@ jobs:
sudo apt install -y mesa-vulkan-drivers vulkan-validationlayers
- run: cargo llvm-cov nextest --workspace --features m... | 3 | 3 | 2 | [{"id": "G0", "claim": "The new MIRI job must be renamed from `docs` to something unique (e.g. `tests_miri`) because a `docs` job already exists, which invalidates the workflow file and leaves CI stuck.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
teoxoy__encase__99 | teoxoy/encase | 99 | defect | 8a951fac901b6cb9b24d6e4da070b1c4178003f2 | c0f79ef95e04657e9ac7a5384ed635ce31c9ee36 | Rename `align` to `shader_align` and make `mint` dependecy on benches and tests explicit | ## Objective
Closes #98
There is a new `align` attribute on core rust that causes ambiguity with `align` from this crate.
## Solution
Rename `align` to `shader_align`
## Note
This should not be released as a patch version as it is a breaking change | diff --git a/Cargo.toml b/Cargo.toml
index 45d777a..f128996 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -23,6 +23,7 @@ codegen-units = 1
[[bench]]
name = "throughput"
harness = false
+required-features = ["mint"]
[workspace]
members = ["derive", "derive/impl"]
@@ -35,26 +36,59 @@ const_panic = { version = "0.2",... | 1 | 1 | 0 | [{"id": "G0", "claim": "Leave out the formatting-only rewrites of existing dependency lines in Cargo.toml and keep the diff to the functional change.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
terkelg__prompts__67 | terkelg/prompts | 67 | defect | 887375aec9420a7e9f2835ad22940e34e9ea6e5e | f25352231e6ac118ebd4c88d433afff5800012ca | add support for node 6 | ## Summary
#### This PR Fixes #64 and adds node 6 support
* Add a build script that runs `babel` and transpile all files from `lib` to `dist`
* Add `dist` to `.gitignore`
* Add `dist` & `index.js` to the files array in `package.json` so they will be available on next publish.
* Add an `index.js` file on the ro... | diff --git a/.babelrc b/.babelrc
new file mode 100644
index 00000000..d03fef36
--- /dev/null
+++ b/.babelrc
@@ -0,0 +1,10 @@
+{
+ "presets": [
+ ["env", {
+ "targets": {
+ "node": "6"
+ }
+ }],
+ "stage-2"
+ ]
+}
diff --git a/.gitignore b/.gitignore
index fd4f2b06..da592f8d 100644
--- a/.git... | 3 | 1 | 0 | [{"id": "G0", "claim": "The pull request should not use the stage-2 Babel preset; a targeted transform plugin should be used instead because stage presets change too often and are discouraged by the Babel team.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim... | null |
termux__termux-app__4154 | termux/termux-app | 4,154 | defect | c2d57f2ed810b6fa854a6c9ab0ecee4aac38a0cc | 9a8dcd0961e15affbd7d763b0cf703851a0a9067 | Fixed: Implement colon separated CSI parameters | ## Colon separated escape sequences for setting colors
It seems that more and more terminal emulators and terminal programs supports colon (`:`) as well as semicolon (`;`) to specify colors:
```sh
red=255 green=100 blue=0
printf "\x1b[38;2;${red};${green};${blue}m TRUECOLOR\n" # Semicolon separated, works in T... | diff --git a/terminal-emulator/src/main/java/com/termux/terminal/TerminalEmulator.java b/terminal-emulator/src/main/java/com/termux/terminal/TerminalEmulator.java
index cbbccbb4f2..7021ef75de 100644
--- a/terminal-emulator/src/main/java/com/termux/terminal/TerminalEmulator.java
+++ b/terminal-emulator/src/main/java/com... | 1 | 1 | 1 | [{"id": "G0", "claim": "The test should not replace every semicolon with a colon, since an SGR sequence with all separators as colons would in other terminal emulators only set the foreground color; the separator between the two color specifications should remain a semicolon, with both the all-semicolon form and that m... | null |
termy-org__termy__189 | termy-org/termy | 189 | defect | 6b682cf5c3423d7499065c59cc3fb7b8f79f1063 | cc0207c20c58e2d611e2ee8f2888da272dabf00f | feat: tab switch hints + more | **Summary**
This PR adds configurable tab-switch modifier hints, fixes stale hint rendering, and simplifies the code paths around tab-strip hint state, settings persistence, and config/schema coverage.
It also cleans up testability in the command palette and removes duplicated settings-section ownership logic tha... | diff --git a/crates/config_core/src/constants.rs b/crates/config_core/src/constants.rs
index 43665ddb..44ad4de4 100644
--- a/crates/config_core/src/constants.rs
+++ b/crates/config_core/src/constants.rs
@@ -15,6 +15,7 @@ pub(crate) const DEFAULT_SCROLLBACK_HISTORY: usize = 2000;
pub(crate) const MAX_SCROLLBACK_HISTORY... | 7 | 6 | 5 | [{"id": "G0", "claim": "The TabSwitchModifierHints setting description should say the badges are limited to secondary+1..9 on the first nine tabs, because the current text reads as if every tab gets a badge and will mislead users with more than nine tabs open.", "category": "documentation", "verdict": "supported", "pri... | null |
termy-org__termy__245 | termy-org/termy | 245 | defect | 09dfc7de3575aeae983bcf5f27b8f96d3d141c12 | b04e55f7dc3b46ba5d325796b8ec441b32b70420 | Split window opacity from explicit cell background opacity | Fixed root cause of the Opencode rendering bug with the textbox once and for all, also fixes transparency issue reported in #239.
<img width="100" height="112" alt="image" src="https://github.com/user-attachments/assets/da2de889-4b57-4f2e-8d9b-0f4b5526e29d" />
<img width="1291" height="822" alt="image" src="https... | diff --git a/crates/config_core/src/default_config.txt b/crates/config_core/src/default_config.txt
index 2ff44e54..20f925a0 100644
--- a/crates/config_core/src/default_config.txt
+++ b/crates/config_core/src/default_config.txt
@@ -77,6 +77,8 @@ cursor_style = block
cursor_blink = true
# Window background opacity (0.0... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test at src/terminal_view/render.rs lines 3274-3287 should be renamed to match the new default behavior, since its assertion now verifies that the inverse explicit background stays opaque when background_opacity_cells is off and the current name reads backwards.", "category": "maintainabilit... | null |
termy-org__termy__263 | termy-org/termy | 263 | defect | 15140a2b7867072d5976a420785233498500ab76 | 9bd45f975527387a54f3ad83960117317ccb9ea9 | fix: preserve working directories for tmux startup | ## Summary
- preserve the configured or inferred working directory when starting tmux control sessions instead of inheriting `/`
- centralize working-directory resolution helpers in `termy_terminal_ui` and keep `TerminalView` responsible only for cwd source precedence
- add live tmux integration coverage for startup, n... | diff --git a/crates/terminal_ui/src/lib.rs b/crates/terminal_ui/src/lib.rs
index aa7e7455..7acc3f11 100644
--- a/crates/terminal_ui/src/lib.rs
+++ b/crates/terminal_ui/src/lib.rs
@@ -28,6 +28,8 @@ pub use render_metrics::{
terminal_ui_render_metrics_snapshot,
};
pub use runtime::{
+ normalize_working_director... | 4 | 4 | 1 | [{"id": "G0", "claim": "The home-directory expansion test should use the production resolver user_home_dir() as its oracle instead of dirs::home_dir(), since divergence between them on some platform would make the test pass or fail for the wrong reason.", "category": "testing", "verdict": "supported", "priority": "P2",... | null |
termy-org__termy__273 | termy-org/termy | 273 | defect | 9f7cc152f9932ae80e66004bc40f431c6c6ef3de | 5853de5180761c34a44b4dc76e5aac2a45f8fc28 | Windows Fixes | This pull request refines the tab strip layout logic to better support platform-specific differences between Windows and other operating systems. The main focus is on ensuring the action rail in the tab strip is hidden on Windows, while remaining visible (with appropriate sizing and clamping) on other platforms. The ch... | diff --git a/src/terminal_view/tab_strip/constants.rs b/src/terminal_view/tab_strip/constants.rs
index 4ef657b4..1f7a1ba7 100644
--- a/src/terminal_view/tab_strip/constants.rs
+++ b/src/terminal_view/tab_strip/constants.rs
@@ -41,6 +41,7 @@ pub(crate) const TAB_DROP_MARKER_WIDTH: f32 = 2.0;
pub(crate) const TAB_DROP_M... | 2 | 2 | 2 | [{"id": "G0", "claim": "The remaining zero-width rail tests `interactive_hit_test_excludes_gutter` and `interactive_hit_test_respects_half_open_region_boundaries` assume a positive gutter/action rail, which is no longer true on Windows, so they should be gated or branched for Windows.", "category": "correctness", "verd... | null |
termy-org__termy__278 | termy-org/termy | 278 | defect | a1f348f6fdd6bc0f6a7dc414120833196a609816 | 44998181d9535f25714e1bf24c0ff28d9df4183b | feat: add configurable line_height setting | ## Summary
- Replaces the hardcoded 1.4 line-height multiplier with a user-facing `line_height` config option (range 0.8–2.5, default 1.4)
- Adds config parsing with validation, settings UI numeric stepper (delta 0.05), and live config reload support
- Includes doc comments on new constants and fields
| Before | ... | diff --git a/Cargo.lock b/Cargo.lock
index 1210f270..bf8ce4bd 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7333,7 +7333,7 @@ dependencies = [
[[package]]
name = "termy"
-version = "0.1.65"
+version = "0.1.67"
dependencies = [
"alacritty_terminal",
"anyhow",
@@ -7420,7 +7420,7 @@ dependencies = [
[[package]]... | 7 | 5 | 4 | [{"id": "G0", "claim": "The PR's removal of the debug-build dock icon setup changes macOS development-build behavior, so it should be called out in the PR description or the setup restored.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Persist line... | null |
terraform-docs__terraform-docs__223 | terraform-docs/terraform-docs | 223 | defect | 7a4bc282d814094ad86b7619c31f974e35612929 | 9f9d64befd6e158ca916b37407e23afe7e7a865e | Allow hiding the "Sensitive" column in markdown | ### Prerequisites
Put an `x` into the box(es) that apply:
- [ ] This pull request fixes a bug.
- [x] This pull request adds a feature.
- [x] This pull request enhances existing functionality.
- [ ] This pull request introduces breaking change.
For more information, see the [Contributing Guide](https://githu... | diff --git a/cmd/markdown.go b/cmd/markdown.go
index 3f68f2724..8a521069b 100644
--- a/cmd/markdown.go
+++ b/cmd/markdown.go
@@ -37,6 +37,7 @@ var mdDocumentCmd = &cobra.Command{
func init() {
markdownCmd.PersistentFlags().BoolVar(new(bool), "no-required", false, "do not show \"Required\" column or section")
+ mar... | 3 | 2 | 1 | [{"id": "G0", "claim": "The new --no-sensitive flag is scoped to the markdown commands only and should be registered globally, since the same Sensitive noise appears in other output formats.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "TestDocumentOutput... | null |
terraform-docs__terraform-docs__224 | terraform-docs/terraform-docs | 224 | defect | 2caf4af15d7865139768695adddac9e4cfec61b1 | 3fddb022f822bf350867153f9028edcc6fb59688 | --no-header should not attempt reading main.tf file | ### Prerequisites
Put an `x` into the box(es) that apply:
- [x] This pull request fixes a bug.
- [ ] This pull request adds a feature.
- [ ] This pull request enhances existing functionality.
- [ ] This pull request introduces breaking change.
For more information, see the [Contributing Guide](https://githu... | diff --git a/cmd/root.go b/cmd/root.go
index 0f0cb609b..bddad770f 100644
--- a/cmd/root.go
+++ b/cmd/root.go
@@ -25,6 +25,10 @@ var rootCmd = &cobra.Command{
return !val
}
settings.ShowHeader = oppositeBool("no-header")
+ if !settings.ShowHeader {
+ options.HeaderFromFile = ""
+ }
+
settings.ShowInputs... | 3 | 3 | 2 | [{"id": "G0", "claim": "Instead of mutating options.HeaderFromFile on the fly when --no-header is set, Settings and Options should be treated as immutable: add a new ShowHeader bool property (defaulting to true) to module.Options and set options.ShowHeader = settings.ShowHeader.", "category": "design", "verdict": "supp... | null |
terraform-docs__terraform-docs__43 | terraform-docs/terraform-docs | 43 | defect | 13fe912dd5b44ca575600f6cded59f614d6737bc | 15a9d159d68109409c84d706aabae96bc1650d36 | Add sort by "required" and then name | So I was thinking something like this for #42. Might be nice to have this as a command line option but I'll need to do a bit more digging on how to get that working. | diff --git a/internal/pkg/doc/doc_test.go b/internal/pkg/doc/doc_test.go
index 02ca7d2b1..6cf83ca27 100644
--- a/internal/pkg/doc/doc_test.go
+++ b/internal/pkg/doc/doc_test.go
@@ -243,6 +243,88 @@ func TestInputsFromVariablesTf(t *testing.T) {
assert.Equal(t, expected, actual)
}
+func TestInputsSortedByRequired(t... | 7 | 7 | 1 | [{"id": "G0", "claim": "The PR should also add the missing test for the doc.SortInputsByName method.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment inside inputsSortedByRequired.Less is not properly indented (not gofmt-clean).", "category": ... | null |
terraform-docs__terraform-docs__466 | terraform-docs/terraform-docs | 466 | defect | f19fd858935709aa488a79b43491c94add17cdc9 | f92f4ad4a13090b66eb2c3294f6e7c43f606edb4 | Feature/lssue461/add description flag | <!--
Thank you for helping to improve terraform-docs!
Please read through https://git.io/JtEzg if this is your first time opening a
terraform-docs pull request. Find us in https://slack.terraform-docs.io/messages/dev if
you need any help contributing.
-->
### Description of your changes
<!--
Briefly descr... | diff --git a/cmd/tfvars/hcl/hcl.go b/cmd/tfvars/hcl/hcl.go
index 926f5d8ab..acf2c6be0 100644
--- a/cmd/tfvars/hcl/hcl.go
+++ b/cmd/tfvars/hcl/hcl.go
@@ -26,5 +26,6 @@ func NewCommand(config *cli.Config) *cobra.Command {
PreRunE: cli.PreRunEFunc(config),
RunE: cli.RunEFunc(config),
}
+ cmd.PersistentF... | 1 | 1 | 1 | [{"id": "G0", "claim": "The tfvars HCL output captured in the new golden file is not terraform-formatted properly; the generated result should be terraform-formatted (e.g. `list-2 = \"\"` instead of over-padded alignment).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
terraform-linters__tflint-ruleset-aws__1070 | terraform-linters/tflint-ruleset-aws | 1,070 | defect | 2ace3bbc9dc0ad49eabd589267a3fff49869ea78 | 0d32b09edf7d24f7ee803f648dc3f8013f19209b | generators: generate lambda deprecated runtime data from AWS docs | Replaces the hardcoded runtime deprecation map in `aws_lambda_function_deprecated_runtime` with a generated JSON file scraped from the [AWS Lambda runtimes documentation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). Moves the rule into its own `rules/lambda_deprecated_runtime` package following t... | diff --git a/rules/aws_lambda_function_deprecated_runtime.go b/rules/aws_lambda_function_deprecated_runtime.go
deleted file mode 100644
index 9e6f123c7..000000000
--- a/rules/aws_lambda_function_deprecated_runtime.go
+++ /dev/null
@@ -1,129 +0,0 @@
-package rules
-
-import (
- "fmt"
- "time"
-
- "github.com/terraform-l... | 1 | 1 | 1 | [{"id": "G0", "claim": "The generator should also parse the \"Supported runtimes\" tables; runtimes listed only there, such as nodejs22.x, are currently missing from the generated data.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
terraform-linters__tflint-ruleset-aws__143 | terraform-linters/tflint-ruleset-aws | 143 | defect | ef81b2ce272c396443598c6f37afa60b595f08c6 | eaa469f7b0b1cddcdb34ae1fce6848e86990ce0e | aws_elasticache_replication_group | fixes terraform-linters/tflint-ruleset-aws#140
Adds rules for aws_elasticcache_replication_group resource | diff --git a/docs/rules/aws_elasticache_cluster_default_parameter_group.md b/docs/rules/aws_elasticache_cluster_default_parameter_group.md
index 56411c2d7..7251046bd 100644
--- a/docs/rules/aws_elasticache_cluster_default_parameter_group.md
+++ b/docs/rules/aws_elasticache_cluster_default_parameter_group.md
@@ -26,8 +2... | 4 | 2 | 2 | [{"id": "G0", "claim": "The new rules must be registered in rules/provider.go and docs/rules/README.md must be updated for them.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new rule redeclares the package-level variable defaultElastiCachePara... | null |
terraform-linters__tflint-ruleset-aws__153 | terraform-linters/tflint-ruleset-aws | 153 | defect | 90948bf5e018edda74d3966ac094ccc62fde6ff8 | 78de717724d1dd4091521157542fa763c01d547c | aws_iam_policy_length | Added a rule to check against IAM policy length. fixes terraform-linters/tflint-ruleset-aws#26
I am not sure how you would like to have an extraordinarily long policy shown in the documentation and alerts so I did my best. If you would like a change just let me know how and I will get it updated. | diff --git a/docs/rules/aws_iam_policy_invalid_length.md b/docs/rules/aws_iam_policy_invalid_length.md
new file mode 100644
index 000000000..e0d95b843
--- /dev/null
+++ b/docs/rules/aws_iam_policy_invalid_length.md
@@ -0,0 +1,35 @@
+# aws_iam_policy_invalid_length
+
+This makes sure that a IAM policy is not longer than... | 2 | 2 | 1 | [{"id": "G0", "claim": "The 2048-character limit is the limit for inline policies; the managed-policy limit enforced for aws_iam_policy should be 6144 characters and should not count white spaces.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The r... | null |
terraform-linters__tflint-ruleset-aws__154 | terraform-linters/tflint-ruleset-aws | 154 | defect | ccdd4aa0c6effa85b2aecb66016013bc7a1c5d1e | 24a87b4b037bb51142690b4a1dc82610ce1b1cba | aws_lambda_end_of_life | This should fix terraform-linters/tflint-ruleset-aws#30 and is based on [Phase 2 of this list](https://docs.aws.amazon.com/lambda/latest/dg/runtime-support-policy.html)
| diff --git a/docs/rules/aws_lambda_function_deprecated_runtime.md b/docs/rules/aws_lambda_function_deprecated_runtime.md
new file mode 100644
index 000000000..da787b966
--- /dev/null
+++ b/docs/rules/aws_lambda_function_deprecated_runtime.md
@@ -0,0 +1,33 @@
+# aws_lambda_function_deprecated_runtime
+
+Checks to see if... | 3 | 1 | 1 | [{"id": "G0", "claim": "Both rules' severities should be changed to warning and, if the author agrees, the two rules should be combined into one rule named something like aws_lambda_function_deprecated_runtime, since an existing function on an EOL runtime is still valid as long as it does not change.", "category": "des... | null |
terraform-linters__tflint-ruleset-aws__155 | terraform-linters/tflint-ruleset-aws | 155 | defect | 90948bf5e018edda74d3966ac094ccc62fde6ff8 | 05a9011967ace88035f935db0cb5f0f9e20f46ff | aws_iam_policy_sid | add invalid sid rules fixes terraform-linters/tflint-ruleset-aws#149
This should loop through all SIDs in a policy and make sure all of them fit the pattern. | diff --git a/docs/rules/aws_iam_policy_sid_invalid_characters.md b/docs/rules/aws_iam_policy_sid_invalid_characters.md
new file mode 100644
index 000000000..7660f3e04
--- /dev/null
+++ b/docs/rules/aws_iam_policy_sid_invalid_characters.md
@@ -0,0 +1,60 @@
+# aws_iam_policy_sid_invalid_characters
+
+AWS IAM policies hav... | 2 | 2 | 1 | [{"id": "G0", "claim": "Casting the unmarshaled interface{} (policy and statement values) can panic, so the rule should declare a struct for the policy and unmarshal into it instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The emitted error m... | null |
terraform-linters__tflint-ruleset-aws__159 | terraform-linters/tflint-ruleset-aws | 159 | defect | 20a14646ec7402659b997ee70858e59968af25cf | 46047275e8f273381a69f5df4985c423bc0edd86 | Add aws_iam_group_policy too long rule | I went ahead and namespaced the random function in the other class. I wonder if there would be a good way to save this in a "helper" location to be pulled in instead. | diff --git a/docs/rules/aws_iam_group_policy_too_long.md b/docs/rules/aws_iam_group_policy_too_long.md
new file mode 100644
index 000000000..6621c372e
--- /dev/null
+++ b/docs/rules/aws_iam_group_policy_too_long.md
@@ -0,0 +1,34 @@
+# aws_iam_group_policy_too_long
+
+This makes sure that an IAM group policy is not long... | 3 | 3 | 0 | [{"id": "G0", "claim": "Remove the TODO comments left in the new rule file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Compile the whitespace regexp in NewAwsIAMGroupPolicyTooLongRule instead of in Check, which runs over and over again.", "c... | null |
terraform-linters__tflint-ruleset-aws__202 | terraform-linters/tflint-ruleset-aws | 202 | defect | c34979e4c88c750ff97b302ce56209bdc70f0b46 | 5fa26b07dab3224bd0591637a663d24a38b835b7 | Add acm certificate lifecycle create before destroy rule | Official [docs](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/acm_certificate) for `aws_acm_certificate` recommend setting `create_before_destroy = true` in lifecycle block of this resource since without doing this terraform will be unable to delete a certificate that's in use when trying ... | diff --git a/docs/rules/aws_acm_certificate_lifecycle.md b/docs/rules/aws_acm_certificate_lifecycle.md
new file mode 100644
index 000000000..9094d6914
--- /dev/null
+++ b/docs/rules/aws_acm_certificate_lifecycle.md
@@ -0,0 +1,49 @@
+# aws_acm_certificate_lifecycle
+
+This rule ensures lifecycle [`create_before_destroy`... | 7 | 7 | 3 | [{"id": "G0", "claim": "The new rule file contains leftover TODO comments (in the constructor and in Link) that should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The rule is about best practices, so WARNING would be a more approp... | null |
terraform-linters__tflint-ruleset-aws__355 | terraform-linters/tflint-ruleset-aws | 355 | defect | 929e61757b874e621d29e00fa489a9c7d07a45cb | 45cd608fd65235483faa57caa1da9024feb99f1e | Add aws_security_group_rule_invalid_protocol rule | Add `aws_security_group_rule_invalid_protocol` rule.
This rule checks whether `protocol` has an invalid value as protocol. | diff --git a/docs/rules/aws_security_group_rule_invalid_protocol.md b/docs/rules/aws_security_group_rule_invalid_protocol.md
new file mode 100644
index 000000000..9e0dee767
--- /dev/null
+++ b/docs/rules/aws_security_group_rule_invalid_protocol.md
@@ -0,0 +1,33 @@
+# aws_security_group_rule_invalid_protocol
+
+Disallow... | 2 | 2 | 1 | [{"id": "G0", "claim": "The rule should accept \"all\" as a valid protocol, since the upstream AWS provider accepts it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A link to the new rule should be added to README.md.tmpl under the \"Possible Erro... | null |
terraform-linters__tflint-ruleset-aws__356 | terraform-linters/tflint-ruleset-aws | 356 | defect | 929e61757b874e621d29e00fa489a9c7d07a45cb | 4470940b58ce4c05730fe7cca17955bdf140736f | Add aws_security_group_invalid_protocol rule | Add `aws_security_group_invalid_protocol` rule.
This rule checks whether `protocol` in an inline rule block has an invalid value as protocol. | diff --git a/docs/rules/aws_security_group_invalid_protocol.md b/docs/rules/aws_security_group_invalid_protocol.md
new file mode 100644
index 000000000..b64ff692c
--- /dev/null
+++ b/docs/rules/aws_security_group_invalid_protocol.md
@@ -0,0 +1,35 @@
+# aws_security_group_invalid_protocol
+
+Disallow using invalid proto... | 1 | 1 | 1 | [{"id": "G0", "claim": "The rule and its tests should follow the same suggestions made on PR #355 (that \"all\" is a valid protocol and must not be reported as invalid).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
terraform-linters__tflint-ruleset-aws__489 | terraform-linters/tflint-ruleset-aws | 489 | defect | f91bfb049b025667bf95f581ccab18e94634e56d | 1911346fdf711caac6580217008a9809dc091390 | feat: Added default tags functionality | # Default Tags functionality added into the missing tags rule
I've added the functionality and tests to allow using default tags and not come across into errors. I work with a lot of repos in which we comply with the tagging standard using `default_tags`.
This functionality will help us to detect uncompliant res... | diff --git a/go.mod b/go.mod
index 85ed60a7b..c8d59b60b 100644
--- a/go.mod
+++ b/go.mod
@@ -28,7 +28,10 @@ require (
gopkg.in/yaml.v2 v2.4.0 // indirect
)
-require golang.org/x/net v0.9.0
+require (
+ golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53
+ golang.org/x/net v0.9.0
+)
require (
github.com/appare... | 7 | 7 | 1 | [{"id": "G0", "claim": "The EvaluateExpr call that reads the provider default tags passes a pointer as the second argument (deprecated) and passes the want-type explicitly though it is inferred; it should use a function callback without the explicit type.", "category": "maintainability", "verdict": "supported", "priori... | null |
terraform-linters__tflint-ruleset-aws__511 | terraform-linters/tflint-ruleset-aws | 511 | defect | 5020f0d07740c1206553a810fa294323d4e399d0 | 68b1ac44e5323a33278fc61826b8c5f8f4410c10 | fix: Fixed regression in tags with dynamic values | Fixes #510
This fixes the regression when using dynamic values, in a sense.
The root cause is the runner API not recognizing the values, this PR only ignores the error and continues, which was the behavior in 0.23.x
| diff --git a/rules/aws_resource_missing_tags.go b/rules/aws_resource_missing_tags.go
index ec428b4c8..b1cc52874 100644
--- a/rules/aws_resource_missing_tags.go
+++ b/rules/aws_resource_missing_tags.go
@@ -89,8 +89,9 @@ func (r *AwsResourceMissingTagsRule) getProviderLevelTags(runner tflint.Runner)
providerAlias = "... | 1 | 1 | 1 | [{"id": "G0", "claim": "Test coverage should be added for the PR's handling of unknown/dynamic tag values; the suggested configs fail because the local test runner cannot evaluate resource references, functions or locals, so bendrucker proposed changing the EvaluateExpr callbacks to take cty.Value instead, which he jud... | null |
terraform-linters__tflint-ruleset-aws__55 | terraform-linters/tflint-ruleset-aws | 55 | defect | 27f23717bcc4a0d430650d65bd1c998999890e0b | 7f4504716491446a8e419dc5c6303d76aa87bd47 | Add optional linting rules for govcloud IAM policies | ## Adding 3 new iam policy linting rules
These rules primarily apply to AWS GovCloud consumers. I used the word `friendly` as is does not mandate that terraform code only work for GovCloud, but to **forcibly enable support for it.** which is explained with code in the **why** section. Having these rules merged and ... | diff --git a/docs/rules/README.md b/docs/rules/README.md
index 815727527..d2a431bc9 100644
--- a/docs/rules/README.md
+++ b/docs/rules/README.md
@@ -22,6 +22,9 @@ These rules warn of possible errors that can occur at `terraform apply`. Rules m
|aws_elb_invalid_instance|✔|
|aws_elb_invalid_security_group|✔|
|aws_elb_... | 5 | 3 | 1 | [{"id": "G0", "claim": "JustAttributes fails when the statement block contains a nested block such as principals, so the rule should use PartialContent to extract only the required attribute.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The doc ex... | null |
terraform-linters__tflint-ruleset-aws__571 | terraform-linters/tflint-ruleset-aws | 571 | defect | c2e96d45949a70fe087d6cebbed708e27ef8bd72 | e803a9ab1fa5cdce7f9d2b30516e045c64770782 | `s3_bucket_name`: add all documented naming rules | From [this discussion](https://github.com/terraform-linters/tflint-ruleset-aws/discussions/570).
Also an alternative to remove hardcoded values from [this past issue](https://github.com/terraform-linters/tflint-ruleset-aws/pull/554#discussion_r1336202012). | diff --git a/integration/rule-config/result.json b/integration/rule-config/result.json
index d5de695ec..387ba16bb 100644
--- a/integration/rule-config/result.json
+++ b/integration/rule-config/result.json
@@ -1,5 +1,25 @@
{
"issues": [
+ {
+ "rule": {
+ "name": "aws_s3_bucket_name",
+ "severit... | 8 | 8 | 1 | [{"id": "G0", "claim": "The rule's length data should be obtained at build time via go generate rather than fetched over HTTP at runtime, because the lint run should not require network access or depend on mutable content of the aws-sdk-go main branch — or the dynamic-length portion should be abandoned.", "category": "... | null |
terraform-linters__tflint-ruleset-aws__61 | terraform-linters/tflint-ruleset-aws | 61 | defect | 6a45222187aff83082de8b357c127745af864a99 | 2c3528cf10815472de1182ea3cbee94b1a88f4bc | Add lint for db_instance's engine attribute | ref: https://github.com/terraform-linters/tflint-ruleset-aws/issues/60 | diff --git a/rules/aws_db_instance_invalid_engine.go b/rules/aws_db_instance_invalid_engine.go
new file mode 100644
index 000000000..76bd2a2a7
--- /dev/null
+++ b/rules/aws_db_instance_invalid_engine.go
@@ -0,0 +1,80 @@
+package rules
+
+import (
+ "fmt"
+
+ hcl "github.com/hashicorp/hcl/v2"
+ "github.com/terraform-lin... | 4 | 2 | 2 | [{"id": "G0", "claim": "Link() of the new rule returns a reference link although the rule has no documentation, so it should return an empty string instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pre-existing aws_db_instance_invalid_type... | null |
terraform-linters__tflint-ruleset-aws__860 | terraform-linters/tflint-ruleset-aws | 860 | defect | 5624739038d74d311b50c52beb92049685381036 | 54200408e91c625fa58164f6162b2c27084b9d27 | `aws_write_only_arguments`: recommend write-only arguments where available | Fixes #859 partially
A review on the direction of these kind of checks would be really appreciated, I would happily implement all the write-only arguments once we have a direction. | diff --git a/docs/rules/aws_secretsmanager_secret_version_secret_string.md b/docs/rules/aws_secretsmanager_secret_version_secret_string.md
new file mode 100644
index 000000000..90fa62462
--- /dev/null
+++ b/docs/rules/aws_secretsmanager_secret_version_secret_string.md
@@ -0,0 +1,55 @@
+# aws_secretsmanager_secret_versi... | 2 | 2 | 2 | [{"id": "G0", "claim": "The rule should be tied up into one meta-rule driven by a map of resource type to write-only attribute alternatives instead of being done on a per-resource basis.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The rule should use ... | null |
terraform-linters__tflint-ruleset-aws__861 | terraform-linters/tflint-ruleset-aws | 861 | defect | 5ca13abb32c573530ad00895d0ce32d66aa24952 | 688e66b7e7f8d01a41046f9f018bc84139033ee7 | feat: warn against data sources with ephemeral alternatives | Warns against data sources with ephemeral alternatives to prevent storage of sensitive data in state as much as possible.
Follow up of #860 | diff --git a/docs/rules/aws_ephemeral_resources.md b/docs/rules/aws_ephemeral_resources.md
new file mode 100644
index 000000000..1f48e3b1f
--- /dev/null
+++ b/docs/rules/aws_ephemeral_resources.md
@@ -0,0 +1,44 @@
+# aws_ephemeral_resources
+
+Recommends using available [ephemeral resources](https://developer.hashicorp... | 3 | 3 | 1 | [{"id": "G0", "claim": "The suggested autofix is unsafe — expressions referencing the data attribute would not be rewritten to `ephemeral.*` and ephemeral attributes are only valid in certain places — so the fixer should be dropped to start with.", "category": "correctness", "verdict": "supported", "priority": "P1", "s... | null |
terraform-linters__tflint-ruleset-azurerm__194 | terraform-linters/tflint-ruleset-azurerm | 194 | defect | ba0c019dbc82916e9bad8a46a32046e928f0c1dc | b38b0d8f7f4cb553c83792a5adf32c846958f441 | Adding rule for azurerm resource missing tags | Resolves #133 based on the work done in [https://github.com/terraform-linters/tflint/pull/617](https://github.com/terraform-linters/tflint/pull/617) for AWS.
this PR allows you to get notified for resources with missing required tags:
```
rule "azurerm_resource_missing_tags" {
enabled = true
exclude = [] (li... | diff --git a/README.md b/README.md
index d2765f5c..1c508e68 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ You can install the plugin by adding a config to `.tflint.hcl` and running `tfli
```hcl
plugin "azurerm" {
enabled = true
- version = "0.17.1"
+ version = "0.17.2"
source = "github.com... | 7 | 6 | 1 | [{"id": "G0", "claim": "The plugin version bump carried in this PR (README.md and project/main.go at 0.17.2, perhaps 0.18 if the new rule warrants a minor bump) should be reverted, since version and changelog changes are usually done separately before release.", "category": "correctness", "verdict": "supported", "prior... | null |
terraform-linters__tflint-ruleset-azurerm__430 | terraform-linters/tflint-ruleset-azurerm | 430 | defect | bf3bebaac033b2aedcbf61d38126b4b207d546ca | 90be9c6186299a4fc82038a7b73978bd2729135a | Feat appinsights hidden tags on app services | Fix for https://github.com/terraform-linters/tflint-ruleset-azurerm/issues/406 | diff --git a/docs/README.md b/docs/README.md
index dfc22d31..431213fb 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -6,6 +6,7 @@ This documentation describes a list of rules available by enabling this ruleset.
|Rule|Enabled by default|
| --- | --- |
+|[azurerm_app_service_app_insights_hidden_link](rules/azure... | 5 | 5 | 4 | [{"id": "G0", "claim": "The ignore_changes parsing will not work properly with JSON syntax because it implicitly expects HCL native syntax; it is better to use hcl.ExprAsKeyword or hcl.ExprList.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The iss... | null |
terraform-linters__tflint-ruleset-google__121 | terraform-linters/tflint-ruleset-google | 121 | defect | b5fc98cf627dbd9118014f8585f5aeab224de232 | c8283d41d739d9e4e8acb81235f6623153c380b6 | Add google_project_iam_member_invalid_member_format rule | I've been looking for a customizable terraform linter and found the tflint and this repository.
Our infrastructure is on GCP and managed under terraform. One problem I'm facing happens when writing resources about IAM. IAM resources require some format https://registry.terraform.io/providers/hashicorp/google/latest/d... | diff --git a/docs/rules/README.md b/docs/rules/README.md
index 6621bd20..6ec399e3 100644
--- a/docs/rules/README.md
+++ b/docs/rules/README.md
@@ -18,6 +18,14 @@ These rules warn you if a machine type not listed at https://cloud.google.com/co
|google_container_node_pool_invalid_machine_type|ERROR|✔|
|google_dataflow_... | 4 | 4 | 1 | [{"id": "G0", "claim": "The rule documentation should explain why unprefixed member values are the most likely cause of errors and add external reference links.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The documentation should list the valid... | null |
terraform-linters__tflint-ruleset-google__122 | terraform-linters/tflint-ruleset-google | 122 | defect | 2baa1e016ab8e39cee5e48705d473193dc03c9c0 | e131df0ea11e32dc5bd487ea719a02d916f72e00 | Add more google_project_iam_invalid_member rules | Cont https://github.com/terraform-linters/tflint-ruleset-google/pull/121
Apply invalid_member_format rules to other IAM resources in the same way. Also did some refactoring. | diff --git a/docs/rules/README.md b/docs/rules/README.md
index 2651cde1..30cafcb4 100644
--- a/docs/rules/README.md
+++ b/docs/rules/README.md
@@ -24,7 +24,10 @@ This rule warn you if a member value in IAM related resources is invalid.
|Name|Severity|Enabled|
| --- | --- | --- |
+|google_project_iam_audit_config_in... | 3 | 3 | 3 | [{"id": "G0", "claim": "Renaming the member rule's doc to google_project_iam_invalid_member_format may have unintended changes since the rule name drives the docs link, and the reviewer recommends naming such rules ${resource_name}_invalid_${attribute_name} instead.", "category": "design", "verdict": "supported", "prio... | null |
terraform-linters__tflint-ruleset-terraform__178 | terraform-linters/tflint-ruleset-terraform | 178 | defect | 417b2c2c876f9e666d9b9ef15ecfb23f7860b770 | 68d10cd4b6a2f388f0182135de6b989c53a54357 | Add range to terraform_required_version errors | Fixes #177
I wondered about sorting the blocks / filenames or looking for `main.tf`, but decided to keep it simple.
A couple questions came up for me:
- Is it ok to use the first block? Should we sort by filename or line number or something?
- Pulling an arbitrary filename from the map of files doesn't fee... | diff --git a/rules/terraform_required_version.go b/rules/terraform_required_version.go
index 713ba66..df5be3f 100644
--- a/rules/terraform_required_version.go
+++ b/rules/terraform_required_version.go
@@ -78,13 +78,32 @@ func (r *TerraformRequiredVersionRule) Check(runner tflint.Runner) error {
exists = exists || ok... | 3 | 3 | 2 | [{"id": "G0", "claim": "When the module has no \"terraform\" block, the else logic should not anchor the issue to a file picked at random from the files map — it should be skipped or replaced with a deterministic, conventional file choice, since a random file is unpredictable and risks giving misleading remediation adv... | null |
terraform-linters__tflint-ruleset-terraform__267 | terraform-linters/tflint-ruleset-terraform | 267 | defect | 194dc6a245bf2dd3bd67778bd8ce528f63afa895 | 51682816f2c10492a6693f9c2d059ec9f5335236 | Add terraform_module_shallow_clone rule | Closes https://github.com/terraform-linters/tflint-ruleset-terraform/discussions/256 | diff --git a/docs/rules/README.md b/docs/rules/README.md
index f052eda..389453e 100644
--- a/docs/rules/README.md
+++ b/docs/rules/README.md
@@ -15,6 +15,7 @@ All rules are enabled by default, but by setting `preset = "recommended"`, you c
|[terraform_empty_list_equality](terraform_empty_list_equality.md)|Disallow com... | 11 | 11 | 4 | [{"id": "G0", "claim": "The docs' Why section should be rewritten to say shallow cloning applies to modules pinned to a tag or branch, and that because it relies on `git clone --branch` it only works for named branches and tags, not raw commit IDs.", "category": "documentation", "verdict": "supported", "priority": "P2"... | null |
terraform-linters__tflint-ruleset-terraform__27 | terraform-linters/tflint-ruleset-terraform | 27 | defect | 6bee33cc53dc74b9917f4af5591bbbc08e1e577f | 083d9210166cab9abfe1f5d47f38b965f92e6103 | Locals order | This pull request will enforce lexicographic order for attributes in a `locals` block. This is the first pull request for issue #22 . We've already implemented these rules in our own plugin, but it'll be a great help if this official plugin can accept these rules. @wata727 will you give this pr a review? Thanks! | diff --git a/rules/terraform_locals_order.go b/rules/terraform_locals_order.go
new file mode 100644
index 0000000..eca5bb7
--- /dev/null
+++ b/rules/terraform_locals_order.go
@@ -0,0 +1,124 @@
+package rules
+
+import (
+ "fmt"
+ "github.com/hashicorp/hcl/v2"
+ "sort"
+ "strings"
+
+ "github.com/hashicorp/hcl/v2/hclsyn... | 10 | 8 | 4 | [{"id": "G0", "claim": "The Check method should use runner.GetLocals() instead of GetFiles() to walk locals.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment on the TerraformLocalsOrderRule struct does not correctly describe the rule implementati... | null |
terraform-linters__tflint-ruleset-terraform__297 | terraform-linters/tflint-ruleset-terraform | 297 | defect | c6cd22df95e5febac47b34e01455bdb2008d0dad | 9333f6e2b17499019e4d88f1f758ebb462922aad | add terraform_json_syntax rule | Adds a new rule to enforce Terraform's official JSON syntax, which requires a root object rather than an array. HCL supports both syntaxes:
https://github.com/hashicorp/hcl/blob/main/json/spec.md
> The HCL syntax-agnostic information model defines a body as an abstract container for attribute definitions and chil... | diff --git a/docs/rules/README.md b/docs/rules/README.md
index 389453e..3da71e7 100644
--- a/docs/rules/README.md
+++ b/docs/rules/README.md
@@ -13,6 +13,7 @@ All rules are enabled by default, but by setting `preset = "recommended"`, you c
|[terraform_documented_outputs](terraform_documented_outputs.md)|Disallow `outp... | 2 | 2 | 0 | [{"id": "G0", "claim": "The rule's emitted error message is too long and should not link to the official Terraform site, since a link to the rule documentation would suffice.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The documentation's exa... | null |
terraform-linters__tflint-ruleset-terraform__64 | terraform-linters/tflint-ruleset-terraform | 64 | defect | 9e3b8c619c4cd518a6470d3f442d80eb71ad193b | c73a7faaa6fcd68bdf501223d0b974e92931e6e4 | required_providers: warn on legacy version syntax, missing source | Tightens enforcement of `required_providers`:
* Rejects the legacy string syntax from Terraform 0.12.25 and earlier in favor of the object syntax which includes a `source`
* Enforces that `source` is defined with the object syntax
This is a breaking change, since previously these legacy syntaxes were accepted. I... | diff --git a/docs/rules/terraform_required_providers.md b/docs/rules/terraform_required_providers.md
index b09d996..38fdb41 100644
--- a/docs/rules/terraform_required_providers.md
+++ b/docs/rules/terraform_required_providers.md
@@ -1,6 +1,6 @@
# terraform_required_providers
-Require that all providers have version ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Warn-by-default enforcement of legacy version syntax and omitted `source` should not be forced on all users when updating TFLint; provide an auto-fix or, alternatively, another rule / rule options so users can control the behavior.", "category": "design", "verdict": "supported", "priority": "P1"... | null |
terraform-linters__tflint__1297 | terraform-linters/tflint | 1,297 | defect | a955cae45e4f29adf3a7bec1063a5158b0a23d4e | 4f9254a7a237e0e2a795e36b0679fc1ef4c2b7a9 | json,sarif: print structured error data | Teach `--format json` and `--format sarif` to print structured error data. The former currently discards errors with severity warning, and the latter completely ignores `tferr`.
This PR is still in a draft stage (code complete, but missing unit/e2e tests) and is meant to solicit feedback on whether y'all think this ... | diff --git a/formatter/json.go b/formatter/json.go
index 18ad24837..a96b7952a 100644
--- a/formatter/json.go
+++ b/formatter/json.go
@@ -36,19 +36,14 @@ type JSONPos struct {
Column int `json:"column"`
}
-// JSONError is a temporary structure for converting TFLint errors to JSON.
-type JSONError struct {
- Message... | 3 | 2 | 2 | [{"id": "G0", "claim": "Printing hcl.Diagnostics as issue-shaped entries with auto-generated rule names is confusing because issues and errors are distinct and only issues can be ignored via annotations/settings; mitigate by naming the rule something like terraform_hcl_errors or adding special implementations/allowed i... | null |
terraform-linters__tflint__1746 | terraform-linters/tflint | 1,746 | defect | 6f2e532cde5fc401de455a23b8c897894e25d87c | 6ace489ac2f6aeb128df8482d39869516ce054ad | sarif: fix incorrect `endLine` | Looks like https://github.com/terraform-linters/tflint/pull/1686/files accidentlly changed the End.Line to Start.Column | diff --git a/formatter/sarif.go b/formatter/sarif.go
index 4d80c6b5d..9bf95c9e3 100644
--- a/formatter/sarif.go
+++ b/formatter/sarif.go
@@ -49,7 +49,7 @@ func (f *Formatter) sarifPrint(issues tflint.Issues, appErr error) {
sarif.NewRegion().
WithStartLine(issue.Range.Start.Line).
WithStartColumn(is... | 1 | 1 | 1 | [{"id": "G0", "claim": "The sarif formatter change needs test coverage.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
terraform-linters__tflint__1892 | terraform-linters/tflint | 1,892 | defect | 8eecbda45d83f75594932840ed1892a3e571ddcc | 4579564b4cc09dcea9e5cc1f28c947836e204ec5 | feat(annotations): Allow a comment at the end of a tflint-ignore annotation | So that it is possible to add a reason why we ignore a rule.
Inspiration from [`nolintlint` linter](https://github.com/golangci/golangci-lint/blob/master/pkg/golinters/nolintlint/README.md). | diff --git a/docs/user-guide/annotations.md b/docs/user-guide/annotations.md
index 391535194..bcf2ba560 100644
--- a/docs/user-guide/annotations.md
+++ b/docs/user-guide/annotations.md
@@ -26,3 +26,12 @@ resource "aws_instance" "foo" {
instance_type = "t1.2xlarge"
}
```
+
+It is possible to add a reason for why ... | 3 | 3 | 0 | [{"id": "G0", "claim": "The documentation should mention which types of comment formats (e.g. `#` and `//`) are allowed to carry a reason at the end of a tflint-ignore annotation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The documentation ex... | null |
terraform-linters__tflint__2025 | terraform-linters/tflint | 2,025 | defect | f05942f52cef28208b6038398872fd2a7e6a96cb | e792427d37bbd1114bc05a42875755f61ea1d570 | plugin: Add support for host-specific GitHub tokens | Fixes https://github.com/terraform-linters/tflint/issues/2005
This PR adds support for host-specific GitHub tokens like `GITHUB_TOKEN_example_com`.
Previously, the `GITHUB_TOKEN` environment variable was supported during plugin installation for private repositories and to avoid rate limits. However, as explained ... | diff --git a/docs/user-guide/plugins.md b/docs/user-guide/plugins.md
index 94d579416..234cf1627 100644
--- a/docs/user-guide/plugins.md
+++ b/docs/user-guide/plugins.md
@@ -74,6 +74,20 @@ To increase the rate limit, you can send an authenticated request by authenticat
It's also a good idea to cache the plugin direct... | 1 | 1 | 0 | [{"id": "G0", "claim": "Reword the new GHES documentation paragraph to read more naturally, using a suggestion block rephrasing 'may want to use tokens differently' to 'may need to use a different token'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
terraform-linters__tflint__2150 | terraform-linters/tflint | 2,150 | defect | 89568211e7bbf132870f341db6bcab7007a2b682 | 4c3afc1d1dd2896ebe64c0afe9426d97f82faf8d | Move recursive init output to debug when there are no changes | With the current version of tflint, there can be a lot of output even when there are no changes. This PR moves the unneeded logs to DEBUG if there are no changes.
Fixes https://github.com/terraform-linters/tflint/issues/2146
```bash
❯ tflint --recursive --config=$(pwd)/.tflint.hcl --init
Installing plugins o... | diff --git a/cmd/init.go b/cmd/init.go
index 6080bd379c..48b8eaaf16 100644
--- a/cmd/init.go
+++ b/cmd/init.go
@@ -2,7 +2,9 @@ package cmd
import (
"fmt"
+ "log"
"os"
+ "strings"
"github.com/fatih/color"
"github.com/spf13/afero"
@@ -17,19 +19,24 @@ func (cli *CLI) init(opts Options) int {
return ExitCod... | 3 | 3 | 2 | [{"id": "G0", "claim": "Printing the buffered output, which still contains the working-directory header, before each plugin install repeats the header for every plugin and makes recursive init output verbose, and the reviewer suggests adopting a simpler per-plugin output line that names the directory.", "category": "de... | null |
terraform-linters__tflint__2230 | terraform-linters/tflint | 2,230 | defect | fcbcce59c42d22c8ea69697c3c81ae85ee941413 | b99c64d4e50ee31150606404b301ea5e6b1c306f | Add support for tflint-ignore-file annotations in JSON | I have a use case where I'm generating `.tf.json` files for a bunch of different root modules; these `.tf.json` files define several locals for convenience, which may or may not be used by the root modules they're placed in. I wanted to be able to ignore the `terraform_unused_declarations` rule without disabling it glo... | diff --git a/cmd/inspect.go b/cmd/inspect.go
index 460c8ac71a..129aef8375 100644
--- a/cmd/inspect.go
+++ b/cmd/inspect.go
@@ -6,7 +6,6 @@ import (
"io"
"os"
"path/filepath"
- "strings"
"github.com/hashicorp/go-version"
"github.com/hashicorp/hcl/v2"
@@ -223,9 +222,6 @@ func (cli *CLI) setupRunners(opts Opti... | 5 | 5 | 3 | [{"id": "G0", "claim": "The `.tf`-suffix filter that the pull request removes from cmd/inspect.go also exists in langserver/handler.go and must be removed there too, so JSON files reach NewAnnotations in the language-server inspection path.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope":... | null |
terraform-linters__tflint__2391 | terraform-linters/tflint | 2,391 | defect | dd897811d28569c59d586a6e97593c6989c761c9 | 133583289c52bb50af6e3c992a0ab7e27c0311d5 | Add JSON configuration file support | closes #2389
This change adds support for JSON-formatted TFLint configuration files (.tflint.json) in addition to the existing HCL format (.tflint.hcl).
Changes:
- Update config loading to detect file extension and parse JSON/HCL accordingly
- Add support for .tflint.json in default file discovery
- Maintain ... | diff --git a/cmd/inspect.go b/cmd/inspect.go
index 0d155fd0a..efdfd50f0 100644
--- a/cmd/inspect.go
+++ b/cmd/inspect.go
@@ -113,7 +113,7 @@ func (cli *CLI) inspectModule(opts Options, dir string, filterFiles []string) (t
}
// Launch plugin processes
- rulesetPlugin, err := launchPlugins(cli.config, opts.Fix)
+ r... | 3 | 3 | 1 | [{"id": "G0", "claim": "launchPlugins' signature should not have been changed to return sdkVersions; the version checking should have been extracted into a function called from the parent function as before.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
terraform-linters__tflint__2421 | terraform-linters/tflint | 2,421 | defect | f267e074924b75e784cb532d6c70844872d37561 | ce2d68c7c2c4dca20893f1bc9f7422626d9363b9 | `version`: add update notifications, json output | Implements version update notifications similar to Terraform. When running `tflint --version`, users now see a notification if a newer version is available on GitHub Releases.
## Changes
- Adds `versioncheck` package that checks GitHub Releases API for latest version
- Modifies `--version` command to display update n... | diff --git a/cmd/version.go b/cmd/version.go
index d75b31ec9..93b8d18fa 100644
--- a/cmd/version.go
+++ b/cmd/version.go
@@ -1,19 +1,68 @@
package cmd
import (
+ "context"
+ "encoding/json"
"fmt"
"log"
"maps"
"slices"
+ "time"
"github.com/spf13/afero"
"github.com/terraform-linters/tflint/plugin"
"gi... | 13 | 12 | 1 | [{"id": "G0", "claim": "fetchLatestRelease lacks test coverage; add tests using a mock client or HTTP test server for successful responses, rate-limit scenarios, network timeouts, and missing tag names.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The... | null |
terraform-linters__tflint__2453 | terraform-linters/tflint | 2,453 | defect | e4d1818d700fb2b79df0ae82bd7ec566d5aee5aa | 0587316eb03f788d565dee95998f80115cf4708d | plugin: Enable plugin keyless verification by default | See also https://github.com/terraform-linters/tflint/issues/2448 https://github.com/terraform-linters/tflint/issues/1768
See also https://github.com/terraform-linters/tflint/pull/2159
This PR enables the experimental keyless verification introduced in #2159 by default. This change will generally not affect your wor... | diff --git a/README.md b/README.md
index f0270ef33..ddc56cc5b 100644
--- a/README.md
+++ b/README.md
@@ -107,15 +107,6 @@ plugin "foo" {
enabled = true
version = "0.1.0"
source = "github.com/org/tflint-ruleset-foo"
-
- signing_key = <<-KEY
- -----BEGIN PGP PUBLIC KEY BLOCK-----
-
- mQINBFzpPOMBEADOat4P4z0j... | 2 | 2 | 2 | [{"id": "G0", "claim": "fetchRepository is now called unconditionally on every install, adding an API call and a new failure point for PGP-only installs, and should be deferred so repo metadata is fetched only after attestations are found.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": ... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.