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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
taichi-dev__taichi__7100 | taichi-dev/taichi | 7,100 | defect | 405b700ecfc91c1492056e56f09de75cebc45f8b | cdf17ea041dca46b0d6589e361033331e186c9a0 | [Aot] Deprecate element shape and field dim for AOT symbolic args | Issue: #6572
* Fix using dtype for symbolic args in AOT usages
* Cleanup all the usages of `field_dim` and `element_shape` in examples and tests
| diff --git a/python/taichi/examples/graph/mpm88_graph.py b/python/taichi/examples/graph/mpm88_graph.py
index f5deba09cea5d..c72a3fc2a6587 100644
--- a/python/taichi/examples/graph/mpm88_graph.py
+++ b/python/taichi/examples/graph/mpm88_graph.py
@@ -114,32 +114,25 @@ def main():
# Build graph
sym_x = t... | 5 | 5 | 2 | [{"id": "G0", "claim": "A test should be added to tests/python/test_deprecation.py covering the new field_dim/element_shape deprecation warnings.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The field_dim deprecation warning in graph.Arg should specif... | null |
taichi-dev__taichi__7159 | taichi-dev/taichi | 7,159 | defect | d9920b40de0de608f789129b749b71eecf096e5d | 93fac19bd796c474addbd505343ee8ff85e1a259 | [refactor] Remove dependencies on Program::this_thread_config() in irpass::constant_fold | Issue: #7002
### Brief Summary
1. The dependencies on `Program::this_thread_config()` in `irpass::constant_fold` were removed;
2. The race condition of `Program::config` (concurrent write) was killed, so we can remove the multi-thread version `Program::this_thread_config()`. I will do it in next PR;
3. The `Prog... | diff --git a/cpp_examples/autograd.cpp b/cpp_examples/autograd.cpp
index b498314cace08..623cbc58491aa 100644
--- a/cpp_examples/autograd.cpp
+++ b/cpp_examples/autograd.cpp
@@ -42,6 +42,7 @@ void autograd() {
using namespace lang;
auto program = Program(Arch::x64);
+ const auto &config = program.this_thread_co... | 1 | 1 | 0 | [{"id": "G0", "claim": "Unify the config argument style: CacheManager::load_or_compile and make_kernel_key take `const CompileConfig *` while the PR's other new compile APIs take `const CompileConfig &`; the reviewer asks they be unified to `CompileConfig &`.", "category": "design", "verdict": "supported", "priority": ... | null |
taichi-dev__taichi__7199 | taichi-dev/taichi | 7,199 | defect | 66948bc58d4c1eeb676f39644d8c7224eefdddb9 | beabba3659d1fe1d5970249915a0be0e45209473 | [refactor] Program::this_thread_config() -> Program::compile_config() | Issue: #7002
Removed multi-thread version `Program::this_thread_config()` (see https://github.com/taichi-dev/taichi/pull/7159#issue-1532269774) | diff --git a/cpp_examples/autograd.cpp b/cpp_examples/autograd.cpp
index 623cbc58491aa..b6d11d8b90b0a 100644
--- a/cpp_examples/autograd.cpp
+++ b/cpp_examples/autograd.cpp
@@ -42,7 +42,7 @@ void autograd() {
using namespace lang;
auto program = Program(Arch::x64);
- const auto &config = program.this_thread_co... | 1 | 1 | 0 | [{"id": "G0", "claim": "Provide another method that returns a const reference to the config and make only the problematic tests use the non-const compile_config().", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
taichi-dev__taichi__7344 | taichi-dev/taichi | 7,344 | defect | 4b385780fbb9f51fc2d80f021cc6937afd879214 | d4992281ca670f1b639d304575cb0f70955c320b | [lang] Stop broadcasting scalar cond in select statements | Issue: #7240
### Brief Summary
1. Stop broadcasting `cond` when it is a scalar in a `select` statement.
2. Since `config.real_matrix_scalarize` is currently set to `True`, we need to scalarize the `select`. I added another code path to do this, which seems ugly.
3. We can see the expected behavior when `config.r... | diff --git a/taichi/ir/frontend_ir.cpp b/taichi/ir/frontend_ir.cpp
index 2dfb9204a3a38..9e811e5f2eb21 100644
--- a/taichi/ir/frontend_ir.cpp
+++ b/taichi/ir/frontend_ir.cpp
@@ -421,8 +421,7 @@ static std::tuple<Expr, Expr, Expr> unify_ternaryop_operands(const Expr &e1,
return std::tuple(e1, e2, e3);
}
- retu... | 1 | 1 | 0 | [{"id": "G0", "claim": "A C++ test should be added to tests/cpp/ir/frontend_type_inference_test.cpp that builds a TernaryOpExpression, calls type_check, and verifies cond is no longer broadcast, following the existing frontend_type_inference_test.cpp patterns.", "category": "testing", "verdict": "supported", "priority"... | null |
taichi-dev__taichi__7465 | taichi-dev/taichi | 7,465 | defect | e07315c3e22e669e01829ff8acdedea49b76d7e1 | f848fb3fd13ec401de0f4037e4b18fefdc8a8ba2 | [opt] Enable half2 optimization for atomic_add operations on CUDA backend | Issue:
### Brief Summary
This PR enables "half2 optimization" for float16 atomic_add on CUDA backend.
Two major changes in total:
#### 1. Modify CUDA code generation for AtomicOpStmt
Integrate an infrastructure to allow use of hand-written cuda kernel in CUDA code generation (figure below).
Hand-written... | diff --git a/taichi/analysis/offline_cache_util.cpp b/taichi/analysis/offline_cache_util.cpp
index ca38cd68aa374..605e9cfdb8958 100644
--- a/taichi/analysis/offline_cache_util.cpp
+++ b/taichi/analysis/offline_cache_util.cpp
@@ -63,6 +63,7 @@ static std::vector<std::uint8_t> get_offline_cache_key_of_compile_config(
... | 6 | 4 | 1 | [{"id": "G0", "claim": "Maybe the new get_custom_cuda_library_path() should build the path with the existing helpers from taichi/util/io.h instead of fmt::format.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The overrided_dtype comments on Ext... | null |
taichi-dev__taichi__7573 | taichi-dev/taichi | 7,573 | defect | b64670f42200c341488d07716a5c794866a472e9 | 9f8c42989507ededbeb3a2a059adaab535042965 | [opt] Constant folding for unary ops on host | Note this PR might cause some precision differences since we used to do constant folding on device while it's now on the host.
Issue: #
### Brief Summary
| diff --git a/taichi/transforms/constant_fold.cpp b/taichi/transforms/constant_fold.cpp
index f1f07c7f5f1655..d79d2eb73d8edb 100644
--- a/taichi/transforms/constant_fold.cpp
+++ b/taichi/transforms/constant_fold.cpp
@@ -118,33 +118,6 @@ class ConstantFold : public BasicStmtVisitor {
return true;
}
- bool jit_... | 3 | 2 | 0 | [{"id": "G0", "claim": "The type dispatch in the new constant-folding switch should use the is_real/is_signed/is_unsigned helper functions instead of enumerating primitive types explicitly.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new ... | null |
taichi-dev__taichi__7671 | taichi-dev/taichi | 7,671 | defect | 5e4e312109c286be4b010c72e40db39651b49ff8 | badfdc74c427b6e0b31b666f1ddad2ec6bc37964 | [lang] Merged VirtualMemoryAllocator into MemoryPool for LLVM-CPU backend | Issue: https://github.com/taichi-dev/taichi/issues/7599
The `MemoryPool`, `CpuDevice`, `VirtualMemoryAllocator` and `UnifiedMemoryAllocator` are nested together thus unfortunately this PR is hard to split further.
### Brief Summary
Key changes happen in `cpu_device.cpp/.h`, `virtual_memory.h` (removed), `memory... | diff --git a/c_api/src/taichi_llvm_impl.cpp b/c_api/src/taichi_llvm_impl.cpp
index 275fa54984f23..53c19922ad322 100644
--- a/c_api/src/taichi_llvm_impl.cpp
+++ b/c_api/src/taichi_llvm_impl.cpp
@@ -26,12 +26,6 @@ LlvmRuntime::LlvmRuntime(taichi::Arch arch) : Runtime(arch) {
executor_ =
std::make_unique<taichi:... | 3 | 3 | 2 | [{"id": "G0", "claim": "The CpuDevice constructor hard-codes the architecture (#if TI_PLATFORM_OSX then arm64, else x64), so ARM CPUs on Linux/Windows are treated as x64.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The SPGrid paper link comment i... | null |
taichi-dev__taichi__7691 | taichi-dev/taichi | 7,691 | defect | d9557f0e0cae63ca29f9e8ff5f90017648a037ee | ed4508594d60c525235164705d2ef4ad55a86ce2 | [gfx] Compile struct type of result and arguments in gfx backends | <!--
copilot:all
-->
### <samp>🤖 Generated by Copilot at f645b63</samp>
### Summary
🛠️🔄🚀
<!--
1. 🛠️ - This emoji represents the changes that add some assertions and checks to the constructors of `KernelContextAttributes`, `Kernel` and `Program` classes. These changes are meant to improve the robustness and cons... | diff --git a/taichi/codegen/spirv/kernel_utils.cpp b/taichi/codegen/spirv/kernel_utils.cpp
index fe0e7fe157b09..23000d35a9321 100644
--- a/taichi/codegen/spirv/kernel_utils.cpp
+++ b/taichi/codegen/spirv/kernel_utils.cpp
@@ -124,6 +124,21 @@ KernelContextAttributes::KernelContextAttributes(
TI_TRACE("rets:");
ret... | 3 | 1 | 1 | [{"id": "G0", "claim": "The newly added TI_ASSERTs in KernelContextAttributes may not hold, since kernel.args_type may not be constructed with the specific device capabilities of this device and an exactly matching layout, so the arg/ret offsets and args_bytes_ may not equal the asserted values.", "category": "correctn... | null |
taichi-dev__taichi__7746 | taichi-dev/taichi | 7,746 | defect | 3e03e19ec473738c9c66c69e6bbc26cfcd8d5222 | ba14958c9052ad33bbc0c03e91d330ead62a9d54 | [lang] Migrate CUDA preallocation logic to CudaMemoryPool | Issue: #7599
### Brief Summary
This PR mainly implemented `CudaMemoryPool` to perform CUDA raw memory allocation (preallocation and unique allocation) and release. **Major changes are made in `cuda_device.cpp`, `memory_pool.cpp`, and `unified_allocator.cpp`.**
Detailed changes are as follow:
1. Migrated `Unif... | diff --git a/taichi/codegen/cc/cc_program.cpp b/taichi/codegen/cc/cc_program.cpp
index df992d4a19e75..e63916228b6f2 100644
--- a/taichi/codegen/cc/cc_program.cpp
+++ b/taichi/codegen/cc/cc_program.cpp
@@ -1,4 +1,5 @@
#include "taichi/codegen/cc/cc_program.h"
+#include "taichi/rhi/common/memory_pool.h"
using namespa... | 3 | 2 | 1 | [{"id": "G0", "claim": "The swap-back at the end of swap_erase_vector may no longer be necessary now that allocation searches every chunk instead of only the last trunk.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "UnifiedAllocator::release sh... | null |
taichi-dev__taichi__7798 | taichi-dev/taichi | 7,798 | defect | a37413411fec39cf8524571aa543d06a997f60ca | 7c1e04bdc2aa3efec515560c5fcf44f2c8dde875 | [lang] Postpone scalarize and lower_matrix_ptr to after full_simplify I | Issue: #
### Brief Summary
<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at 24a0859</samp>
This pull request enhances the alias analysis and IR simplification for `MatrixPtrStmt`, which is a statement that represents a pointer to a matrix element. It adds a new function `get_aliased_stmts` to handle... | diff --git a/taichi/analysis/alias_analysis.cpp b/taichi/analysis/alias_analysis.cpp
index 76c4647f816e3..4fabd4060d7d9 100644
--- a/taichi/analysis/alias_analysis.cpp
+++ b/taichi/analysis/alias_analysis.cpp
@@ -29,17 +29,24 @@ AliasResult alias_analysis(Stmt *var1, Stmt *var2) {
Stmt *origin1 = retrieve_local(var1... | 2 | 2 | 0 | [{"id": "G0", "claim": "The in-code comment '// Sparse mapping between formatted expr and its specifier' no longer describes the code now that the map was replaced by a dense vector, and should be removed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla... | null |
taichi-dev__taichi__7847 | taichi-dev/taichi | 7,847 | defect | c5bc691a9c6f8250a242d2cb5b1f62aa6be8920b | 4233048c843e2f4d28b49a18599c13ab75ee79f7 | [refactor] Split Program::compile() | Issue: #7002
### Brief Summary
`Program::compile()` => `Program::compile_kernel()` + `Program::launch_kernel()`
| diff --git a/cpp_examples/autograd.cpp b/cpp_examples/autograd.cpp
index 71b29fba2701f..947b957e862fb 100644
--- a/cpp_examples/autograd.cpp
+++ b/cpp_examples/autograd.cpp
@@ -195,10 +195,19 @@ void autograd() {
ctx_ext.set_arg_external_array_with_shape(2, taichi::uint64(ext_c.data()), n,
... | 1 | 1 | 0 | [{"id": "G0", "claim": "Split the nested prog_->launch_kernel(prog_->compile_kernel(...), launch_ctx) calls in snode_rw_accessors_bank.cpp into two lines.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
taichi-dev__taichi__8284 | taichi-dev/taichi | 8,284 | defect | bb5ea10ecb24adb176b65da30780cf02b7ee58b7 | d9d3f20877d43a04a7a2619fc8a51527cf143d9b | [Lang] Implement struct DebugInfo and ErrorEmitter | Issue: #
### Brief Summary
<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at d9d3f20</samp>
This pull request improves the error and warning reporting in Taichi by adding source code location information to the Taichi IR and exceptions. It modifies `taichi/common/exceptions.h` to define new exception... | diff --git a/taichi/common/exceptions.h b/taichi/common/exceptions.h
index eb3570ffe23b9..770debf7ec4c7 100644
--- a/taichi/common/exceptions.h
+++ b/taichi/common/exceptions.h
@@ -1,13 +1,23 @@
#pragma once
+#include <exception>
+#include <string>
+#include <string_view>
namespace taichi::lang {
class IRModifie... | 4 | 3 | 1 | [{"id": "G0", "claim": "The single-argument DebugInfo(std::string) and DebugInfo(const char*) constructors should be marked explicit to avoid implicit conversion, like the default constructor already is.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "cla... | null |
taichi-dev__taichi__8372 | taichi-dev/taichi | 8,372 | defect | 6b563a2a7c20eff40cbbeba00a63e6b03a7c81b9 | 821c142b1086195c3e91cfd74104648c65b9e1a5 | [aot] Import CPU and CUDA memory for Taichi AOT | Issue: #
### Brief Summary
<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at f4cd92c</samp>
This pull request adds two new C API functions, `ti_import_cpu_memory` and `ti_import_cuda_memory`, to enable importing host and device memory pointers into TiMemory objects. These functions allow interoperabi... | diff --git a/c_api/include/taichi/taichi_cpu.h b/c_api/include/taichi/taichi_cpu.h
index 8912f4952559b..e94ca65592895 100644
--- a/c_api/include/taichi/taichi_cpu.h
+++ b/c_api/include/taichi/taichi_cpu.h
@@ -20,6 +20,10 @@ ti_export_cpu_memory(TiRuntime runtime,
TiMemory memory,
... | 1 | 1 | 1 | [{"id": "G0", "claim": "Wrap ti_import_cuda_memory in `#ifdef TI_WITH_CUDA` in c_api/src/taichi_llvm_impl.cpp, following how ti_export_cuda_memory is implemented, otherwise MacOS CI will fail.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
taiga-family__taiga-ui__11946 | taiga-family/taiga-ui | 11,946 | defect | 8a8178b697f524cbf2a6fd1f6464b114b63fc147 | 3344d06cd887096ff52738a13645fe35f652eecf | fix(kit): `ProgressColorSegments` color misaligned with `ProgressSegmented` | Fixes https://github.com/taiga-family/taiga-ui/issues/11333
| diff --git a/projects/kit/components/progress/progress-bar/progress-color-segments.directive.ts b/projects/kit/components/progress/progress-bar/progress-color-segments.directive.ts
index e948dff6d08e5..dcc8d1a4234be 100644
--- a/projects/kit/components/progress/progress-bar/progress-color-segments.directive.ts
+++ b/pr... | 2 | 2 | 0 | [{"id": "G0", "claim": "Rename the spec title to `TuiProgressColorSegments` and the file to `projects/kit/components/progress/test/progress-color-segments.spec.ts`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use the modern signal-based `inpu... | null |
taiga-family__taiga-ui__12073 | taiga-family/taiga-ui | 12,073 | defect | f3b1099981ca621b54facc6d830353f60344deec | 16fc1903805895f657213efb581f24cc197ab726 | chore(schematics): add migration for `TuiInputYear` component | Part of https://github.com/taiga-family/taiga-ui/issues/11917
| diff --git a/projects/cdk/schematics/ng-update/v5/index.ts b/projects/cdk/schematics/ng-update/v5/index.ts
index 16a9fdbdafb06..3ab684fd18d43 100644
--- a/projects/cdk/schematics/ng-update/v5/index.ts
+++ b/projects/cdk/schematics/ng-update/v5/index.ts
@@ -12,11 +12,14 @@ import {FINISH_SYMBOL, saveActiveProject, START... | 6 | 6 | 6 | [{"id": "G0", "claim": "The input-attribute insertion offset must include templateOffset (recorder.insertRight(templateOffset + startOffset, 'tuiInputYear')) to position correctly within the template file.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim... | null |
taiga-family__taiga-ui__12215 | taiga-family/taiga-ui | 12,215 | defect | a59c4d01d440c1926f6d5d97b5e0acf854b3e1de | a677a6cc8cd43e28a4badb26573b46dd5eb70361 | refactor(core)!: `tui-loader[showLoader]` renamed to `tui-loader[loading]` | This pull request refactors the `TuiLoader` Angular component to use the new `input()` and `computed()` APIs instead of the traditional `@Input()` decorator and getter methods. This change modernizes the component, making its state management more reactive and consistent with the latest Angular patterns. Additionally, ... | diff --git a/projects/core/components/loader/loader.component.ts b/projects/core/components/loader/loader.component.ts
index 0ca68f43048c0..64564cea0daad 100644
--- a/projects/core/components/loader/loader.component.ts
+++ b/projects/core/components/loader/loader.component.ts
@@ -1,4 +1,4 @@
-import {ChangeDetectionStr... | 2 | 2 | 0 | [{"id": "G0", "claim": "All input signal properties on TuiLoader should be declared readonly.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since these changes target v5, the 'showLoader' alias for the loading input should be dropped.", "category": "des... | null |
taiga-family__taiga-ui__12430 | taiga-family/taiga-ui | 12,430 | defect | b9805b49fa1594b6e8136dc8be4b5500ed80547d | c3df83052f22361c344056c08fefe98b7e0857d0 | fix(kit): `inputChip` - add special character clearing | Added clearing of special characters when pasting and dropping text.
Fixes #12427 | diff --git a/projects/kit/components/input-chip/input-chip.directive.ts b/projects/kit/components/input-chip/input-chip.directive.ts
index cd3134776ce45..a8af620b133b7 100644
--- a/projects/kit/components/input-chip/input-chip.directive.ts
+++ b/projects/kit/components/input-chip/input-chip.directive.ts
@@ -112,7 +112,... | 2 | 1 | 0 | [{"id": "G0", "claim": "splincode asks whether it is worth making some kind of service with fromControlValue/toControlValue for textfields.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "splincode proposes extracting the inline control-character cleaning i... | null |
taiga-family__taiga-ui__12435 | taiga-family/taiga-ui | 12,435 | defect | c9a79d6da5505512a486d66ae9ba62a1b14de230 | cc77cdaf1fc92bc3616d8690d7a810e4aeee36f5 | refactor(core): fix circular dependency `DropdownDirective` <=> `DropdownPosition` | https://github.com/taiga-family/taiga-ui/blob/c9a79d6da5505512a486d66ae9ba62a1b14de230/projects/core/directives/dropdown/dropdown.directive.ts#L35
https://github.com/taiga-family/taiga-ui/blob/c9a79d6da5505512a486d66ae9ba62a1b14de230/projects/core/directives/dropdown/dropdown-position.directive.ts#L13
Partially s... | diff --git a/projects/addon-commerce/components/input-card-group/input-card-group.component.ts b/projects/addon-commerce/components/input-card-group/input-card-group.component.ts
index 54c19def130bb..0b1046641d1bd 100644
--- a/projects/addon-commerce/components/input-card-group/input-card-group.component.ts
+++ b/proje... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new TuiWithDropdown directive should declare `standalone: true` in its @Directive decorator, for clarity and consistency with similar directives like TuiWithDropdownOpen, even though it is the default in Angular 19+.", "category": "correctness", "verdict": "supported", "priority": "P3", "sco... | null |
taiga-family__taiga-ui__12526 | taiga-family/taiga-ui | 12,526 | defect | 2c75afacdd039499d5bb7babd016835133f49154 | b363d04e06c88f516617b81116ab99a78ea24cbc | fix(kit): impossible to select the first option in native `Select` without placeholder | Fixes #12450
| diff --git a/projects/demo-cypress/src/tests/select/native-select.cy.ts b/projects/demo-cypress/src/tests/select/native-select.cy.ts
new file mode 100644
index 0000000000000..4b6de8473bb29
--- /dev/null
+++ b/projects/demo-cypress/src/tests/select/native-select.cy.ts
@@ -0,0 +1,105 @@
+import {
+ ChangeDetectionStra... | 3 | 2 | 1 | [{"id": "G0", "claim": "The placeholder offset in selectOption should also check whether a placeholder exists, because the template now renders the placeholder option even when placeholder() is empty, which the reviewer says creates an inconsistency.", "category": "correctness", "verdict": "uncertain", "priority": "P3"... | null |
taiga-family__taiga-ui__12605 | taiga-family/taiga-ui | 12,605 | defect | ede8f14d1df927ddf25dd8dacded2b27ffd5e709 | 08464ee4520b217393fa52049e0b1b04204266f9 | refactor: no new array | <img width="734" height="580" alt="image" src="https://github.com/user-attachments/assets/8258ee9f-5d64-4ebf-b594-0fdf2db0a163" />
| diff --git a/projects/addon-commerce/constants/mask-cvc.ts b/projects/addon-commerce/constants/mask-cvc.ts
index 6d02cd1f83d20..b73939059c22e 100644
--- a/projects/addon-commerce/constants/mask-cvc.ts
+++ b/projects/addon-commerce/constants/mask-cvc.ts
@@ -3,5 +3,5 @@ import {TUI_DIGIT_REGEXP} from '@taiga-ui/cdk/const... | 4 | 4 | 0 | [{"id": "G0", "claim": "In projects/demo-cypress/src/tests/select.cy.ts, build the Sandbox options by passing the mapping callback as the second argument of Array.from instead of chaining .fill(null).map().", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "... | null |
taiga-family__taiga-ui__12796 | taiga-family/taiga-ui | 12,796 | defect | a501f886c716e3454974fea8deddbbbf853d3839 | 36bd70e1cbb11132f3682391425b7a87d2eba851 | feat(kit)!: `InputRange` uses new approach to implement negative values without minus sign | https://taiga-ui.dev/next/components/input-range#negative | diff --git a/projects/demo-cypress/src/tests/input-number/abs-transformer.cy.ts b/projects/demo-cypress/src/tests/input-number/always-negative-with-hidden-minus.cy.ts
similarity index 71%
rename from projects/demo-cypress/src/tests/input-number/abs-transformer.cy.ts
rename to projects/demo-cypress/src/tests/input-numbe... | 3 | 1 | 0 | [{"id": "G0", "claim": "In TuiInputRange the @Input transform functions for prefix and postfix fall back to ['', ''] when the binding is null while the field initializers default to the injected options' prefix/postfix, so an explicit null binding yields empty strings where no binding yields the option defaults; the tr... | null |
taiga-family__taiga-ui__12800 | taiga-family/taiga-ui | 12,800 | defect | ade172cea42e72d1b1fc42caacd9618755e1c70e | 2f184c18edd9534080f915653b72560b76288448 | fix(cdk): `tuiValueChanges` should not work for same control value emission | Fix same value control emission in tuiValueChanges directive
https://stackblitz.com/edit/angular-pyaxiwzf | diff --git a/projects/cdk/directives/value-changes/test/value-changes.directive.spec.ts b/projects/cdk/directives/value-changes/test/value-changes.directive.spec.ts
index 80fb8ec23c506..b4e4a50ace0ed 100644
--- a/projects/cdk/directives/value-changes/test/value-changes.directive.spec.ts
+++ b/projects/cdk/directives/va... | 2 | 2 | 1 | [{"id": "G0", "claim": "Recreating tuiControlValue inside ngDoCheck on every change detection cycle is suboptimal.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The tuiControlValue import should use the package path '@taiga-ui/cdk/observables' inst... | null |
taiga-family__taiga-ui__13244 | taiga-family/taiga-ui | 13,244 | defect | 8e70aeff811bb687ffcaeec2efdcf49eaed8999f | 7584fb3927e5e30137d9673b3b5cb2825475b676 | fix(core): do not mark input as invalid if it is not touched | Fixes #13187 | diff --git a/projects/core/styles/theme/appearance/textfield.less b/projects/core/styles/theme/appearance/textfield.less
index aaa07049125f8..65c10d5415032 100644
--- a/projects/core/styles/theme/appearance/textfield.less
+++ b/projects/core/styles/theme/appearance/textfield.less
@@ -46,7 +46,7 @@
});
&[dat... | 1 | 1 | 0 | [{"id": "G0", "claim": "In the new textarea test, the field should be emptied with `await textarea.clear()` instead of `await textarea.fill('')`.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
taiga-family__taiga-ui__13466 | taiga-family/taiga-ui | 13,466 | defect | f3f9d9af969dd33c3d41d57c2bd3d75f30ef7548 | 57c429c035097cb10ecd6f6576e04e733d65ca9a | chore(schematics): migrations for outdated `success` & `error` appearances | Relates:
* https://github.com/taiga-family/taiga-ui/issues/11917
| diff --git a/projects/cdk/schematics/ng-update/v5/steps/constants/attr-with-values-to-replace.ts b/projects/cdk/schematics/ng-update/v5/steps/constants/attr-with-values-to-replace.ts
index 44f98a290b062..25cc1259f1eeb 100644
--- a/projects/cdk/schematics/ng-update/v5/steps/constants/attr-with-values-to-replace.ts
+++ b... | 3 | 1 | 0 | [{"id": "G0", "claim": "The new 'migrates deprecated appearances for tui-badge' test should use the `migrate` util instead of calling `migrate(...)` inline with an expect assertion.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The `[appearance]` funct... | null |
taiga-family__taiga-ui__13507 | taiga-family/taiga-ui | 13,507 | defect | c4ce5ac5dca3d346d4c98982b151ec89f4226d74 | 56754a4a8b0754f1a5e6f508907b8b412d7b0b8e | chore(cdk): add TuiInputColor migration for v5 | Part of #11917
## Summary
- Add `TuiInputColorModule` (`@taiga-ui/legacy`) → `TuiInputColor` (`@taiga-ui/kit`) + `TuiTextfield` (`@taiga-ui/core`) to identifier replacements
- Add template migration for `<tui-input-color>` → `<tui-textfield>`
**Template migration:**
| Legacy | New |
|--------|-----|
| `<tui-input-co... | diff --git a/projects/cdk/schematics/ng-update/v5/steps/constants/identifiers-to-replace.ts b/projects/cdk/schematics/ng-update/v5/steps/constants/identifiers-to-replace.ts
index d10a614cd4b06..f109deb782ba0 100644
--- a/projects/cdk/schematics/ng-update/v5/steps/constants/identifiers-to-replace.ts
+++ b/projects/cdk/s... | 3 | 3 | 1 | [{"id": "G0", "claim": "Drop the useless explanatory comment above NO_EQUIVALENT_ATTRS (the self-evident 'Attrs that have no direct v5 equivalent and should be removed with a TODO' JSDoc and any similar redundant comments).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"... | null |
taiga-family__taiga-ui__13513 | taiga-family/taiga-ui | 13,513 | defect | c4ce5ac5dca3d346d4c98982b151ec89f4226d74 | 6ad0be58cce1d7eebb3f835045b7a9e9a6251c21 | chore(cdk): add TuiInputMonth migration for v5 | Part of #11917
## Summary
- Add `TuiInputMonthModule` (`@taiga-ui/legacy`) → `TuiInputMonth` (`@taiga-ui/kit`) + `TuiTextfield` (`@taiga-ui/core`) to identifier replacements
- Add template migration for `<tui-input-month>` → `<tui-textfield>`
**Template migration:**
| Legacy | New |
|--------|-----|
| `<tui-input-mo... | diff --git a/projects/cdk/schematics/ng-update/v5/steps/constants/identifiers-to-replace.ts b/projects/cdk/schematics/ng-update/v5/steps/constants/identifiers-to-replace.ts
index d10a614cd4b06..c24b1948b1724 100644
--- a/projects/cdk/schematics/ng-update/v5/steps/constants/identifiers-to-replace.ts
+++ b/projects/cdk/s... | 2 | 2 | 0 | [{"id": "G0", "claim": "Drop the useless comments (the JSDoc lines above the attr-set constants) in migrate-input-month.ts.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add tabulations to the flush-left template literals of the new min/max, di... | null |
taiga-family__taiga-ui__13516 | taiga-family/taiga-ui | 13,516 | defect | c4ce5ac5dca3d346d4c98982b151ec89f4226d74 | e600914cf232fff152070f03ea8f1c31a55ebed1 | chore(cdk): add TuiIsoToCountryCodePipe → getCountryCallingCode migration for v5 | Part of #11917
## Summary
- Add `TuiIsoToCountryCodePipe` (`@taiga-ui/legacy`) → `getCountryCallingCode` (`libphonenumber-js/core`) to identifier replacements
**Note:** only the TS identifier is replaced. The pipe name `tuiIsoToCountryCode` used in templates is not renamed automatically — update it manually to call ... | diff --git a/projects/cdk/schematics/ng-update/v5/steps/constants/identifiers-to-replace.ts b/projects/cdk/schematics/ng-update/v5/steps/constants/identifiers-to-replace.ts
index d10a614cd4b06..ebc34981bd1b8 100644
--- a/projects/cdk/schematics/ng-update/v5/steps/constants/identifiers-to-replace.ts
+++ b/projects/cdk/s... | 1 | 1 | 1 | [{"id": "G0", "claim": "The migration entry that renames TuiIsoToCountryCodePipe to getCountryCallingCode is invalid, because getCountryCallingCode is just a function, not an Angular pipe.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
taiga-family__taiga-ui__13520 | taiga-family/taiga-ui | 13,520 | defect | c4ce5ac5dca3d346d4c98982b151ec89f4226d74 | 8c7f84cb9b35345b79911863a0c117afa4c92063 | chore(cdk): add `TuiTextarea` migration for v5 | Partially solved #11917
## Summary
- Add `TuiTextareaModule` (`@taiga-ui/legacy`) → `TuiTextarea` (`@taiga-ui/kit`) to identifier replacements
- Add template migration for `<tui-textarea>` → `<tui-textfield><label tuiLabel>...</label><textarea tuiTextarea></textarea></tui-textfield>`
**Attribute mapping:**
| Legacy ... | diff --git a/projects/cdk/schematics/ng-update/v5/steps/constants/identifiers-to-replace.ts b/projects/cdk/schematics/ng-update/v5/steps/constants/identifiers-to-replace.ts
index d10a614cd4b06..dc4c51ceadbeb 100644
--- a/projects/cdk/schematics/ng-update/v5/steps/constants/identifiers-to-replace.ts
+++ b/projects/cdk/s... | 3 | 3 | 1 | [{"id": "G0", "claim": "Drop the redundant explanatory doc comments (the TEXTFIELD_WRAPPER_ATTRS, ATTRS_TO_DROP and getOriginalAttrText doc blocks) from migrate-textarea.ts.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Format the migration spe... | null |
taiki-e__cargo-hack__217 | taiki-e/cargo-hack | 217 | defect | 611b434f96dfc613f0df4761fe2c8e8898fd361a | 0043fd720f1522eca6761fc09da273d6dc94367a | Improve error message when no rust-version field is specified |
Make error messages easier to understand in cases like https://github.com/rust-lang/cargo/actions/runs/6147097200/job/16677799392?pr=12654.
FYI @epage | diff --git a/src/main.rs b/src/main.rs
index 65278fe7..7e29935c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -77,7 +77,10 @@ fn try_main() -> Result<()> {
.map(Version::strip_patch);
if range == VersionRange::msrv() {
let msrv = msrv.ok_or_else(|| {
- ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The bail! message should say \"selected Cargo.toml's\" instead of \"any Cargo.toml\" in src/rustup.rs.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
taiki-e__cargo-hack__253 | taiki-e/cargo-hack | 253 | defect | d3332d2c8167c250b6aeffceea46bcd3f4b5d28c | 5f31ac7185e0626bf012f92f285a912c5e66768f | Add --partition M/N to distribute builds | if there are many workspace members, it takes very long to execute all runs. So, introduce `--partition M/N` to distribute runs across machines.
This pr is in draft still. If this addition of new flag sounds acceptable, I'll finish up it (maybe, writing tests and improve cli handling (edit: DONE), update docs?)
d... | diff --git a/README.md b/README.md
index b9d7ca25..fd2afc48 100644
--- a/README.md
+++ b/README.md
@@ -216,6 +216,9 @@ OPTIONS:
--keep-going
Keep going on failure.
+ --partition <M/N>
+ Partition runs and excute only its subset according to M/N.
+
--log-group <KIND>
... | 3 | 3 | 2 | [{"id": "G0", "claim": "The cargo_clean(...) call made under --clean-per-run is probably not needed when cx.print_command_list is true.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The interleaved partitioning (every Nth command per partition) i... | null |
taiki-e__pin-project__188 | taiki-e/pin-project | 188 | defect | 389ce9d60dfe9d40d3533adad4e9b808de50d963 | 689c40a18f42f1f084612d78b7da925074183dc5 | Add `OriginalType<A, B>: 'pin` bound to projected type | Fixes #185
Usually, Rust will automatically add lifetime bounds of the form
`T: 'lifetime` when required (e.g. when a struct contains `&'a T`).
However, the compiler will not normalize associated types before
performing this analysis, which can require users to manually add
`T: 'lifetime` bounds themselves. Wh... | diff --git a/pin-project-internal/src/lib.rs b/pin-project-internal/src/lib.rs
index 76878f64..74e59926 100644
--- a/pin-project-internal/src/lib.rs
+++ b/pin-project-internal/src/lib.rs
@@ -507,7 +507,6 @@ pub fn pinned_drop(args: TokenStream, input: TokenStream) -> TokenStream {
/// }
///
/// mod bar {
-/// us... | 2 | 1 | 1 | [{"id": "G0", "claim": "The UI test output seems to differ slightly on Nightly (the error span is rendered a bit differently), and the author is unsure how best to deal with the mismatch.", "category": "testing", "verdict": "uncertain", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The #[project] imp... | null |
taiki-e__pin-project__194 | taiki-e/pin-project | 194 | defect | aa32b9ee61bc7fd982abf497da8990a13e7fa7b2 | 62a297e3d69793a6da3e21f0a197466e7f2ef518 | Implement `project_replace` method. | I implemented this as an opt-in method, via `#[pin_project(Replace)]` because it requires `Self: Sized`, and because I thought it would be safest to disallow using in combination with `PinnedDrop` (as it would effectively bypass the `PinnedDrop` implementation).
Closes #184 | diff --git a/pin-project-internal/src/lib.rs b/pin-project-internal/src/lib.rs
index aa0eb27f..b1afc6f6 100644
--- a/pin-project-internal/src/lib.rs
+++ b/pin-project-internal/src/lib.rs
@@ -26,7 +26,7 @@ mod project;
use proc_macro::TokenStream;
-use utils::{Immutable, Mutable};
+use utils::{Immutable, Mutable, O... | 3 | 2 | 2 | [{"id": "G0", "claim": "Add documentation for the new `project_replace()` method/attribute.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "`let __guard = ..` and `#proj_drop` need to be wrapped in a block; otherwise, when a pinned field's destruct... | null |
taiki-e__pin-project__34 | taiki-e/pin-project | 34 | defect | 817b7bc5a3d448c8b112232879c7f341bc5f2711 | db3031cf70189c6a24f33e00e6816ef633e9b8fd | Ensure that #[repr(packed)] cannot be used on #[pin_projectable] structs | As described in issue https://github.com/taiki-e/pin-project/issues/32,
it's possible to bypass the #[repr(packed)] check via the use of an
additional procedural macro. However, we need to be able to forbid
using #[repr(packed) in order to make #[pin_projectable] sound
To enforce this, we can make use of the fact... | diff --git a/pin-project-internal/src/lib.rs b/pin-project-internal/src/lib.rs
index dc405081..ffbfcc33 100644
--- a/pin-project-internal/src/lib.rs
+++ b/pin-project-internal/src/lib.rs
@@ -5,6 +5,7 @@
#![warn(rust_2018_idioms, unreachable_pub)]
#![warn(single_use_lifetimes)]
#![warn(clippy::all, clippy::pedantic)]... | 5 | 4 | 0 | [{"id": "G0", "claim": "Add tests (e.g. a trybuild test that takes references to fields of a packed struct and asserts the resulting diagnostics) covering the compiler behavior that the generated safe_packed_borrows check relies on.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced... | null |
taiki-e__pin-project__53 | taiki-e/pin-project | 53 | defect | c3f6a4130a8bb953ab7c5a9c01e9bf14cc3b5bc0 | 6da124253341cba3ed3c3726987508c0b25b8db9 | Allow using #[pin_project] type with private field types | Previously, given code such as:
```rust
struct Private<T>;
#[pin_project]
pub struct Public<T> {
#[pin] private: Private<T>
}
```
we would generate an Unpin impl like this:
```rust
impl Unpin for Public where Private: Unpin {}
```
Unfortunately, since Private is not a public type,
this woul... | diff --git a/pin-project-internal/src/pin_project/enums.rs b/pin-project-internal/src/pin_project/enums.rs
index 03f753af..648e2be6 100644
--- a/pin-project-internal/src/pin_project/enums.rs
+++ b/pin-project-internal/src/pin_project/enums.rs
@@ -79,7 +79,7 @@ fn named(
for Field { attrs, ident, ty, .. } in fields... | 3 | 2 | 0 | [{"id": "G0", "claim": "Render the generated struct's fields with the trailing-comma form (#(#fields,)*) instead of the #(#fields),* #fields_comma combination.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The generated docs show `impl<T> Unpin... | null |
tailscale__caddy-tailscale__30 | tailscale/caddy-tailscale | 30 | defect | 07491c582411adee9deda2b6cc784a8e6185bb60 | ddc9b3d8bc07715d6ec2fa12ce151bf1cd6ccf61 | Support tailscale configuration via Caddy configuration | As described in #24, this PR creates a new Caddy module registering a global configuration
option and a module fulfilling the required interface. This is an initial implementation using a
global `caddy.UsagePool` to share the configuration between the application parsed from the
caddyfile and the standalone listener... | diff --git a/Caddyfile b/Caddyfile
index 318439b..520287b 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -1,5 +1,12 @@
{
order tailscale_auth after basicauth
+ tailscale {
+ auth_key "tskey-auth-"
+
+ caddy {
+ auth_key "tskey-auth-caddy"
+ }
+ }
}
:80 {
diff --git a/app.go b/app.go
new file mode 100644
index 00... | 11 | 8 | 6 | [{"id": "G0", "claim": "The app does not need a UsagePool since it is effectively a singleton and should switch to a singleton of some kind.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Configuring options at two different levels (app-level defaults pl... | null |
tailscale__caddy-tailscale__37 | tailscale/caddy-tailscale | 37 | defect | 086b97772da9f37ec99d6f6183bef229ad8c0352 | 5f27101789f4060c9af5baee1f6379fc2dc8131a | Use caddy.Context to reference app | @willnorris The tests fail but the code works and compiles -- I didn't have time to flush out the tests. But here you go :)
Thanks @mohammed90 for the tip!! | diff --git a/Caddyfile b/Caddyfile
index 520287b..8343372 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -1,4 +1,5 @@
{
+ debug
order tailscale_auth after basicauth
tailscale {
auth_key "tskey-auth-"
@@ -14,5 +15,5 @@
root .
file_server
templates
- tailscale_auth
+ #tailscale_auth
}
diff --git a/app.go b/app.... | 1 | 1 | 1 | [{"id": "G0", "claim": "Provision should pass the caddy.Context received as its argument to getServer instead of constructing a fresh empty caddy.Context{}.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
tailscale__caddy-tailscale__39 | tailscale/caddy-tailscale | 39 | defect | af99185a32ce41fe232a7277e0ec2a2d0148d919 | 37f43017f7b32903cf425970e2374c06c2afb264 | refactor caddy-tailscale logic | This is admittedly a pretty sizeable refactor, but is almost exclusively renames, code movement, and documentation. There *should* be no logic changes. There is technically one breaking change in renaming `TSApp.Servers` to `TSApp.Nodes`, but only for folks using the JSON config directly (caddyfile doesn't use the na... | diff --git a/app.go b/app.go
index bb408fd..19f9e9d 100644
--- a/app.go
+++ b/app.go
@@ -1,28 +1,44 @@
package tscaddy
+// app.go contains TSApp and TSNode, which provide global configuration for registering Tailscale nodes.
+
import (
"github.com/caddyserver/caddy/v2"
+ "github.com/caddyserver/caddy/v2/caddyconf... | 2 | 2 | 1 | [{"id": "G0", "claim": "The file-header comment added to transport.go misspells the filename as \"transpoart.go\" and should read \"transport.go\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In Provision, the node lookup address \"caddy-tsnet-... | null |
tailscale__caddy-tailscale__45 | tailscale/caddy-tailscale | 45 | defect | 354370310e94bcfafeb14b56f72551e732eaa4c7 | 5b8dc65d72aab7015840188945b041c013d2b7ad | add option for enabling the Tailscale web ui | This is still only exposed on the Tailscale interface. | diff --git a/app.go b/app.go
index 19f9e9d..dc76336 100644
--- a/app.go
+++ b/app.go
@@ -22,9 +22,16 @@ type TSApp struct {
// DefaultAuthKey is the default auth key to use for Tailscale if no other auth key is specified.
DefaultAuthKey string `json:"auth_key,omitempty" caddy:"namespace=tailscale.auth_key"`
+ // ... | 1 | 1 | 1 | [{"id": "G0", "claim": "RunWebClient is unconditionally set to true for every node, and the reviewer questions why this should apply to every node rather than being opt-in.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
tailscale__setec__105 | tailscale/setec | 105 | defect | 2400b8d07c1b9670507520dea65a1cd5864ee04a | fa7566ca44f8db33e2a6210367dc1f68d718e9f5 | client/setec: panic for undeclared secrets when lookups are disabled | We stumbled on a sharp corner, viz., that if you forget to declare a secret to
the Store, the store will start up just fine, but code that refers to that name
will return a nil Secret and panic later at the point of use.
Since a program that does this is already statically incorrect, generate the
panic (with a more he... | diff --git a/client/setec/store.go b/client/setec/store.go
index e91d46a..ac28b81 100644
--- a/client/setec/store.go
+++ b/client/setec/store.go
@@ -303,9 +303,21 @@ func (s *Store) Refresh(ctx context.Context) error {
}
}
-// Secret returns a fetcher for the named secret. It returns nil if name does
-// not corre... | 2 | 2 | 0 | [{"id": "G0", "claim": "The panic message in Store.Secret should mention StoreConfig.Secrets instead of only \"lookup disabled\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The panic message in Store.Watcher should mention StoreConfig.Secret... | null |
tailscale__setec__27 | tailscale/setec | 27 | defect | 7214fb829010c140f52cf1d7c09542e65735d5fb | 373d3bfac28ae033404b48a1d628fb429156671b | client: implement the Store type | A Store wraps an API client to give the caller a transparent way to get secret
values that automatically stay up-to-date as values change on the server.
| diff --git a/client/setec/cache.go b/client/setec/cache.go
new file mode 100644
index 0000000..06a3e21
--- /dev/null
+++ b/client/setec/cache.go
@@ -0,0 +1,41 @@
+// Copyright (c) Tailscale Inc & AUTHORS
+// SPDX-License-Identifier: BSD-3-Clause
+
+package setec
+
+import (
+ "os"
+
+ "tailscale.com/atomicfile"
+)
+
+/... | 1 | 1 | 1 | [{"id": "G0", "claim": "NewStore should treat cache read or decode failures as non-fatal: log the problem and continue initializing remotely instead of returning an error (and a later crashloop), so a corrupt or unreadable cache cannot prevent store startup.", "category": "correctness", "verdict": "supported", "priorit... | null |
tailscale__setec__3 | tailscale/setec | 3 | defect | dd834ef1807d9197c806b1a7191f89338244897f | dfc1fa7290a13bef17fee6c92603dab44e2f5768 | acl: an ACL parser and evaluator | Updates tailscale/corp#13375
---
I believe this implements the semantics as specified in the design doc. I threw in support for groups, since it was easy to do and I suspect we'll end up wanting it sooner than later. | diff --git a/acl/acl.go b/acl/acl.go
new file mode 100644
index 0000000..7242e61
--- /dev/null
+++ b/acl/acl.go
@@ -0,0 +1,197 @@
+// Copyright (c) Tailscale Inc & AUTHORS
+// SPDX-License-Identifier: BSD-3-Clause
+
+// Package acl implements ACL evaluation for access to a secrets
+// database.
+//
+// ACL policy files... | 14 | 10 | 1 | [{"id": "G0", "claim": "The package documentation should mention HuJSON early, e.g. by saying that ACL policy files are HuJSON text.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The blank line between the package doc comment and the package clau... | null |
tailscale__setec__55 | tailscale/setec | 55 | defect | 423d7740c5b17fe908511bf6d6510179b80adab9 | 541d9fdd0452cf177e412b0f6f3158db1a834c1e | client/store: add Lookup methods and AllowLookup option | Some tools have "optional" integrations (e.g., callouts to Slack) that are used
if an API token is available but skipped without error if not, and you can
choose to run with or without it.
To support this, add an AllowLookup option to the Store config. When set, this
permits a Store to start up without a complete list... | diff --git a/client/setec/store.go b/client/setec/store.go
index a858999..0ed936f 100644
--- a/client/setec/store.go
+++ b/client/setec/store.go
@@ -20,10 +20,11 @@ import (
// Store is a store that provides named secrets.
type Store struct {
- client Client // API client
- logf logger.Logf
- cache Cach... | 2 | 1 | 1 | [{"id": "G0", "claim": "LookupSecret holds the exclusive s.active lock while doing the remote Get/etc., so if the secrets service is slow the fetch blocks all other access to secrets; it should do the Get outside the lock and only lock when making structure updates.", "category": "performance", "verdict": "supported", ... | null |
tailscale__setec__80 | tailscale/setec | 80 | defect | 5851f1ebdd074dfa0040b0f5185eed89c6ac1fe3 | 964696868249ebc4689b447f3ed99eb6ebb9c5b8 | fields: parse tagged fields in struct values and apply secrets to them | Given a pointer to a struct with specially-tagged fields, use reflection to
locate these fields and plumb secrets from a setec.Store into them.
| diff --git a/fields/example_test.go b/fields/example_test.go
new file mode 100644
index 0000000..ef5e915
--- /dev/null
+++ b/fields/example_test.go
@@ -0,0 +1,80 @@
+// Copyright (c) Tailscale Inc & AUTHORS
+// SPDX-License-Identifier: BSD-3-Clause
+
+package fields_test
+
+import (
+ "context"
+ "flag"
+ "log"
+ "net/... | 2 | 2 | 1 | [{"id": "G0", "claim": "Putting the fields machinery in a separate package forces an unfortunate three-step dance (discover, register, then install the secrets) on users.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The fieldInfo comment misspells \"di... | null |
tailscale__tailscale-client-go-v2__11 | tailscale/tailscale-client-go-v2 | 11 | defect | 1ce94fb92f82903e057984b03d4b2c506159eca6 | f5a6de8c8132469a9ddafec8f6635a758a7f9edd | policyfile: add SetAndGet method | This variant of Set returns the resulting ACL with its updated ETag.
Updates tailscale/corp#22748 | diff --git a/policyfile.go b/policyfile.go
index 02f15a0..fda443e 100644
--- a/policyfile.go
+++ b/policyfile.go
@@ -221,6 +221,32 @@ func (pr *PolicyFileResource) Set(ctx context.Context, acl any, etag string) err
return pr.do(req, nil)
}
+// Set sets the [ACL] for the tailnet and returns the resulting [ACL].
+//... | 1 | 1 | 0 | [{"id": "G0", "claim": "The doc comment on the new SetAndGet method should read \"SetAndGet sets the [ACL]...\" instead of \"Set sets the [ACL]...\" so it names the method it documents.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tailscale__tailscale-client-go-v2__23 | tailscale/tailscale-client-go-v2 | 23 | defect | 17a9401cffa548080e205524fa640bde4f397398 | 67fc28d38bb34ff4b56797045c887393e89e9362 | add method to create auth clients | Supports creating oauth clients
Updates: tailscale/tailscale#9632 | diff --git a/keys.go b/keys.go
index 7cba950..a90bc00 100644
--- a/keys.go
+++ b/keys.go
@@ -14,6 +14,13 @@ type KeysResource struct {
*Client
}
+type KeyType string
+
+const (
+ KeyTypeAuthKey KeyType = "authkey"
+ KeyTypeOAuthClient KeyType = "oauthclient"
+)
+
// KeyCapabilities describes the capabilities of a... | 3 | 1 | 1 | [{"id": "G0", "claim": "The `v2:` prefix should be removed from the commit message, as it is a relic of the repo's old location.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "unclear"}, {"id": "G1", "claim": "Instead of changing Capabilities to a pointer, the client should keep th... | null |
tailscale__tailscale-client-go-v2__29 | tailscale/tailscale-client-go-v2 | 29 | defect | d51fc603f5ea5e4578ef6514b9c56b661f799a12 | 258e6aa79ade02b34c721f9816a77e18f2be295d | policyfile: add AttrConfig support to ACLDetails | Adds missing AttrConfig field to ACLDetails struct to expose attribute configuration functionality already present in the internal policy package.
[tailscale/tailscale#16167](https://github.com/tailscale/tailscale/issues/16167) | diff --git a/policyfile.go b/policyfile.go
index 76d310a..8c87161 100644
--- a/policyfile.go
+++ b/policyfile.go
@@ -74,6 +74,8 @@ type ACL struct {
Postures map[string][]string `json:"postures,omitempty" hujson:"Postures,omitempty"`
DefaultSourcePosture []string `json:"defaultSrcPosture,omit... | 6 | 5 | 2 | [{"id": "G0", "claim": "Doc comments should be added to (at least most of) the newly exported symbols, and the link at the top of the ACL struct should reference attrConfig so users can understand how to use it.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"... | null |
tailscale__tailscale-client-go-v2__36 | tailscale/tailscale-client-go-v2 | 36 | defect | 5f581daaece7dd1a8e9b0e4b91a0ec7b863afc8f | 765701205860b2118e60e359bb1a4ac1e3e1d6eb | policyfile: add grants and ipsets | Fixes #35 | diff --git a/policyfile.go b/policyfile.go
index 8ce2472..6b74c24 100644
--- a/policyfile.go
+++ b/policyfile.go
@@ -69,6 +69,8 @@ type ACL struct {
DisableIPv4 bool `json:"disableIPv4,omitempty" hujson:"DisableIPv4,omitempty"`
OneCGNATRoute string `json:"oneCGNATRoute,omit... | 2 | 2 | 2 | [{"id": "G0", "claim": "The SrcPosture and Via fields of the new Grant struct should use omitempty on their json and hujson tags, like the other fields in the pattern.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The IP field's tag uses `ip:\"dst,... | null |
tailscale__tailscale-client-go-v2__42 | tailscale/tailscale-client-go-v2 | 42 | defect | 9ce246ebbf4e72f25327e932a4caf066cc63bb12 | 5dc58f224a994cc0179f5d4c59f712dbf3f26dd9 | v2/logging: add support for network flow logs API | Adds support for the network flow logs API endpoint at /api/v2/tailnet/{tailnet}/logging/network. This endpoint returns network traffic flow data including virtual, subnet, exit, and physical traffic with packet/byte counts.
Updates #41 | diff --git a/logging.go b/logging.go
index 27d61cb..f82a0de 100644
--- a/logging.go
+++ b/logging.go
@@ -147,3 +147,60 @@ func (lr *LoggingResource) ValidateAWSTrustPolicy(ctx context.Context, awsExtern
}
return lr.do(req, nil)
}
+
+// NetworkFlowLog represents a network flow log entry from the Tailscale API.
+typ... | 5 | 4 | 2 | [{"id": "G0", "claim": "The traffic flow entry type should be renamed (e.g. to TrafficStats) to drop the misleading 'Virtual'/'Entry' wording, since it applies to all traffic types.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The request Start/End fie... | null |
tailscale__tailscale-client-go-v2__61 | tailscale/tailscale-client-go-v2 | 61 | defect | 4c357f9e6632750149c1fc6c3d77c21dd3cf3d59 | e31efdd2ff2fac11ee97f2c105ea8bd1c9492848 | simplify configuration of oauth clients, support identity federation | OAuth can now be provided directly to the Client type.
Using OAuthConfig.HTTPClient() is now deprecated.
Updates tailscale/terraform-provider-tailscale#485 | diff --git a/README.md b/README.md
index 884c02f..480b7ac 100644
--- a/README.md
+++ b/README.md
@@ -43,11 +43,67 @@ import (
func main() {
client := &tailscale.Client{
Tailnet: os.Getenv("TAILSCALE_TAILNET"),
- HTTP: tailscale.OAuthConfig{
+ Auth: &tailscale.OAuth{
ClientID: os.Getenv("TAILSCALE_OAU... | 1 | 1 | 0 | [{"id": "G0", "claim": "The doc comment should say that identityFederationTokenSource (not IdentityFederation) implements oauth2.TokenSource using identity federation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tailscale__tailscale-client-go-v2__7 | tailscale/tailscale-client-go-v2 | 7 | defect | df6d4a0f0c1880c25cddcb094c61763991a1bf74 | 74a18f6af5e0027d4451da6f807849dcde4e8f7d | devices: support querying all device fields | Add 'AdvertisedRoutes', 'EnabledRoutes' and 'ClientConnectivity' to the 'Device' type and support the 'fields=all' query parameter when listing devices.
Updates tailscale/corp#22748 | diff --git a/devices.go b/devices.go
index f220ee3..0efa43d 100644
--- a/devices.go
+++ b/devices.go
@@ -44,6 +44,20 @@ func (t *Time) UnmarshalJSON(data []byte) error {
return nil
}
+type DERPRegion struct {
+ Preferred bool `json:"preferred,omitempty"`
+ LatencyMilliseconds float64 `json:"latencyMs"... | 1 | 1 | 0 | [{"id": "G0", "claim": "ClientSupports uses a map[string]bool although the supported values are constrained, so consider a dedicated struct with the known values instead of a map for stronger typing.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
tailscale__tailscale-client-go-v2__76 | tailscale/tailscale-client-go-v2 | 76 | defect | bf13eb88c58e3a47f07d84dac64fd49b9e747c46 | 167b36a237f944cd6dea055e90e8de27fb12ed2d | added ippool type | as my previous PR, we are missing some types in the sdk. This PR adds the type ipPool in nodeAttrs https://tailscale.com/kb/1304/ip-pool | diff --git a/policyfile.go b/policyfile.go
index 9644965..3946e42 100644
--- a/policyfile.go
+++ b/policyfile.go
@@ -155,6 +155,9 @@ type NodeAttrGrant struct {
Target []string `json:"target,omitempty" hujson:"Target,omitempty"`
Attr []string `json:"attr,omitempty" hujs... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new IpPool field should be named IPPool, following the Go naming convention for initialisms.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the \"// IPPool is in beta as of 2025-12-18 and is subject to change.\... | null |
tailscale__tailscale-client-go-v2__8 | tailscale/tailscale-client-go-v2 | 8 | defect | df6d4a0f0c1880c25cddcb094c61763991a1bf74 | a6b6284030676cac42a553cd17aec55c1b09591a | policyfile: add SetAndGet method | This variant of Set returns the resulting ACL with its updated ETag.
Updates tailscale/corp#22748 | diff --git a/devices.go b/devices.go
index f220ee3..0efa43d 100644
--- a/devices.go
+++ b/devices.go
@@ -44,6 +44,20 @@ func (t *Time) UnmarshalJSON(data []byte) error {
return nil
}
+type DERPRegion struct {
+ Preferred bool `json:"preferred,omitempty"`
+ LatencyMilliseconds float64 `json:"latencyMs"... | 2 | 1 | 1 | [{"id": "G0", "claim": "The reviewer asks whether Set should simply be modified to return *ACL instead of adding a separate SetAndGet method, unless there is worth in keeping both methods to ease v1 -> v2 migration.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "... | null |
tailscale__tailscale-client-go-v2__82 | tailscale/tailscale-client-go-v2 | 82 | defect | 9e24078cbc6910f4f808926bf0ad4d7c61404d98 | 5b5e7571ca09d6d81656637aa2881bc1d99776bc | devices: support listing with filters | This adds support for passing filter query arguments when listing tailnet devices. It enables the generic List method to take all query parameters available for the endpoint using an options pattern, and marks ListWithAllFields as deprecated.
We'll stop short of retrofitting the same approach into the other endpoint... | diff --git a/devices.go b/devices.go
index 7568fcb..446e153 100644
--- a/devices.go
+++ b/devices.go
@@ -183,31 +183,83 @@ func (dr *DevicesResource) DeletePostureAttribute(ctx context.Context, deviceID,
return dr.do(req, nil)
}
+// listDevicesOptions specifies optional parameters for listing devices.
+type listDe... | 3 | 2 | 0 | [{"id": "G0", "claim": "Consider defining a custom type for the set of valid \"fields\" values instead of a bare string, so the valid values are easier for client users to discover.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The List doc comment read... | null |
tailscale__tailscale-client-go-v2__89 | tailscale/tailscale-client-go-v2 | 89 | defect | 243bf836c8665c25044802112180a30adb016b24 | 4e063841a14d213201282d86bd7462331f4d3942 | Export APIError.Status field | This commit modifies the `APIError` type to export its `Status` field.
This is very useful in test scenarios where a resource has been mocked behind an interface and a user wishes to simulate an error response beyond a generic error.
For example, using the current error type it does not seem possible to simulate ... | diff --git a/client.go b/client.go
index e648a0e..266183b 100644
--- a/client.go
+++ b/client.go
@@ -1,7 +1,7 @@
// Copyright (c) David Bond, Tailscale Inc, & Contributors
// SPDX-License-Identifier: MIT
-// package tailscale contains a basic implementation of a client for the Tailscale HTTP API.
+// Package tailsc... | 1 | 1 | 1 | [{"id": "G0", "claim": "The APIError.Status field is exported but tagged json:\"-\", exposing it inconsistently; either do not expose it or expose it with a json:\"status\" tag, as the suggestion block proposes.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
tailscale__tailscale-client-go-v2__91 | tailscale/tailscale-client-go-v2 | 91 | defect | 4f50555a6c6f6f231f85b4f54767ac49bf590416 | d935f16b3b761fad9ff29937b9b10a00c35a4d81 | services: rename VIPService to Service | ## Summary
- Rename `VIPService` → `Service`, `VIPServicesResource` → `ServicesResource`, `client.VIPServices()` → `client.Services()`
- Add deprecated type aliases and method wrapper for backwards compat
- API paths and JSON tags unchanged
Fixes #80 | diff --git a/client.go b/client.go
index 2cca606..1e4bc50 100644
--- a/client.go
+++ b/client.go
@@ -63,7 +63,7 @@ type Client struct {
policyFile *PolicyFileResource
tailnetSettings *TailnetSettingsResource
users *UsersResource
- vipServices *VIPServicesResource
+ services *ServicesReso... | 1 | 1 | 0 | [{"id": "G0", "claim": "The deprecated Client.VIPServices wrapper should return *VIPServicesResource rather than *ServicesResource.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tailscale__tailscale-rs__105 | tailscale/tailscale-rs | 105 | defect | 8290ae093b455c757c8be0e65d3505b82fbd2c7f | c9388bde4b05c15305e0e31f381065a4fe9a3c5d | tailscale: Modularise the top-level API | Factors out config and netstack modules for the API and tidies up the examples using more imports. Also adds a helper method for creating `Config`s from a key file.
I wonder if we should re-export the key types used in the fields of `NodeState` in `config`? | diff --git a/README.md b/README.md
index 84a6e010..f521ce76 100644
--- a/README.md
+++ b/README.md
@@ -41,20 +41,18 @@ repository layout, see [ARCHITECTURE.md](ARCHITECTURE.md).
A simple UDP client that periodically sends messages to a tailnet peer at `100.64.0.1:5678`:
```rust
-use core::{
+use std::{
time::D... | 4 | 4 | 2 | [{"id": "G0", "claim": "The new constructor's name `from_key_file` should be changed (reviewer suggests `default_from_key_file`) so it does not imply that a full `Config` with all fields is loaded from the file.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai... | null |
tailscale__tailscale__15913 | tailscale/tailscale | 15,913 | defect | 5be6ff9b62ecd981b3a9f81af8567875c5e6e0ee | 691c24091163f73746cbcb9f949272883fd258d3 | {cmd,}/k8s-operator: support IRSA for Recorder resources | Adds Recorder fields to configure the name and annotations of the ServiceAccount created for and used by its associated StatefulSet. This allows the created Pod to authenticate with AWS without requiring a Secret with static credentials, using AWS' IAM Roles for Service Accounts feature, documented here: https://docs.a... | diff --git a/cmd/k8s-operator/deploy/crds/tailscale.com_recorders.yaml b/cmd/k8s-operator/deploy/crds/tailscale.com_recorders.yaml
index b07e9f6921826..d5fcc57f46538 100644
--- a/cmd/k8s-operator/deploy/crds/tailscale.com_recorders.yaml
+++ b/cmd/k8s-operator/deploy/crds/tailscale.com_recorders.yaml
@@ -1557,6 +1557,34... | 7 | 4 | 3 | [{"id": "G0", "claim": "Using a field selector to list only ServiceAccounts with the specific owner reference would be more efficient than listing all ServiceAccounts with matching labels when there are many ServiceAccounts in the namespace.", "category": "performance", "verdict": "opposed", "priority": "P3", "scope": ... | null |
tailscale__tailscale__16016 | tailscale/tailscale | 16,016 | defect | b5770c81c9a8bbb2a56f6c6c1b87e0013ced978a | d70a88e3469cd0e98cd086b2841c0505c5012298 | cmd/derper, net/tlsdial: fix client's self-signed cert validation | This fixes the implementation and test from #15208 which apparently
never worked.
Ignore the metacert when counting the number of expected certs
presented.
And fix the test, pulling out the TLSConfig setup code into something
shared between the real cmd/derper and the test.
Fixes #15579
| diff --git a/cmd/derper/cert_test.go b/cmd/derper/cert_test.go
index 2ec7b756ec6426..31fd4ea446949d 100644
--- a/cmd/derper/cert_test.go
+++ b/cmd/derper/cert_test.go
@@ -140,6 +140,7 @@ func TestPinnedCertRawIP(t *testing.T) {
var hs http.Server
hs.Handler = mux
hs.TLSConfig = cp.TLSConfig()
+ ds.ModifyTLSConfig... | 5 | 4 | 3 | [{"id": "G0", "claim": "In net/tlsdial/tlsdial.go the numCerts > 1 validation only happens after the full loop, so if multiple valid certs are presented but none match the expected hash, the code returns a different error than the intended 'unexpected multiple certs presented'.", "category": "correctness", "verdict": "... | null |
tailscale__tailscale__16096 | tailscale/tailscale | 16,096 | defect | cd49faa123131414cf990e4ad6ff7e2157f2e82a | fae42da87a5a8dcf25b625fe518e6cf39582a355 | ipn/ipnlocal: fix `PeerByID` can not find `SelfNode` by self node's `nodekey` | Fixes #16052
# What Changed
Like `NodeByKey`, add an if stmt for checking the `NodeId` is `SelfNode`.
# Why
Before [this commit](https://github.com/tailscale/tailscale/commit/8b72dd7873201b0944c48449b1facd08f4135dea), `WhoIsNodeKey` can query `SelfNode` by self node's nodekey, after that commit, only `cn.NodeBy... | diff --git a/ipn/ipnlocal/node_backend.go b/ipn/ipnlocal/node_backend.go
index fb77f38ebc87a..313d0ff308e59 100644
--- a/ipn/ipnlocal/node_backend.go
+++ b/ipn/ipnlocal/node_backend.go
@@ -177,6 +177,11 @@ func (nb *nodeBackend) NodeByKey(k key.NodePublic) (_ tailcfg.NodeID, ok bool) {
func (nb *nodeBackend) PeerByID(... | 2 | 2 | 0 | [{"id": "G0", "claim": "Since the method now returns any known node including the self node rather than only peers, it should be renamed from `PeerByID` to `NodeByID` and its call sites updated.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The... | null |
tailscale__tailscale__16137 | tailscale/tailscale | 16,137 | defect | 597d0e8fd5954965cdcd42b326ef460180406187 | f093e35fc753d435b369c768fba0299615506464 | syncs: fix AtomicValue.CompareAndSwap | Fix CompareAndSwap in the edge-case where
the underlying sync.AtomicValue is uninitialized
(i.e., Store was never called) and
the oldV is the zero value,
then perform CompareAndSwap with any(nil).
Also, document that T must be comparable.
This is a pre-existing restriction.
Fixes #16135 | diff --git a/syncs/syncs.go b/syncs/syncs.go
index 337fca7557f34f..e2c617cc9dc7a8 100644
--- a/syncs/syncs.go
+++ b/syncs/syncs.go
@@ -67,12 +67,18 @@ func (v *AtomicValue[T]) Swap(x T) (old T) {
if oldV != nil {
return oldV.(wrappedValue[T]).v
}
- return old
+ return old // zero value of T
}
// CompareAndSw... | 2 | 2 | 0 | [{"id": "G0", "claim": "The CompareAndSwap documentation comment says \"It panics if T is no comparable\" and should say \"is not comparable\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A non-nil to non-nil CompareAndSwap success test case sh... | null |
tailscale__tailscale__16181 | tailscale/tailscale | 16,181 | defect | cc988596a214e7bb429dc85e4413586c13ea99d3 | 5722770e45b8ccef5db0d33804a5491f8b9f61a5 | cmd/k8s-operator: Enhance DNS record handling for ProxyGroup egress | This update introduces support for DNS records associated with ProxyGroup egress services, ensuring that the ClusterIP Service IP is used instead of Pod IPs.
Fixes #15945
Image built at `ghcr.io/rajsinghtech/k8s-operator:v0.0.7`
Resulting `records.json` (Pods are `10.1.0.0/16` and services `10.0.0.0/16`)
``` ... | diff --git a/cmd/k8s-operator/dnsrecords.go b/cmd/k8s-operator/dnsrecords.go
index f91dd49ec255e9..7b52a2a35e8f2a 100644
--- a/cmd/k8s-operator/dnsrecords.go
+++ b/cmd/k8s-operator/dnsrecords.go
@@ -110,24 +110,9 @@ func (dnsRR *dnsRecordsReconciler) Reconcile(ctx context.Context, req reconcile.
return reconcile.Resu... | 21 | 14 | 4 | [{"id": "G0", "claim": "For ProxyGroup egress Services, fqdnForDNSRecord reads the tailscale.com/magic-dnsname annotation, which at that stage will not have been set, and an empty return kills the reconcile.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla... | null |
tailscale__tailscale__16204 | tailscale/tailscale | 16,204 | defect | 75a7d28b079d1b16448e75c014eb689583a4d175 | 6dac42fda83e4896f759bc54d2b7a258bad8331e | wgengine/magicsock: fix bpf fragmentation jump offsets | Fragmented datagrams would be processed instead of being dumped right
away. In reality, thse datagrams would be dropped anyway later so there
should functionally not be any change. Additionally, the feature is off
by default.
Closes #16203
Signed-off-by: Claus Lensbøl <claus@tailscale.com>
| diff --git a/wgengine/magicsock/magicsock_linux.go b/wgengine/magicsock/magicsock_linux.go
index c5df555cd4ecd6..34c39fe62b7731 100644
--- a/wgengine/magicsock/magicsock_linux.go
+++ b/wgengine/magicsock/magicsock_linux.go
@@ -66,10 +66,10 @@ var (
// fragmented, and we don't want to handle reassembly.
bpf.LoadAb... | 4 | 2 | 0 | [{"id": "G0", "claim": "The \"some fragment\" test case covers only one fragmentation scenario; more test cases with different fragment offset values should be added so the BPF filter is exercised for all fragmentation scenarios.", "category": "testing", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {... | null |
tailscale__tailscale__16223 | tailscale/tailscale | 16,223 | defect | 7b06532ea108bd7d12785125c2423a1a4e9987b3 | e8264bb30c9f98ba1c86b91de0db1dc56eb1daa9 | net/tlsdial: fix TLS cert validation of HTTPS proxies | If you had HTTPS_PROXY=https://some-valid-cert.example.com running a
CONNECT proxy, we should've been able to do a TLS CONNECT request to
e.g. controlplane.tailscale.com:443 through that, and I'm pretty sure
it used to work, but refactorings and lack of integration tests made
it regress.
It probably regressed wh... | diff --git a/cmd/proxy-test-server/proxy-test-server.go b/cmd/proxy-test-server/proxy-test-server.go
new file mode 100644
index 0000000000000..a6482ccd5db23
--- /dev/null
+++ b/cmd/proxy-test-server/proxy-test-server.go
@@ -0,0 +1,133 @@
+// Copyright (c) Tailscale Inc & AUTHORS
+// SPDX-License-Identifier: BSD-3-Claus... | 9 | 2 | 1 | [{"id": "G0", "claim": "strings.SplitSeq doesn't exist in the standard library, so this line should use strings.Split instead.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The proxy only accepts port-443 targets, which could limit testing flexibil... | null |
tailscale__tailscale__16262 | tailscale/tailscale | 16,262 | defect | 3219de4cb8f136456b211dc8bdf69aa4750a8c34 | b32d47b574280c9cae0278717b1c761009d9804a | cmd/k8s-operator: ensure that TLS resources are updated for HA Ingress | This PR fixes a bug described in #16259 where HA Ingress' ProxyGroup change broke the Ingress.
This change:
- ensures that the ServiceAccount on the RoleBinding for that allows proxies to read/write the TLS Secret is updated, so that if ProxyGroup has changed, the RoleBinding allows the new ProxyGroup's Pods acce... | diff --git a/cmd/k8s-operator/ingress-for-pg.go b/cmd/k8s-operator/ingress-for-pg.go
index 66d74292b2207d..cf788c35a3ad6d 100644
--- a/cmd/k8s-operator/ingress-for-pg.go
+++ b/cmd/k8s-operator/ingress-for-pg.go
@@ -252,7 +252,7 @@ func (r *HAIngressReconciler) maybeProvision(ctx context.Context, hostname strin
retur... | 2 | 2 | 0 | [{"id": "G0", "claim": "Remove the unnecessary empty line between rb.Subjects and the closing parenthesis in the rolebinding update function, which is inconsistent with the coding style used in the other update functions.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"},... | null |
tailscale__tailscale__16328 | tailscale/tailscale | 16,328 | defect | e92eb6b17bb59cd66cd78c90db3b285015ed5e11 | d6a87dac6cdbef13aea715131bcc235bbc1e2726 | cmd/k8s-operator: use state Secret for checking device auth | Previously, the operator checked the `ProxyGroup` status fields for information on how many of the proxies had successfully authed. Use their state `Secrets` instead as a more reliable source of truth.
Containerboot has written `device_fqdn` and `device_ips` keys to the state `Secret` since inception, and `pod_uid` ... | diff --git a/cmd/k8s-operator/proxygroup.go b/cmd/k8s-operator/proxygroup.go
index e7c0590b0dbb9..796191f29fc88 100644
--- a/cmd/k8s-operator/proxygroup.go
+++ b/cmd/k8s-operator/proxygroup.go
@@ -384,17 +384,13 @@ func (r *ProxyGroupReconciler) cleanupDanglingResources(ctx context.Context, pg
if err := r.deleteTail... | 5 | 4 | 1 | [{"id": "G0", "claim": "Instead of eagerly deleting the state Secret in maybeCleanup, rely on checking the Pod UID stored in the state Secret to determine whether the state belongs to the current Pod, as other reconcilers do.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id... | null |
tailscale__tailscale__16495 | tailscale/tailscale | 16,495 | defect | d15b2312c4fb7b8ea1f98c5c80f7f72aed784b5d | f128565e70bed1be6f7dc22be63b36e1f4137c64 | cmd/tailscale: format empty cities and countries as hyphens | When running `tailscale exit-node list`, an empty city or country name should be displayed as a hyphen "-". However, this only happened when there was no location at all. If a node provides a Hostinfo.Location, then the list would display exactly what was provided.
This patch changes the listing so that empty cities... | diff --git a/cmd/tailscale/cli/exitnode.go b/cmd/tailscale/cli/exitnode.go
index ad7a8ccee5b426..1050a5d4ffba7a 100644
--- a/cmd/tailscale/cli/exitnode.go
+++ b/cmd/tailscale/cli/exitnode.go
@@ -131,7 +131,7 @@ func runExitNodeList(ctx context.Context, args []string) error {
for _, country := range filteredPeers.Coun... | 1 | 1 | 0 | [{"id": "G0", "claim": "The noLocationData constant should be removed and its call sites changed to use \"\" directly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tailscale__tailscale__16496 | tailscale/tailscale | 16,496 | defect | 740b77df594f649830d151f64700caea5c341e60 | 6dfc2e7cb03a43f196dd9969353f1baa57680286 | cmd/tailscale/cli: add support for tailscale {up,set} --exit-node=auto:any | [2 commits]:
- Move `ParseAutoExitNodeID` and related tests from `ipnlocal` to `ipn`, and remove the now-unused `ipnlocal.isAutoExitNodeID`.
- Use `ipn.ParseAutoExitNodeID` to add CLI support for `auto:any`.
---
If the specified exit node string starts with `auto:` (i.e., can be parsed as an `ipn.ExitNodeExpr... | diff --git a/ipn/ipnlocal/local.go b/ipn/ipnlocal/local.go
index c54cb32d3125c..0190dc7a9d2b4 100644
--- a/ipn/ipnlocal/local.go
+++ b/ipn/ipnlocal/local.go
@@ -1890,7 +1890,7 @@ func (b *LocalBackend) applyExitNodeSysPolicyLocked(prefs *ipn.Prefs) (anyChange
// and update prefs if it differs from the current one.
... | 2 | 2 | 1 | [{"id": "G1", "claim": "Rename ParseAutoExitNodeStr to ParseAutoExitNodeString, spelling out \"String\" now that the function is exported package API.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "ParseAutoExitNodeStr should reject \"auto:\" wi... | null |
tailscale__tailscale__16580 | tailscale/tailscale | 16,580 | defect | 17c5116d469f79d5fba20e50fc414932f3ce681d | 4afd858c7642169696979004143afb1361ee354c | ipn/ipnlocal: use rendezvous hashing to traffic-steer exit nodes | With [auto exit nodes](https://tailscale.com/blog/auto-exit-nodes) enabled, the client picks exit nodes from the ones advertised in the network map. Usually, it picks the one with the highest priority score, but when the top spot is tied, it used to pick randomly. Then, once it made a selection, it would strongly prefe... | diff --git a/ipn/ipnlocal/local.go b/ipn/ipnlocal/local.go
index 62ab6d9047338d..0863d8781f6501 100644
--- a/ipn/ipnlocal/local.go
+++ b/ipn/ipnlocal/local.go
@@ -11,6 +11,7 @@ import (
"context"
"crypto/sha256"
"encoding/base64"
+ "encoding/binary"
"encoding/hex"
"encoding/json"
"errors"
@@ -7750,7 +7751,7... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment's issue reference should be changed from bare `#16551` to `tailscale/tailscale#16551` (a nit).", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
tailscale__tailscale__16685 | tailscale/tailscale | 16,685 | defect | 5dc11d50f787026055a0125f536e87287ce6899e | 7f5850e5c0313c6333ebaa1eaccc4216f7d3237c | cmd/k8s-operator,k8s-operator: allow setting a `priorityClassName` | Fixes #16682
Signed-off-by: Lee Briggs <lee@leebriggs.co.uk>
| diff --git a/cmd/k8s-operator/deploy/crds/tailscale.com_proxyclasses.yaml b/cmd/k8s-operator/deploy/crds/tailscale.com_proxyclasses.yaml
index fcf1b27aaf318..78ac72e169767 100644
--- a/cmd/k8s-operator/deploy/crds/tailscale.com_proxyclasses.yaml
+++ b/cmd/k8s-operator/deploy/crds/tailscale.com_proxyclasses.yaml
@@ -109... | 1 | 1 | 0 | [{"id": "G0", "claim": "The Kubernetes API documentation URL in the PriorityClassName doc comment should be kept on one line so it is more easily clickable.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
tailscale__tailscale__16691 | tailscale/tailscale | 16,691 | defect | a9f3fd1c67ca427aceee708f319a0a12df6a5de8 | 7969fe77c306ca48876b0c6b0038f76e7b8d5e8a | k8s-operator: add IPv6 support for DNS records | This change adds full IPv6 support to the Kubernetes operator's DNS functionality, enabling dual-stack and IPv6-only cluster support.
Changes:
- Add IP6 field to Records struct for storing IPv6 addresses
- Update DNS records reconciler to handle both IPv4 and IPv6 from EndpointSlices
- Support dual-stack services... | diff --git a/cmd/k8s-nameserver/main.go b/cmd/k8s-nameserver/main.go
index ca4b4493580836..d18761af1941cc 100644
--- a/cmd/k8s-nameserver/main.go
+++ b/cmd/k8s-nameserver/main.go
@@ -31,6 +31,9 @@ const (
tsNetDomain = "ts.net"
// addr is the the address that the UDP and TCP listeners will listen on.
addr = ":105... | 1 | 1 | 0 | [{"id": "G0", "claim": "Since the mutex only protects a map from concurrent access, the pull request should use a sync.RWMutex with .RLock()/.RUnlock() instead of a plain mutex for the lookup paths.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tailscale__tailscale__17189 | tailscale/tailscale | 17,189 | defect | 73bbd7cacaf1990926a24032c04e1fa379d0cf72 | b0ee2be4ba1fa6743bc39671c3a759f7e8c0e909 | feature/featuretags,cmd/omitsize: support feature dependencies | This produces the following omitsizes output:
Starting with everything and removing a feature...
tailscaled tailscale combined (linux/amd64)
27005112 18153656 39727288
- 7696384 - 7282688 -19607552 .. remove *
- 167936 - 110592 - 245760 .. remove acme
- 1925120 - 0 - 7340032 .. rem... | diff --git a/cmd/featuretags/featuretags.go b/cmd/featuretags/featuretags.go
index c34adbb3f1f3e9..4eabd5b711ee5d 100644
--- a/cmd/featuretags/featuretags.go
+++ b/cmd/featuretags/featuretags.go
@@ -14,6 +14,7 @@ import (
"strings"
"tailscale.com/feature/featuretags"
+ "tailscale.com/util/set"
)
var (
@@ -38,... | 2 | 2 | 0 | [{"id": "G0", "claim": "DepSet's name is ambiguous about dependency direction and could instead be plain `Deps` or better `Requirements`, since people never agree on the dependencies/dependents distinction.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
tailscale__tailscale__17493 | tailscale/tailscale | 17,493 | defect | ad6cf2f8f369ae54652a0808cda872ca558ab429 | 5ddb56c47f5aba9caa85f3b8e8e029fca16b3aee | cmd/containerboot: support egress to Tailscale Service FQDNs | Adds support for targeting FQDNs that are a Tailscale Service. Uses the same method of searching for Services as the tailscale configure kubeconfig command. This fixes using the tailscale.com/tailnet-fqdn annotation for Kubernetes Service when the specified FQDN is a Tailscale Service.
Fixes #16534
Change-Id: I42... | diff --git a/cmd/containerboot/egressservices.go b/cmd/containerboot/egressservices.go
index fe835a69e0b82..6b7c085ab2e2a 100644
--- a/cmd/containerboot/egressservices.go
+++ b/cmd/containerboot/egressservices.go
@@ -27,7 +27,6 @@ import (
"tailscale.com/kube/egressservices"
"tailscale.com/kube/kubeclient"
"tails... | 3 | 3 | 1 | [{"id": "G0", "claim": "tailnetTargetIPsForSvc swallows the error from resolveTailnetFQDN — the reviewer asks that the error be printed and the failure handled differently rather than logging a generic 'no backend addresses' message and skipping.", "category": "correctness", "verdict": "supported", "priority": "P1", "s... | null |
tailscale__tailscale__17502 | tailscale/tailscale | 17,502 | defect | 98a0ccc18aa3e5894b1219f6f4322d400f37fa8d | 1e4d62cc26cb55f113075a7f59a76a55c5a85912 | clientupdate, util/osshare, util/winutil, version: improve Windows GU… | …I filename resolution and WinUI build awareness
On Windows arm64 we are going to need to ship two different GUI builds; one for Win10 (GOARCH=386) and one for Win11 (GOARCH=amd64, tags += winui). Due to quirks in MSI packaging, they cannot both share the same filename. This requires some fixes in places where we ha... | diff --git a/clientupdate/clientupdate_windows.go b/clientupdate/clientupdate_windows.go
index b79d447ad4d303..5faeda6dd70e35 100644
--- a/clientupdate/clientupdate_windows.go
+++ b/clientupdate/clientupdate_windows.go
@@ -30,11 +30,6 @@ const (
// tailscale.exe process from running before the msiexec process runs an... | 1 | 1 | 1 | [{"id": "G0", "claim": "In cmdName, the branch that overrides the embedded GUI name with the fallback name should be gated on runtime.GOOS == \"windows\" (the GOOS check was dropped from the condition when it was rewritten for the new GUI-name handling).", "category": "correctness", "verdict": "supported", "priority": ... | null |
tailscale__tailscale__17637 | tailscale/tailscale | 17,637 | defect | d47c697748ec2cf0d3ca663811b094ec617529cd | ff95d528e6f9d20c9c89a75a5aa75249a77a50be | health: compare warnable codes to avoid errors on release branch | This compares the warnings we actually care about and skips the unstable
warnings and the changes with no warnings.
Fixes #17635
Signed-off-by: Claus Lensbøl <claus@tailscale.com>
| diff --git a/health/health_test.go b/health/health_test.go
index 60707177603e99..05cc735378d18e 100644
--- a/health/health_test.go
+++ b/health/health_test.go
@@ -739,21 +739,27 @@ func TestControlHealthNotifies(t *testing.T) {
ht.SetIPNState("NeedsLogin", true)
ht.GotStreamedMapResponse()
- // Expect ev... | 3 | 3 | 0 | [{"id": "G0", "claim": "Use constants from the tsconst package instead of duplicating the warnable title strings in the test.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The function returned by CompareWarnableTitle should be marked as a test... | null |
tailscale__tailscale__17752 | tailscale/tailscale | 17,752 | defect | db7dcd516f7da6792cd4fa44b97bc510102941c5 | 5620f2c19fef55eb49cac71ffef94bd2a91f9bf5 | ipn,cmd/tailscale/cli: set correct SNI name for TLS-terminated TCP Services | Fixes #17749. | diff --git a/cmd/tailscale/cli/serve_v2.go b/cmd/tailscale/cli/serve_v2.go
index 74458a950dbfc..9c07f8a8bb8d8 100644
--- a/cmd/tailscale/cli/serve_v2.go
+++ b/cmd/tailscale/cli/serve_v2.go
@@ -966,7 +966,7 @@ func (e *serveEnv) setServe(sc *ipn.ServeConfig, dnsName string, srvType serveTy
if e.setPath != "" {
re... | 1 | 1 | 0 | [{"id": "G0", "claim": "Fix the typo in the SetTCPForwardingForService doc comment: it reads 'is sets' where it should read 'sets'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
tailscale__tailscale__17804 | tailscale/tailscale | 17,804 | defect | bab5e68d0a67339de3c7f3b1fe6f0f8d84524a3a | 1021265962445a2b172dd868b1658ccd1a514409 | ipn/ipnlocal: remove all the weird locking (LockedOnEntry, UnlockEarly, etc) | Fixes #11649
Co-authored-by: @zofrex | diff --git a/feature/sdnotify.go b/feature/sdnotify.go
index e785dc1acc09a2..4e43f514cfc117 100644
--- a/feature/sdnotify.go
+++ b/feature/sdnotify.go
@@ -23,10 +23,14 @@ var HookSystemdStatus Hook[func(format string, args ...any)]
// It does nothing on non-Linux systems or if the binary was built without
// the sdno... | 9 | 6 | 1 | [{"id": "G0", "claim": "The TestStateMachineURLRace/runTestStateMachineURLRace test skipped with t.Skip should be fixed (rebased to the new locking model) rather than left skipped.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The TestWGEngineDownThenU... | null |
tailscale__tailscale__18030 | tailscale/tailscale | 18,030 | defect | bd29b189fe8b15783b59c63ec5ebbb2584a9d5f7 | d9b1e24a684e05640ae608c6a49b02dacca3316a | ipn/ipnlocal: fix panic in driveTransport on network error | When the underlying transport returns a network error, the RoundTrip method returns (nil, error). The defer was attempting to access resp without checking if it was nil first, causing a panic. Fix this by checking for nil in the defer.
Also changes driveTransport.tr from *http.Transport to http.RoundTripper and adds... | diff --git a/ipn/ipnlocal/drive.go b/ipn/ipnlocal/drive.go
index 7d6dc2427adaed..302b99832882d1 100644
--- a/ipn/ipnlocal/drive.go
+++ b/ipn/ipnlocal/drive.go
@@ -433,7 +433,7 @@ func (rbw *responseBodyWrapper) Close() error {
// b.Dialer().PeerAPITransport() with metrics tracking.
type driveTransport struct {
b *... | 1 | 1 | 0 | [{"id": "G0", "claim": "Rewrite the RoundTrip logging to avoid the defer instead, since it distracts from the control flow.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tailscale__tailscale__18089 | tailscale/tailscale | 18,089 | defect | f36eb81e6105401b814548393cc90673abe24639 | 91d05773f7af728397946a231326c1d68108da18 | cmd/tailscale,ipn: add Unix socket support for serve (rebases #16700) | Based on PR #16700 by @lox, adapted to current codebase.
Adds support for proxying HTTP requests to Unix domain sockets via tailscale serve unix:/path/to/socket, enabling exposure of services like Docker, containerd, PHP-FPM over Tailscale without TCP bridging.
Adaptations from original PR:
- Use net.Dialer.Dial... | diff --git a/cmd/tailscale/cli/serve_v2.go b/cmd/tailscale/cli/serve_v2.go
index 89d247be9f773..d474696b3bf86 100644
--- a/cmd/tailscale/cli/serve_v2.go
+++ b/cmd/tailscale/cli/serve_v2.go
@@ -138,6 +138,7 @@ var serveHelpCommon = strings.TrimSpace(`
<target> can be a file, directory, text, or most commonly the locati... | 4 | 4 | 1 | [{"id": "G0", "claim": "cmd/tailscale/cli/serve_v2_unix_test.go should use the modern `//go:build unix` constraint instead of `//go:build !windows` (which also leaves out plan9).", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In getTransport the dia... | null |
tailscale__tailscale__18263 | tailscale/tailscale | 18,263 | defect | 90b4358113d86b4fb06e89d4ae91ef8bcb6f6264 | 11fd9341bc77e67ecae0342a4df7ae95e13e2afc | ipn/ipnauth, safesocket: defer named pipe client's token retrieval util ipnserver needs it | An error returned by `net.Listener.Accept()` causes the owning `http.Server` to shut down. With the deprecation of `net.Error.Temporary()`, there's no way for the `http.Server` to test whether the returned error is temporary / retryable or not (see golang/go#66252).
Because of that, errors returned by `(*safesocket.... | diff --git a/ipn/ipnauth/ipnauth_windows.go b/ipn/ipnauth/ipnauth_windows.go
index 1138bc23d20fac..51e82ca14a7938 100644
--- a/ipn/ipnauth/ipnauth_windows.go
+++ b/ipn/ipnauth/ipnauth_windows.go
@@ -25,6 +25,12 @@ func GetConnIdentity(logf logger.Logf, c net.Conn) (ci *ConnIdentity, err error)
if !ok {
return nil,... | 1 | 1 | 1 | [{"id": "G0", "claim": "Split the token API into two methods — one that just checks and returns error or nil, and one that always returns a duplicated token handle — and remove the DuplicateHandle calls from ipnauth_windows.go in favour of having them in safesocket, to avoid token ownership concerns.", "category": "des... | null |
tailscale__tailscale__18278 | tailscale/tailscale | 18,278 | defect | 9c3a420e158e32e8dcfa8b63a0794d4296d9abe7 | 3f5a0b1a0e729bb918499b3e3b79342738538585 | cmd/derper: add --acme-email flag for GCP cert mode | GCP Certificate Manager requires an email contact on ACME accounts. Add --acme-email flag that is required for --certmode=gcp and optional for --certmode=letsencrypt.
Fixes #18277 | diff --git a/cmd/derper/cert.go b/cmd/derper/cert.go
index d383c82f011578..dfd77699051329 100644
--- a/cmd/derper/cert.go
+++ b/cmd/derper/cert.go
@@ -44,7 +44,7 @@ type certProvider interface {
HTTPHandler(fallback http.Handler) http.Handler
}
-func certProviderByCertMode(mode, dir, hostname, eabKID, eabKey strin... | 1 | 1 | 1 | [{"id": "G0", "claim": "Remove the log.Printf of GetCertificate errors that the PR adds in cmd/derper/derper.go, because on the wild internet it will be super spammy.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
tailscale__tailscale__18333 | tailscale/tailscale | 18,333 | defect | d451cd54a70152a95ad708592a981cb5e37395a8 | 80fbeb196a5eda867942533b8a6e9b340af63d34 | ssh/tailssh: send audit messages on SSH login (Linux) | Send LOGIN audit messages to the kernel audit subsystem on Linux when users successfully authenticate to Tailscale SSH. This provides administrators with audit trail integration via auditd or journald, recording details about both the Tailscale user (whois) and the mapped local user account.
The implementation uses ... | diff --git a/ssh/tailssh/auditd_linux.go b/ssh/tailssh/auditd_linux.go
new file mode 100644
index 00000000000000..e67edfccd0a450
--- /dev/null
+++ b/ssh/tailssh/auditd_linux.go
@@ -0,0 +1,169 @@
+// Copyright (c) Tailscale Inc & AUTHORS
+// SPDX-License-Identifier: BSD-3-Clause
+
+//go:build linux && !android
+
+packag... | 11 | 10 | 1 | [{"id": "G0", "claim": "User-controlled string fields in the audit message (hostname, ts_user, ts_node) are interpolated without quoting or escaping and could break audit log parsing, so all such fields should be quoted consistently.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intro... | null |
tailscale__tailscale__18972 | tailscale/tailscale | 18,972 | defect | 70de1113948dd03e72e10277be60411faf72d459 | a529739a29815ff7abbdbc537af6835b3d650424 | wgengine/netstack: allow UDP listeners to receive traffic on Service VIP addresses | Fixes UDP listeners on VIP Service addresses not receiving inbound traffic.
## Changes
- Modified shouldProcessInbound to check for registered UDP transport endpoints when processing packets to service VIPs
- Uses FindTransportEndpoint to determine if a UDP listener exists for the destination VIP/port
- Supports ... | diff --git a/wgengine/netstack/netstack.go b/wgengine/netstack/netstack.go
index 59c2613451fa5..ce04182bc6bf0 100644
--- a/wgengine/netstack/netstack.go
+++ b/wgengine/netstack/netstack.go
@@ -1205,6 +1205,34 @@ func (ns *Impl) shouldProcessInbound(p *packet.Parsed, t *tstun.Wrapper) bool {
return true
}
}
... | 2 | 2 | 2 | [{"id": "G0", "claim": "Add unit tests to netstack_test.go::TestShouldProcessInbound covering the UDP-on-service-VIP code path.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In the udp-on-service-vip-no-listener-ipv6 test the dst address should be the ... | null |
tailscale__tailscale__19086 | tailscale/tailscale | 19,086 | defect | 34267d5afaa2c8996928ccdd25c168dfd47ab5d8 | 5a6f20432c74a189a835f279c2e7b7971757f25d | ipn, cmd/tailscale/cli: allow setting FQDN sans dot as an exit node | In #10057, @seigel pointed out an inconsistency in the help text for `exit-node list` and `set --exit-node`:
1. Use `tailscale exit-node list`, which has a column titled "hostname" and tells you that you can use a hostname with `set --exit-node` ("followed by the hostname or IP"):
```console
$ tailscale... | diff --git a/cmd/tailscale/cli/cli_test.go b/cmd/tailscale/cli/cli_test.go
index bdf9116a01d7c..221bf55fa9246 100644
--- a/cmd/tailscale/cli/cli_test.go
+++ b/cmd/tailscale/cli/cli_test.go
@@ -769,7 +769,7 @@ func TestPrefsFromUpArgs(t *testing.T) {
args: upArgsT{
exitNodeIP: "foo",
},
- wantErr: `invali... | 1 | 1 | 0 | [{"id": "G0", "claim": "The code repeats ps.DNSName where the fqdn variable could be used; it would read better to break out fqdn and use it everywhere (non-blocking style observation).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
tailscale__tailscale__19120 | tailscale/tailscale | 19,120 | defect | b4519e97c3003774c5ae77d46adc4ab0be6a2c71 | 87a2289e7e4849511a49c94ed0928e78273447bb | ipn/ipnlocal: add netmap mutations to the ipn bus | updates tailscale/tailscale#1909
This adds a new new NotifyWatchOpt that allows you to receive PeerChange events (derived from node mutations) on the IPN bus in lieu of a complete netmap. We'll continue to send the full netmap for any map response that includes it, but for mutations, sending PeerChange events give... | diff --git a/ipn/backend.go b/ipn/backend.go
index a5830565bfffa..a068d76586c0f 100644
--- a/ipn/backend.go
+++ b/ipn/backend.go
@@ -87,6 +87,12 @@ const (
NotifyInitialSuggestedExitNode NotifyWatchOpt = 1 << 10 // if set, the first Notify message (sent immediately) will contain the current SuggestedExitNode if avail... | 15 | 14 | 4 | [{"id": "G0", "claim": "nodeMutationsToPeerChanges should return (changes []*tailcfg.PeerChange, ok bool), where ok reports whether the muts were successfully converted to peer changes, so that when a conversion is impossible or has not been implemented yet the full netmap is still sent to the GUI/CLI, and the failure ... | null |
tailscale__tailscale__19184 | tailscale/tailscale | 19,184 | defect | 51a117f4941815d0bdea25faa737076a26e8cd1d | aacad64866e432edef2e14aaa36a35ae6d308517 | tstest: add test for connectivity to off-tailnet CGNAT endpoints | This test is currently known-broken, but work is underway to fix it. tailscale/corp#36270 tracks this work.
Updates tailscale/corp#36270
Fixes tailscale/corp#36272 | diff --git a/cmd/tta/tta.go b/cmd/tta/tta.go
index dbdbf5ddfbe40b..c4092a25da8883 100644
--- a/cmd/tta/tta.go
+++ b/cmd/tta/tta.go
@@ -38,6 +38,17 @@ import (
"tailscale.com/version/distro"
)
+// connContextKeyType is the type of connContextKey, which isn't of type
+// `string` to avoid collisions while being used... | 5 | 5 | 1 | [{"id": "G0", "claim": "A note explaining why /usr/local/bin/busybox can be assumed to exist on the host running tta would be helpful for readers.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "sendHostNetworkPing silently discards the error retur... | null |
tailscale__tailscale__19212 | tailscale/tailscale | 19,212 | defect | 4ffb92d7f6bcc91703f29f40da55eb062aa7a430 | ee854b5486884f9527bc8553b8effd26a984f0b9 | wgengine/magicsock: send out disco keys over TSMP periodically | Instead of sending out disco keys via TSMP once, send them out in
intervals of 60+ seconds. The trigger is still callmemaaybe and the keys
will not be send if no direct connection needs to be established.
This fixes a case where a node can have stale keys but have communicated
with the other peer before, leading to an... | diff --git a/wgengine/magicsock/endpoint.go b/wgengine/magicsock/endpoint.go
index f322ebaebf3a1d..ac02c3c9e4ee7c 100644
--- a/wgengine/magicsock/endpoint.go
+++ b/wgengine/magicsock/endpoint.go
@@ -40,6 +40,11 @@ import (
var mtuProbePingSizesV4 []int
var mtuProbePingSizesV6 []int
+// discoKeyAdvertisementInterval... | 3 | 3 | 0 | [{"id": "G0", "claim": "Declare discoKeyAdvertisementInterval as a const instead of a package-level var.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test buffer bytes added as `0o0` could as well be plain `0`, since plain 0 does not depen... | null |
tailscale__tailscale__19221 | tailscale/tailscale | 19,221 | defect | 990d25c97d8d6b244a1d76c4d13736bdbcfb2a98 | 9f9de8bd2ef6110084581ca0575144aa86c3f46b | cmd/containerboot,cmd/k8s-proxy,kube: add authkey renewal to k8s-proxy | This PR is a follow up to https://github.com/tailscale/tailscale/pull/16450 in order to give `cmd/k8s-proxy` the same authkey renewal mechanisms as `cmd/containerboot`.
To do this, this PR refactors containerboot's existing reissue logic into a shared `kube/authkey` package and also fixes a bug where the 60-second ... | diff --git a/cmd/containerboot/kube.go b/cmd/containerboot/kube.go
index 73f5819b406db..3e97710da6c92 100644
--- a/cmd/containerboot/kube.go
+++ b/cmd/containerboot/kube.go
@@ -21,6 +21,7 @@ import (
"github.com/fsnotify/fsnotify"
"tailscale.com/client/local"
"tailscale.com/ipn"
+ "tailscale.com/kube/authkey"
"... | 5 | 2 | 0 | [{"id": "G0", "claim": "In the early-cancel watch goroutine in cmd/k8s-proxy/k8s-proxy.go, errors from w.Next() (and the initial WatchIPNBus call) are silently swallowed with no logging; the reviewer asks whether that is fine and whether they should be logged.", "category": "maintainability", "verdict": "supported", "p... | null |
tailscale__tailscale__19222 | tailscale/tailscale | 19,222 | defect | eaa5d9df4b83a944b023581a35af3b71527a3684 | a6aee5a7672fc300a633911904eb93f0d8cede77 | derp/derpserver: add per-connection receive rate limiting | Add server-side per-client bandwidth enforcement using TCP backpressure.
When configured, the server calls WaitN after reading each DERP frame,
which delays the next read, fills the TCP receive buffer, shrinks
the TCP window, and naturally throttles the sender — no packets are dropped.
- Rate limiting is on the r... | diff --git a/cmd/derper/derper.go b/cmd/derper/derper.go
index 87f9a0bc084e48..767afac6b4c450 100644
--- a/cmd/derper/derper.go
+++ b/cmd/derper/derper.go
@@ -87,6 +87,9 @@ var (
acceptConnLimit = flag.Float64("accept-connection-limit", math.Inf(+1), "rate limit for accepting new connection")
acceptConnBurst = flag... | 10 | 10 | 2 | [{"id": "G0", "claim": "The token bucket should be applied fairly to all packets, at least to start, rather than only to non-DISCO send-packet frames inside handleFrameSendPacket (restated as: what are the pros and cons of limiting only frame send packet, and shouldn't other frame types be subject too?).", "category": ... | null |
tailscale__tailscale__19223 | tailscale/tailscale | 19,223 | defect | ffaebd71fbacb8c8abc35820dd59bc7c7c4b0fb2 | 756d9a89fdd6408903676178017eba09aa39ab43 | wgengine/userspace: add extra check for tsmp learned keys in engine | If an entry in the tsmpLearnedDisco does not match the disco key of the
key currently being processed, overwrite the key, and leave the entry in
the map for later processing.
In reality, this should not happen, but is put in as a safety measure
with logging of the situation so we can replicate the behaviour and
correc... | diff --git a/wgengine/userspace.go b/wgengine/userspace.go
index 5b81206d09c77..ac04c6e26e1c0 100644
--- a/wgengine/userspace.go
+++ b/wgengine/userspace.go
@@ -1133,14 +1133,34 @@ func (e *userspaceEngine) Reconfig(cfg *wgcfg.Config, routerCfg *router.Config,
// If the key changed, mark the connection for reconf... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment on the unexpected key-mismatch branch should say more explicitly which key it is talking about, e.g. that the new disco key does not match what was received via TSMP for this peer.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tailscale__tailscale__19226 | tailscale/tailscale | 19,226 | defect | eaa5d9df4b83a944b023581a35af3b71527a3684 | 8283700e61ed64aa0e41750b804e897afed23ded | ipn/ipnlocal,net/netmon: make frequent darkwake more efficient | Investigating battery costs on a busy tailnet I noticed a large number of nodes regularly reconnecting to control and DERP. In one case I was able to analyze closely `pmset` reported the every-minute wake-ups being triggered by bluetooth. The node was by side effect reconnecting to control constantly, and this was at t... | diff --git a/ipn/ipnlocal/local.go b/ipn/ipnlocal/local.go
index 5d3bbd36eae6e2..730f3590bebfc2 100644
--- a/ipn/ipnlocal/local.go
+++ b/ipn/ipnlocal/local.go
@@ -582,7 +582,7 @@ func NewLocalBackend(logf logger.Logf, logID logid.PublicID, sys *tsd.System, lo
// Call our linkChange code once with the current state.... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new ChangeDelta API takes both a timeJumped bool and a duration; the duration being non-zero could serve as the jump indicator instead, which would also remove the ambiguous (true, 0) call in the test.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tailscale__tailscale__19251 | tailscale/tailscale | 19,251 | defect | 5ba3015b48f6b02a71e1c27d44749af9522de57d | 369ac776532be2269bfefcd54101e591c39ef667 | cmd/cloner, cmd/viewer: handle named map/slice types with Clone methods | The cloner and viewer code generators didn't handle named types
with basic underlying types (map/slice) that have their own Clone
or View methods. For example, a type like:
type Map map[string]any
func (m Map) Clone() Map { ... }
func (m Map) View() MapView { ... }
When used as a struct field, the... | diff --git a/cmd/cloner/cloner.go b/cmd/cloner/cloner.go
index 9a5ff3de2bbddd..ab4a7b22f6be85 100644
--- a/cmd/cloner/cloner.go
+++ b/cmd/cloner/cloner.go
@@ -129,6 +129,12 @@ func gen(buf *bytes.Buffer, it *codegen.ImportTracker, typ *types.Named) {
}
continue
}
+ // Named types with basic underlying t... | 2 | 2 | 1 | [{"id": "G0", "claim": "The generated StructWithNamedMapView.Attrs() accessor returns the NamedMap itself, so the caller can mutate the underlying map directly and the view leaks a mutable field value, which breaks the point of a read-only view.", "category": "correctness", "verdict": "supported", "priority": "P1", "sc... | null |
tailscale__tailscale__19261 | tailscale/tailscale | 19,261 | defect | 86f42ea87bf8e701ec784a1aa2106fa6a796af14 | 3df6b6bcf121565a88d704e0ccdd5cc0ee290b1d | control/controlclient: add rwlock to peers in mapsession | After moving around locks in 4334dfa7d5ccbee1daf5acf30b33557bbca66525,
a data race were made possible.
Introduce an RWlock to the mapSession itself for fetching peers.
Fixes #19260
Signed-off-by: Claus Lensbøl <claus@tailscale.com>
| diff --git a/control/controlclient/map.go b/control/controlclient/map.go
index 18e79ebc62fdf0..2f6e8652f9767c 100644
--- a/control/controlclient/map.go
+++ b/control/controlclient/map.go
@@ -82,6 +82,8 @@ type mapSession struct {
// changed.
onSelfNodeChanged func(*netmap.NetworkMap)
+ // mu protects the fields k... | 3 | 2 | 2 | [{"id": "G0", "claim": "sortedPeers reads ms.peers without holding the new lock, and should either take the lock or be renamed sortedPeersLocked if callers already hold it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "After netmap() returns, the s... | null |
tailscale__tailscale__19283 | tailscale/tailscale | 19,283 | defect | 8a7e160a6e624965206d5dfa0ba6355be936b6de | a98eb710af071e7679862ddd340dd555c74e11ae | tsweb: add TS_DEBUG_TRUSTED_CIDRS envknob to debug | Add a new envknob that allows connections from trusted CIDR ranges to access debug endpoints without Tailscale authentication. This is useful for in-cluster scrapers like Prometheus that are not on a tailnet, do not have static IP addresses and cannot use debug keys.
Fixes #19282 | diff --git a/tsweb/debug_test.go b/tsweb/debug_test.go
index b46a3a3f37c32..79c686b6b95d9 100644
--- a/tsweb/debug_test.go
+++ b/tsweb/debug_test.go
@@ -8,7 +8,9 @@ import (
"io"
"net/http"
"net/http/httptest"
+ "net/netip"
"runtime"
+ "slices"
"strings"
"testing"
)
@@ -206,3 +208,82 @@ func ExampleDebugHa... | 1 | 1 | 0 | [{"id": "G0", "claim": "The intent of TS_DEBUG_TRUSTED_CIDRS — that it supersedes the IsTailscaleIP check above rather than being meant only for CIDRs not assigned by Tailscale — is not obvious and should be documented someplace.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introdu... | null |
tailscale__tailscale__19301 | tailscale/tailscale | 19,301 | defect | 9e68841939170ae132935e26e5e200066b1f62c3 | 0dd8abed5d430c5a44820e8fe91ccf437dc44e93 | tstest/natlab/vnet: add multi-NIC node support, DHCP fixes, and VIPs | Multi-NIC support:
- Add nodeNIC type and node.extraNICs for secondary network interfaces
- Add netForMAC/macForNet to route packets to the correct network by MAC
- Update initFromConfig to allocate a MAC + LAN IP per network
- Fix handleEthernetFrameFromVM, ServeUnixConn to use netForMAC
- Fix MACOfIP, write... | diff --git a/tstest/natlab/vnet/conf.go b/tstest/natlab/vnet/conf.go
index ccccb8e21902e9..408986f3f2c94e 100644
--- a/tstest/natlab/vnet/conf.go
+++ b/tstest/natlab/vnet/conf.go
@@ -72,6 +72,13 @@ func nodeMac(n int) MAC {
return MAC{0x52, 0xcc, 0xcc, 0xcc, 0xcc, byte(n)}
}
+// nodeNICMac returns the MAC for the ... | 3 | 3 | 0 | [{"id": "G0", "claim": "The Node.LanIP doc comment should reference the Server type (instead of plain \"the server\") and documentation should be added to Server explaining its purpose.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The extra-NICs... | null |
tailscale__tailscale__19308 | tailscale/tailscale | 19,308 | defect | 9e68841939170ae132935e26e5e200066b1f62c3 | dd2ec27c9970cdac4c77fd00c694517f58390556 | control/controlclient: improve filter on netmap updates | The previous filters would allow for a handful of subtle issues such as
updating the last seen date when the key or online status had not
changed, and making online keys unconditionally make an engine update.
These have been fixed along side making no change updates from TSMP into
a no-op for the engine so we don't ha... | diff --git a/control/controlclient/map.go b/control/controlclient/map.go
index c8cbdbce5124e1..10c2b0d561162f 100644
--- a/control/controlclient/map.go
+++ b/control/controlclient/map.go
@@ -298,7 +298,12 @@ func (ms *mapSession) handleNonKeepAliveMapResponse(ctx context.Context, resp *t
ms.patchifyPeersChanged(res... | 3 | 2 | 0 | [{"id": "G0", "claim": "Use `== 0` instead of `< 1` when checking `len(resp.PeersChangedPatch)`, since len will never report a negative value.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment on the TSMP same-key rejection branch shoul... | null |
tailscale__tailscale__19314 | tailscale/tailscale | 19,314 | defect | 85d6ba9473cdeb62329ad71940290cad7ef9dc6e | d6b9b23b029c45eb7104ceb4c8a7c385d1550bf8 | cmd/derper,derp: add --rate-config file with SIGHUP reload | Add a --rate-config flag pointing to a JSON file for per-client receive
rate limits (bytes/sec and burst bytes). The config is reloaded on SIGHUP,
updating all existing client connections live. The --per-client-rate-limit
and --per-client-rate-burst flags are removed in favor of the config file.
In derpserver, ra... | diff --git a/cmd/derper/derper.go b/cmd/derper/derper.go
index 429aff3614864..0d7a5db069a18 100644
--- a/cmd/derper/derper.go
+++ b/cmd/derper/derper.go
@@ -89,6 +89,7 @@ var (
perClientRateLimit = flag.Uint("per-client-rate-limit", 0, "per-client receive rate limit in bytes/sec; 0 means unlimited. Mesh peers are e... | 18 | 17 | 2 | [{"id": "G0", "claim": "Perhaps the --rate-config file could sit alongside the existing --config file (which right now just contains the private key) instead of being kept separate.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Since the pull request adds... | null |
tailscale__tailscale__19315 | tailscale/tailscale | 19,315 | defect | dca1d8eea1a6d7f36bf0d78ba699f074ff1ea527 | 361f9b3c29d77abf79c1d72d507dd379997a5254 | util/linuxfw,wgengine/router: allow incoming CGNAT range traffic with nodeattr | Clients with the newly added node attribute
`"disable-linux-cgnat-drop-rule"` will not automatically drop inbound traffic on non-Tailscale network interfaces with the source IP in the CGNAT IP range. This is an initial proof-of-concept for enabling connectivity with off-Tailnet CGNAT endpoints.
Fixes tailscale/corp... | diff --git a/ipn/ipnlocal/local.go b/ipn/ipnlocal/local.go
index 8e8b25f1c8724..0356544ebb5b5 100644
--- a/ipn/ipnlocal/local.go
+++ b/ipn/ipnlocal/local.go
@@ -5614,13 +5614,14 @@ func (b *LocalBackend) routerConfigLocked(cfg *wgcfg.Config, prefs ipn.PrefsView
}
rs := &router.Config{
- LocalAddrs: unmapI... | 7 | 5 | 2 | [{"id": "G0", "claim": "Simplify the CGNAT handling in linuxRouter.Set by tracking the mode in a single state variable (cgnatMode) and passing only the wanted mode to setCGNATDropModeLocked, getting rid of dropCGNAT and the confusing current/next derivation (which can delete and immediately restore the same rule) and d... | null |
tailscale__tailscale__19337 | tailscale/tailscale | 19,337 | defect | ec0b23a21f592733fad061ccf218f87c736e81ab | ea629e17b71cff660524f9ce966de35c4008af41 | util/linuxfw: fix nil deref in nftables chain check | Fix a panic in getOrCreateChain when the kernel lacks nftables support
(CONFIG_NF_TABLES). When the nftables netlink connection fails, chain
objects returned by getChainFromTable can have nil Hooknum and Priority
fields. Dereferencing these caused tailscaled to SIGSEGV during router
configuration, which manifested as t... | diff --git a/util/linuxfw/nftables_runner.go b/util/linuxfw/nftables_runner.go
index cdb1c5bfbbfb2..7b5bc3fa8f2a7 100644
--- a/util/linuxfw/nftables_runner.go
+++ b/util/linuxfw/nftables_runner.go
@@ -453,7 +453,7 @@ func getOrCreateChain(c *nftables.Conn, cinfo chainInfo) (*nftables.Chain, error
// type/hook/priori... | 1 | 1 | 0 | [{"id": "G0", "claim": "In getOrCreateChain, the nil check would be better done earlier and given a distinct error message, such as errors.New(\"no nftables support\").", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tailscale__tailscale__19365 | tailscale/tailscale | 19,365 | defect | 674f866eccf727b59d24cdb09a990dc403892e4c | 7d199d2c84e3d2487aee2b0ae872aa8cc074d43b | wgengine: replace reflect.DeepEqual with typed Equal for maybeReconfi… | …gInputs
reflect.DeepEqual is expensive and allocates heavily. Replace it with a field-by-field comparison that does zero allocations.
Adds tests and benchmarks for the new Equal method.
Fixes #19363 | diff --git a/wgengine/userspace.go b/wgengine/userspace.go
index 1b77d4b97ed7f1..ee8fa937712de0 100644
--- a/wgengine/userspace.go
+++ b/wgengine/userspace.go
@@ -14,7 +14,6 @@ import (
"maps"
"math"
"net/netip"
- "reflect"
"runtime"
"slices"
"strings"
@@ -793,6 +792,8 @@ func (e *userspaceEngine) isActiveS... | 3 | 2 | 2 | [{"id": "G0", "claim": "A test should be added that forces Equal to be updated when a field is added - fixed test values with non-zero values in all fields, checked via reflection so the test must be updated when fields change and forced to differ on each one - otherwise adding a field could silently lead to incorrect ... | null |
tailscale__tailscale__19399 | tailscale/tailscale | 19,399 | defect | 75819aeed07dfbae2d64ab0ef66a6e49aed026ef | c581f3d950d807c785c085c4fcc65a330acce246 | derp/derpserver: implement hierarchical token bucket rate limiting | By adding a server-global parent bucket. Per-client rate limiting is subject to the parent bucket if global rate limiting is enabled.
This implementation is experimental, and all related APIs should be considered unstable.
Updates tailscale/corp#40291 | diff --git a/derp/derpserver/derpserver.go b/derp/derpserver/derpserver.go
index f05f94f09911b0..3bb37eccbab00c 100644
--- a/derp/derpserver/derpserver.go
+++ b/derp/derpserver/derpserver.go
@@ -181,7 +181,11 @@ type Server struct {
verifyClientsURL string
verifyClientsURLFailOpen bool
- mu syncs.Mu... | 6 | 2 | 1 | [{"id": "G0", "claim": "TestLoadRateConfig creates a temp file with os.CreateTemp and writes JSON but never closes the file handle, which can leak FDs and be problematic on Windows where an open handle may prevent reads/cleanup, so the file should be closed (e.g. defer f.Close()) before LoadRateConfig is called.", "cat... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.