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
zeroturnaround__zt-exec__107
zeroturnaround/zt-exec
107
defect
933f571414836889e7162152293c595b49baa8ae
190dfcaeca9783f09e5f7229c7d754ff94bc81d6
LogOutputStream.create(LineConsumer)
So instead of creating an anonymous class it can be one-liner with lambda expression.
diff --git a/src/main/java/org/zeroturnaround/exec/stream/LogOutputStream.java b/src/main/java/org/zeroturnaround/exec/stream/LogOutputStream.java index 53cdc32..db8b3a5 100644 --- a/src/main/java/org/zeroturnaround/exec/stream/LogOutputStream.java +++ b/src/main/java/org/zeroturnaround/exec/stream/LogOutputStream.java...
4
3
1
[{"id": "G0", "claim": "The javadoc of the new LineConsumer interface and create() factory method should be reworded, e.g. 'Java versions earlier than 8' and a factory-method description with @param/@return, per the attached suggestions.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": ...
null
zesterer__flume__138
zesterer/flume
138
defect
fcf384956a7badd003c4eca43da5174f4e0c86a0
e428500630e2aa2af44e411a4ed10a5cff16d168
Add spinlock implementation without `std::thread::sleep`
~This pull request adds a `spin-plain` feature that uses a spinlock-based locking system like the `spin` feature does, but without using `std::thread::sleep`. Closes #137.~ Edit: This pull request changes the `spin` feature to only use `std::thread::sleep` on Unix and Windows. Closes #137. Some targets like `wasm32...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 37692e1..6b82f08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- `spin-plain` feature that switches the locking implementation to a plain spinlock without `std::...
2
2
1
[{"id": "G0", "claim": "The spinlock variant should not be exposed as a separate feature; the use of `thread::sleep` should instead be switched automatically based on whether the target platform is supported.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":...
null
zesterer__flume__17
zesterer/flume
17
defect
6756057c3d8af39c912349e2a42e9e0e1323356d
b1b1b1b158403d394d0af94fc7d879a5d868d8bc
actions: Add multi-OS builds
This PR added Actions build config for macOS, Windows, and their 32-bit versions. Some timeout tests are disabled due to the timeout exceeded unexpectedly, the tracking issue is #41 .
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 6738b0b..b530903 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -8,12 +8,50 @@ on: jobs: build: - - runs-on: ubuntu-latest - + runs-on: ${{ matrix.os }} + strategy: + matrix: + build: [stab...
2
2
1
[{"id": "G0", "claim": "The timeout tests fail spuriously on macOS and Windows CI because of scheduler timing error, so the timing tolerance (max_error or the sleep duration) needs increasing, or the failing tests need cfg-disabling on those platforms, to keep the new multi-OS builds green.", "category": "testing", "ve...
null
zesterer__pollster__11
zesterer/pollster
11
defect
92c225c2fe55387b105f274c33e61e16f7e3f5c9
f603352136af68db5df07b9d826e21f401e85948
Add proc-macro
This adds `#[pollster::main]` and `#[pollster::test]`. I was also careful to always return the inputted code back if we fail somewhere, otherwise Rust will complain in a binary that there is no `fn main()` function anywhere. Additionally I introduced a `crate` attribute that enables defining a different path to `...
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3c13d1b..3092d6a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -20,3 +20,14 @@ jobs: run: cargo build --verbose - name: Run tests run: cargo test --verbose + + build-with-macro: + + runs-on: u...
3
1
1
[{"id": "G0", "claim": "Perhaps `pollster-main` or `pollster-rt` would be a better name for the macro crate than `pollster-macro`.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Consider emitting `::#crate_name` in the generated `block_on` call so a fully-...
null
zeux__pugixml__119
zeux/pugixml
119
defect
f53bddd7d5c79c35145ab506e48b18c457026543
c7c7349cb7935d8cfcdd241e6d401a89567e89eb
Add C++11 'override' specifier
In a member function declaration or definition, 'override' ensures that the function is virtual and is overriding a virtual function from the base class. The program is ill-formed (a compile-time error is generated) if this is not true. Since version 5.1, GCC supports flag '-Wsuggest-override', which warns if 'override...
diff --git a/src/pugixml.hpp b/src/pugixml.hpp index 09bd6923d..898dab8cc 100644 --- a/src/pugixml.hpp +++ b/src/pugixml.hpp @@ -72,6 +72,15 @@ # endif #endif +// If no API for functions is defined, assume default +#ifndef PUGIXML_OVERRIDE +# if __cplusplus >= 201103 +# define PUGIXML_OVERRIDE override +# else +# ...
1
1
0
[{"id": "G0", "claim": "The comment above the PUGIXML_OVERRIDE macro definition was copied from elsewhere in the header and is incorrect.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
zeux__pugixml__300
zeux/pugixml
300
defect
6202519ca60c71ed85fb60f9b7acae4cdefb6cb2
b28ef74076833fa64a9e2b0564e54a66c7084f15
Custom precision
Attempt to fix #285
diff --git a/src/pugixml.cpp b/src/pugixml.cpp index af33ef80a..aa8296eae 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -4665,19 +4665,19 @@ PUGI__NS_BEGIN } template <typename String, typename Header> - PUGI__FN bool set_value_convert(String& dest, Header& header, uintptr_t header_mask, float value) + PU...
5
5
3
[{"id": "G0", "claim": "The precision argument should be exposed as a new set_value overload (e.g. bool set_value(float value); bool set_value(float value, int precision);) instead of a default argument on the existing overload, because adding a default argument breaks ABI compatibility.", "category": "design", "verdic...
null
zeux__pugixml__522
zeux/pugixml
522
defect
363ebdde91214e456943822ddf422860af8bb54d
104480960ca67d263091b92e9ca2c1eec59abf27
Followup on pr 490
Fixes comments in https://github.com/zeux/pugixml/pull/490
diff --git a/src/pugixml.cpp b/src/pugixml.cpp index 60b55da3a..f26436282 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -5329,11 +5329,16 @@ namespace pugi return impl::strcpy_insitu(_attr->name, _attr->header, impl::xml_memory_page_name_allocated_mask, rhs, impl::strlength(rhs)); } - PUGI__FN bool xml_a...
2
1
1
[{"id": "G0", "claim": "The no-size xml_attribute::set_value now delegates to the new size overload while xml_node::set_value and xml_text::set keep their own original implementations; the reviewer asks either to keep the original attribute code as is or to have the other set_value methods call the new overload with si...
null
zeux__pugixml__576
zeux/pugixml
576
defect
980cf57ff4d21e4734c847f0772c1f98fcbff86f
a28252205adf5edcac5e2076a4a49f4eece60994
Implement parse_merge_pcdata
Enhancement for merging PCDATA if no intermediary nodes are parsed between them. Fixes #546.
diff --git a/docs/manual.adoc b/docs/manual.adoc index 6464950c2..592d41314 100644 --- a/docs/manual.adoc +++ b/docs/manual.adoc @@ -749,6 +749,8 @@ These flags control the resulting tree contents: * [[parse_embed_pcdata]]`parse_embed_pcdata` determines if PCDATA contents is to be saved as element values. Normally ele...
4
3
2
[{"id": "G0", "claim": "Format the new strconcat declaration as `strconcat(char_t* dst, const char_t* src)` instead of `strconcat(char_t* dst,const char_t* src)` (missing spaces after the asterisk and comma, and trailing whitespace on the preceding comment line).", "category": "style", "verdict": "supported", "priority...
null
zeux__pugixml__633
zeux/pugixml
633
defect
3b17184379fcaaeb7f1fbe08018b7fedf2640b3b
afab50c84593f8641e04016bf114d96ca894a3ef
Initial support for std::string_view
Based on work from @brandl-muc Initial PR for supporting std::string_view as laid out in https://github.com/zeux/pugixml/issues/626 * Add a define guard to make initial availability opt-in * Add includes, typedefs, and support for WCHAR mode * Add overloads for set_name/set_value/set functions, which already hav...
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf6948b83..0b460b7e6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: matrix: os: [ubuntu, macos] compiler: [g++, clang++] - defines: [standard, PUGIXML_WCHAR_MO...
1
1
0
[{"id": "G0", "claim": "The new availability macro should be named PUGIXML_HAS_STRING_VIEW instead of PUGI_HAS_STRING_VIEW, since the PUGI_ prefix is only used for defines internal to pugixml.cpp.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
zeux__pugixml__83
zeux/pugixml
83
defect
e133764f33572c9bca205b0c19fc981df48e7e15
eaf8341172b0b14e093da524b6326558b0ce43b9
Make C++ standards testable
For Makefile-based builds, C++ standards can now be set using the variable `cxxstd`. Using this, tests for C++98, C++03, and C++11 are added to the Travis CI testset.
diff --git a/.travis.yml b/.travis.yml index a7e4840c7..b627c3420 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ -sudo: false language: cpp +sudo: required +dist: trusty os: - linux - osx @@ -10,5 +11,8 @@ env: script: - make test config=coverage defines=$DEFINES -j2 - make test config=releas...
4
4
1
[{"id": "G0", "claim": "The added -W flag in CXXFLAGS is redundant since -W is a legacy name for -Wextra, and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new cxxstd Makefile option should default to c++11 instead of 'de...
null
zfogg__ascii-chat__148
zfogg/ascii-chat
148
defect
090dfcb2b2fb90ae6fdb384bc117249c16cefe4f
8f4392b2e9e6ddbbcadd2658bfb3d5553bc49d5a
feat(client): add --strip-ansi and improve piped snapshot output
## Summary This PR adds support for clean ASCII art output when piping or redirecting stdout, making it easy to take ASCII selfies and save them to files. ### New Features - **`--strip-ansi` option**: Removes ALL ANSI escape sequences from output, producing completely plain ASCII text - **RLE expansion**: Automatica...
diff --git a/cmake/targets/SourceFiles.cmake b/cmake/targets/SourceFiles.cmake index eff525eb0..59897aaee 100644 --- a/cmake/targets/SourceFiles.cmake +++ b/cmake/targets/SourceFiles.cmake @@ -148,6 +148,7 @@ list(APPEND SIMD_SRCS lib/image2ascii/simd/ascii_simd_color.c lib/image2ascii/simd/common.c lib/...
7
2
1
[{"id": "G0", "claim": "The log filename passed by asciichat_shared_init to log_init and platform_open derives from uncontrolled user input (environment variable, command-line argument, or fgets input), so arbitrary file paths could be opened.", "category": "security", "verdict": "uncertain", "priority": "P3", "scope":...
null
zfogg__ascii-chat__314
zfogg/ascii-chat
314
defect
5e25d40aa8a640511a98080d60acc5791b27f5ab
61842ba6ea7e43f59a5a2eb981a2f156de974b89
Convert WebSocket recv to non-blocking with retry loop
## Summary Refactored the WebSocket receive function to use non-blocking message reassembly instead of blocking with timeouts. The receive thread now handles retries with brief sleep intervals when fragments are not yet available. ## Key Changes - **WebSocket transport (`lib/network/websocket/transport.c`)** - Remo...
diff --git a/lib/network/websocket/transport.c b/lib/network/websocket/transport.c index 9915884864..82f9b5c4f1 100644 --- a/lib/network/websocket/transport.c +++ b/lib/network/websocket/transport.c @@ -32,7 +32,6 @@ #include <ascii-chat/network/packet.h> #include <ascii-chat/crypto/crypto.h> #include <ascii-chat/ut...
4
4
2
[{"id": "G0", "claim": "Add a check that err_ctx.context_message is non-NULL before calling strstr on it, to prevent a potential null pointer dereference.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Replace string matching on hardcoded error mess...
null
zfogg__ascii-chat__331
zfogg/ascii-chat
331
defect
2858fcde213e5066fa51102562916b8629dfc9e2
72ecc1fa6740768bf662ddde5c0e15f1cbdb25dd
Fix: furiosa hq-mbpx - Implement client ID assignment in WebSocket client
## Summary Implemented client ID assignment in the WebSocket client, bringing it to feature parity with the TCP client implementation. WebSocket clients now properly assign a client ID derived from the local socket port. ## Changes - Added `my_client_id` field to `websocket_client_t` struct - Implemented client ID e...
diff --git a/include/ascii-chat/network/websocket/client.h b/include/ascii-chat/network/websocket/client.h index 7fdbc0fb6..771f7926f 100644 --- a/include/ascii-chat/network/websocket/client.h +++ b/include/ascii-chat/network/websocket/client.h @@ -97,6 +97,9 @@ typedef struct websocket_client { /** Transport instan...
3
1
0
[{"id": "G0", "claim": "The field comment \"Client ID assigned by server (derived from local port)\" is misleading because the ID is self-assigned by the client from its local socket port (or 0 for WebSocket), not server-assigned; revise to \"Client ID self-assigned from local port (or 0 if socket unavailable)\".", "ca...
null
zh-lx__code-inspector__456
zh-lx/code-inspector
456
defect
8a3d75321daf89155725693ab0a874d28c45db85
63b1922a2de788ce3468b4362761c50be3efc15d
feat: add wheel interation for quick parent/child selection
close #455 引入滚轮事件,用于父子元素的快速切换与选中,作为右键打开 DOM 树进行元素选择之外的一种更轻量的元素选择方式 https://github.com/user-attachments/assets/2a240c9d-1112-4191-a6ba-4c05c10d693a
diff --git a/packages/core/src/client/index.ts b/packages/core/src/client/index.ts index 4d2bc60b..f6a7ca11 100644 --- a/packages/core/src/client/index.ts +++ b/packages/core/src/client/index.ts @@ -93,6 +93,8 @@ export class CodeInspectorComponent extends LitElement { @property() target: string = ''; @propert...
1
1
1
[{"id": "G0", "claim": "The wheel event listener should be registered with `{ passive: false }` instead of the `true` capture flag, otherwise `e.preventDefault()` in the handler has no effect.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
zhaofengli__colmena__35
zhaofengli/colmena
35
defect
d0c89302be2fa5d2d8b632b622843fc0a3b17941
95b06ad255ea9749f5ae7e351054c9a03c310412
Allow selecting ssh user dynamically
...by setting `deployment.targetUser = null`. This allows sharing a deployment file (hive.nix/flake.nix) between multiple admins, without having to use a shared root account.
diff --git a/Cargo.lock b/Cargo.lock index c1ca99a2..01995ad5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -133,6 +133,7 @@ dependencies = [ "tempfile", "tokio", "tokio-test", + "users", "validator", ] @@ -890,6 +891,16 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "users" +version = "0....
1
1
0
[{"id": "G0", "claim": "The test assertion should compare against `Some(\"root\")` (as the neighbouring assertions do) instead of unwrapping the target_user option.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
zhaofengli__colmena__96
zhaofengli/colmena
96
defect
1b3c272b5873f809c18434924d99967c73d4e2cf
5f91267ffb4e4e656d69861e7a143958050d2bde
feat(meta): add disallowApplyAll options
close https://github.com/zhaofengli/colmena/issues/95 This PR also add metaConfig struct for `hive.meta` section.
diff --git a/integration-tests/default.nix b/integration-tests/default.nix index a7450d8e..53984b79 100644 --- a/integration-tests/default.nix +++ b/integration-tests/default.nix @@ -8,6 +8,8 @@ flakes-streaming = import ./flakes { evaluator = "streaming"; }; parallel = import ./parallel {}; + disallow-apply-a...
3
3
1
[{"id": "G0", "claim": "The import should be written as `use tokio::sync::OnceCell;` instead of the redundant single-item brace form `use tokio::sync::{OnceCell};`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new option `meta.disallowAppl...
null
zhenxun-org__zhenxun_bot__1583
zhenxun-org/zhenxun_bot
1,583
defect
8fbb5742285061f87547c588e7d5ca5e2a7ca675
9a03249e3c3804682c1d1d6812aaf9429b12387f
✨添加代码检查
<!-- Generated by sourcery-ai[bot]: start summary --> ## Summary by Sourcery Add code quality checks and automated formatting using pre-commit hooks, and set up a testing configuration with pytest fixtures. Enhancements: - Improve code readability by reformatting the code in scripts/bot_check.py. Build: - Add a pre...
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 000000000..be433b356 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,33 @@ +default_install_hook_types: [pre-commit, prepare-commit-msg] +ci: + autofix_commit_msg: ":rotating_light: auto fix by pre-commit hooks" + autofix...
2
1
0
[{"id": "G0", "claim": "Monthly auto-updates of the pre-commit hooks might be infrequent, so the config should set autoupdate_schedule to weekly to keep the hook tools up to date.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The removal of the...
null
zhenxun-org__zhenxun_bot__1597
zhenxun-org/zhenxun_bot
1,597
defect
133d4e193a17745e2b2ef0c8a69de52ca263eed3
f92ede4cb8e11bdaf89f4c6734fbc264bedcc42c
🐛 修复插件商店检查插件更新问题
<!-- Generated by sourcery-ai[bot]: start summary --> ## Sourcery的总结 修复插件更新检查逻辑,并通过添加新的测试用例和重构插件加载方法来增强测试覆盖率。引入处理不存在插件的测试,并更新现有测试以使用实际的插件内容。 新功能: - 引入一个新的测试用例来处理插件不存在的场景,确保在尝试添加、更新或搜索不存在的插件时发送适当的消息。 错误修复: - 修复版本检查功能中的逻辑,以正确识别何时有插件更新可用。 增强: - 将检索已加载插件的方法重构为一个单独的异步函数 `get_loaded_plugins`,以提高代码的模块化和重用性。 - 更新测试用例以使用插件...
diff --git a/tests/builtin_plugins/plugin_store/test_plugin_store.py b/tests/builtin_plugins/plugin_store/test_plugin_store.py index 69eaaf3d9..3b8840078 100644 --- a/tests/builtin_plugins/plugin_store/test_plugin_store.py +++ b/tests/builtin_plugins/plugin_store/test_plugin_store.py @@ -13,6 +13,7 @@ from tests.uti...
1
1
0
[{"id": "G0", "claim": "Consider adding tests for edge-case invalid plugin IDs such as negative IDs or non-numeric input, alongside the new non-existent-plugin test.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
zhenxun-org__zhenxun_bot__1607
zhenxun-org/zhenxun_bot
1,607
defect
62fd93c1ff540a562a203459ae1d296248e20bf3
3c3881af02da4ae0d9bbec45e48d827d7dde85e3
🐛 修复自检在ARM上的问题
<!-- Generated by sourcery-ai[bot]: start summary --> ## Summary by Sourcery 通过更新 CPU 频率检索逻辑和处理缺失的 CPU 信息,解决自检插件中的 ARM 架构兼容性问题。引入新的测试套件以确保自检功能按预期工作。 Bug 修复: - 通过调整 CPU 频率检索和处理缺失的 CPU 信息,修复 ARM 架构兼容性问题。 测试: - 为自检功能添加新的测试套件,包括对 CPU、RAM、SWAP 和 DISK 信息检索的模拟和测试。 <details> <summary>Original summary in English</summary> ...
diff --git a/tests/builtin_plugins/check/test_check.py b/tests/builtin_plugins/check/test_check.py new file mode 100644 index 000000000..f512b15f7 --- /dev/null +++ b/tests/builtin_plugins/check/test_check.py @@ -0,0 +1,92 @@ +from typing import cast +from pathlib import Path +from collections.abc import Callable + +im...
7
3
1
[{"id": "G0", "claim": "Be cautious with subprocess usage for security: ensure no user input is ever passed to the lscpu/dmidecode commands without proper sanitization (suggesting shlex splitting and CalledProcessError handling).", "category": "security", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}...
null
zhenxun-org__zhenxun_bot__1609
zhenxun-org/zhenxun_bot
1,609
defect
fe11ff07722351a33126646df15f6e77be0a4abf
d379e3a4db17ca77db0a6a8c136c02b88ee2741e
:hammer: 提取GitHub相关操作
<!-- Generated by sourcery-ai[bot]: start summary --> ## Summary by Sourcery 将与 GitHub 相关的操作重构到一个专用的实用程序模块中,增强模块化和可重用性。更新自动更新和 Web UI 资产管理流程以使用新的实用程序函数,提高一致性和可维护性。调整测试以符合重构后的代码。 增强功能: - 将与 GitHub 相关的操作重构到一个单独的实用程序模块中,以提高模块化和可重用性。 - 通过使用统一的方法从 GitHub 获取版本信息和下载 URL 来改进更新机制。 - 通过动态确定要挂载的文件夹和改进日志记录来增强 Web UI 资产管理。 - 通过删...
diff --git a/tests/builtin_plugins/auto_update/test_check_update.py b/tests/builtin_plugins/auto_update/test_check_update.py index d151c95b2..093c7a514 100644 --- a/tests/builtin_plugins/auto_update/test_check_update.py +++ b/tests/builtin_plugins/auto_update/test_check_update.py @@ -26,6 +26,20 @@ def init_mocked_api(...
6
1
0
[{"id": "G0", "claim": "The ValueError raised by parse_github_url (\"github地址格式错误\") should carry more context about what specifically was wrong with the URL so developers can debug more easily.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Err...
null
zhenxun-org__zhenxun_bot__1670
zhenxun-org/zhenxun_bot
1,670
defect
482eb1a214321e4588d2b6c6340d001702a8cbbe
2bcaa6f12e61136dc6bf2ca5b9fde29583a50c12
Dev
<!-- Generated by sourcery-ai[bot]: start summary --> ## Sourcery总结 增强插件商店以允许使用插件ID或模块名称进行插件操作,并引入新功能以同时更新所有插件。添加相应的测试以验证新功能。 新功能: - 在插件商店中添加支持通过新方法`update_all_plugin`一次更新所有插件。 增强: - 增强插件管理功能,以接受插件ID和模块名称来添加、移除和更新插件。 测试: - 引入针对新功能`update_all_plugin`的测试,以确保它正确更新需要更新的插件,并跳过那些已经是最新的插件。 <details> <summary>Original su...
diff --git a/__version__ b/__version__ deleted file mode 100644 index 6a49e3817..000000000 --- a/__version__ +++ /dev/null @@ -1 +0,0 @@ -__version__: v0.2.3 diff --git a/tests/builtin_plugins/plugin_store/test_update_all_plugin.py b/tests/builtin_plugins/plugin_store/test_update_all_plugin.py new file mode 100644 inde...
6
1
0
[{"id": "G0", "claim": "The int/str plugin key resolution logic duplicated across add_plugin, remove_plugin and update_plugin should be extracted into a single helper method to reduce duplication and complexity.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G...
null
zhenxun-org__zhenxun_bot__1782
zhenxun-org/zhenxun_bot
1,782
defect
ccf043d670a16b682b64795a7495569b111e2d8c
874c22b251670916735ff9ec937cac4e603828d8
重构插件商店更新逻辑&彻底修复工作流
让 @ThelevenFD 自己来修戳一戳自检 ## Summary by Sourcery 重构插件商店更新逻辑以增强插件更新的反馈,并调整CI工作流程以确保正确安装依赖项。 增强功能: - 改进插件更新逻辑,为每次插件更新尝试提供详细的成功和失败反馈。 CI: - 更新CI工作流程,包括对bot_check.yml文件的更改,并确保正确安装Playwright依赖项。 测试: - 更新插件更新的测试用例,以反映插件更新成功和失败的新反馈机制。 <details> <summary>Original summary in English</summary> ## Summary by Sourcery Refact...
diff --git a/.github/workflows/bot_check.yml b/.github/workflows/bot_check.yml index 1a5ed8cf7..3731ded81 100644 --- a/.github/workflows/bot_check.yml +++ b/.github/workflows/bot_check.yml @@ -6,12 +6,14 @@ on: paths: - zhenxun/** - tests/** + - .github/workflows/bot_check.yml - bot.py ...
2
2
0
[{"id": "G0", "claim": "Use len(update_success_list) + len(update_failed_list) instead of concatenating the two lists into a new list just to compute a length.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The large blocks of commented-out test cod...
null
zhiburt__tabled__206
zhiburt/tabled
206
defect
fc14dc1cd857780f26e1b9e0b479057504f7e418
16b911c1e9e2080d3adf3301f1e9ab4257d6fb41
Table Groups
#44 | Checklist | status | | --- | :---: | | Code | ✅ | | Documentation | ✅ | | Example File | ✅ | | Tests | ✅ | | Readme | ✅ | # Criticism Welcome
diff --git a/examples/group.rs b/examples/group.rs new file mode 100644 index 00000000..209bcb1f --- /dev/null +++ b/examples/group.rs @@ -0,0 +1,74 @@ +//! The example can be run by this command +//! `cargo run --example group` + +use tabled::{group, Style, Table, Tabled}; + +#[derive(Tabled)] +struct Person { + na...
3
3
1
[{"id": "G0", "claim": "The `@` clean-display identifier in the `group!` macro is unnecessary; anyone wanting clean output can just apply `Style::empty()` themselves.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `group!` macro should also accept a ...
null
zhiburt__tabled__299
zhiburt/tabled
299
defect
d01a1d35bdb2cb6af8e5c7cbb5310e04ad41b5bf
0710745eb4c35e1b3018de2fffc62b0c04bd8af0
Split setting
Split checklist: - [x] code - [x] tests (please add more as you see fit 😄) - [x] comments - [X] example `examples/split.rs` - [x] readme - [x] examples/readme Please give this a spin and let me know what you think. I'm always happy to make any necessary changes to get this right 😄 --- Also, #290 descr...
diff --git a/tabled/Cargo.toml b/tabled/Cargo.toml index 10085655..758e6735 100644 --- a/tabled/Cargo.toml +++ b/tabled/Cargo.toml @@ -239,6 +239,11 @@ name = "alphabet" path = "examples/alphabet.rs" required-features = ["std"] +[[example]] +name = "split" +path = "examples/split.rs" +required-features = ["std"] + ...
7
6
1
[{"id": "G0", "claim": "Consider not exposing the Behavior enum and instead provide append/zip builder methods on Split.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Move the code inside the match branches out into functions so only the match remains i...
null
zhiburt__tabled__394
zhiburt/tabled
394
defect
87959ae8b2e8d89755981c08037b01ce4043191f
90facbb6c7db82dbf9c4ecd9e4d5b99e617472a0
tabled/ Add `#[tabled(crate = "")]` attribute
Hi @unmaykr-aftermath Could you check it out? close #393 PS: The code got a little bit bloated with this commit; so will require some refactorings
diff --git a/tabled/Cargo.toml b/tabled/Cargo.toml index c52a4e4d..ff378862 100644 --- a/tabled/Cargo.toml +++ b/tabled/Cargo.toml @@ -69,6 +69,11 @@ name = "display_with" path = "examples/derive/display_with.rs" required-features = ["derive"] +[[example]] +name = "crate" +path = "examples/derive/crate.rs" +require...
2
2
0
[{"id": "G0", "claim": "Drop the redundant `self` from the `unknown_crate` re-export in the example so it re-exports only Table and Tabled, as the test still runs without it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The crate-name resoluti...
null
zhiburt__tabled__415
zhiburt/tabled
415
defect
624c294092cd0a4b2f0988ce34ca37c3f46c975d
df1270a26163b48eff828d55dbc89a8e1a07f664
Fix clippy and tests fail due to simple problems
Closes #414 This PR fixes small issues that cause CI to fail due to failing tests and `cargo clippy` ## Testing Local testing using `cargo test --workspace --no-fail-fast --all-features` and `cargo clippy --all --all-targets --all-features`
diff --git a/papergrid/tests/grid/format_configuration.rs b/papergrid/tests/grid/format_configuration.rs index 6f37e3e7..5d2ff299 100644 --- a/papergrid/tests/grid/format_configuration.rs +++ b/papergrid/tests/grid/format_configuration.rs @@ -938,16 +938,16 @@ fn tabs_arent_handled() { assert_eq!( grid.bu...
3
3
0
[{"id": "G0", "claim": "The tests fail because the pre-existing unicode-width = \"0.1\" constraint pulls in newer patch releases with changed width behaviour, so unicode-width should be pinned (e.g. to =0.1.11 in papergrid/Cargo.toml, tabled/Cargo.toml and testing_table/Cargo.toml) or the used logic adjusted until the ...
null
zhiburt__tabled__430
zhiburt/tabled
430
defect
300c07bd53c945671e8115811c1689cb1353feff
283badff392bc9e5af815473d115b5648fe3adda
Upgrade unicode-width and handle width more correctly
Current versions of unicode-width have more handling for characters and ligatures that typically render at a different width than a character-by-character width sum would produce, such as ZWJ emoji sequences. Current versions of unicode-width also punt on control characters (as somewhat recommended by Unicode st...
diff --git a/papergrid/Cargo.toml b/papergrid/Cargo.toml index 3050b3e6..c6100a03 100644 --- a/papergrid/Cargo.toml +++ b/papergrid/Cargo.toml @@ -13,7 +13,7 @@ std = [] ansi = ["ansi-str", "ansitok"] [dependencies] -unicode-width = "=0.1.11" +unicode-width = "0.2" bytecount = "0.6" fnv = "1.0" ansi-str = { vers...
1
1
1
[{"id": "G0", "claim": "The unconditional text.replace(|c| c < ' ', \"\") added in get_string_width makes string-width computation a heavy, always-allocating operation, and the reviewer suggests the control-character stripping be made opt-in (e.g. a preprocessing step like Charset::clean or a Clean | Dirty marker) so c...
null
zhiburt__tabled__85
zhiburt/tabled
85
defect
6aa713c470a0addefd8f014c4984d10746268e77
bc6e57e6b0c209f21ee299b6ee6e79a681ed53af
Add an option to set the character for the padding
#81 Add an option to set the character for the padding #83 Rename tabled::Indent to Padding
diff --git a/benches/table_build.rs b/benches/table_build.rs index 4db8261d..c963b4e2 100644 --- a/benches/table_build.rs +++ b/benches/table_build.rs @@ -1,5 +1,5 @@ use criterion::{black_box, criterion_group, criterion_main, BenchmarkId, Criterion}; -use tabled::{Alignment, Full, Indent, Modify, Style, TableIterator...
9
9
4
[{"id": "G0", "claim": "The padding type should be split so each side holds its own symbol and size, e.g. a Padding of four Indent {symbol, size} values, instead of one flat struct with paired usize/char fields.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai...
null
zhiburt__tabled__87
zhiburt/tabled
87
defect
6aa713c470a0addefd8f014c4984d10746268e77
7074193909e00bd1e4e782cf080ed583aa2a009f
Extract
#33 Hello, this is my first public pull request. Any feedback would be greatly appreciated 🙂 This change would add a new Table api feature `Extract`. This feature would allow user to create a new Table from a segment of the original to focus on a reduced number of rows and columns. Todo list for adding new api...
diff --git a/README.md b/README.md index 691dd732..729a83ba 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ An easy to use library for pretty printing tables of Rust `struct`s and `enum`s. * [Max width](#Max-width) * [Rotate](#Rotate) * [Disable](#Disable) + * [Extract](#Extract) + * [...
5
5
3
[{"id": "G0", "claim": "The Extract::new(rows, columns) constructor interface is a bit ugly and should be replaced with dedicated Extract::rows, Extract::columns and Extract::segment constructors.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The assert...
null
zhihu__Matisse__32
zhihu/Matisse
32
defect
cc15b70c6981d8b18248f42e6962e87b8852532e
1058be928a0c52d9e8d4cc4af783a44bf42ca0d9
Refactor SelectionSpecBuilder class
In my opinion,the class `SelectionSpecBuilder` is not a builder.Similar idea is found in [Picasso](https://github.com/square/picasso/blob/master/picasso/src/main/java/com/squareup/picasso/RequestCreator.java). Here is my pr: * rename `SelectionSpecBuilder` `SelectionCreator` * remove a great many attr such as sc...
diff --git a/matisse/src/main/java/com/zhihu/matisse/Matisse.java b/matisse/src/main/java/com/zhihu/matisse/Matisse.java index 73c251a40..95abde890 100644 --- a/matisse/src/main/java/com/zhihu/matisse/Matisse.java +++ b/matisse/src/main/java/com/zhihu/matisse/Matisse.java @@ -39,6 +39,10 @@ private Matisse(Activity act...
1
1
1
[{"id": "G0", "claim": "The thumbnailScale guard should reject a scale of 0 as well as negative values, i.e. the if condition should be `if (scale <= 0f || scale > 1f)`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
zhihu__Matisse__83
zhihu/Matisse
83
defect
bd6b812c45e1e4c339c79847330b837f25f7b398
4c4f08536680e9658cb6a1a2e89091aa7db0cf67
Remove counter for single selection case
This PR removes Apply button bracers counter in case of spec's `countable` is `false` and `maxSelectable` is `1`.
diff --git a/matisse/src/main/java/com/zhihu/matisse/internal/entity/SelectionSpec.java b/matisse/src/main/java/com/zhihu/matisse/internal/entity/SelectionSpec.java index cf4d79386..0c45d2492 100644 --- a/matisse/src/main/java/com/zhihu/matisse/internal/entity/SelectionSpec.java +++ b/matisse/src/main/java/com/zhihu/ma...
1
1
0
[{"id": "G0", "claim": "The string resource 'R.string.button_apply_disable' should be renamed to 'R.string.button_apply_default'.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
zilliztech__GPTCache__339
zilliztech/GPTCache
339
defect
c9b2dc8b758b74bd969d601f7f73e11c765cc21a
6ad28641221b1c6db9b74802aba2d551d92998e6
Support pgvector as vector store.
I've tried to implement #332 (aka support for pgvector as a vector store). It's largely based on the Milvus' one. It uses by default a `vector_l2_ops` index with `lists = 100` and `probes = 10`. Not sure if it's the optimal setup for GPTCache. I've implemented the same tests and added a PostgreSQL service to ...
diff --git a/.github/workflows/unit_test_main.yaml b/.github/workflows/unit_test_main.yaml index 6b9c47d6d..c6c8037a6 100644 --- a/.github/workflows/unit_test_main.yaml +++ b/.github/workflows/unit_test_main.yaml @@ -28,6 +28,11 @@ jobs: runs-on: ubuntu-latest strategy: fail-fast: false + services: ...
4
3
1
[{"id": "G0", "claim": "The nested `process` functions in the bind and result processors could be replaced with lambda functions.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The table name should use the `_pg_vector_store` suffix instead of `...
null
zillow__react-slider__225
zillow/react-slider
225
defect
46c01b011f2526a74280cd122087920a2062b7ce
6635f26ada2726c9ebe668e998ce8b7f10a010a2
feat: add thumb index to on change events
This closes #212
diff --git a/src/components/ReactSlider/ReactSlider.jsx b/src/components/ReactSlider/ReactSlider.jsx index ebfe4d0..2fc6964 100644 --- a/src/components/ReactSlider/ReactSlider.jsx +++ b/src/components/ReactSlider/ReactSlider.jsx @@ -222,8 +222,8 @@ class ReactSlider extends React.Component { /** * ...
4
3
2
[{"id": "G0", "claim": "The onBeforeChange JSDoc says the callback is called with \"the new value(s)\" but should say \"the initial value(s)\", as it was before the change.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The onAfterChange JSDoc say...
null
zincsearch__zincsearch__215
zincsearch/zincsearch
215
defect
90526b2611feb6826f03e6d7ee650bba67958207
049ba6db9cd645cdedcfa35276bacfb53ac9b384
Optimize multisearch method
1、Optimize multisearch method (in pkg/core/multi_search.go)
diff --git a/pkg/core/multi_search.go b/pkg/core/multi_search.go index ddf03f76d..c364fe9de 100644 --- a/pkg/core/multi_search.go +++ b/pkg/core/multi_search.go @@ -30,31 +30,58 @@ import ( "github.com/zinclabs/zinc/pkg/uquery/timerange" ) +// isMatchIndex("abc", "a") false +// isMatchIndex("abc", "a*") true +// ...
4
4
1
[{"id": "G0", "claim": "Add unit tests for the newly added isMatchIndex helper in multi_search_test.go so the new code is covered.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Delete the leftover comment recording the old matching code inside isMatchI...
null
zincsearch__zincsearch__336
zincsearch/zincsearch
336
defect
8976c72c487c15c0f616be50f94cf67d21365c8b
b2fca69049cdfda13cab486ab3450bb183bdec77
Add pagination to index page, and inc sort 、filter
Add pagination to index page, and inc sort 、filter
diff --git a/pkg/core/search/v1/search_test.go b/pkg/core/search/v1/search_test.go index 3eb6196bb..c5daf1c29 100644 --- a/pkg/core/search/v1/search_test.go +++ b/pkg/core/search/v1/search_test.go @@ -245,7 +245,7 @@ func TestSearch(t *testing.T) { } // wait for WAL write to index - time.Sleep(time.Second) + ...
10
8
2
[{"id": "G0", "claim": "The List endpoint receives many query parameters and the reviewer prefers they be changed to a JSON body.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The List handler uses too many if-else branches and should be changed to a swit...
null
zink-lang__zink__311
zink-lang/zink
311
defect
bdff1f55742025f59201e85a5809310da6945836
90814dd6207e43424191382cd033e1d751a9e08f
feat(codegen): generate ABI for events
Resolves #299
diff --git a/Cargo.lock b/Cargo.lock index 9347d8057..2310eb0b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2636,6 +2636,7 @@ dependencies = [ "fmt", "hex", "paste", + "serde_json", "tiny-keccak", "tracing", "zink-codegen", diff --git a/Cargo.toml b/Cargo.toml index 807a43dcc..945caffd3 100644 --- a/Cargo....
1
1
0
[{"id": "G0", "claim": "serde_json should be declared as a workspace dependency (serde_json.workspace = true) instead of a standalone pinned version in the Cargo.toml of zink.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
zitadel__zitadel-tools__229
zitadel/zitadel-tools
229
defect
54eb7af1924aad7dd2fc4ebf6c3f318365796eb7
b29b3b7ecceb24592c7e0316456ee2c37857ace0
feat: extended Auth0 attributes mapping for migration
All tests have passed (unit tests, internal migration tests, functional tests using the example-data files). New features / fixes: 1. Locale Mapping: Auth0 locales correctly converted to ZITADEL language codes 2. Email Verification Control: CLI flag behavior working as expected now (fix) 3. Fallback Logic: Requ...
diff --git a/cmd/migration/auth0/example-data/passwords.json b/cmd/migration/auth0/example-data/passwords.json index 2a3e72c..798781a 100644 --- a/cmd/migration/auth0/example-data/passwords.json +++ b/cmd/migration/auth0/example-data/passwords.json @@ -1,2 +1,5 @@ -{"_ID":{"$oid":"60425dc43519d90068f82973"},"email_veri...
5
5
1
[{"id": "G0", "claim": "The hand-maintained locale map may mishandle region-qualified locales such as en-US, cannot be kept in step with ZITADEL's changing language list, and should instead parse the input with the proper language package and map it to a base tag.", "category": "design", "verdict": "supported", "priori...
null
zitadel__zitadel__10296
zitadel/zitadel
10,296
defect
a3e1d6a3ffe2f2c356cdfcfaee6cdda3e9ec026a
4027ecd65516d737ccf398f7dc0f7ac588f67d9c
fix(scim): add a metadata config to ignore random password sent during SCIM create
<!-- Please inform yourself about the contribution guidelines on submitting a PR here: https://github.com/zitadel/zitadel/blob/main/CONTRIBUTING.md#submit-a-pull-request-pr. Take note of how PR/commit titles should be written and replace the template texts in the sections below. Don't remove any of the sections. I...
diff --git a/internal/api/scim/integration_test/users_create_test.go b/internal/api/scim/integration_test/users_create_test.go index 4d1d9268ce5..605ccfec4b7 100644 --- a/internal/api/scim/integration_test/users_create_test.go +++ b/internal/api/scim/integration_test/users_create_test.go @@ -432,3 +432,81 @@ func TestC...
5
5
1
[{"id": "G0", "claim": "Invalid metadata values are parsed with their errors silently ignored; the reviewer would have collected all parse errors and returned them via errors.Join(errList), or left it failing silently only if correct parsing is not crucial.", "category": "correctness", "verdict": "supported", "priority...
null
zitadel__zitadel__10323
zitadel/zitadel
10,323
defect
b10455b51f5283613de324a7a9f09f9f9f8d53db
06dbc47bc212cdaf2b4a3a69b71879220aebf886
fix: invite code generation after multiple verification failures
<!-- Please inform yourself about the contribution guidelines on submitting a PR here: https://github.com/zitadel/zitadel/blob/main/CONTRIBUTING.md#submit-a-pull-request-pr. Take note of how PR/commit titles should be written and replace the template texts in the sections below. Don't remove any of the sections. It is...
diff --git a/internal/command/user_v2_invite_model.go b/internal/command/user_v2_invite_model.go index 6b2ab62e0df..4450620d99b 100644 --- a/internal/command/user_v2_invite_model.go +++ b/internal/command/user_v2_invite_model.go @@ -65,8 +65,11 @@ func (wm *UserV2InviteWriteModel) Reduce() error { wm.EmptyInviteCod...
2
2
0
[{"id": "G0", "claim": "The TODO comment on the failure-count condition should be updated so that it is clear it refers to wm.InviteCheckFailureCount.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tests and test cases should be made parallel,...
null
zitadel__zitadel__10353
zitadel/zitadel
10,353
defect
4046dd31b48476609b5c14067a5acec642b80b12
bd8652c6da64307109a91f04d596767aafb3cb3a
fix(saml): use transient mapping attribute when nameID is missing in saml response
# Which Problems Are Solved In the SAML responses from some IDPs (e.g. ADFS and Shibboleth), the `<NameID>` part could be missing in `<Subject>`, and in some cases, the `<Subject>` part might be missing as well. This causes Zitadel to fail the SAML login with the following error message: ``` ID=SAML-EFG32 Messag...
diff --git a/internal/idp/providers/saml/session.go b/internal/idp/providers/saml/session.go index e1f32209b02..5fe7030391f 100644 --- a/internal/idp/providers/saml/session.go +++ b/internal/idp/providers/saml/session.go @@ -75,21 +75,31 @@ func (s *Session) FetchUser(ctx context.Context) (user idp.User, err error) { ...
1
1
1
[{"id": "G0", "claim": "The transient mapping attribute name can be a string containing only whitespace, so it should be passed through strings.TrimSpace() before the empty check.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
zitadel__zitadel__10384
zitadel/zitadel
10,384
defect
f73b2fefd6a6cbc82b757a73d4eebd4dfd98f2cf
3544aa88563f594ae31379b9b8342051140aea67
fix(sessions): add an expiration date filter to list sessions api
# Which Problems Are Solved The deletion of expired sessions does not go through even though a success response is returned to the user. These expired and supposedly deleted (to the user) sessions are then returned when the `ListSessions` API is called. This PR fixes this issue by: 1. Allowing deletion of expir...
diff --git a/internal/api/grpc/session/v2/query.go b/internal/api/grpc/session/v2/query.go index 78d8623ee76..c9876d75ef6 100644 --- a/internal/api/grpc/session/v2/query.go +++ b/internal/api/grpc/session/v2/query.go @@ -110,6 +110,8 @@ func sessionQueryToQuery(ctx context.Context, sq *session.SearchQuery) (query.Se ...
2
1
0
[{"id": "G0", "claim": "Clarify whether the new expiration_date_query should also be included in the v2beta ListSessions API.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "Change the `if !assert..` constructs to `require...` in TestServer_ListSessions, ...
null
zitadel__zitadel__10485
zitadel/zitadel
10,485
defect
ea71da0d3fff1983aefbcb25d8f506f11183641f
37f63060438104947540ba14451baa01cab58be3
fix: create project with the right permission
# Which Problems Are Solved When a user with an `ORG_PROJECT_CREATOR` role tries to create a project, the request fails with `No matching permissions found (AUTH-AWfge)` error. This is because `project.write` was set as the required permission instead of `project.create` during project creation. # How the Problem...
diff --git a/internal/api/grpc/project/v2beta/integration_test/project_test.go b/internal/api/grpc/project/v2beta/integration_test/project_test.go index d802fbc8bb..a0bbfd8003 100644 --- a/internal/api/grpc/project/v2beta/integration_test/project_test.go +++ b/internal/api/grpc/project/v2beta/integration_test/project_t...
3
1
0
[{"id": "G0", "claim": "Adding t.Parallel() to the main test function may cause issues with shared resources; since the existing subtests already call t.Parallel(), consider removing it from the main test function to avoid potential resource conflicts.", "category": "testing", "verdict": "uncertain", "priority": "P2", ...
null
zitadel__zitadel__10632
zitadel/zitadel
10,632
defect
8cc79c1376a24749fa947441e0fbec526f44a04a
e057330ef1d49d07165ccc4e0310d4f4cfc3a225
feat(actionsv2): Propagate request headers in actions v2
# Which Problems Are Solved This PR adds functionality to propagate request headers in actions v2. # How the Problems Are Solved The new functionality is added to the`ExecutionHandler` interceptors, where the incoming request headers (from a list of allowed headers to be forwarded) are set in the payload of the...
diff --git a/docs/docs/guides/integrate/actions/testing-event.md b/docs/docs/guides/integrate/actions/testing-event.md index 7c8bdd8c2ba..10297ca3050 100644 --- a/docs/docs/guides/integrate/actions/testing-event.md +++ b/docs/docs/guides/integrate/actions/testing-event.md @@ -114,7 +114,7 @@ Now that you have set up th...
7
7
2
[{"id": "G0", "claim": "The docs' example request for the AddHumanUser API uses the wrong URL path (`v2/users/human` instead of `v2/users/new`, per the user service proto), and the correction should be applied in all the affected `md` files.", "category": "documentation", "verdict": "supported", "priority": "P1", "scop...
null
zitadel__zitadel__10705
zitadel/zitadel
10,705
defect
b0642a58987cb5c2ddabd9c3c398855f3f6ac0a5
c3fda9fc02d8ca3b82919e387dcf0f9f404911f6
fix: add email query to github idp if email empty
# Which Problems Are Solved In the integration with Github, private emails are not returned with the userinfo. # How the Problems Are Solved If the scope `user:email` is set in the Github IDP and the email is not included in the userinfo, a request to Github's API is executed to query the email of the user. ...
diff --git a/internal/api/idp/idp.go b/internal/api/idp/idp.go index 8b1c24134a0..888933855fe 100644 --- a/internal/api/idp/idp.go +++ b/internal/api/idp/idp.go @@ -550,7 +550,7 @@ func (h *Handler) fetchIDPUserFromCode(ctx context.Context, identityProvider idp case *azuread.Provider: session = azuread.NewSession(...
3
3
2
[{"id": "G0", "claim": "Use a comma-ok type assertion for user.(*User) and handle a failed assertion instead of the unchecked assertion, which would panic if the user is not of the provider's type.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "When...
null
zitadel__zitadel__11021
zitadel/zitadel
11,021
defect
02499f5fc4713c3577107a264329ff2781782d50
f58984075a32a0106aed582251cb7e6b1b2a7556
feat(cmd): skip privileged database commands during initialization if objects already present
This pull request addresses an issue where ZITADEL's initialization process could fail in environments with restricted database permissions, such as managed database services (e.g., Google Cloud SQL, Amazon RDS, Azure PostgreSQL). ## Which problem is solved Previously, `zitadel init` (and its sub commands) and `z...
diff --git a/cmd/initialise/verify_database.go b/cmd/initialise/verify_database.go index 3e3bea9efab..62fbd9b400a 100644 --- a/cmd/initialise/verify_database.go +++ b/cmd/initialise/verify_database.go @@ -2,6 +2,7 @@ package initialise import ( "context" + "database/sql" _ "embed" "fmt" @@ -37,6 +38,17 @@ Th...
1
1
0
[{"id": "G0", "claim": "The test failure message in cmd/initialise/verify_user_test.go says 'VerifyGrant()' but should say 'VerifyUser()' to match the function being tested.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
zitadel__zitadel__11071
zitadel/zitadel
11,071
defect
0f1b7c6eaa74fdcf827015946462b560be9c23e1
4b44d71398f842dbc3c6226ef208648d8d4235b5
fix(actionsV2): executing request/response type for 'all' condition
# Which Problems Are Solved In actions v2, when the condition `all` is chosen, or a specific method is not specified for a service action, the actions are not executed. # How the Problems Are Solved The wildcard suffix `.*` is used only for event groups. As global `requests`, `responses` or `services with no ...
diff --git a/internal/eventstore/v3/push_test.go b/internal/eventstore/v3/push_test.go index 4eb4a8283fe..dbcad930639 100644 --- a/internal/eventstore/v3/push_test.go +++ b/internal/eventstore/v3/push_test.go @@ -267,6 +267,7 @@ func TestEventstore_queueExecutions(t *testing.T) { mockEventType(mockAggregate("TEST"),...
4
2
1
[{"id": "G0", "claim": "The new prefix-matching logic doesn't guarantee finding the longest/most specific prefix match — it overwrites bestMatch on any prefix match and relies on the router happening to be sorted lexicographically, which is fragile and not explicitly guaranteed by the logic.", "category": "correctness"...
null
zitadel__zitadel__11385
zitadel/zitadel
11,385
defect
23c31ab2cbfbe554cfd36bcb5a46f01203ae511e
2d45a8652fcb8ae4277faa0e6e5dfa74caa498ec
feat(api): allow filtering apps by client id and entity id
# Which Problems Are Solved There's currently no way to retrieve a project based on the client_id of an application. A developer would need to iterate through all projects and their applications to make the correlation. # How the Problems Are Solved - Added a possibility to filter for `client_id` and `entity_i...
diff --git a/internal/api/grpc/application/v2/convert/convert.go b/internal/api/grpc/application/v2/convert/convert.go index 63c8fd2aebe..d27efaee684 100644 --- a/internal/api/grpc/application/v2/convert/convert.go +++ b/internal/api/grpc/application/v2/convert/convert.go @@ -28,6 +28,7 @@ func AppToPb(queryApp *query....
1
1
0
[{"id": "G0", "claim": "The new filter tests in query_test.go are mislabeled: the two clientID test names are swapped (the test named \"API app\" filters the OIDC app's client id and the test named \"OIDC app\" filters the API app's client id), and the expected results use oidcAppName where they should use apiAppName a...
null
zitadel__zitadel__11396
zitadel/zitadel
11,396
defect
23c31ab2cbfbe554cfd36bcb5a46f01203ae511e
1118f55fd4b24da8f9ac60e831f83ccab381e05e
fix(api): correctly handle organization_id on creation
# Which Problems Are Solved While moving the some requests from the v2beta organization service to v2, the `org_id` property of the `AddOrganization` request was deprecated in favor of `organization_id`. However, the internal logic was adjusted, resulting in a ingored `organization_id`. # How the Problems Are Sol...
diff --git a/internal/api/grpc/org/v2/integration_test/org_test.go b/internal/api/grpc/org/v2/integration_test/org_test.go index 96ad7d5fbdd..56e361eff2c 100644 --- a/internal/api/grpc/org/v2/integration_test/org_test.go +++ b/internal/api/grpc/org/v2/integration_test/org_test.go @@ -96,6 +96,19 @@ func TestServer_AddO...
1
1
0
[{"id": "G0", "claim": "Add a test case that sets only OrganizationId (without OrgId) to the integration and unit tests, since the recommended usage pattern is not exercised in isolation.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
zitadel__zitadel__11441
zitadel/zitadel
11,441
defect
3fc0ef25069dff0a8565278fff30fb4722ba6a81
abdb1eb9958df9abb66b10147bfc73490cd66c71
feat(oidc): use worker queue for OIDC Back-Channel Logout notifications
# Which Problems Are Solved The current back-channel logout notification still used a single projection handler for handling terminating sessions and notifying the necessary clients. This can lead to back pressure and delayed notifications. # How the Problems Are Solved The handler now only creates a job in th...
diff --git a/cmd/defaults.yaml b/cmd/defaults.yaml index afd4215cae8..d4650959935 100644 --- a/cmd/defaults.yaml +++ b/cmd/defaults.yaml @@ -625,8 +625,22 @@ OIDC: DefaultLogoutURLV2: "/ui/v2/login/logout?post_logout_redirect=" # ZITADEL_OIDC_DEFAULTLOGOUTURLV2 # Internal cache age for public keys to speed up val...
2
2
2
[{"id": "G0", "claim": "NewBackChannelLogoutWorker never initializes the tokenLifetime field from the provided BackChannelLogoutWorkerConfig, so logoutToken signs tokens with expiry at now() instead of the configured lifetime, ignoring OIDC.BackChannelLogout.TokenLifetime (and the deprecated DefaultBackChannelLogoutLif...
null
zitadel__zitadel__11506
zitadel/zitadel
11,506
defect
b99271755bf80d0eb7c181109d98532bca57243e
c02a2ac9c12e0c5301add31ac331cca5278c6ebe
fix(api): honor request-provided IDs for OIDC apps
# Problem: OIDC CreateApplication requests in both app/v2beta and application/v2 accept an ID field (id / application_id), but the OIDC creation path dropped it, always generating a new app ID/client ID. # Changes: Thread the request-provided ID into the OIDC domain request in both handlers. Update the OIDC com...
diff --git a/internal/api/grpc/app/v2beta/app.go b/internal/api/grpc/app/v2beta/app.go index e751bf503f2..4c5a5a2d308 100644 --- a/internal/api/grpc/app/v2beta/app.go +++ b/internal/api/grpc/app/v2beta/app.go @@ -34,7 +34,7 @@ func (s *Server) CreateApplication(ctx context.Context, req *connect.Request[app }), nil ...
6
5
2
[{"id": "G0", "claim": "The new provided-ID integration test in internal/api/grpc/app/v2beta/integration_test/app_test.go should be added as a sub-test of the existing TestCreateApplication instead of a standalone test function.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ...
null
zitadel__zitadel__11552
zitadel/zitadel
11,552
defect
a24e3f03b9807e8fae0e673305179790bca4fe0e
44f8657b443f179a295f0b53d85e14a78bac3b88
fix: added `login_hint` to the idp intent
# Which Problems Are Solved In login V2, when the user started the login flow of an external IDP, there was no login_hint passed to the external provider. This required the user to enter their username again. Whilst they already entered it in Zitadel. By adding the `login_hint` parameter, the username should already...
diff --git a/internal/api/grpc/user/v2/intent.go b/internal/api/grpc/user/v2/intent.go index 850776729de..1165612e0f6 100644 --- a/internal/api/grpc/user/v2/intent.go +++ b/internal/api/grpc/user/v2/intent.go @@ -36,20 +36,20 @@ import ( func (s *Server) StartIdentityProviderIntent(ctx context.Context, req *connect.Re...
6
6
4
[{"id": "G0", "claim": "At least one remaining call site of Commands.CreateIntent (internal/integration/sink/server.go:416) still uses the old signature without the new loginHint argument, which will break compilation; update the remaining call sites (pass an empty string when no login hint is available).", "category":...
null
zitadel__zitadel__11553
zitadel/zitadel
11,553
defect
6f4f54708e328c40485f27537471b86d8580f799
1f9a2d5d20156c553658d22bc7ff20b03443339e
feat(api): return allowed_languages
# Which Problems Are Solved While Zitadel provides a possibility to restrict certain languages to be used, the corresponding list could not be retrieved in the settings service (v2). This blocked login v2 implementations from respecting the list and they would always use all available languages. # How the Problem...
diff --git a/internal/api/authz/instance.go b/internal/api/authz/instance.go index 2639ea12428..df3499f50b5 100644 --- a/internal/api/authz/instance.go +++ b/internal/api/authz/instance.go @@ -19,6 +19,7 @@ type Instance interface { ManagementConsoleClientID() string ManagementConsoleApplicationID() string Defaul...
3
3
0
[{"id": "G0", "claim": "The local variable `allowedLangauges` in GetGeneralSettings is misspelled and should be renamed to `allowedLanguages` (and its uses updated).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A compile-time assertion `var _ ...
null
zitadel__zitadel__11554
zitadel/zitadel
11,554
defect
7e2c335df9b625c247e7f823e01f2b0d915d365c
51270e94a967458b18bfb4a6076a62183ebf887c
fix: return auth `none` when no auth is configured for smtp + scopes in grpc response
# Which Problems Are Solved - When no auth was present on a smtp configuration, the `auth` field was `nil` on the response while it should be `none`. - Scopes were not properly retrieved from the database resulting in all scopes being combined in one scope when retrieving the configuration. # How the Problems Ar...
diff --git a/internal/api/grpc/admin/email_converters.go b/internal/api/grpc/admin/email_converters.go index e7b5d246526..f84a417adf4 100644 --- a/internal/api/grpc/admin/email_converters.go +++ b/internal/api/grpc/admin/email_converters.go @@ -108,6 +108,10 @@ func smtpToPb(config *query.SMTP) *settings_pb.EmailProvid...
3
3
3
[{"id": "G0", "claim": "XOAuth2Auth.Scopes is a []string but c.xoauth2AuthScope is database.TextArray[string] (a distinct named slice type), so the assignment won't compile; convert it to []string (or change the Scopes field type) before assigning.", "category": "correctness", "verdict": "supported", "priority": "P0", ...
null
zitadel__zitadel__11599
zitadel/zitadel
11,599
defect
699ed1791873f95d8f8b67a7280af6833617ee8d
ba45028552b6b4deef776b29635440773243bc64
feat(api): allow specifying access token type for user of type machine
# Which Problems Are Solved The user service v2 didn't allow the specify or change the access token type for users of type machine and referred to using the management API, which in return was already deprecated and linked to the user service. # How the Problems Are Solved Added a possibility to specify the ac...
diff --git a/internal/api/grpc/user/v2/integration_test/user_test.go b/internal/api/grpc/user/v2/integration_test/user_test.go index 12b18daf02a..9d586383bba 100644 --- a/internal/api/grpc/user/v2/integration_test/user_test.go +++ b/internal/api/grpc/user/v2/integration_test/user_test.go @@ -3639,6 +3639,28 @@ func Tes...
2
2
0
[{"id": "G0", "claim": "The new doc comment in CreateUserRequest is grammatically incorrect and fragmented (\"might still considered valid\" is missing \"be\" and the next line is a fragment); rephrase it into a complete, clear warning.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "...
null
zitadel__zitadel__11606
zitadel/zitadel
11,606
defect
db9ebbbb41f3267cd92e95b01efac2901cb9b297
1d7dda84e4c39da1360a6c69832ea646312d0db7
fix(slog): masking of grouped attributes
# Which Problems Are Solved Group attributes weren't masked if their corresponding key was configured. For example setting `data` as a masked key entry in the runtime config would still print unmasked event data. This was because ReplaceAttr does not receive group attributes, only the flattened attributes with group i...
diff --git a/backend/v3/instrumentation/slog.go b/backend/v3/instrumentation/slog.go index ec6bc1d3e06..4e589ee84d2 100644 --- a/backend/v3/instrumentation/slog.go +++ b/backend/v3/instrumentation/slog.go @@ -82,9 +82,21 @@ type MaskConfig struct { Value string } +// replacer returns a function that replaces the v...
5
4
0
[{"id": "G0", "claim": "MaskConfig.replacer() should not sort c.Keys in place, mutating the caller's config slice; a sorted copy should be used for the binary searches instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "cmd/defaults.yaml sho...
null
zitadel__zitadel__11647
zitadel/zitadel
11,647
defect
e25220bfab52a2d754988fe8d1619ff9590bc187
021158d030f5117cd6391a06e1017311a62b5826
fix: check whether org exists before creating user
# Which Problems Are Solved It was possible to create a user with an imaginary org. # How the Problems Are Solved Check whether org exists before creating the user. # Additional Changes # Additional Context - Closes #11532
diff --git a/internal/command/user_v2_human.go b/internal/command/user_v2_human.go index 60277a0171c..3fc2a7c5a89 100644 --- a/internal/command/user_v2_human.go +++ b/internal/command/user_v2_human.go @@ -142,6 +142,10 @@ func (c *Commands) AddUserHuman(ctx context.Context, resourceOwner string, human return err ...
3
2
1
[{"id": "G0", "claim": "The error returned by the new checkOrgExists call in AddUserHuman may surface to HTTP-JSON clients as an inappropriate HTTP status code (apparently a 404 rather than a bad-request-class status).", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", ...
null
zitadel__zitadel__11686
zitadel/zitadel
11,686
defect
0261536243e500dccfd8c7f547d592c822478327
b11d666610cf200967a7af2b028f7258c8f22bed
feat: add trigger on relational user table to ensure username uniqueness based on organization setting
This update introduces a trigger that enforces username uniqueness based on organization-specific settings. It ensures that usernames are unique when the organization setting for scoped usernames is enabled. Additionally, tests have been added to verify the functionality across different organizational settings. The...
diff --git a/backend/v3/storage/database/dialect/postgres/migration/013_user_table/up.sql b/backend/v3/storage/database/dialect/postgres/migration/013_user_table/up.sql index dcc2290654..b2bdac05c9 100644 --- a/backend/v3/storage/database/dialect/postgres/migration/013_user_table/up.sql +++ b/backend/v3/storage/databas...
7
4
1
[{"id": "G0", "claim": "The trigger functions cast JSONB directly to BOOLEAN (e.g. (settings.settings->'organizationScopedUsernames')::BOOLEAN), which is an invalid cast in PostgreSQL and will error; the code should extract text with ->> instead.", "category": "correctness", "verdict": "uncertain", "priority": "P0", "s...
null
zitadel__zitadel__11702
zitadel/zitadel
11,702
defect
850adc0da46d2dcc391dca1a676d845c134bdb06
37bf23082b1dfabbb8ffb61422133ae48abd874d
feat: add recovery codes to user repository
# Which Problems Are Solved Adds a repository implementation to add/remove recovery codes to the users relational table. # How the Problems Are Solved This is achieved by: * adding the following columns to the users table: `recovery_codes`, `recovery_code_last_successful_check`, `recovery_code_failed_attempts...
diff --git a/backend/v3/domain/user.go b/backend/v3/domain/user.go index 9b4cdbe6ddd..f680c6ef812 100644 --- a/backend/v3/domain/user.go +++ b/backend/v3/domain/user.go @@ -43,11 +43,12 @@ type HumanUser struct { MultifactorInitializationSkippedAt time.Time `json:"multifactorInitializationSkippedAt,omitzero" db:"-"...
6
5
2
[{"id": "G0", "claim": "The four recovery-code reducer methods are defined but not registered in Reducers(), so the recovery code events will not be projected into the relational table; register all four before the HumanInviteCheckFailedType reducer.", "category": "correctness", "verdict": "supported", "priority": "P1"...
null
zitadel__zitadel__11713
zitadel/zitadel
11,713
defect
a3d0df1f4c6d1e611cc813c95d7f137da03e9bfc
ab1d04a86d7186309107231debef5d894b8cbb59
fix: recover from request panics
# Which Problems Are Solved Panics may cause a service discruption by unexpectedly closing an request's connection. Or in the case of gRPC completely killing the service. Allthough panics are still individual bugs that need to be solved, this PR makes sure a panic is gracefully handled and an understandable error is ...
diff --git a/backend/v3/instrumentation/slog.go b/backend/v3/instrumentation/slog.go index c4847908bca..51c73123ecf 100644 --- a/backend/v3/instrumentation/slog.go +++ b/backend/v3/instrumentation/slog.go @@ -2,6 +2,7 @@ package instrumentation import ( "context" + "errors" "log/slog" "os" "slices" @@ -159,6...
6
4
2
[{"id": "G0", "claim": "In the gRPC and Connect error interceptors the deferred cancel uses err after it has been mapped to a transport error, so the cancel cause becomes the transport error rather than the recovered panic/ZITADEL error; a separate cause should be captured and passed to cancel before the mapping.", "ca...
null
zitadel__zitadel__11718
zitadel/zitadel
11,718
defect
a3d0df1f4c6d1e611cc813c95d7f137da03e9bfc
002c0b70d157f540887612131f87bf7d6e0dde18
feat: test event reduction to relational tables
# Which Problems Are Solved This PR provides an example for testing DB reduction to relational tables without exploiting integration tests. # How the Problems Are Solved - Set up a disposable embedded Postgres DB used to store the results of the calls to the reducers and verify such results - Add utility method ...
diff --git a/backend/v3/storage/database/database.go b/backend/v3/storage/database/database.go index c241b42e58..c4b5a5b89a 100644 --- a/backend/v3/storage/database/database.go +++ b/backend/v3/storage/database/database.go @@ -2,6 +2,7 @@ package database import ( "context" + "database/sql" ) // Pool is a conn...
9
7
2
[{"id": "G0", "claim": "The instance-domain reducer subtests re-check an already-validated error with stale/duplicated `require.NoError(t, err)` assertions (after the reduce callback and in the Verify sections), and those redundant lines should be removed.", "category": "testing", "verdict": "supported", "priority": "P...
null
zitadel__zitadel__11733
zitadel/zitadel
11,733
defect
d3434dd46c1f4b7c2bdab75d79aa33b5096301ad
d060d024e513d7a419b129ffcaee7603db7e35a7
chore: naming consistency - Organization ID
# Which Problems Are Solved Renaming of: - Resource Owner - OrgID - OrganizationID - Organization Id # How the Problems Are Solved Find & Replace, evalue entries, is resource owner referring to an organization ? If so, do change # Additional Context - Closes #11305
diff --git a/apps/docs/content/concepts/eventstore/implementation.mdx b/apps/docs/content/concepts/eventstore/implementation.mdx index b09d92d446e..d6a47f95eff 100644 --- a/apps/docs/content/concepts/eventstore/implementation.mdx +++ b/apps/docs/content/concepts/eventstore/implementation.mdx @@ -27,7 +27,7 @@ An event ...
8
6
0
[{"id": "G0", "claim": "The comment on GenerateOrganizationDomainValidationRequest contains a typo: \"doman\" should be \"domain\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment on VerifyOrganizationDomainRequest contains a typo: \"do...
null
zitadel__zitadel__11734
zitadel/zitadel
11,734
defect
d3434dd46c1f4b7c2bdab75d79aa33b5096301ad
04c8250da56acf05fdc767f6cd0ce7eac7ca5b33
fix: make recovery code active on add
# Which Problems Are Solved - Recovery codes added via `GenerateRecoveryCodes` were never listed as active authentication methods by `ListAuthenticationMethodTypes`. The `user_auth_method` projection reducer (`reduceInitAuthMethod`) set the state to `MFAStateNotReady`, expecting a subsequent verification event to tr...
diff --git a/internal/api/grpc/user/v2/integration_test/user_test.go b/internal/api/grpc/user/v2/integration_test/user_test.go index 9a959cb0b2f..7032e7d831f 100644 --- a/internal/api/grpc/user/v2/integration_test/user_test.go +++ b/internal/api/grpc/user/v2/integration_test/user_test.go @@ -1971,6 +1971,24 @@ func Tes...
2
1
0
[{"id": "G0", "claim": "Consider adding a one-time data migration (or bumping the projection table version to force a replay) so that recovery-code rows already persisted as MFAStateNotReady in existing installations are not left filtered out by ListAuthenticationMethodTypes after this change.", "category": "correctnes...
null
zitadel__zitadel__11757
zitadel/zitadel
11,757
defect
8b90ddb0b5b598e5330eb5a7a75650f6005830c6
be9946ca63e8b48c9f93a3b8f2b4a863fdd5d563
test: fix matrix for relation table tests
# Which Problems Are Solved In #11239 , the helper function for matrix tests (without the relational tables enabled) was changed, but the feature was never enabled in the matrix. Some integration tests currently can't even succeed because of missing implementations. # How the Problems Are Solved This PR correc...
diff --git a/internal/api/grpc/org/v2beta/integration_test/org_test.go b/internal/api/grpc/org/v2beta/integration_test/org_test.go index 31d27e1380e..ab7634ee76b 100644 --- a/internal/api/grpc/org/v2beta/integration_test/org_test.go +++ b/internal/api/grpc/org/v2beta/integration_test/org_test.go @@ -372,18 +372,21 @@ f...
3
2
1
[{"id": "G0", "claim": "RelationalTablesEnableMatrix sets the instance feature and immediately returns, so callers of the enabled matrix entry may become flaky or execute with the old feature state because feature changes are eventually consistent; it should use EnsureInstanceFeature (or poll GetInstanceFeatures) befor...
null
zitadel__zitadel__11773
zitadel/zitadel
11,773
defect
f89aa05e923d0cea5b7475be9e8fff12cae063f3
717316b2dfde386047dc145c35b219cf9cb29382
test: add tests for recovery codes event reducers
# Which Problems Are Solved Add integration tests for recovery codes event reducers in the RT model. # How the Problems Are Solved Added integration tests for recovery codes event reducers # Additional Changes N/A # Additional Context - Closes https://github.com/zitadel/zitadel/issues/11707 - Todo: ...
diff --git a/internal/query/projection/user_relational.go b/internal/query/projection/user_relational.go index 0a8209d92b6..214277c1c52 100644 --- a/internal/query/projection/user_relational.go +++ b/internal/query/projection/user_relational.go @@ -424,6 +424,7 @@ func (p *userRelationalProjection) Reducers() []handler...
2
2
1
[{"id": "G0", "claim": "The variable name typo `instanceReop` hurts readability and should be renamed to `instanceRepo` (with references adjusted) for consistency with other projection tests.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Using ...
null
zitadel__zitadel__11776
zitadel/zitadel
11,776
defect
f89aa05e923d0cea5b7475be9e8fff12cae063f3
db80fda60dd12919d38295bbd0dc0044aa884521
feat: delete metadata on SetUserMetadata api
# Which Problems Are Solved Currently, to delete metadata a key, callers must use a separate [DeleteMetadata](https://zitadel.com/docs/reference/api/user/zitadel.user.v2.UserService.DeleteUserMetadata) API. This increases the complexity on client-side for operations where metadata need to be synchronized. # How ...
diff --git a/apps/docs/content/guides/manage/customize/user-metadata.mdx b/apps/docs/content/guides/manage/customize/user-metadata.mdx index 445a773690a..038daeabc44 100644 --- a/apps/docs/content/guides/manage/customize/user-metadata.mdx +++ b/apps/docs/content/guides/manage/customize/user-metadata.mdx @@ -34,7 +34,7 ...
7
6
3
[{"id": "G0", "claim": "There is no integration test case asserting that deleting a non-existent user metadata key is a successful no-op (metadata unchanged and set date not updated), and one should be added.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"...
null
zitadel__zitadel__11786
zitadel/zitadel
11,786
defect
f89aa05e923d0cea5b7475be9e8fff12cae063f3
29b5731863354872ffd90738b8f764fe2a3a9c9e
fix(grpc): return 401 for unauthenticated v1 gateway errors
Fixes #11730 The v1 gRPC middleware can return native gRPC status errors such as `codes.Unauthenticated` when the auth header is missing. Those errors were being passed through the generic gRPC error converter, which only handled ZITADEL errors and downgraded raw gRPC statuses to `codes.Unknown`. Through grpc...
diff --git a/console/src/app/pages/users/user-detail/auth-user-detail/auth-user-detail.component.html b/console/src/app/pages/users/user-detail/auth-user-detail/auth-user-detail.component.html index 888150380e..485535b1a0 100644 --- a/console/src/app/pages/users/user-detail/auth-user-detail/auth-user-detail.component.h...
2
2
0
[{"id": "G0", "claim": "The pull request mixes unrelated console UI changes (the disableEmailEdit feature in auth-user-detail, user-detail and contact components) into a PR that is described only as the gRPC 401 fix, so these console changes should be split into a separate PR or the PR description should be updated to ...
null
zitadel__zitadel__11790
zitadel/zitadel
11,790
defect
247e2785052957c86c3e0b16148617d26d6be511
a10cadacdd75700a228c5ba369ad1f086963b471
feat: delete metadata on SetOrganizationMetadata api
# Which Problems Are Solved Currently, to delete an Organization metadata key, callers must use a separate [DeleteMetadata](https://zitadel.com/docs/reference/api/org/zitadel.org.v2.OrganizationService.DeleteOrganizationMetadata) API. This increases the complexity on client-side for operations where metadata need to...
diff --git a/internal/api/grpc/org/v2/integration_test/org_test.go b/internal/api/grpc/org/v2/integration_test/org_test.go index 9298e63b337..66b5375990f 100644 --- a/internal/api/grpc/org/v2/integration_test/org_test.go +++ b/internal/api/grpc/org/v2/integration_test/org_test.go @@ -4,6 +4,7 @@ package org_test imp...
2
2
1
[{"id": "G0", "claim": "The test-table `assert` callback is typed with the parent `*testing.T` while being invoked from inside `require.EventuallyWithT`, so a failed assertion aborts the test on the first poll instead of letting `EventuallyWithT` retry and report through the provided `*assert.CollectT`; the callback sh...
null
zitadel__zitadel__11810
zitadel/zitadel
11,810
defect
689b90d9d9b84739479353f3e1076a76ce889f47
dcdb56d1db767401b30ea66e5a5ec3f0af9f6ac5
feat: supporting metadata updates in actions v2 via RetrieveIdentityProviderIntent API
# Which Problems Are Solved Adds support for returning CreateUser/UpdateUser action payloads from RetrieveIdentityProviderIntent so Actions v2 can update user metadata (and other fields) using the v2 user APIs, ensuring parity with user creation using Actions v2. # How the Problems Are Solved By: - deprecatin...
diff --git a/internal/api/grpc/user/v2/integration_test/intent_test.go b/internal/api/grpc/user/v2/integration_test/intent_test.go index 8ace29cb0ae..7f269ec2b6c 100644 --- a/internal/api/grpc/user/v2/integration_test/intent_test.go +++ b/internal/api/grpc/user/v2/integration_test/intent_test.go @@ -455,6 +455,23 @@ fu...
5
3
0
[{"id": "G0", "claim": "The new deprecation comments for `add_human_user`/`update_human_user` should follow the established proto comment convention (`// Deprecated: ...` with the replacement field reference) instead of `// Deprecated field. Use ... instead.`.", "category": "documentation", "verdict": "supported", "pri...
null
zitadel__zitadel__11817
zitadel/zitadel
11,817
defect
f138082b64513955466e8dddc8de2a5a1e4e6c8e
112e37c31f7cd6a0cc5219e962317ba77064073b
feat: add administrator role permission table
This update introduces a new table for managing administrator role permissions, along with the necessary repository and projection logic to handle adding and removing permissions. It also includes tests to ensure the correct functionality of the permission management system. closes https://github.com/zitadel/zitadel...
diff --git a/backend/v3/domain/administrator_role.go b/backend/v3/domain/administrator_role.go new file mode 100644 index 0000000000..4d77e062ad --- /dev/null +++ b/backend/v3/domain/administrator_role.go @@ -0,0 +1,35 @@ +package domain + +import ( + "context" + + "github.com/zitadel/zitadel/backend/v3/storage/databas...
11
8
3
[{"id": "G0", "claim": "Role permission events are pushed per instance, but the projection reducers, the table and the repository have no instance/aggregate scoping, so permissions from different instances collide in the same rows; include the instance/aggregate identifier in the stored row, primary key and INSERT/DELE...
null
zitadel__zitadel__11819
zitadel/zitadel
11,819
defect
d5f35fbd546d4925d760067863da0bf55deb7b46
44661b4887ea22925ad8edc985322d4ab77cd022
feat: allow ECDSA and ED25519 public keys
# Which Problems Are Solved Currently ZITADEL only allows the use of RSA public keys for machine user authentication (jwt-bearer grant), including for system API users. Attempting to use ECDSA (e.g. P-256) or ED25519 keys results in `Errors.Internal` because `BytesToPublicKey` performs an `ifc.(*rsa.PublicKey)` type as...
diff --git a/internal/api/authz/system_token.go b/internal/api/authz/system_token.go index b8e360f8fa5..3b52d38e9c9 100644 --- a/internal/api/authz/system_token.go +++ b/internal/api/authz/system_token.go @@ -2,7 +2,7 @@ package authz import ( "context" - "crypto/rsa" + "crypto" "errors" "os" "sync" @@ -11,7...
2
2
1
[{"id": "G0", "claim": "The ErrNoPublicKey error string is grammatically incorrect and will surface to callers; it should be reworded to something like \"unsupported public key type\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "BytesToPublicKe...
null
zitadel__zitadel__11864
zitadel/zitadel
11,864
defect
6d90a120a6f5b455f00001021d1c5abc6727a462
b86ddbf83ac40c5d68196e2200f1bd99e53c9112
feat: support standard OTEL env vars via autoexport
# Which Problems Are Solved The backend requires custom ZITADEL_INSTRUMENTATION_* env vars to configure tracing, metrics, and logs. The login container uses standard OTEL env vars. Both containers should be configurable the same way. # How the Problems Are Solved Adds a new exporter type `"auto"` that uses the...
diff --git a/backend/v3/instrumentation/logger.go b/backend/v3/instrumentation/logger.go index ac0b5b3b7fa..e37418fd5de 100644 --- a/backend/v3/instrumentation/logger.go +++ b/backend/v3/instrumentation/logger.go @@ -5,6 +5,7 @@ import ( "fmt" "os" + "go.opentelemetry.io/contrib/exporters/autoexport" "go.opente...
9
6
3
[{"id": "G0", "claim": "Delegating to autoexport with a noop fallback makes the unspecified path always return a non-nil exporter/reader, so a batch processor or manual reader (with its goroutines, queue and memory overhead) is installed even when no OTEL env vars are configured, while the comments claiming the custom ...
null
zitadel__zitadel__11876
zitadel/zitadel
11,876
defect
ca4bba3992086177ceaa8e732c6b9871812885ad
1e94b96ace7974726231f7596f0a039db77d90f2
feat: add option to use x.509 certificate system-api-user tokens
# Which Problems Are Solved System API users currently authenticate using raw RSA public keys configured via Path or KeyData. This approach doesn't integrate well with Kubernetes tooling. # How the Problems Are Solved Allow for the `path`/`keyData` to be an X.509 certificate. The `NotBefore` and `NotAfter`...
diff --git a/internal/api/authz/system_token.go b/internal/api/authz/system_token.go index b8e360f8fa5..c18d2fdf8e7 100644 --- a/internal/api/authz/system_token.go +++ b/internal/api/authz/system_token.go @@ -3,6 +3,8 @@ package authz import ( "context" "crypto/rsa" + "crypto/x509" + "encoding/pem" "errors" "o...
10
7
5
[{"id": "G0", "claim": "In the cache-miss path the code acquires s.mutex.Lock() but returns early on user-not-found or readKey() error without unlocking, which can deadlock all subsequent calls.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "cert.Pu...
null
zitadel__zitadel__11881
zitadel/zitadel
11,881
defect
a592fd72935a25162c0ab7f2e857c8cb8f7f1c3a
648545614feeb3340003470c44d6ab0308ffae8d
fix(domain): Fix session checks failing tests
# Which Problems Are Solved 2 tests were failing on the new session checks: - Password check (events) fails due to a race condition - IDP intent check (events) (also password test) fails due to a flaky time comparison # How the Problems Are Solved - Race condition: remove setting the password hasher in the te...
diff --git a/backend/v3/domain/session_check_idp_intent_test.go b/backend/v3/domain/session_check_idp_intent_test.go index 5ab9f4ff29a..1ff92626516 100644 --- a/backend/v3/domain/session_check_idp_intent_test.go +++ b/backend/v3/domain/session_check_idp_intent_test.go @@ -1,7 +1,6 @@ package domain_test import ( - ...
3
3
1
[{"id": "G0", "claim": "In TestPasswordCheckCommand_Events the new WithinRange bounds are derived from time.Now() around the Events call while CheckedAt is set from tc.cmd.CheckTime, so the assertion can become flaky if the subtest is scheduled more than a second after the command was constructed; it suggests asserting...
null
zitadel__zitadel__11932
zitadel/zitadel
11,932
defect
f94e4065c2ff2c8c304845fa95e10f72b023af5b
42e9eef10fb7534c5d85fc8e5e84eb9e446235dc
fix: use preparation filter for org existence check during setup
<!-- Please inform yourself about the contribution guidelines on submitting a PR here: https://github.com/zitadel/zitadel/blob/main/CONTRIBUTING.md#submit-a-pull-request-pr. Take note of how PR/commit titles should be written and replace the template texts in the sections below. Don't remove any of the sections. It is...
diff --git a/internal/command/org.go b/internal/command/org.go index d8e56775884..ca2165a6dc9 100644 --- a/internal/command/org.go +++ b/internal/command/org.go @@ -327,6 +327,26 @@ func (c *Commands) getOrg(ctx context.Context, orgID string) (*domain.Org, error return orgWriteModelToOrg(writeModel), nil } +func c...
2
2
2
[{"id": "G0", "claim": "TestAddDomain's new 'org exists only in the current preparation' case still sets up eventstore expectations for an org existence check that prepareAddOrgDomain no longer performs, and its filter responses need to include an OrgAddedEvent, so the mock must be aligned with the preparation-filter c...
null
zitadel__zitadel__11933
zitadel/zitadel
11,933
defect
022bf7406081b3a4efb9b2964f5b06db0e7c532c
927bb93738a2e135b5dee6402039a06e9732ab20
fix: invalid jwt assertion error handling
# Which Problems Are Solved Incorrectly mapped errors on the `/oauth/v2/token` endpoint lead to a large number of HTTP status 500 errors. # How the Problems Are Solved By mapping invalid jwt assertion errors to OIDC `invalid_client` errors, which returns a HTTP status 400. # Additional Changes N/A # ...
diff --git a/internal/api/oidc/token_jwt_profile.go b/internal/api/oidc/token_jwt_profile.go index cbcd069c2ff..88ee7e8e7e7 100644 --- a/internal/api/oidc/token_jwt_profile.go +++ b/internal/api/oidc/token_jwt_profile.go @@ -8,6 +8,7 @@ import ( "github.com/zitadel/oidc/v3/pkg/oidc" "github.com/zitadel/oidc/v3/pkg/...
2
2
2
[{"id": "G0", "claim": "verifyJWTProfile maps any VerifyJWTAssertion failure to oidc.ErrInvalidClient, but for the JWT Profile grant RFC 7523 requires the invalid_grant error, so it should return oidc.ErrInvalidGrant instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"},...
null
zitadel__zitadel__12020
zitadel/zitadel
12,020
defect
a2bf528ca0e612285b5d39598dc45d92131a58c6
bfaa1a0555bc05fcc1da7281ba210f0222f88b83
feat: command layer implementation for AddZitadelProvider
# Which Problems Are Solved This PR contains the command-layer implementation to add an instance IDP of the type `ZitadelProvider` # How the Problems Are Solved - Implementing `AddZitadelProvider` in AdminService - Adding the command-layer to create a `ZitadelProvider` and push `ZitadelIDPAddedEvent` # Add...
diff --git a/internal/api/grpc/admin/idp.go b/internal/api/grpc/admin/idp.go index d0907d6e1f..1ba6fc2038 100644 --- a/internal/api/grpc/admin/idp.go +++ b/internal/api/grpc/admin/idp.go @@ -466,3 +466,14 @@ func (s *Server) DeleteProvider(ctx context.Context, req *admin_pb.DeleteProvide Details: object_pb.DomainToC...
12
12
6
[{"id": "G0", "claim": "NewInstanceZitadelIDPWriteModel never sets WriteModel.AggregateID, so its Query() filters by an empty aggregate ID and the instance events cannot be found.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "No event mapper is reg...
null
zitadel__zitadel__12030
zitadel/zitadel
12,030
defect
9135ff4b364ff82fff5312d619a9989595f5a6ba
fb15d7e5409788ca97a5edfc002466dcd9da3b7d
feat(domain): introduce error slugs
# Which Problems Are Solved As part of https://github.com/zitadel/zitadel/issues/11917 we want to introduce error slugs so (API) clients can rely on stable, machine-readable errors and act accordingly. # How the Problems Are Solved - Added a `NewSlug` helper function in the domain package. - Added `ErrorDetai...
diff --git a/API_DESIGN.md b/API_DESIGN.md index 40020932c0..d0667c8bec 100644 --- a/API_DESIGN.md +++ b/API_DESIGN.md @@ -4,6 +4,7 @@ This document describes the design principles and conventions for the ZITADEL AP endpoints of the proprietary ZITADEL API and does not cover any standardized APIs like OAuth 2, OpenID ...
13
11
4
[{"id": "G0", "claim": "AssertErrorDetail ignores the result of the details comparison (it calls assert.Equal for details but always returns true afterward), letting tests pass even when ErrorDetail.details differ; return the boolean result or false on mismatch.", "category": "correctness", "verdict": "supported", "pri...
null
zitadel__zitadel__12055
zitadel/zitadel
12,055
defect
7b9d2b7d177e3dd9e5747ddf5508fa8c08c61106
de506e51b38e39f90cc560a2121fb1e3ffa015b2
feat: projection layer implementation to add Zitadel provider
# Which Problems Are Solved Persisting instance-level Zitadel provider in the projections. # How the Problems Are Solved - Defining a new projection table `projections.idp_templates6_zitadel` and columns for the Zitadel provider - Adding a reducer `reduceZitadelIDPAdded` to process instance-level `ZitadelIDPAdd...
diff --git a/internal/domain/idp.go b/internal/domain/idp.go index bea106298bb..c0fac9fd9d0 100644 --- a/internal/domain/idp.go +++ b/internal/domain/idp.go @@ -38,6 +38,7 @@ const ( IDPTypeGoogle IDPTypeApple IDPTypeSAML + IDPTypeZitadel ) func (t IDPType) GetCSSClass() string { diff --git a/internal/query/p...
2
1
1
[{"id": "G0", "claim": "The new Zitadel reducer tests feed an event JSON without a name field and assert an empty name argument, although AddZitadelProvider validation requires a non-empty name and the reducer persists the event's name, so the tests should include a name in the event JSON and assert that value to cover...
null
zitadel__zitadel__8255
zitadel/zitadel
8,255
defect
5ca8ad207543ce6a857bb9c04636173b1fefd2a8
d8816a06ba41f5602c641bcd2f9b56935830c6e4
fix: add details to ListUsers for user results
# Which Problems Are Solved In User v2 API, the ListUsers endpoint doesn't provide the information to which organization the user belongs to. # How the Problems Are Solved Add the details to the user results from the ListUsers endpoint, so that the OrgID is also included as ResourceOwner. # Additional Chang...
diff --git a/internal/api/grpc/user/v2/query.go b/internal/api/grpc/user/v2/query.go index 5ccaea84b07..2aaf0ad8ef6 100644 --- a/internal/api/grpc/user/v2/query.go +++ b/internal/api/grpc/user/v2/query.go @@ -60,7 +60,12 @@ func UsersToPb(users []*query.User, assetPrefix string) []*user.User { func userToPb(userQ *q...
3
2
1
[{"id": "G0", "claim": "Remove the two fmt.Println debug statements the pull request added to TestServer_ListUsers in the integration test.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "GetUserByID now returns the details twice — at the respons...
null
zitadel__zitadel__8256
zitadel/zitadel
8,256
defect
5ca8ad207543ce6a857bb9c04636173b1fefd2a8
87783d275fcd89442e9accab87b1684a3c93c538
fix: add missing totp remove endpoint in user v2 API
# Which Problems Are Solved TOTP remove endpoint available in management API, not in user v2 API. # How the Problems Are Solved Add endpoint RemoveTOTP to user v2 API. # Additional Changes None # Additional Context close #6605
diff --git a/internal/api/grpc/user/v2/totp.go b/internal/api/grpc/user/v2/totp.go index 691f31a833a..233574a9e1d 100644 --- a/internal/api/grpc/user/v2/totp.go +++ b/internal/api/grpc/user/v2/totp.go @@ -35,3 +35,11 @@ func (s *Server) VerifyTOTPRegistration(ctx context.Context, req *user.VerifyTOT Details: object....
2
2
2
[{"id": "G0", "claim": "The description saying the TOTP generator is removed \"of the authenticated user\" is wrong because an admin can use this endpoint to remove the TOTP factor from a user, and the same wording is wrong in the other remove OTP methods.", "category": "documentation", "verdict": "supported", "priorit...
null
zitadel__zitadel__8785
zitadel/zitadel
8,785
defect
32d958ea43ab407eb1c03e5060c7a71ecfaf9fda
c765510b647376bf42942ed019840e04ffb601f5
fix: add resourceowner to check for project in project grant
# Which Problems Are Solved Resource owner can be different than expected if the provided x-zitadel-orgid header is provided. # How the Problems Are Solved Check that the project is only checked with the correct resource owner to avoid unexpected situations. # Additional Changes None # Additional Cont...
diff --git a/internal/command/project_grant.go b/internal/command/project_grant.go index ef602c4b3ee..feb8a29e4bb 100644 --- a/internal/command/project_grant.go +++ b/internal/command/project_grant.go @@ -27,7 +27,7 @@ func (c *Commands) AddProjectGrant(ctx context.Context, grant *domain.ProjectGra if !grant.IsValid(...
2
2
1
[{"id": "G0", "claim": "The ResourceOwner field added to ProjectGrantPreConditionReadModel duplicates the ResourceOwner that already exists on the embedded eventstore.WriteModel.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A test should be written whi...
null
zitadel__zitadel__8807
zitadel/zitadel
8,807
defect
32d958ea43ab407eb1c03e5060c7a71ecfaf9fda
0def4dfd8ff2520d6e816cefc5b4bac2b59990ae
fix: consistent permission check on user v2
# Which Problems Are Solved Some user v2 API calls checked for permission only on the user itself. # How the Problems Are Solved Consistent check for permissions on user v2 API. # Additional Changes None # Additional Context Closes #7944
diff --git a/internal/api/grpc/user/v2/integration_test/passkey_test.go b/internal/api/grpc/user/v2/integration_test/passkey_test.go index 9d9cb8a0478..27b2989eac5 100644 --- a/internal/api/grpc/user/v2/integration_test/passkey_test.go +++ b/internal/api/grpc/user/v2/integration_test/passkey_test.go @@ -95,15 +95,30 @@...
2
2
2
[{"id": "G0", "claim": "RegisterUserPasskey should check `user.credential.write` (as the existing checks in addHumanWebAuthN and createHumanTOTP do) instead of `user.write`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The linked issue mentions TO...
null
zitadel__zitadel__8890
zitadel/zitadel
8,890
defect
04a166f2d2392da59baf93e22c2f68223e986e7b
3928efc86e124e55a684c327844cfd1a972b5066
feat(cache): redis circuit breaker
# Which Problems Are Solved If a redis cache has connection issues or any other type of permament error, it tanks the responsiveness of ZITADEL. We currently do not support things like Redis cluster or sentinel. So adding a simple redis cache improves performance but introduces a single point of failure. # How the Pr...
diff --git a/cmd/defaults.yaml b/cmd/defaults.yaml index 18f814a6d2b..e3384652948 100644 --- a/cmd/defaults.yaml +++ b/cmd/defaults.yaml @@ -291,6 +291,18 @@ Caches: DisableIndentity: false # Add suffix to client name. Default is empty. IdentitySuffix: "" + CircuitBreaker: + # Interval ...
3
3
0
[{"id": "G0", "claim": "Add a comment above the CircuitBreaker key in cmd/defaults.yaml documenting it as an implementation of the Circuit Breaker Pattern (with the Microsoft learn link), fixing the typo from the suggested wording.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "intro...
null
zitadel__zitadel__9040
zitadel/zitadel
9,040
defect
83bdaf43c35b7c4c5dfaf3e822a917e95d9f5fae
4eb2c29a187795e18e597dfcc086babd895fff85
feat: add exclusion of criteria for active idp query
# Which Problems Are Solved To list IDPs for potential linking, we need to filter them. The GetActiveIdentityProviderResponse should therefore be extended to provide the IDPConfig or information about whether the IDP is allowed to be linked or created. # How the Problems Are Solved Add parameters to the reques...
diff --git a/internal/api/grpc/settings/v2/integration_test/settings_test.go b/internal/api/grpc/settings/v2/integration_test/settings_test.go index 16942137c95..d2da875c459 100644 --- a/internal/api/grpc/settings/v2/integration_test/settings_test.go +++ b/internal/api/grpc/settings/v2/integration_test/settings_test.go...
4
4
3
[{"id": "G0", "claim": "The request API should be four optional booleans that map directly to the identity-provider options (including auto creation and auto linking, which the PR's exclude-style parameters did not cover), filtering only when set.", "category": "design", "verdict": "supported", "priority": "P1", "scope...
null
zitadel__zitadel__9065
zitadel/zitadel
9,065
defect
b7e9ae266dd6645ff7117297f54b47766e1bec69
da96d25d1a175b31bd387f5fdff6542439d0a4c1
feat: v2 api add way to list authentication factors
# Which Problems Are Solved The v2 api currently has no endpoint the get all second factors of a user. # How the Problems Are Solved Our v1 api has the ListHumanAuthFactors which got added to the v2 api under the User resource. # Additional Changes # Additional Context Closes #8833
diff --git a/internal/api/grpc/object/v2/converter.go b/internal/api/grpc/object/v2/converter.go index fe8aba5d6e1..1d93e2f3cd1 100644 --- a/internal/api/grpc/object/v2/converter.go +++ b/internal/api/grpc/object/v2/converter.go @@ -2,6 +2,7 @@ package object import ( "context" + user_pb "github.com/zitadel/zitade...
11
11
1
[{"id": "G0", "claim": "The integration helper that adds an OTP via SMS should be named RegisterUserOTPSMS, as it doesn't register an SMS.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The integration helper that adds an OTP via email should be...
null
zitadel__zitadel__9099
zitadel/zitadel
9,099
defect
ab6c4331df3b233a53b75185e91eb19a69a70055
79e58999fc29e9875b04fc85b7ec1da1a2a46f55
fix: restructure resend email code to send email code
# Which Problems Are Solved There is currently no endpoint to send an email code for verification of the email if you don't change the email itself. # How the Problems Are Solved Endpoint HasEmailCode to get the information that an email code is existing, used by the new login. Endpoint SendEmailCode, if no c...
diff --git a/internal/api/grpc/user/v2/email.go b/internal/api/grpc/user/v2/email.go index 6d0871b26ed..4b247ef10f7 100644 --- a/internal/api/grpc/user/v2/email.go +++ b/internal/api/grpc/user/v2/email.go @@ -67,6 +67,33 @@ func (s *Server) ResendEmailCode(ctx context.Context, req *user.ResendEmailCodeR }, nil } +...
3
1
0
[{"id": "G0", "claim": "The success-case comments in the SendUserEmailCode/ResendUserEmailCodeURLTemplate/SendUserEmailCodeURLTemplate/SendUserEmailReturnCode tests point at test functions that do not exist and should name the actual test (TestCommands_sendUserEmailCodeWithGeneratorEvents).", "category": "documentation...
null
zitadel__zitadel__9250
zitadel/zitadel
9,250
defect
accfb7525a63ad9b3b14d6ad315b3d05a59f0ff3
cf6b69fa1162afbc0f00a8b5164c2d264fcab1eb
fix(user fields): missing creationDate in details
# Which Problems Are Solved The `creationDate` property on user search V2 endpoint was missing # How the Problems Are Solved Added property in v2 `object.proto` and in the function creating the details on each call # Additional Changes - none # Additional Context closes #8552
diff --git a/internal/api/grpc/object/v2/converter.go b/internal/api/grpc/object/v2/converter.go index 8cf0d8b1faf..753b9db0954 100644 --- a/internal/api/grpc/object/v2/converter.go +++ b/internal/api/grpc/object/v2/converter.go @@ -20,6 +20,9 @@ func DomainToDetailsPb(objectDetail *domain.ObjectDetails) *object.Detail...
2
2
1
[{"id": "G0", "claim": "The pull request's change causes failing integration tests, and the author should have a look at the failing integration tests related to the change and fix them.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The creation_date p...
null
zitadel__zitadel__9317
zitadel/zitadel
9,317
defect
4dc7a58a256727169daf3ba3d2f9b1b40262f0ca
2addcdfff048d0ef80d68322774918a2d6bd1076
fix: no project owner at project creation and cleanup
# Which Problems Are Solved Project creation always requires a user as project owner, in case of a system user creating the project, there is no valid user existing at that moment. # How the Problems Are Solved Remove the initially created project owner membership, as this is something which was necessary in o...
diff --git a/internal/api/grpc/management/project.go b/internal/api/grpc/management/project.go index e7fad52c56d..00ccbd215c3 100644 --- a/internal/api/grpc/management/project.go +++ b/internal/api/grpc/management/project.go @@ -177,8 +177,7 @@ func (s *Server) ListProjectChanges(ctx context.Context, req *mgmt_pb.ListP...
2
2
1
[{"id": "G0", "claim": "The import path should keep returning Errors.Project.AlreadyExisting instead of Errors.Project.Invalid, because the change removed the already-existing-project check that AddProjectWithID used to perform.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced...
null
zitadel__zitadel__9403
zitadel/zitadel
9,403
defect
9aad207ee42115584e77230cec04692dcb0526f4
b6e8493d512aef3ebf1db368f747699e0f881869
fix(permissions): chunked synchronization of role permission events
# Which Problems Are Solved Setup fails to push all role permission events when running Zitadel with CockroachDB. `TransactionRetryError`s were visible in logs which finally times out the setup job with `timeout: context deadline exceeded` # How the Problems Are Solved As suggested in the [Cockroach documentat...
diff --git a/cmd/setup/setup.go b/cmd/setup/setup.go index 74b16355f39..6a18b41828d 100644 --- a/cmd/setup/setup.go +++ b/cmd/setup/setup.go @@ -179,33 +179,6 @@ func Setup(ctx context.Context, config *Config, steps *Steps, masterKey string) err = projection.Create(ctx, dbClient, eventstoreClient, config.Projections,...
2
1
0
[{"id": "G0", "claim": "The doc comment on SynchronizeRolePermission should read \"It pushes\" instead of \"It pushed\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "instance_role_permissions_sync.sql could use an outer join and a single select ...
null
zitadel__zitadel__9649
zitadel/zitadel
9,649
defect
9f0a4624b12c72fa0f9d018e72d51b41ceaa5cb4
e144dc8152d7d09253fed53074800dd32c0274f6
fix(feature flags): allow reading "own" flags
# Which Problems Are Solved The current feature flags service does not allow reading features flags without explicitly granted permissions. This can be a problem for authenticated users without administrator roles (memberships) when using the new Console UI, where based on specific features different UI elements mig...
diff --git a/internal/api/grpc/feature/v2/integration_test/feature_test.go b/internal/api/grpc/feature/v2/integration_test/feature_test.go index 2af4f642c4e..8d6c295350c 100644 --- a/internal/api/grpc/feature/v2/integration_test/feature_test.go +++ b/internal/api/grpc/feature/v2/integration_test/feature_test.go @@ -158...
1
1
1
[{"id": "G0", "claim": "The added doc comment for ResetOrganizationFeatures should list the required permission as org.feature.delete instead of org.feature.write, matching the auth_option the PR changed in the same hunk.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
zitadel__zitadel__9855
zitadel/zitadel
9,855
defect
8cb1d24b36d4c7a588210c1a1649fa3b2a77dc7d
3324b22e505fd0b0df2fb0a19f61804ca4a6afbb
fix: correctly "or"-join ldap userfilters
# Which Problems Are Solved LDAP userfilters are joined, but as it not handled as a list of filters but as a string they are not or-joined. # How the Problems Are Solved Separate userfilters as list of filters and join them correctly with "or" condition. # Additional Changes None # Additional Context ...
diff --git a/internal/idp/providers/ldap/session.go b/internal/idp/providers/ldap/session.go index 1679e35b61d..160acef8eb4 100644 --- a/internal/idp/providers/ldap/session.go +++ b/internal/idp/providers/ldap/session.go @@ -194,7 +194,7 @@ func trySearchAndUserBind( searchQuery := queriesAndToSearchQuery( objectC...
2
1
0
[{"id": "G0", "claim": "The `rootCA` parameter of trySearchAndUserBind is unused and, if it is not an error, can be removed all the way up to tryBind().", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Integration tests are failing on ListOrgani...
null
zitadel__zitadel__9955
zitadel/zitadel
9,955
defect
3ddecca6005d46875a13bbed7e2f05b971db664e
bd0ac2d04f42645e06380b87092c26e5b06d4fd8
feat: add embedded testing server for postgres
# Which Problems Are Solved 1. there was no embedded database to run tests against 2. there were no tests for postgres/migrate 3. there was no test setup for repository which starts a client for the embedded database # How the Problems Are Solved 1. postgres/embedded package was added 2. tests were added 3. TestMain...
diff --git a/backend/main.go b/backend/main.go index bd786aaf78b..97681df7ada 100644 --- a/backend/main.go +++ b/backend/main.go @@ -3,8 +3,8 @@ // to get an overview i would start in the api package. package main -import "github.com/zitadel/zitadel/backend/cmd" +// import "github.com/zitadel/zitadel/backend/cmd" ...
2
1
0
[{"id": "G0", "claim": "The migration failure log message in repository_test.go should include the error details (log.Fatalf(\"unable to migrate database: %v\", err)) for consistency with the other error handlers.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1"...
null
zizmorcore__zizmor__1489
zizmorcore/zizmor
1,489
defect
1e0935d7b74f9976a33fb3a1cde27b6dbe48b0ea
709d06c2ab4bb38228a7e297b2f9420425ad860f
feat: support ramsey/composer-install in cache-poisoning audit
Closes #1487. Also improves the quality of the actual finding spans a bit.
diff --git a/crates/zizmor/src/audit/cache_poisoning.rs b/crates/zizmor/src/audit/cache_poisoning.rs index 30461f455..f2bec0f06 100644 --- a/crates/zizmor/src/audit/cache_poisoning.rs +++ b/crates/zizmor/src/audit/cache_poisoning.rs @@ -205,6 +205,16 @@ static KNOWN_CACHE_AWARE_ACTIONS: LazyLock<Vec<ActionCoordinate>> ...
1
1
1
[{"id": "G0", "claim": "The new ramsey-composer-install test data should also safeguard quoted forms of the `yes` string (\"yes\" / 'yes'), which the action's docs recommend, so the audit's `ignore-cache` matching demonstrably treats them the same as the unquoted form.", "category": "testing", "verdict": "supported", "...
null
zizmorcore__zizmor__1581
zizmorcore/zizmor
1,581
defect
bd3f71442912d4803c5c2fb57b150811322e087b
a70e6eaf99163f162a3c8ab6b1c4bed62037edf6
fix(yamlpatch): handle Unicode in MergeInto newline detection
<!-- Thank you for opening a PR! Please make sure to fill out the sections below. --> ## Pre-submission checks Please check these boxes: - [x] **Mandatory**: This PR corresponds to an issue (if not, please create one first). - [x] I hereby disclose the use of an LLM or other AI coding assi...
diff --git a/crates/yamlpatch/src/lib.rs b/crates/yamlpatch/src/lib.rs index 2afa61251..3a1bf3631 100644 --- a/crates/yamlpatch/src/lib.rs +++ b/crates/yamlpatch/src/lib.rs @@ -786,7 +786,7 @@ fn handle_block_mapping_addition( // Check if we need to add a newline before the entry // If the content at insertio...
1
1
0
[{"id": "G0", "claim": "Add the repro from the original issue as a test case for the template-injection audit, alongside the existing unit tests.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
zizmorcore__zizmor__1611
zizmorcore/zizmor
1,611
defect
e986fc70b18ca17cdf65963825a244f2afe26cc0
3910e5ef2a0cb6329dcbdff2044c552e1af797e3
feat: support `-` for reading input from stdin
## Pre-submission checks - [x] This PR corresponds to an issue (if not, please create one first). - [x] I hereby disclose the use of an LLM or other AI coding assistant in the creation of this PR. ## Summary - Add support for `zizmor -` to read a single workflow, action, or Dependabot config from stdin - Input type ...
diff --git a/crates/zizmor/src/main.rs b/crates/zizmor/src/main.rs index b71586300..351d20457 100644 --- a/crates/zizmor/src/main.rs +++ b/crates/zizmor/src/main.rs @@ -227,6 +227,8 @@ struct App { /// (typically `action.yml`), entire directories, or a `user/repo` slug /// for a GitHub repository. In the latt...
8
7
3
[{"id": "G0", "claim": "collect_from_stdin should use Config::default() instead of Config::discover with a no-op discovery function, since discover falls back to the default anyway.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The stdin parser loop cou...
null
zizmorcore__zizmor__1641
zizmorcore/zizmor
1,641
defect
d70db936323a34a46bbb30f6a36714813af3417b
95999985ca2c9fcb85229db7f279fa955fb7f2b6
feat(gh-token): add support for ZIZMOR_GITHUB_TOKEN
<!-- Thank you for opening a PR! Please make sure to fill out the sections below. --> ## Pre-submission checks Please check these boxes: - [x] **Mandatory**: This PR corresponds to an issue: #1624 . - [ ] I hereby disclose the use of an LLM or other AI coding assistant in the creation of t...
diff --git a/crates/zizmor/src/main.rs b/crates/zizmor/src/main.rs index b71586300..c19b80794 100644 --- a/crates/zizmor/src/main.rs +++ b/crates/zizmor/src/main.rs @@ -94,14 +94,18 @@ struct App { #[arg(short, long, env = "ZIZMOR_OFFLINE")] offline: bool, - /// The GitHub API token to use [env: GH_TOKEN...
2
2
0
[{"id": "G0", "claim": "The Mermaid flowchart line in docs/usage.md has a stray backtick before ZIZMOR_GITHUB_TOKEN and should read GH_TOKEN/GITHUB_TOKEN/ZIZMOR_GITHUB_TOKEN.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A note about the ZIZMOR_G...
null
zizmorcore__zizmor__1759
zizmorcore/zizmor
1,759
defect
e365a5767d4398e3a129b755818666a54baef395
3aa6413df9f47906c08a332465bb39bf0d6865e2
feat(secrets-outside-env): allowlist secrets in config
<!-- Thank you for opening a PR! Please make sure to fill out the sections below. --> ## Pre-submission checks Please check these boxes: - [X] **Mandatory**: This PR corresponds to an issue (if not, please create one first). - [ ] Having read the [AI policy], I hereby disclose the use of a...
diff --git a/.gitignore b/.gitignore index 55c5fac5a..14baa569c 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ # benchmarks .codspeed/ +bench/__pycache__/ diff --git a/crates/zizmor/src/audit/secrets_outside_env.rs b/crates/zizmor/src/audit/secrets_outside_env.rs index 642381e29..67c4fdcc2 100644 --- a/...
5
4
1
[{"id": "G0", "claim": "The allowlist check uses case-sensitive `contains` while secrets contexts themselves aren't case-sensitive, so e.g. `secrets.foo` and `secrets.FOO` should both match `FOO` in the allowlist; suggested storing a `HashSet<ContextPattern>` and matching with `ContextPattern::matches`.", "category": "...
null
zizmorcore__zizmor__1820
zizmorcore/zizmor
1,820
defect
cc48fa35040210cac0bb09eb8b96f4afe5f1793b
2a0b448965f196096ded6e99c68705f701971023
feat(unpinned-tools): new audit for actions using underlying tools that are unpinned
<!-- Thank you for opening a PR! Please make sure to fill out the sections below. --> ## Pre-submission checks Please check these boxes: - [x] **Mandatory**: This PR corresponds to an issue: #1775 . - [ ] Having read the [AI policy], I hereby disclose the use of an LLM or other AI coding a...
diff --git a/crates/zizmor/src/audit/mod.rs b/crates/zizmor/src/audit/mod.rs index 4eda58826..edeb1372f 100644 --- a/crates/zizmor/src/audit/mod.rs +++ b/crates/zizmor/src/audit/mod.rs @@ -49,6 +49,7 @@ pub(crate) mod superfluous_actions; pub(crate) mod template_injection; pub(crate) mod undocumented_permissions; pu...
3
3
2
[{"id": "G0", "claim": "A subfeature (e.g. `.subfeature(Subfeature::new(0, uses.raw()))`) can be used on the finding location to make it even more precise.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The audit should also handle the case where `with.v...
null
zizmorcore__zizmor__1904
zizmorcore/zizmor
1,904
defect
432630f1374969a46bef5938c5dff7d1c05e0210
674f544bc633ebc4f884e396cd3f528ae43ed641
Fix parenthesized compound expression
## Pre-submission checks Please check these boxes: - [x] **Mandatory**: This PR corresponds to an issue (if not, please create one first). (#1903 ) - [x] Having read the [AI policy], I hereby disclose the use of an LLM or other AI coding assistant in the creation of this PR. PRs will not be rejec...
diff --git a/crates/github-actions-expressions/src/context.rs b/crates/github-actions-expressions/src/context.rs index 872e3ff03..e8d2dd058 100644 --- a/crates/github-actions-expressions/src/context.rs +++ b/crates/github-actions-expressions/src/context.rs @@ -94,7 +94,7 @@ impl<'src> Context<'src> { /// Returns N...
1
1
0
[{"id": "G0", "claim": "The `as_pattern` API should be changed from `push_part -> bool` to `transform_part -> Option<&str>` so the caller destructures the `Option` to decide whether to push.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
zizmorcore__zizmor__1913
zizmorcore/zizmor
1,913
defect
38252280aee6ec244c834c7dd7f2375a83fc97eb
a92b377331b2f9d774cdef3795df085815de12fe
feat(config): permit remapping rule severities
<!-- Thank you for opening a PR! Please make sure to fill out the sections below. --> ## Pre-submission checks Please check these boxes: - [x] **Mandatory**: This PR corresponds to an issue (if not, please create one first). - [x] Having read the [AI policy], I hereby disclose the use of a...
diff --git a/crates/zizmor/src/config/mod.rs b/crates/zizmor/src/config/mod.rs index cf828ad6f..4551a3c72 100644 --- a/crates/zizmor/src/config/mod.rs +++ b/crates/zizmor/src/config/mod.rs @@ -24,7 +24,7 @@ use crate::{ AuditCore, dependabot_cooldown::DependabotCooldown, forbidden_uses::ForbiddenUses, ...
4
4
0
[{"id": "G0", "claim": "In FindingRegistry::extend, the severity remap should be applied with a single unconditional assignment via `unwrap_or` instead of an `if let` block.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The integration test fil...
null