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
OpenAtom-Linyaps__linyaps__1345
OpenAtom-Linyaps/linyaps
1,345
defect
10187acf1496a7b42df080ac414e740a9cafaf68
3dc655e6b2e7bd3aa01bf852d08cbc3eed369bf7
refactor: improve UAB file handling and cleanup
1. Changed LayerPackager to use std::filesystem::path instead of QDir for workDir 2. Added defensive programming in initWorkDir to handle multiple calls 3. Implemented proper cleanup in UABFile destructor for mount points and unpacked files 4. Added support for both erofsfuse and fsck.erofs unpack methods 5. Improv...
diff --git a/libs/linglong/src/linglong/package/layer_packager.cpp b/libs/linglong/src/linglong/package/layer_packager.cpp index 6ddf19f4ea..f31a0e0781 100644 --- a/libs/linglong/src/linglong/package/layer_packager.cpp +++ b/libs/linglong/src/linglong/package/layer_packager.cpp @@ -29,8 +29,17 @@ LayerPackager::LayerPa...
37
8
0
[{"id": "G0", "claim": "initWorkDir uses the hardcoded path /var/tmp for temp directories, which is a potential security and portability risk; use environment variables or configuration settings to determine the base path.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id"...
null
OpenAtom-Linyaps__linyaps__1492
OpenAtom-Linyaps/linyaps
1,492
defect
4e406964539a13f46edfeefa26378dc999255ffc
e3465a950b52b72c37ac9564645a5591396aac56
fix: Improves log backend selection by supporting partial command mat…
…ches Replaces exact command string comparisons with substring checks to determine the appropriate log backend. This allows the system to handle cases where the command includes additional path or arguments, improving flexibility and robustness in log initialization.
diff --git a/libs/utils/src/linglong/utils/global/initialize.cpp b/libs/utils/src/linglong/utils/global/initialize.cpp index 77638f8fb6..d989ba830d 100644 --- a/libs/utils/src/linglong/utils/global/initialize.cpp +++ b/libs/utils/src/linglong/utils/global/initialize.cpp @@ -172,11 +172,13 @@ void initLinyapsLogSystem(c...
1
1
1
[{"id": "G0", "claim": "Using std::string::find for partial matching can be too broad and might select the wrong log backend when one command name is a substring of another (e.g. ll-cli vs a hypothetical ll-client); the command's filename should be extracted and exact-matched instead.", "category": "correctness", "verd...
null
OpenAtom-Linyaps__linyaps__1536
OpenAtom-Linyaps/linyaps
1,536
defect
ffb718d4626471febadca07bdb6ae2eb94e21bf5
b123467035028ec8d5d8d9ad2f0a49cd04955038
refactor: unify task management
Refactor the PM to replace the JobQueue with PackageTaskQueue. Key changes: - Replace `JobQueue` with `PackageTaskQueue` for search, prune, and generator tasks. - Introduce `Action` class to separate task preparation (DBus context) from execution (Worker thread). - Add `uuid` dependency for unique task ID generat...
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3fc5191ade..b9203f1da6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -306,6 +306,7 @@ pkg_search_module(ostree1 REQUIRED IMPORTED_TARGET ostree-1) pkg_search_module(systemd REQUIRED IMPORTED_TARGET libsystemd) pkg_search_module(ELF REQUIRED IMPORTED_TARGET libe...
15
3
3
[{"id": "G0", "claim": "Worker threads are detached with no mechanism to join them, so if the PackageTaskQueue is destroyed while a detached thread still runs, the thread dereferences a dangling this pointer causing use-after-free and likely a crash on shutdown; the reviewer asks that thread lifetimes be managed, e.g. ...
null
OpenAtom-Linyaps__linyaps__1542
OpenAtom-Linyaps/linyaps
1,542
defect
03596149b75ae3b0bdaab4ea4e37b357df24bbec
0f54c7195896ac3ba5eb9276102d0c11f898fbd1
feat: Introduce cross-architecture build and export support
This change enables building linglong packages for a target architecture that is different from the host machine's architecture. Key changes include: - The build process now distinguishes between the host architecture(for executing build tools) and the target architecture (for the output package). - `ensureUtils` ...
diff --git a/apps/ll-builder/src/main.cpp b/apps/ll-builder/src/main.cpp index 482fc4293c..bdb6169bc9 100644 --- a/apps/ll-builder/src/main.cpp +++ b/apps/ll-builder/src/main.cpp @@ -169,18 +169,17 @@ getProjectYAMLPath(const std::filesystem::path &projectDir, const std::string &u return path; } - au...
21
6
2
[{"id": "G0", "claim": "Local package lookups are not architecture-aware (ensureUtils still calls the host-arch clearDependency, and clearReferenceLocal rejects any fuzzy.arch that is not the host arch), so cross-compiling can pick a wrong-architecture local package with a higher version and cached target-arch packages...
null
OpenAtom-Linyaps__linyaps__1546
OpenAtom-Linyaps/linyaps
1,546
defect
b30b7ddcd35b65c87823bc94f5b7286740b22278
f8933a03fd1fbe8bca7dcff382421ef1b206a60f
feat: add configuration support
This commit introduces a runtime configuration mechanism allowing users to define environment variables and inject external extensions via JSON configuration files. Key changes: 1. Implemented configuration loading from XDG config directories, supporting both global and application-specific configurations. 2. Refa...
diff --git a/api/schema/v1.json b/api/schema/v1.json index 8dab9c130d..64b94bb1ba 100644 --- a/api/schema/v1.json +++ b/api/schema/v1.json @@ -1423,6 +1423,28 @@ "type": "string" } } + }, + "RuntimeConfigure": { + "title": "RuntimeConfigure", + "type": "object", + "proper...
16
3
0
[{"id": "G0", "claim": "The comment above the empty check says the function falls back to LINGLONG_ROOT/config while the code returns an empty path; update the comment to reflect the actual behaviour or implement the fallback.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced...
null
OpenAtom-Linyaps__linyaps__1559
OpenAtom-Linyaps/linyaps
1,559
defect
e74db0bb17e713beb564de1fa84dc6e26bd5b727
4491c7bdaaf5a4bd5fc6050422739193062bc89c
refactor: Remove Qt dependencies from the utils
Changes: - Reimplement `linglong::utils::Cmd`. - Add unit tests for the new `Cmd` implementation and file operations. - Use thred-safe errorString instead of strerror. - submodules only affects git kind source. - Remove unused code.
diff --git a/apps/ll-cli/src/main.cpp b/apps/ll-cli/src/main.cpp index 6a3579c51f..3928ab8478 100644 --- a/apps/ll-cli/src/main.cpp +++ b/apps/ll-cli/src/main.cpp @@ -112,7 +112,7 @@ int lockCheck() noexcept return 0; } - qCritical() << "failed to open lock" << lock << ::strerror(errno); ...
18
3
2
[{"id": "G0", "claim": "Passing the QString path to fmt::format will likely cause a compilation error, so it should be converted to std::string before being passed.", "category": "correctness", "verdict": "uncertain", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Removing Q_ASSERT(false) lets the Lay...
null
OpenAtom-Linyaps__linyaps__1573
OpenAtom-Linyaps/linyaps
1,573
defect
633b43b8ed37f0766681b732292fe381067100a6
8d500f3807592837a938a40de338a3639614e0c0
refactor: Part of Remove Qt dependencies from utils
Move Qt/DBus related utilities from utils to common. Note: This commit changes the namespace `linglong::utils::dbus` to `linglong::common::dbus` and `linglong::utils::serialize` (partially) to `linglong::common::serialize`.
diff --git a/apps/ll-package-manager/src/main.cpp b/apps/ll-package-manager/src/main.cpp index cd5ddd6d2..e478e2db6 100644 --- a/apps/ll-package-manager/src/main.cpp +++ b/apps/ll-package-manager/src/main.cpp @@ -6,11 +6,11 @@ #include "configure.h" #include "linglong/adaptors/package_manager/package_manager1.h" +#...
5
1
0
[{"id": "G0", "claim": "In properties_forwarder.cpp, a nullptr parent should be handled by returning a specific error (LINGLONG_ERR) instead of logging with LogE and calling std::abort().", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "D-Bus name registra...
null
OpenAtom-Linyaps__linyaps__1583
OpenAtom-Linyaps/linyaps
1,583
defect
7331d3f3e8d589d7f15751d941870202ebaaf4f0
b1f0d3e785bbcbf8885b98a6e8eeb2cf95e4f94b
feat(ll-driver-detect): add driver upgrade
1. Add driver upgrade and improves detection accuracy with remote repository integration. 2. Optimize unit tests.
diff --git a/apps/ll-driver-detect/CMakeLists.txt b/apps/ll-driver-detect/CMakeLists.txt index 454ff7b6c1..48a181d063 100644 --- a/apps/ll-driver-detect/CMakeLists.txt +++ b/apps/ll-driver-detect/CMakeLists.txt @@ -15,7 +15,5 @@ pfl_add_executable( ./src/driver_detection_manager.cpp ./src/dbus_notifier.cpp LIN...
21
9
4
[{"id": "G0", "claim": "detect() dereferences the results of checkPackageInstalled and checkPackageUpgradable with * without checking them, which throws tl::bad_expected_access and crashes the application if they return an error; the results must be checked before dereferencing.", "category": "correctness", "verdict": ...
null
OpenAtom-Linyaps__linyaps__1598
OpenAtom-Linyaps/linyaps
1,598
defect
419de9abbba44fd10ebad75cf8c9ab142c643a73
0b42d8f2b0cc91e335d68dbf7f26d4479b2102c5
refactor: improve driver detection testability with DI and mocking
- Add constructor injection to DriverDetectionManager for better testability - Replace fake detector classes with Google Mock in tests - Change package install check error to warning in NVIDIA detector - Improve logging format for driver upgrade messages This refactoring enables proper unit testing by allowing mo...
diff --git a/apps/ll-driver-detect/src/driver_detection_manager.cpp b/apps/ll-driver-detect/src/driver_detection_manager.cpp index dcd97d53d5..0f03db9d37 100644 --- a/apps/ll-driver-detect/src/driver_detection_manager.cpp +++ b/apps/ll-driver-detect/src/driver_detection_manager.cpp @@ -15,6 +15,12 @@ DriverDetectionMan...
4
2
1
[{"id": "G0", "claim": "The MockDriverDetector methods are declared noexcept although the DriverDetector base methods are not, so the mock's interface is stricter than the interface it mocks (and, per cursor, violated gmock expectations would call std::terminate instead of producing a proper test failure); the noexcept...
null
OpenAtom-Linyaps__linyaps__1615
OpenAtom-Linyaps/linyaps
1,615
defect
02e61e4d363c615a74efdb28d0e9717f2fb012f8
810eb7e25713d3741fddfdcbaf34fdcded06cc56
fix: improve desktop file path resolution in content command
Enhanced the content command to properly resolve desktop file paths by checking both default and overlay shared directories. Previously, desktop files were always treated as regular files without considering the actual exported locations. Key changes: 1. Added resolveDesktopFileExportPath method to OSTreeRepo that ...
diff --git a/libs/linglong/src/linglong/cli/cli.cpp b/libs/linglong/src/linglong/cli/cli.cpp index 3506722efd..37a1597e5e 100644 --- a/libs/linglong/src/linglong/cli/cli.cpp +++ b/libs/linglong/src/linglong/cli/cli.cpp @@ -1679,20 +1679,31 @@ int Cli::content(const ContentOptions &options) QDirIter...
4
2
0
[{"id": "G0", "claim": "The comment above the replaceInStrings call in Cli::content describes a general replacement while the call specifically targets entriesDir.absolutePath(); updating the comment to reflect the exact paths being replaced would improve clarity for future maintainers.", "category": "documentation", "...
null
OpenAtom-Linyaps__linyaps__1627
OpenAtom-Linyaps/linyaps
1,627
defect
48d652b8c69d3de8818ba01ac17f929426960b10
fe461c7bdf98e490167f3ec25fca459683eca34b
refactor: split repo load/create
- Make OSTreeRepo::loadFromPath read repo config only - Make OSTreeRepo::create prefer repo config and persist fallback config when absent - Add repo and repo cache tests
diff --git a/apps/ll-builder/src/main.cpp b/apps/ll-builder/src/main.cpp index eae19d9442..15a6a19568 100644 --- a/apps/ll-builder/src/main.cpp +++ b/apps/ll-builder/src/main.cpp @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd. + * SPDX-FileCopyrightText: 2022 - 2026 UnionTec...
3
1
1
[{"id": "G0", "claim": "Using `mergeTmp.relative_path().c_str()` at both checkout call sites is likely incorrect because on an absolute path `relative_path()` reportedly still includes the leading `/`, which would cause `ostree_repo_checkout_at` to fail; the reviewer asks to use `lexically_relative(\"/\")` instead.", "...
null
OpenAtom-Linyaps__linyaps__629
OpenAtom-Linyaps/linyaps
629
defect
875e02af35f1fc578a201bf8e235d472f09042bc
fbc0023abd823b172123e40d54c16a4838243cd9
Fix the Chinese display problem of ll-cli search
修正ll-cli search的中文显示问题,顺便把id长度刚好为32时的id和name的不分割问题处理了: ![Screenshot_deepin-terminal](https://github.com/user-attachments/assets/745c973e-5fa4-4b1c-a0a9-37663b0cd063) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced formatting for pac...
diff --git a/libs/linglong/src/linglong/cli/printer.cpp b/libs/linglong/src/linglong/cli/printer.cpp index 61d9d70d3..22dc55a21 100644 --- a/libs/linglong/src/linglong/cli/printer.cpp +++ b/libs/linglong/src/linglong/cli/printer.cpp @@ -23,8 +23,8 @@ void Printer::printErr(const utils::error::Error &err) void Printe...
1
1
1
[{"id": "G0", "claim": "Unit tests should be added to verify the functionality of the newly added subwstr function, covering width limits, trimming of long strings, and wide-character handling.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OpenAtomFoundation__pikiwidb__1246
OpenAtomFoundation/pikiwidb
1,246
defect
fdaddd2b485a563c6daa6d04bb53a8439486c64a
a8f10797770f6b1f3f6ef6580aecd4c730ce72f8
[#feature 1226] cmake file for blackwidow tests
添加 blackwindow 测试用例的 cmake 文件 Signed-off-by: tangruilin <tang.ruilin@foxmail.com>
diff --git a/.gitignore b/.gitignore index 17f50ab005..df93f41e88 100644 --- a/.gitignore +++ b/.gitignore @@ -53,3 +53,6 @@ tags make_config.mk src/*.d src/build_version.cc + +#cache +.cache diff --git a/src/blackwidow/CMakeLists.txt b/src/blackwidow/CMakeLists.txt index 0739d7ef58..c920a3da6d 100644 --- a/src/blac...
1
1
1
[{"id": "G0", "claim": "The project's main CMakeLists.txt needs find_package(gtest) added.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
OpenAtomFoundation__pikiwidb__1390
OpenAtomFoundation/pikiwidb
1,390
defect
b69a1bfa2272ca952d05b354a94df6580c51a592
69be16478c31304316798cb8c099f35ecc1c32cb
fix: init every class member's value to defeat the redis-cli connection closed by pika
fix #1367 : server 与 client 之间间歇性断开问题 https://github.com/OpenAtomFoundation/pika/issues/1367#issuecomment-1518607186。 问题代码所在: ![image](https://user-images.githubusercontent.com/7959374/233831037-1a430ee2-cc9b-4b50-8c22-de944f97bba3.png) 这里构造函数,没见啥地方初始化 close_ 字段的值,但是它的值为 true。原因就在于 C++ 中如果不给变量初始化值,其值未定义,为 true 还...
diff --git a/include/pika_client_conn.h b/include/pika_client_conn.h index 8eecf714cd..91ec4afe33 100644 --- a/include/pika_client_conn.h +++ b/include/pika_client_conn.h @@ -63,10 +63,10 @@ class PikaClientConn : public net::RedisConn { std::vector<std::shared_ptr<std::string>> resp_array; private: - net::Serv...
3
2
1
[{"id": "G0", "claim": "The new String() methods on NetConn and NetItem should be named ToString.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The PR initializes the const pointer server_thread_ to nullptr, leaving server_thread_ permanently nul...
null
OpenAtomFoundation__pikiwidb__1434
OpenAtomFoundation/pikiwidb
1,434
defect
934a359b7bc6c0af5e3bde86dbecde937e871461
474356067d9cbd3853333e2b9e6f25e21b3acdd8
feat: add spop by count
fix https://github.com/OpenAtomFoundation/pika/issues/889: redis API: spop with count.
diff --git a/include/pika_set.h b/include/pika_set.h index 3ef400ec5b..340b634a05 100644 --- a/include/pika_set.h +++ b/include/pika_set.h @@ -46,6 +46,7 @@ class SPopCmd : public Cmd { private: std::string key_; + int64_t count_; virtual void DoInitial() override; }; diff --git a/src/pika_set.cc b/src/pi...
6
5
2
[{"id": "G0", "claim": "Changing CheckArg is the wrong fix: SPop's registered argument count in the command table is hardcoded (2) and should be changed at the registration site to a negative arity (-2) that allows the optional count argument.", "category": "correctness", "verdict": "supported", "priority": "P1", "scop...
null
OpenAtomFoundation__pikiwidb__1525
OpenAtomFoundation/pikiwidb
1,525
defect
8474b97688a0738c91703ebf6060ea69d243562d
7d72fca0a2449f40a37c45e6056ff391f6a88885
[Fix issue #1521] wrong param sequence of lpushx&rpushx
fix #1521 解决lpushx和rpushx多元素插入的问题
diff --git a/include/pika_list.h b/include/pika_list.h index f249b6a5c9..f8b9e2f091 100644 --- a/include/pika_list.h +++ b/include/pika_list.h @@ -126,7 +126,7 @@ class LPushxCmd : public Cmd { private: std::string key_; - std::string value_; + std::vector<std::string> values_; virtual void DoInitial() over...
4
1
1
[{"id": "G0", "claim": "Because LPushx/RPushx now accept multiple elements, the unit tests should be extended with more cases — in particular inserting an empty element list and inserting 3 elements.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Approp...
null
OpenBMB__ChatDev__598
OpenBMB/ChatDev
598
defect
cb75e0692cd468b605e9946e0f32b3e8bcfeb82a
adc00f4fafbbade69c8053ae4a1c8ed0ac4b771e
feat: add Mem0 memory integration with config, implementation, docs, tests, and dependency
Closes #597 ...
diff --git a/docs/user_guide/en/modules/memory.md b/docs/user_guide/en/modules/memory.md index 7f71f677fe..f494cb2fcc 100755 --- a/docs/user_guide/en/modules/memory.md +++ b/docs/user_guide/en/modules/memory.md @@ -32,12 +32,23 @@ memory: model: text-embedding-3-small ``` +### Mem0 Memory Config +```yaml +m...
1
1
0
[{"id": "G0", "claim": "The Chinese version of the documentation (docs/user_guide/zh/modules/memory.md) was not updated alongside the English changes, and both language versions should be kept in sync.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenBMB__VoxCPM__253
OpenBMB/VoxCPM
253
defect
5510503182e405fb78b6765d24d2e3db5d987a5c
4509becfde6b7f056896c9fcc94edb5f3cf1a42d
feat: add voxcpm validate CLI for pre-flight training data checks
## Summary Adds a new `validate` subcommand to the VoxCPM CLI that performs pre-flight validation of JSONL training manifests **without requiring GPU or model loading**. This catches data format issues and missing files before starting expensive fine-tuning jobs. ### Motivation Users starting multi-hour GPU fine-tun...
diff --git a/src/voxcpm/cli.py b/src/voxcpm/cli.py index 8f2e41a6..d5ed57e8 100644 --- a/src/voxcpm/cli.py +++ b/src/voxcpm/cli.py @@ -288,6 +288,24 @@ def cmd_clone(args, parser): ) +def cmd_validate(args, parser): + from voxcpm.training.validate import ( + print_validation_report, + validate...
6
6
6
[{"id": "G0", "claim": "In validate_manifest(), a row that produces a validation error (e.g. a nonexistent or unreadable audio file) still increments valid_samples, so the CLI can report 'Samples: 1/1 valid' while printing errors; any row that produces a validation error should not be counted as valid.", "category": "c...
null
OpenCTI-Platform__opencti__10714
OpenCTI-Platform/opencti
10,714
defect
92641a97cd3b707de49d5bbd5c7fcc7e9dc72167
4aae46ad71c6f0e507e1e9043f292f0dd3502b7c
[backend] compute decay when revoked is changed(#10299)
<!-- Thank you very much for your pull request to the OpenCTI project! We as a community driven project depend on support and contributions like this! Thus already a BIG THANK YOU upfront to you for choosing to help with your PR. --> ### Proposed changes - on move to revoke = true - ⇒ (decay enabled) p...
diff --git a/opencti-platform/opencti-graphql/src/modules/indicator/indicator-domain.ts b/opencti-platform/opencti-graphql/src/modules/indicator/indicator-domain.ts index 0f5c703d198a4..a72ca7a39ef80 100644 --- a/opencti-platform/opencti-graphql/src/modules/indicator/indicator-domain.ts +++ b/opencti-platform/opencti-g...
3
2
0
[{"id": "G0", "claim": "The sync raw test's list queries should be reverted from a page size of 1000 back to the original 350.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new INDICATOR_DEFAULT_SCORE constant should be used in addIndicator to repl...
null
OpenCTI-Platform__opencti__13037
OpenCTI-Platform/opencti
13,037
defect
f9e6120c795e8aa53015aeddf82bb3e4cf696282
16f4155f42ca7cddbdd09f250708b785b35f86d1
[backend] - (FreeTrials) Auto Register OpenCTI (#13088)
### Proposed changes * Auto Register OpenCTI on XTM Hub ### Related issues * XTM Hub backend part : https://github.com/FiligranHQ/xtm-hub/pull/1202 * closes #13088 ### Checklist - [X] I consider the submitted work as finished - [X] I tested the code for its functionality - [X] I wrote test cases for t...
diff --git a/opencti-platform/opencti-front/src/schema/relay.schema.graphql b/opencti-platform/opencti-front/src/schema/relay.schema.graphql index 203869b785b4c..0f78161871896 100644 --- a/opencti-platform/opencti-front/src/schema/relay.schema.graphql +++ b/opencti-platform/opencti-front/src/schema/relay.schema.graphql...
5
5
5
[{"id": "G0", "claim": "The new autoRegisterOpenCTI mutation should not be publicly accessible but gated by a proper capability - SETTINGS_SETPARAMETERS (confirmed with product), applied to it and to checkXTMHubConnectivity, rather than @public/BYPASS.", "category": "security", "verdict": "supported", "priority": "P1",...
null
OpenCTI-Platform__opencti__14075
OpenCTI-Platform/opencti
14,075
defect
4f84dddbd905f1b75a9ff16d6f42b2cb63a23626
195a91f8918c0c8990ea726144e2f869a0133ddd
[backend] Refactor license methods (#14074)
### Proposed changes * License methods technical improvements ### Related issues * Fix #14074 ### Checklist - [x] I consider the submitted work as finished - [x] I tested the code for its functionality - [ ] I wrote test cases for the relevant uses case (coverage and e2e) - [ ] I added/update the rel...
diff --git a/opencti-platform/opencti-graphql/src/domain/settings.js b/opencti-platform/opencti-graphql/src/domain/settings.js index e6c08f54b716..19a73c3278b4 100644 --- a/opencti-platform/opencti-graphql/src/domain/settings.js +++ b/opencti-platform/opencti-graphql/src/domain/settings.js @@ -16,7 +16,7 @@ import { ge...
3
1
1
[{"id": "G0", "claim": "The CI-license timeout logic added in S1 (setTimeout calling process.exit(0) after 45 minutes) creates several problems: it bypasses graceful shutdown potentially corrupting data, the timer persists and cannot be cleared if the license changes, multiple CI licenses could set multiple timers, and...
null
OpenCTI-Platform__opencti__14243
OpenCTI-Platform/opencti
14,243
defect
75ae52810912f7f513977fba1d414d4015a47fb6
b24a1ec4f6bbdc4edba0d6edec429f567172953a
[backend] Fix use of synchronized-upsert header (#14015)
<!-- Thank you very much for your pull request to the OpenCTI project! We as a community driven project depend on support and contributions like this! Thus already a BIG THANK YOU upfront to you for choosing to help with your PR. --> ### Proposed changes * header synchronized-upsert should only be used by b...
diff --git a/opencti-platform/opencti-graphql/src/domain/user.js b/opencti-platform/opencti-graphql/src/domain/user.js index 41b18e62f99d..4e003599c34e 100644 --- a/opencti-platform/opencti-graphql/src/domain/user.js +++ b/opencti-platform/opencti-graphql/src/domain/user.js @@ -161,7 +161,7 @@ const roleUsersCacheRefre...
2
2
2
[{"id": "G0", "claim": "Using the synchronized-upsert header with a user that is not bypass goes unnoticed, so it should be surfaced (a log or a UI warning was asked for) and, after discussion, an exception should be thrown when the header is used and the user is not bypass.", "category": "correctness", "verdict": "sup...
null
OpenCTI-Platform__opencti__14337
OpenCTI-Platform/opencti
14,337
defect
ce64f5847c117806d8de2c4462fad002767add0a
3167f1175074ae62595c338afaed5960d2c63eec
[backend] Create platform cryptographic service
### Proposed changes * Create key derivation service based on a seed ### Related issues * Fix #14333 ### Checklist - [x] I consider the submitted work as finished - [x] I tested the code for its functionality - [x] I wrote test cases for the relevant uses case (coverage and e2e) - [ ] I added/update th...
diff --git a/opencti-platform/opencti-graphql/package.json b/opencti-platform/opencti-graphql/package.json index 5c044feb77e63..b08bb95931405 100644 --- a/opencti-platform/opencti-graphql/package.json +++ b/opencti-platform/opencti-graphql/package.json @@ -67,6 +67,7 @@ "@langchain/openai": "0.5.5", "@lezer/j...
11
8
3
[{"id": "G0", "claim": "Consider documenting that the master seed stays in process memory for the application's lifetime and ensuring operators understand the process memory should be protected, the seed rotated if exposed, and configuration access controlled.", "category": "security", "verdict": "uncertain", "priority...
null
OpenCTI-Platform__opencti__14456
OpenCTI-Platform/opencti
14,456
defect
473fa38aab33c50acc873459ef238263bc6bf330
f55ee3b2bc4503bbdc00edfae8f67303ce5d4cd9
[client/backend] new check work alive algo (#13020)
<!-- Thank you very much for your pull request to the OpenCTI project! We as a community driven project depend on support and contributions like this! Thus already a BIG THANK YOU upfront to you for choosing to help with your PR. --> ### Proposed changes * now set opencti-work-id in header in worker * reje...
diff --git a/client-python/pycti/api/opencti_api_client.py b/client-python/pycti/api/opencti_api_client.py index 29cff1c72c7e..c6fc9f5b1f50 100644 --- a/client-python/pycti/api/opencti_api_client.py +++ b/client-python/pycti/api/opencti_api_client.py @@ -526,6 +526,14 @@ def set_draft_id(self, draft_id): self....
9
2
1
[{"id": "G0", "claim": "set_work_id is called (and sets the opencti-work-id header) even when work_id is null/absent or empty, which can make requests raise an InvalidHeader/TypeError; the header should only be set for a non-empty string work_id and removed when it is missing.", "category": "correctness", "verdict": "u...
null
OpenCTI-Platform__opencti__14533
OpenCTI-Platform/opencti
14,533
defect
45b513e8027ea43a5148ae64dea40aec477fe5b3
1299969e5d2dab37e9aee96cb59ed43e7e25ff79
[drafts] Enable org sharing in drafts (#14056)
<!-- Thank you very much for your pull request to the OpenCTI project! We as a community driven project depend on support and contributions like this! Thus already a BIG THANK YOU upfront to you for choosing to help with your PR. --> ### Proposed changes * enable org share/unshare mass operation and single ...
diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectMenuItemUnderEE.tsx b/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectMenuItemUnderEE.tsx index 730dabfa5389a..287e42c22b3ea 100644 --- a/opencti-platform/opencti-front/...
3
1
1
[{"id": "G0", "claim": "The new draft organization sharing integration tests are skipped (describe.skip) because the enterprise-edition mocks fail on a vitest hoisting issue, and the author asks whether there is a better way than a global file mock of ee.ts.", "category": "testing", "verdict": "uncertain", "priority": ...
null
OpenCTI-Platform__opencti__14735
OpenCTI-Platform/opencti
14,735
defect
adef5609c8b6d4e7c4bf787d96b0c27069765f47
608150804068d1a80e574cd801f87377c2aa26a8
[backend] Create customView module (#13389)
### Proposed changes * Creates a `customView` module as a first chunk of work for https://github.com/OpenCTI-Platform/opencti/issues/13389 * Put in behind a `CUSTOM_VIEW` feature flag ### Related issues * https://github.com/OpenCTI-Platform/opencti/issues/13389 ### Checklist - [x] I consider the submitt...
diff --git a/opencti-platform/opencti-front/src/schema/relay.schema.graphql b/opencti-platform/opencti-front/src/schema/relay.schema.graphql index 761710d19a5d..653f79fe5181 100644 --- a/opencti-platform/opencti-front/src/schema/relay.schema.graphql +++ b/opencti-platform/opencti-front/src/schema/relay.schema.graphql @...
6
6
3
[{"id": "G0", "claim": "The CustomView GraphQL type should also expose created_at and updated_at, as is usual for internal objects.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A custom view is not a STIX domain object, so convertCustomViewToStix shoul...
null
OpenCTI-Platform__opencti__14903
OpenCTI-Platform/opencti
14,903
defect
73524cca71af880f56c6f03d7a98792e602113b6
e63d12739f297db29e2e3f462d1f0979758b42c3
[backend] add sha256 to file metadata & use sha256 to check for duplicate upload (#14877)
<!-- Thank you very much for your pull request to the OpenCTI project! We as a community driven project depend on support and contributions like this! Thus already a BIG THANK YOU upfront to you for choosing to help with your PR. --> ### Proposed changes * add sha256 in internal file metadata * extract sha...
diff --git a/opencti-platform/opencti-front/lang/back/de.json b/opencti-platform/opencti-front/lang/back/de.json index 419260cd4b20..f18c8ebf7974 100644 --- a/opencti-platform/opencti-front/lang/back/de.json +++ b/opencti-platform/opencti-front/lang/back/de.json @@ -870,6 +870,7 @@ "SHA-1": "SHA-1", "SHA-256": "S...
3
2
1
[{"id": "G0", "claim": "The new document metadata label 'Sha256' introduces a duplicate i18n key even though an existing key for 'SHA-256' already exists; the canonical 'SHA-256' label should be used instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",...
null
OpenCTI-Platform__opencti__14952
OpenCTI-Platform/opencti
14,952
defect
9b2338479d1b66fa9551e8c7f84f5537eee042d2
468161adbabf8e18539f1f7bd9cf109b78a1bec7
[frontend/backend] Introduce filter on description in streams/playbooks/triggers (#14288)
### Proposed changes Introduce the 'description' filter for streams, playbooks and triggers : - add 'description' in stix filtering testers, with all the operators for strings - add backend tests - update documentation ### Related issues #14288 ### Screenshot <img width="1047" height="640" alt="image" src...
diff --git a/docs/docs/reference/filters.md b/docs/docs/reference/filters.md index b059a72bb938..9ef0e7a7a255 100644 --- a/docs/docs/reference/filters.md +++ b/docs/docs/reference/filters.md @@ -585,6 +585,7 @@ For filters used in this context, only some keys are supported for the moment: - ``toId`` (the instance in t...
1
1
0
[{"id": "G0", "claim": "The reviewer finds it a little odd that the condition returns the full string-operator set for any basic text filter whenever opts.isStixFiltering is set, and asks whether a STIX filter could affect a non-string attribute.", "category": "design", "verdict": "supported", "priority": "P2", "scope"...
null
OpenCTI-Platform__opencti__15056
OpenCTI-Platform/opencti
15,056
defect
15041caf7e593d321578b5ac8aae0b1e5588b84f
e4c3cc8291f78c25c90807c1f0003e174bd37cbb
[backend] Fix OIDC conversion without group mapping (#15010)
<!-- Thank you very much for your pull request to the OpenCTI project! We as a community driven project depend on support and contributions like this! Thus already a BIG THANK YOU upfront to you for choosing to help with your PR. --> ### Proposed changes * fix OpenID/SAML/lAPD conversion when no group...
diff --git a/opencti-platform/opencti-front/src/schema/relay.schema.graphql b/opencti-platform/opencti-front/src/schema/relay.schema.graphql index 75e9611ca771e..113d367218ad6 100644 --- a/opencti-platform/opencti-front/src/schema/relay.schema.graphql +++ b/opencti-platform/opencti-front/src/schema/relay.schema.graphql...
2
2
1
[{"id": "G0", "claim": "The groups/organizations mapping structures must remain present - both in the GraphQL input types and in the OIDC converter - instead of being made optional/undefined; only the list content should change.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {...
null
OpenCTI-Platform__opencti__15060
OpenCTI-Platform/opencti
15,060
defect
508316038013276b62ed9c7230669aabe674599c
3702b047099d0b7f9886e35c54e831cf1d780d10
[frontend] prevent re-rendering AccessesMenu (#11550)
### Proposed changes * prevent re-rendering right bar in settings/security ### Related issues * closes #11550 ### Checklist - [x] I consider the submitted work as finished - [x] I tested the code for its functionality - [ ] I wrote test cases for the relevant uses case (coverage and e2e) - [ ] I adde...
diff --git a/opencti-platform/opencti-front/src/private/components/settings/Groups.tsx b/opencti-platform/opencti-front/src/private/components/settings/Groups.tsx index 7b1eeae8ae7e..4a1b2b7679d3 100644 --- a/opencti-platform/opencti-front/src/private/components/settings/Groups.tsx +++ b/opencti-platform/opencti-front/...
5
2
2
[{"id": "G0", "claim": "AccessesMenu is mounted on settings pages outside the accesses section: navigating within Settings > Activity produces a blink to the Security right menu before the Activity menu returns, and 'filigran experience' and 'file indexing' show a right panel they should not have.", "category": "correc...
null
OpenCTI-Platform__opencti__15065
OpenCTI-Platform/opencti
15,065
defect
e39b21040458077105aff5c28397f4be3319f080
302f18202cf7a5b8dc3c0f8aa856bc90eb844a39
[backend] Relay state in OIDC (#15034)
### Proposed changes * Send state parameter in the authorization request parameter ### Related issues * fix #15034 ### Checklist - [x] I consider the submitted work as finished - [x] I tested the code for its functionality - [ ] I wrote test cases for the relevant uses case (coverage and e2e) - [x] I ad...
diff --git a/opencti-platform/opencti-graphql/src/http/httpPlatform.js b/opencti-platform/opencti-graphql/src/http/httpPlatform.js index 250f92a25df3..628be89a6c39 100644 --- a/opencti-platform/opencti-graphql/src/http/httpPlatform.js +++ b/opencti-platform/opencti-graphql/src/http/httpPlatform.js @@ -31,7 +31,7 @@ imp...
4
2
1
[{"id": "G0", "claim": "Server-side URL redirection depends on a user-provided value (RelayState / the OIDC state parameter), per the code-scanning alert.", "category": "security", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The authorizationRequestParams override should be ...
null
OpenCTI-Platform__opencti__15124
OpenCTI-Platform/opencti
15,124
defect
57e773abfce955f1918335f6855a2b337dd53f7c
fbf17d4cf59d0241f4b27f3e0ab910291e582383
[backend] enable configuration to forbid http external resources (#15089)
<!-- Thank you very much for your pull request to the OpenCTI project! We as a community driven project depend on support and contributions like this! Thus already a BIG THANK YOU upfront to you for choosing to help with your PR. --> ### Proposed changes - Introduces app:allow_unsecure_http_resources (defau...
diff --git a/docs/docs/deployment/configuration.md b/docs/docs/deployment/configuration.md index 43b26b30d0ac2..91c1ee0ce0975 100644 --- a/docs/docs/deployment/configuration.md +++ b/docs/docs/deployment/configuration.md @@ -33,21 +33,21 @@ Here are the configuration keys, for both containers (environment variables) an...
7
5
4
[{"id": "G0", "claim": "The newly added `http_server` block in default.json is not good: it nests `allow_http_resources` and `public_dashboard_authorized_domains` under `http_server` while the code reads them at app level, so the structure should be flattened.", "category": "correctness", "verdict": "supported", "prior...
null
OpenCTI-Platform__opencti__15391
OpenCTI-Platform/opencti
15,391
defect
e1df3be467b0568c99dbcf6729b6fbc5f7d03443
80ff60dcfc677fcf08df119f5165fff8acc68a32
[backend] Implement JWT authentication with trusted issuers and JWKS endpoint (#15323)
This pull request introduces a new cross-platform JWT authentication mechanism for XTM integrations, centralizing JWT issuing and verification logic in a new `xtm-auth` module. It updates the authentication flow to support trusted external issuers, exposes a JWKS endpoint for public key discovery, and updates the chatb...
diff --git a/opencti-platform/opencti-graphql/config/default.json b/opencti-platform/opencti-graphql/config/default.json index d91ff25b8c8d9..6570e6c7f4ed6 100644 --- a/opencti-platform/opencti-graphql/config/default.json +++ b/opencti-platform/opencti-graphql/config/default.json @@ -222,7 +222,10 @@ "opengrc_toke...
1
1
0
[{"id": "G0", "claim": "The vi.mock of src/config/errors in the new xtmAuth unit test is unnecessary and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenCTI-Platform__opencti__15497
OpenCTI-Platform/opencti
15,497
defect
e1e1f556973012071d30c7b179dfe75fed7a47cd
9736108ffdb76f758aae6a4929abfc3ebdc73e78
[backend] Playbook : added filter to access restriction component (#14285)
<!-- Thank you very much for your pull request to the OpenCTI project! We as a community driven project depend on support and contributions like this! Thus already a BIG THANK YOU upfront to you for choosing to help with your PR. --> ### Proposed changes - Add new attribute applyWithFilters on component con...
diff --git a/docs/docs/usage/automation.md b/docs/docs/usage/automation.md index a871b3a0bddb..20bc2c88963d 100644 --- a/docs/docs/usage/automation.md +++ b/docs/docs/usage/automation.md @@ -304,6 +304,9 @@ By default, creation is applied to the entity triggering the playbook. You can c ![Enroll entity in playbook](...
3
3
1
[{"id": "G0", "claim": "The per-element filter check should use the existing helper that checks filters on one element instead of wrapping each element in a one-element array for the array filter function.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "T...
null
OpenCTI-Platform__opencti__15499
OpenCTI-Platform/opencti
15,499
defect
0a7f2e9ea43b60178774cafa0115d9c19774001b
1abd364be9a5d1c9e872b066ae4bdb6da8a4c43c
[backend] Playbook: option to hide 'listen knowledge' playbooks from manual enrollment (#14579)
### Proposed changes * Add a new "enrollInPlaybook" boolean attribute in schema configuration * modifying the function who returns the playbooks available for enrollment to take this boolean into account * add tests for listen knowledge component ### Related issues <!-- Please attach your PR to related issues ...
diff --git a/opencti-platform/opencti-front/lang/back/de.json b/opencti-platform/opencti-front/lang/back/de.json index 0715e4cb8f88e..be532a45c776a 100644 --- a/opencti-platform/opencti-front/lang/back/de.json +++ b/opencti-platform/opencti-front/lang/back/de.json @@ -318,6 +318,7 @@ "Endd date": "Enddatum", "Enf...
4
3
1
[{"id": "G0", "claim": "A playbook should not be included for manual enrollment when the configuration value is undefined; explicit `true` only is preferable to keeping a retro-compatibility default.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
OpenCTI-Platform__opencti__15502
OpenCTI-Platform/opencti
15,502
defect
0a7f2e9ea43b60178774cafa0115d9c19774001b
49c2bd185be1a2f8593bfa85506780f58f603355
[frontend] also check third level in filters (#15488)
<!-- Thank you very much for your pull request to the OpenCTI project! We as a community driven project depend on support and contributions like this! Thus already a BIG THANK YOU upfront to you for choosing to help with your PR. --> ### Proposed changes * also check third level in filters: it's needed in c...
diff --git a/opencti-platform/opencti-front/src/private/components/data/DataTableToolBar.jsx b/opencti-platform/opencti-front/src/private/components/data/DataTableToolBar.jsx index 0e4c2dca3e96..7c4843a3a31b 100644 --- a/opencti-platform/opencti-front/src/private/components/data/DataTableToolBar.jsx +++ b/opencti-platf...
1
1
1
[{"id": "G0", "claim": "Add frontend utils tests covering this use case (the new third-level filter values check).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OpenCTI-Platform__opencti__15603
OpenCTI-Platform/opencti
15,603
defect
954722e80213df33fa3d781b66037cde8a2b68d1
e4fc7035a4e7959050d2e2763e37db19551d298d
[backend] Playbook : added filter to Promote Observable to Indicator Component (#14283)
### Proposed changes * add new applyWithFilter attribute * add logic * add tests * update doc ### Related issues <!-- Please attach your PR to related issues in the Development widget on the right --> * https://github.com/OpenCTI-Platform/opencti/issues/14285 ### Checklist <!-- Please submit the sourc...
diff --git a/docs/docs/usage/automation.md b/docs/docs/usage/automation.md index ca344a0852d3..71fb17017a86 100644 --- a/docs/docs/usage/automation.md +++ b/docs/docs/usage/automation.md @@ -416,6 +416,10 @@ You can also add all indicators and relationships generated by this component in **Specificities of the compo...
1
1
0
[{"id": "G0", "claim": "Add two more tests covering that when `all-elements` and when `all-except-main` are used with filters matching a partial bundle, only the filtered elements are promoted.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenCTI-Platform__opencti__15626
OpenCTI-Platform/opencti
15,626
defect
5c4ed1ce31b8670c62776bcd55b9216dea383a8e
a486250fc5507dc75f2dc5026780503636f89749
[backend] Playbook: added filter to Create Indicator From Observable Component (#14283)
### Proposed changes * add applyWithFilter attribute * add logic * add tests * add doc ### Related issues <!-- Please attach your PR to related issues in the Development widget on the right --> * https://github.com/OpenCTI-Platform/opencti/issues/14285 ### Checklist <!-- Please submit the source code ...
diff --git a/docs/docs/usage/automation.md b/docs/docs/usage/automation.md index dd5a3ad7f5fa..c6b6ad3e5503 100644 --- a/docs/docs/usage/automation.md +++ b/docs/docs/usage/automation.md @@ -450,6 +450,10 @@ You can also add all observables and relationships generated by this component i **Specificities of the compo...
4
4
2
[{"id": "G0", "claim": "The pull request removed applyWithFilters support from the create-observable component's configuration schema/interface and executor, while the integration tests and docs still pass/describe filtering for it, making component-level filtering impossible there; re-introduce applyWithFilters and ap...
null
OpenCTI-Platform__opencti__15692
OpenCTI-Platform/opencti
15,692
defect
5663643b2d028f14013fe49a0e719488a0404520
0c25cfd3da5acc24e46f7b912511593f7a7612cf
[backend] Allow redis stream to be shutdown faster on stop (#15163)
<!-- Thank you very much for your pull request to the OpenCTI project! We as a community driven project depend on support and contributions like this! Thus already a BIG THANK YOU upfront to you for choosing to help with your PR. --> ### Proposed changes * Part 2 of https://github.com/OpenCTI-Platform/openc...
diff --git a/opencti-platform/opencti-graphql/src/database/redis-stream.ts b/opencti-platform/opencti-graphql/src/database/redis-stream.ts index 29b1c28fced9..6a66d9287c87 100644 --- a/opencti-platform/opencti-graphql/src/database/redis-stream.ts +++ b/opencti-platform/opencti-graphql/src/database/redis-stream.ts @@ -1...
4
2
1
[{"id": "G0", "claim": "streamTestStop() can run before streamProcessor is assigned (it runs concurrently with streamTestStart()), which can throw at streamProcessor.shutdown() and make the test flaky on slow Redis connections/CI; the processor should be started first or the stop gated on it.", "category": "correctness...
null
OpenCTI-Platform__opencti__15709
OpenCTI-Platform/opencti
15,709
defect
8959aef5c0b2ffcda61315cfeccaa863c11048f3
67ac95e2d0e71e50c19bd0aa190d0bae61db31d3
[backend] Use default secure CSP as base for CSP (#15087)
<!-- Thank you very much for your pull request to the OpenCTI project! We as a community driven project depend on support and contributions like this! Thus already a BIG THANK YOU upfront to you for choosing to help with your PR. --> ### Proposed changes * Some directive where not present because the CSP wa...
diff --git a/opencti-platform/opencti-graphql/src/http/httpUtils.ts b/opencti-platform/opencti-graphql/src/http/httpUtils.ts index 7d8faa9aac37..be2983ec4c3e 100644 --- a/opencti-platform/opencti-graphql/src/http/httpUtils.ts +++ b/opencti-platform/opencti-graphql/src/http/httpUtils.ts @@ -114,9 +114,9 @@ export const ...
2
2
1
[{"id": "G0", "claim": "The later 'less secure options' test case still asserts useDefaults: false and defaultSrc: [\"'self'\"], inconsistent with the new behavior of buildPublicHelmetParameters/buildDefaultHelmetParameters (always useDefaults: true and defaultSrc: [\"'none'\"]), so the second test case's expectations ...
null
OpenClinica__OpenClinica__2954
OpenClinica/OpenClinica
2,954
defect
da572c14aa1f1fb30f2e92b8af24e7db1b521983
3cea152509b10e330f979e6fa49e3434dea838ef
OC-12828, OC-12830, OC-12765 and OC-12857
OC-12828: Change job detail identifier to job_uuid and change API to use job uuid instead of job name. OC-12830: Add job uuid to single jobs page. OC-12765: Fix oops error when editing job name. OC-12857: Show validation errors on update job page
diff --git a/src/main/java/core/org/akaza/openclinica/bean/admin/TriggerBean.java b/src/main/java/core/org/akaza/openclinica/bean/admin/TriggerBean.java index 53c66ce2ab..c6e9249d04 100644 --- a/src/main/java/core/org/akaza/openclinica/bean/admin/TriggerBean.java +++ b/src/main/java/core/org/akaza/openclinica/bean/admi...
1
1
1
[{"id": "G0", "claim": "Since jobUuid is unique, the endpoint should not force the user to provide studyOID as well; the URL should be updated to \"extractJobs/{jobUuid}/jobExecutions\".", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OpenClinica__OpenClinica__3074
OpenClinica/OpenClinica
3,074
defect
d345b6db81d82e1889b4b299a154d10c81fbf53a
853ffaf89d1f30c34218befddff96e0932c69b51
OC-12889 Common Event that the user has no access to is still displayed on Participant Details Page
https://jira.openclinica.com/browse/OC-12889 reverts https://github.com/OpenClinica/OpenClinica/pull/2451/files
diff --git a/src/main/java/core/org/akaza/openclinica/dao/extract/OdmExtractDAO.java b/src/main/java/core/org/akaza/openclinica/dao/extract/OdmExtractDAO.java index 25dc9ab4ab..bce05014e4 100644 --- a/src/main/java/core/org/akaza/openclinica/dao/extract/OdmExtractDAO.java +++ b/src/main/java/core/org/akaza/openclinica/...
2
2
2
[{"id": "G0", "claim": "Please verify that OC-11536 (the permission-tag filtering of study events) still works after this change adds the 'sed.type != common' disjunct to the same condition line.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Commit...
null
OpenCoworkAI__open-codesign__104
OpenCoworkAI/open-codesign
104
defect
89a0c6dac8fdc6d94908835e27fc1df74755e6ed
4ce3f175a3c9ded6691220383c33928e55bebeda
fix(artifacts): close remaining streaming parser leak paths
## Summary Audit follow-up to #95. Re-checked the streaming artifact parser on 8 leak axes; one real leak class found and fixed, the other 7 were already robust and now have regression tests. ### Real leak fixed: `>` inside a quoted attribute value `OPEN_TAG_RE = /<artifact\s+([^>]*?)>/` cannot tell a real `>` from ...
diff --git a/.changeset/parser-quote-aware-open-tag.md b/.changeset/parser-quote-aware-open-tag.md new file mode 100644 index 00000000..7ab17345 --- /dev/null +++ b/.changeset/parser-quote-aware-open-tag.md @@ -0,0 +1,7 @@ +--- +'@open-codesign/artifacts': patch +--- + +fix(artifacts): close remaining streaming parser ...
1
1
1
[{"id": "G0", "claim": "Bare `<artifact>` is now accepted as a valid open tag because `next === '>'` passes the S1 guard, changing prior behavior (which required attributes) so literal prose mentioning the token can be reinterpreted as artifact markup and drop visible text (data-loss/behavior regression); suggested fix...
null
OpenCoworkAI__open-codesign__109
OpenCoworkAI/open-codesign
109
defect
cc66ec17d5b6d0a93cf6f4aa9091d0ea90795222
4f29823c089688864561e44ad3b3c63fa053bd1f
feat(core): progressive disclosure for system prompt by user-prompt keywords
## Summary The full create-mode system prompt was ~41 KB / ~10k tokens. That hard-fails small-context models (e.g. minimax-m2.5:free at 8k ctx) and dilutes attention on every other model so most directives get ignored. This PR splits the prompt into layers and emits only the layers that match the user's prompt keyword...
diff --git a/.changeset/progressive-prompt-disclosure.md b/.changeset/progressive-prompt-disclosure.md new file mode 100644 index 00000000..3ee3fb6a --- /dev/null +++ b/.changeset/progressive-prompt-disclosure.md @@ -0,0 +1,14 @@ +--- +'@open-codesign/core': minor +--- + +System prompt now does progressive disclosure b...
2
2
2
[{"id": "G0", "claim": "KEYWORDS_DASHBOARD matches substrings (graph in paragraph, metric in asymmetric/biometric), which can route unrelated prompts into dashboard mode; use word boundaries for the Latin terms while keeping CJK terms un-anchored.", "category": "correctness", "verdict": "supported", "priority": "P1", "...
null
OpenCoworkAI__open-codesign__113
OpenCoworkAI/open-codesign
113
defect
bb59ee625079f1f36b7a1c610a34e25e42d0532a
cbe72cacb657b7fef505db64949f1176f3a1401a
refactor(desktop): unify API config IPC + drop separate fast model slot
## Summary Two cleanups shipped together because they reshape the same surface area (API config / model selection): ### 1. Canonical IPC for API config mutations The 3 surfaces that touch API config (top-bar pill, Settings → API 服务, onboarding) used to call 3 different IPC handlers with 3 different return shapes. Th...
diff --git a/.changeset/unify-api-config.md b/.changeset/unify-api-config.md new file mode 100644 index 00000000..9f1a2a78 --- /dev/null +++ b/.changeset/unify-api-config.md @@ -0,0 +1,28 @@ +--- +'@open-codesign/desktop': minor +'@open-codesign/shared': minor +--- + +refactor(desktop): unify API config IPC + drop the ...
2
2
2
[{"id": "G0", "claim": "Unconditional `setAsActive: true` when adding a provider from Settings makes every newly-added provider active and can route subsequent generations to the wrong provider; it should be derived from onboarding state (e.g., only true when no configured key exists).", "category": "correctness", "ver...
null
OpenCoworkAI__open-codesign__135
OpenCoworkAI/open-codesign
135
defect
74d1fa4103ad12be53d8a53c2d1804ef8ba987fe
069e09cb0327b4fd1f5428f0177559bd58ee6f32
feat(providers): Ollama builtin + editable custom providers
## Summary - **Ollama as a builtin provider.** `requiresApiKey: false` on `ProviderEntry` lets any provider (builtin or custom) declare itself keyless; `isKeylessProviderAllowed` now honors it. `extractModelIds` falls back to the `{name}` shape so Ollama's `/api/tags` parses cleanly even when the user pastes the raw `...
diff --git a/.changeset/wacky-spoons-hang.md b/.changeset/wacky-spoons-hang.md new file mode 100644 index 00000000..8026f44d --- /dev/null +++ b/.changeset/wacky-spoons-hang.md @@ -0,0 +1,12 @@ +--- +'@open-codesign/desktop': minor +'@open-codesign/shared': minor +'@open-codesign/providers': patch +--- + +feat(provider...
5
3
3
[{"id": "G0", "claim": "`extractModelIds(body) ?? []` converts a parse failure into a success response, so the probe should return `{ ok:false, code:'PARSE' }` when the /api/tags body fails to parse into models instead of silently reporting detected with zero models.", "category": "correctness", "verdict": "supported",...
null
OpenCoworkAI__open-codesign__137
OpenCoworkAI/open-codesign
137
defect
27e5301424d1619d58822feda98f3b274587c3f7
a96a419cb6342c2aac8aa4445e9ae3c9bfa66af9
feat(ui): search input in model switcher dropdown
## Summary Long provider catalogs (DeepSeek, Zhipu, OpenRouter, …) return 40+ model IDs; scrolling by wheel to find the one you actually use is painful. The topbar/sidebar model switcher now shows a search box at the top of the dropdown whenever the list crosses an 8-item threshold, filtering case-insensitively by sub...
diff --git a/.changeset/model-switcher-search.md b/.changeset/model-switcher-search.md new file mode 100644 index 00000000..cc5510b1 --- /dev/null +++ b/.changeset/model-switcher-search.md @@ -0,0 +1,12 @@ +--- +'@open-codesign/desktop': patch +'@open-codesign/i18n': patch +--- + +feat(ui): search input in model switch...
1
1
0
[{"id": "G0", "claim": "The new search UI introduces hardcoded pixel values (`h-7`, `pl-7`, `pr-2`, `w-3 h-3`, `text-[12px]`) instead of design tokens, violating the token-only UI constraint and making theme/system-wide scaling harder to maintain.", "category": "maintainability", "verdict": "supported", "priority": "P2...
null
OpenCoworkAI__open-codesign__154
OpenCoworkAI/open-codesign
154
defect
2baa506110e764a135ad64b1834b8e81c49749d1
0f4640e6323de1300f8bb65fc21ea099930e9f6c
fix: allow larger binary attachments (images/png)
Binary attachments like images are not sent to LLM as content - only the filename is included in the prompt context. So there's no need to enforce the 256KB limit that applies to text attachments. - Add separate MAX_BINARY_ATTACHMENT_BYTES (10MB) limit - Only read full file for text attachments, probe-only for binary ...
diff --git a/apps/desktop/src/main/prompt-context.ts b/apps/desktop/src/main/prompt-context.ts index e0862559..08115b0b 100644 --- a/apps/desktop/src/main/prompt-context.ts +++ b/apps/desktop/src/main/prompt-context.ts @@ -29,7 +29,8 @@ const TEXT_EXTS = new Set([ ]); const MAX_ATTACHMENT_CHARS = 6_000; -const MAX_...
1
1
1
[{"id": "G0", "claim": "The else branch of the probe check silently truncates unknown-extension files whose content probes as text to MAX_TEXT_ATTACHMENT_BYTES instead of throwing, so oversized text-like input bypasses the UI-visible ATTACHMENT_TOO_LARGE error; the reviewer asks that readAttachment throw ATTACHMENT_TOO...
null
OpenCoworkAI__open-codesign__157
OpenCoworkAI/open-codesign
157
defect
4cec7ea25a77d20637df7ac5c52b1b00ea26897e
1df8013ef7cf88d891af7e950ef15e584f5f36a9
fix: send screenshot attachments to ChatGPT Codex
## Summary Fixes a `chatgpt-codex` bug where uploaded screenshots were only reduced to filename hints, so models like `gpt-5.4` could ignore the attached visual reference entirely. This patch keeps text attachments unchanged, encodes supported image attachments as data URLs in prompt preparation, and forwards them as ...
diff --git a/.changeset/codex-image-attachments.md b/.changeset/codex-image-attachments.md new file mode 100644 index 00000000..6af213b3 --- /dev/null +++ b/.changeset/codex-image-attachments.md @@ -0,0 +1,10 @@ +--- +'@open-codesign/desktop': patch +'@open-codesign/core': patch +--- + +fix: send attached screenshots t...
1
1
1
[{"id": "G0", "claim": "Every encoded image attachment is appended to the same Codex request with no combined size cap (each up to 10MB before base64 expansion), which can exceed request limits and cause avoidable main-process memory pressure; add a total image-byte cap and throw a typed error when exceeded.", "categor...
null
OpenCoworkAI__open-codesign__161
OpenCoworkAI/open-codesign
161
defect
80c72e2c8ca4b5200d500efd295fff0e0b332889
6dff02dd6b5f60d8ca9467889a483887b044492b
fix(providers): detect gateway missing Messages API and surface actionable error (#158)
## Summary 第三方中转(sub2api / claude2api / anyrouter / cpa 反代等)经常实现了 \`/v1/models\` 但没实现完整的 Anthropic Messages API。结果:测试连接通过,真实生成 500 not implemented。当前文案是通用 "The provider returned an error. Check your API key" —— 完全误导用户。 ## What changed - **新增** \`packages/providers/src/gateway-compat.ts\`:\`looksLikeGatewayMissingMes...
diff --git a/packages/core/src/errors.test.ts b/packages/core/src/errors.test.ts index ae3de388..2ec4a899 100644 --- a/packages/core/src/errors.test.ts +++ b/packages/core/src/errors.test.ts @@ -83,6 +83,20 @@ describe('remapProviderError', () => { expect(out).toBe(err); }); + it('tags 5xx "not implemented" ...
1
1
1
[{"id": "G0", "claim": "remapProviderError maps any provider's 501/\"not implemented\" error to PROVIDER_GATEWAY_INCOMPATIBLE without restricting to Anthropic, so non-Anthropic providers' ordinary 501/not-implemented responses get misclassified and the UI shows misleading Anthropic-Messages-API-specific guidance.", "ca...
null
OpenCoworkAI__open-codesign__162
OpenCoworkAI/open-codesign
162
defect
80c72e2c8ca4b5200d500efd295fff0e0b332889
4da2eeb7008dc557b33003cf6dde7169cf6f2a56
fix(codex): wrap token-store JSON parse errors and use atomic write (#128)
## Summary Win11 用户偶发 \`Error invoking remote method 'codesign:v1:generate': CodesignError: Unexpected end of JSON input\`。根因:\`codex-auth.json\` 被进程被 kill / antivirus 干扰 truncate 后,\`token-store.read()\` 抛裸 \`Error\`,IPC 透传时只剩 \`SyntaxError.message\`,用户完全不知所措。 ## What changed - **\`packages/providers/src/codex/toke...
diff --git a/packages/i18n/src/locales/en.json b/packages/i18n/src/locales/en.json index b81b4214..e2cfd818 100644 --- a/packages/i18n/src/locales/en.json +++ b/packages/i18n/src/locales/en.json @@ -131,6 +131,7 @@ "trigger": "Add context" }, "thinking": "Thinking", + "streamingLabel": "Assi...
1
1
1
[{"id": "G0", "claim": "The atomic-write temp file name uses only `process.pid`, so concurrent `write()` calls within the same process collide on one tmp file and can overwrite or unlink each other, degrading atomicity and losing credential writes; fix by adding a unique per-write suffix such as `randomUUID()`.", "cate...
null
OpenCoworkAI__open-codesign__163
OpenCoworkAI/open-codesign
163
defect
80c72e2c8ca4b5200d500efd295fff0e0b332889
9dbdb4af365617696b3ac34ecebdaa39df0aa780
fix(core): retry first-turn agent generation on transient errors (#125)
## Summary \`USE_AGENT_RUNTIME\` 默认 ON,99% 用户走 \`generateViaAgent → agent.prompt()\` 单次调用,**没有任何重试**。旧的 \`completeWithRetry\`(3 次指数退避)只在 USE_AGENT_RUNTIME=0 时才走。pi-ai 自身也无内建重试。结果:429/5xx/transient network 直接抛错给用户。 ## What changed - **\`packages/providers/src/retry.ts\`**:抽出通用 \`withBackoff<T>(fn, opts)\`,承担 sleep / ...
diff --git a/.changeset/agent-first-turn-retry.md b/.changeset/agent-first-turn-retry.md new file mode 100644 index 00000000..2f73fda6 --- /dev/null +++ b/.changeset/agent-first-turn-retry.md @@ -0,0 +1,6 @@ +--- +"@open-codesign/core": patch +"@open-codesign/providers": patch +--- + +Fix: retry first-turn agent genera...
1
1
1
[{"id": "G0", "claim": "The retry loop wraps the whole `agent.prompt() + agent.waitForIdle()` first turn, so if the first attempt already executed mutating tool side effects (file edits, TODO updates) before a transient failure, the retried attempt replays those side effects and can duplicate or corrupt state — gate re...
null
OpenCoworkAI__open-codesign__165
OpenCoworkAI/open-codesign
165
defect
5727a09abadd41bc36a4b016e2c32e300b187434
48b63c762ca3bc49e82b4b40f40bc7c171cf9f33
feat(diagnostics): bridge generate failures to diagnose() hypotheses (#130)
## Summary Test-connection 失败已经走 \`diagnose()\` 给出可操作 hypothesis(如 404 → \`missingV1\` + 自动加 \`/v1\`),但**真实生成失败完全没接这套系统**,用户只看到原始 IPC 错误文案,毫无方向。 本 PR 把 generate 失败接到 diagnostic hypothesis 系统,覆盖 404/4xx/5xx 多种场景,并为 404 missing-\`/v1\` 加自动 fix 按钮。 ## What changed ### main 进程 - \`apps/desktop/src/main/index.ts\`:gener...
diff --git a/.changeset/generate-failure-diagnose-bridge.md b/.changeset/generate-failure-diagnose-bridge.md new file mode 100644 index 00000000..fb924755 --- /dev/null +++ b/.changeset/generate-failure-diagnose-bridge.md @@ -0,0 +1,12 @@ +--- +'@open-codesign/desktop': patch +'@open-codesign/shared': minor +'@open-cod...
1
1
1
[{"id": "G0", "claim": "The silent fallback in applyGenerateBaseUrlFix (`if (api === undefined) return;`) violates the project rule that errors must surface instead of failing silently — when `window.codesign?.config?.updateProvider` is missing, clicking Apply fix no-ops with no user feedback, and an error toast should...
null
OpenCoworkAI__open-codesign__182
OpenCoworkAI/open-codesign
182
defect
803efab305756d8d965566e43f3ee29df43ead1c
0c69ab1161bf57c9c8fec802e38eac58acedb788
fix(desktop): degrade-probe test connection for OpenAI-compat endpoints without /models (#179)
Fixes #179. ## Summary - **Test connection degrade-probe.** When `GET /models` returns 404 on `openai-chat` or `openai-responses` wires, fall back to a minimal `POST /chat/completions` before declaring the endpoint dead. A 2xx or any API-originated 4xx (400 model_unknown / 402 insufficient credits / 422 / 429) counts...
diff --git a/apps/desktop/src/main/connection-ipc.test.ts b/apps/desktop/src/main/connection-ipc.test.ts index b9b91064..e298f2a4 100644 --- a/apps/desktop/src/main/connection-ipc.test.ts +++ b/apps/desktop/src/main/connection-ipc.test.ts @@ -18,6 +18,7 @@ import { getCacheKey, normalizeBaseUrl, normalizeOllam...
1
1
1
[{"id": "G0", "claim": "The openai-responses degrade probe is hardcoded to /chat/completions instead of the selected wire endpoint, which can mark a provider healthy even when its actual Responses endpoint fails at runtime; the probe path should be selected by wire and the new test updated accordingly.", "category": "c...
null
OpenCoworkAI__open-codesign__186
OpenCoworkAI/open-codesign
186
defect
803efab305756d8d965566e43f3ee29df43ead1c
01239373f7929f43e3b1001f05ceb0cc596a2e5f
fix(providers): strip models/ prefix for Gemini OpenAI-compat endpoint (#175)
## Summary Fixes #175. Google's OpenAI-compatible endpoint at `https://generativelanguage.googleapis.com/v1beta/openai/` accepts the same request shape as OpenAI Chat Completions but rejects model ids carrying the `models/` prefix that its own `/models` listing returns, producing an opaque `400 status code (no body)` ...
diff --git a/packages/providers/src/gemini-compat.test.ts b/packages/providers/src/gemini-compat.test.ts new file mode 100644 index 00000000..485dffa8 --- /dev/null +++ b/packages/providers/src/gemini-compat.test.ts @@ -0,0 +1,41 @@ +import { describe, expect, it } from 'vitest'; +import { isGeminiOpenAICompat, normali...
1
1
1
[{"id": "G0", "claim": "isGeminiOpenAICompat matches any URL containing 'generativelanguage.googleapis.com' as a substring, so spoofed or non-canonical base URLs (e.g. 'https://generativelanguage.googleapis.com.evil.example/...') are treated as Gemini and get their model IDs rewritten; the reviewer asks for strict URL ...
null
OpenCoworkAI__open-codesign__190
OpenCoworkAI/open-codesign
190
defect
803efab305756d8d965566e43f3ee29df43ead1c
f4a568451e8d42acc63c46ccd3fb72f7f3854e67
feat(settings): auto-detect running CLIProxyAPI and show import banner
## Summary Follow-up to #178 (CLIProxyAPI preset). When Settings > Models mounts, probe `http://127.0.0.1:8317/v1/models` — if CPA is running locally and not yet configured, show a one-click Import banner at the top of the provider list. Pattern borrowed from EasyCLI (official CPA GUI) and ProxyPal (1k★ SolidJS+Tauri...
diff --git a/.changeset/cpa-autodetect.md b/.changeset/cpa-autodetect.md new file mode 100644 index 00000000..222af09d --- /dev/null +++ b/.changeset/cpa-autodetect.md @@ -0,0 +1,8 @@ +--- +'@open-codesign/desktop': patch +'@open-codesign/i18n': patch +--- + +feat(settings): auto-detect running CLIProxyAPI and show imp...
8
3
2
[{"id": "G0", "claim": "The CPA detection probe's .catch silently downgrades failures to 'unavailable' without surfacing any error context, violating the project's no-silent-fallback constraint; surface the failure (e.g. via reportableErrorToast with cleanIpcError context).", "category": "correctness", "verdict": "supp...
null
OpenCoworkAI__open-codesign__194
OpenCoworkAI/open-codesign
194
defect
3d7b74e970987190b18a25b2d069e33c9ad19a34
139601c5bf71aece59a3e6851cd1912233af16c4
fix: enable reasoning for third-party OpenAI-compatible proxies
### Summary Fixes #188. The issue was that when a user configured: - OpenAI-compatible protocol - A third-party proxy (e.g. univibe) - A reasoning-capable model ID (e.g. ) would return because it only enabled reasoning for **official OpenAI API**. This caused the synthesized PiModel to have , and the gateway would...
diff --git a/packages/providers/src/index.test.ts b/packages/providers/src/index.test.ts index e05e30ae..ebdeaf80 100644 --- a/packages/providers/src/index.test.ts +++ b/packages/providers/src/index.test.ts @@ -555,4 +555,22 @@ describe('inferReasoning', () => { it('returns false when wire is undefined', () => { ...
2
1
1
[{"id": "G0", "claim": "The new '^gpt-5[-.]' alternative misses canonical plain 'gpt-5' model IDs on third-party OpenAI-compatible gateways, so proxied 'gpt-5' would be classified as non-reasoning and lose reasoning behavior.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"},...
null
OpenCoworkAI__open-codesign__196
OpenCoworkAI/open-codesign
196
defect
3d7b74e970987190b18a25b2d069e33c9ad19a34
c0815120b3a34085b9d21c614f7d5242c2af5ffe
feat: warn about coding plan app allowlists
## Summary Closes #195. This PR adds clearer user-facing warnings for coding-plan / relay / protocol-conversion endpoints that may reject Open CoDesign because of app allowlists, even when they advertise an OpenAI-compatible API. ### What changed - Added a compatibility notice next to the custom `Base URL` field in...
diff --git a/apps/desktop/src/renderer/src/components/AddCustomProviderModal.test.tsx b/apps/desktop/src/renderer/src/components/AddCustomProviderModal.test.tsx new file mode 100644 index 00000000..7698ad33 --- /dev/null +++ b/apps/desktop/src/renderer/src/components/AddCustomProviderModal.test.tsx @@ -0,0 +1,39 @@ +im...
3
2
1
[{"id": "G0", "claim": "The new heuristic that enables reasoning for third-party openai-chat endpoints based only on model-id patterns conflicts with the documented safety rationale and can reintroduce request-shape incompatibility (400s) on OpenAI-compatible gateways; revert to official-host-only reasoning unless expl...
null
OpenCoworkAI__open-codesign__220
OpenCoworkAI/open-codesign
220
defect
8f596f65e24c21ed07e76c1c4a1a6715240234df
50ba827c04d00fce80fdf73e86b90694a72e01ca
feat(desktop): align connection test credential resolution with runtime
## Summary / 摘要 This PR lands a first slice of #216 by aligning how connection tests resolve stored provider config and credentials with the same main-process helpers runtime invocation already relies on. 这个 PR 先为 #216 落第一刀:让“测试连接”在解析已保存 provider 配置与 credential 时,尽量复用 runtime 已经依赖的主进程 helper,而不是继续维护一套单独的语义。 ### What...
diff --git a/apps/desktop/src/main/connection-ipc.parity.test.ts b/apps/desktop/src/main/connection-ipc.parity.test.ts new file mode 100644 index 00000000..5634d866 --- /dev/null +++ b/apps/desktop/src/main/connection-ipc.parity.test.ts @@ -0,0 +1,160 @@ +import { beforeEach, describe, expect, it, vi } from 'vitest'; +...
1
1
1
[{"id": "G0", "claim": "resolveProviderConfig() rejects providers solely because cfg.secrets[providerId] is empty, so imported providers relying on the envKey fallback regress in connection:v1:test-provider / test-active; the premature secret check should be removed and credential resolution left to resolveApiKeyWithKe...
null
OpenCoworkAI__open-codesign__231
OpenCoworkAI/open-codesign
231
defect
dcb5510e5be5c613db0f4ca4de17cce1f379527c
61f86649bbd19e78dba95607b92ac1e99c549f1d
fix(desktop): restore garbled Chinese text in codex-oauth-ipc.ts (#202)
## Summary Fixes mojibake (garbled text) in `apps/desktop/src/main/codex-oauth-ipc.ts` caused by UTF-8 text being incorrectly decoded as GBK then re-saved as UTF-8. - Restored ChatGPT Codex provider display name from `ChatGPT 璁㈤槄` to `ChatGPT 订阅` - Fixed Chinese error message shown when ChatGPT account...
diff --git a/apps/desktop/src/main/codex-oauth-ipc.ts b/apps/desktop/src/main/codex-oauth-ipc.ts index fdcd7436..603c5c47 100644 --- a/apps/desktop/src/main/codex-oauth-ipc.ts +++ b/apps/desktop/src/main/codex-oauth-ipc.ts @@ -40,11 +40,11 @@ export { CHATGPT_CODEX_PROVIDER_ID }; const CHATGPT_CODEX_PROVIDER: Provid...
2
2
0
[{"id": "G0", "claim": "The restored null-account error message still has no exact regression assertion, so the same mojibake could return without failing CI.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add regression assertions for the exact restore...
null
OpenCoworkAI__open-codesign__263
OpenCoworkAI/open-codesign
263
defect
d4e9f57f7948d3352b0b360e648aff3080f12010
b7a71496691569782629cb496fbf66e5315bad17
fix(core): retry transport-level terminated errors with conversation replay
## Summary - When a proxy server drops a long-lived SSE connection (`terminated`, `premature close`, `stream ended`), the agent loop exits with `stopReason: "error"` but `agent.prompt()` resolves normally — so the existing `withBackoff` retry never triggers - Add a post-agent transport retry loop that detects these er...
diff --git a/packages/core/src/agent.test.ts b/packages/core/src/agent.test.ts index 1b7a48f6..f4b6632c 100644 --- a/packages/core/src/agent.test.ts +++ b/packages/core/src/agent.test.ts @@ -58,6 +58,14 @@ interface AgentScript { * behavior that flattens getApiKey throws into `errorMessage: string`). */ invo...
2
2
2
[{"id": "G0", "claim": "stripFailedTurn() only drops the terminal error assistant plus an immediately preceding user message, so a failed turn that already emitted assistant tool-call messages or toolResult entries survives into the replayed initialState.messages and the fresh agent resumes from a corrupted half-turn i...
null
OpenCoworkAI__open-codesign__293
OpenCoworkAI/open-codesign
293
defect
4e0c40cf6a1010fc8280c861f9700cf5acc50c08
0a056a02025da5c7f64131f02c3eca3bbc449cc7
fix(core): retry reasoning content failures
## Summary - detect provider errors that require prior reasoning_content to be echoed back - retry the current agent transcript once with thinkingLevel=off instead of failing the generation - keep existing transport retry behavior and add regression coverage for both prompt replay and tool-result continuation fallback ...
diff --git a/.changeset/reasoning-content-fallback.md b/.changeset/reasoning-content-fallback.md new file mode 100644 index 00000000..e5159350 --- /dev/null +++ b/.changeset/reasoning-content-fallback.md @@ -0,0 +1,5 @@ +--- +"@open-codesign/core": patch +--- + +Retry agent turns with reasoning disabled when an OpenAI-...
3
2
2
[{"id": "G0", "claim": "canContinueAgent may call agent.continue() when the last message is a plain user message, which is not valid in real pi-agent-core and could cause a runtime failure in production; the reviewer asks to replace it with a tool-result check and call agent.prompt() for a plain user message.", "catego...
null
OpenCoworkAI__open-codesign__294
OpenCoworkAI/open-codesign
294
defect
075ff2225230aa660e5a62c2ab348d34e39c7e8a
06256659cc9979764332f864d858c168d7071a6c
fix(desktop): show delivered previews in files panel
## Summary Fixes #248. - Show a virtual `index.html` in the Files panel when `previewHtml` exists but the workspace file list is empty or unavailable. - Mark preview-derived entries with `source: preview-html` so file preview uses the in-memory preview content instead of trying to read a nonexistent workspace file. -...
diff --git a/.changeset/files-preview-fallback.md b/.changeset/files-preview-fallback.md new file mode 100644 index 00000000..1fa060c0 --- /dev/null +++ b/.changeset/files-preview-fallback.md @@ -0,0 +1,5 @@ +--- +'@open-codesign/desktop': patch +--- + +Show a virtual `index.html` in the Files panel when a generated pr...
2
1
0
[{"id": "G0", "claim": "The `previewHtmlFallbackFile` helper defaults `updatedAt` to `new Date().toISOString()`, so the virtual index.html always shows the current render time instead of the preview's actual generation time; the author should pass a timestamp from the store (e.g. the design's `updatedAt`) instead.", "c...
null
OpenCoworkAI__open-codesign__296
OpenCoworkAI/open-codesign
296
defect
cd71db491ec89667151b53e99127d55e27fddd77
66054e410c629739aad07eae5a1b71ec888b92b1
fix(desktop): clarify terminated generation errors
## Summary Refs #189. - Convert opaque transport failure messages like `terminated` into a clearer provider-connection interruption explanation. - Keep the raw provider/IPC detail in the visible message as `Technical detail: ...` and in reportable error records. - Avoid duplicating the same diagnostic cause in the to...
diff --git a/.changeset/terminated-transport-display.md b/.changeset/terminated-transport-display.md new file mode 100644 index 00000000..2092ab3b --- /dev/null +++ b/.changeset/terminated-transport-display.md @@ -0,0 +1,5 @@ +--- +'@open-codesign/desktop': patch +--- + +Show a clearer transport-interrupted explanation...
5
1
0
[{"id": "G0", "claim": "The PR body claims \"Fixes #189\" but the issue's acceptance criteria could not be verified, so a maintainer should confirm the issue is fully addressed before merging, or downgrade the reference to \"Refs #189\" with follow-up issues if it is only partially addressed.", "category": "documentati...
null
OpenCoworkAI__open-codesign__299
OpenCoworkAI/open-codesign
299
defect
576e34164c2aeed55dc37f9b814ee5c2a36ac68a
c6955a34e1815dce5806b3a2474e82696dacd21d
fix(desktop): fall back from denied workspace watches
## Summary - fall back to polling workspace metadata when recursive fs.watch is denied with EPERM/EACCES - switch an already-running watcher to polling if a runtime permission error is emitted - keep generic watch startup failures rejected so truly invalid watcher setup still surfaces Fixes #287 ## Validation - pnpm ...
diff --git a/.changeset/windows-watch-eperm-polling.md b/.changeset/windows-watch-eperm-polling.md new file mode 100644 index 00000000..ecaf8987 --- /dev/null +++ b/.changeset/windows-watch-eperm-polling.md @@ -0,0 +1,5 @@ +--- +'@open-codesign/desktop': patch +--- + +Fall back to polling workspace files when native re...
4
3
1
[{"id": "G0", "claim": "The `log.warn` call for the routine polling-start event in `startPolling` should be `log.info`, reserving `warn` for actual degradation so it does not pollute log monitoring.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
OpenCoworkAI__open-codesign__78
OpenCoworkAI/open-codesign
78
defect
1a5ebcd1be45551e2b595adbbfe4c365d11e4b9b
208ab0b9efb12068350b9ac85d20da7a1b8df098
feat(core): chart rendering contract
## Summary The system prompt now includes a dedicated **Chart rendering contract** section so the model emits real chart markup instead of label lists or empty section headers. Refactored to align with the cdnjs whitelist landed in #102. ## What changed - New `packages/core/src/prompts/chart-rendering.v1.txt` (mirro...
diff --git a/packages/core/src/generate.test.ts b/packages/core/src/generate.test.ts index 0668fcfe..fcf0e57f 100644 --- a/packages/core/src/generate.test.ts +++ b/packages/core/src/generate.test.ts @@ -646,6 +646,17 @@ describe('composeSystemPrompt()', () => { expect(prompt).toContain('Customer quotes deserve dis...
3
3
3
[{"id": "G0", "claim": "The chart contract's external-resource guidance - Chart.js loaded from cdn.jsdelivr.net and Recharts via esm.sh (later softened to an opt-in) - conflicts with the output-rules policy that permits only Tailwind CDN and Google Fonts, and can regress generated artifacts into disallowed external scr...
null
OpenCoworkAI__open-cowork__120
OpenCoworkAI/open-cowork
120
defect
f254c9178dd80b5c4d104120dc91818b77267807
66068093165bb1c1abefe1201f250352291afdfa
fix(mcp): prefer system npx on Windows
## Summary - prefer a system `npx.cmd` on Windows when launching MCP connectors that use bare `npx` - keep the bundled runtime as a fallback when no external `npx.cmd` exists - add regression coverage for Windows PATH resolution so Chrome DevTools MCP does not get pinned to the bundled npx ## Testing - npx vitest run ...
diff --git a/src/main/mcp/mcp-manager.ts b/src/main/mcp/mcp-manager.ts index 658072240..9b377a2bf 100644 --- a/src/main/mcp/mcp-manager.ts +++ b/src/main/mcp/mcp-manager.ts @@ -52,6 +52,44 @@ export interface MCPTool { serverName: string; } +function normalizeWindowsPathForComparison(candidate: string): string { ...
1
1
1
[{"id": "G0", "claim": "Returning the first non-bundled npx.cmd from PATH can execute a hijacked npx.cmd from user-writable directories even when a trusted bundled runtime exists; the resolver should only accept PATH entries under trusted system nodejs directories.", "category": "security", "verdict": "supported", "pri...
null
OpenCoworkAI__open-cowork__124
OpenCoworkAI/open-cowork
124
defect
ee92062fd24afb229de126d9c3043be85f766ab5
886d961b4b49da44de9d03a8a6cdfaa2881c312a
fix(gui): keep screenshot images out of tool text context
## Summary\n- keep MCP screenshot image payloads out of the text returned to the agent\n- store screenshot images in structured tool-result images instead of serializing base64 into content\n- add regression tests for model-context formatting and UI tool-result extraction\n\n## Testing\n- npx vitest run tests/tool-resu...
diff --git a/src/main/claude/agent-runner.ts b/src/main/claude/agent-runner.ts index df23e9829..18a7d4a81 100644 --- a/src/main/claude/agent-runner.ts +++ b/src/main/claude/agent-runner.ts @@ -61,6 +61,10 @@ import { } from './pi-model-resolution'; import { buildPiSessionRuntimeSignature } from './pi-session-runtime'...
2
1
1
[{"id": "G0", "claim": "The image dedupe key (MIME type + base64 length + first 48 chars) can collide for distinct screenshots, so a different image can be dropped and never rendered in tool_result.images.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim...
null
OpenCut-app__OpenCut__501
OpenCut-app/OpenCut
501
defect
e6e08057f510e70c956af0f0c08c6eef349edf3c
6412158003f295a350fc66800796f30c8f3c534b
Feat/timeline return to start
- Add Enter key shortcut for seeking to timeline start (00:00:00) - Add return to start button in timeline toolbar with skip-back icon - Both methods complement existing Home key shortcut - Update keyboard shortcuts help to display Enter key properly - Maintain consistent UI styling with existing playback controls ...
diff --git a/apps/web/package.json b/apps/web/package.json index 9531b6c72e..54f0c31fa3 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -7,6 +7,8 @@ "dev": "next dev", "build": "next build", "start": "next start", + "test": "vitest", + "test:run": "vitest run", "lint": "biome...
5
4
0
[{"id": "G0", "claim": "Replace __dirname in apps/web/vitest.config.ts with an ES module alternative (import.meta.url) or a relative path, since the coding guidelines prohibit __dirname in the global scope.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "...
null
OpenCut-app__OpenCut__753
OpenCut-app/OpenCut
753
defect
f2eed05d36846cd771458b20e77840e907084bc5
0c7cc113924dbe304eba052b84f96c5b6098397a
fix(security): replace new Function() with safe math expression parser
## Summary Fixes #725 by replacing the dangerous `new Function()` constructor in `evaluateMathExpression()` with a safe recursive descent parser. ## Problem The `evaluateMathExpression` function in `apps/web/src/utils/math.ts` used `new Function()` to evaluate math expressions. While the current regex validation is ...
diff --git a/apps/web/src/utils/__tests__/math.test.ts b/apps/web/src/utils/__tests__/math.test.ts new file mode 100644 index 0000000000..4bdb959f97 --- /dev/null +++ b/apps/web/src/utils/__tests__/math.test.ts @@ -0,0 +1,120 @@ +import { describe, expect, it } from "bun:test"; +import { evaluateMathExpression } from "...
3
1
1
[{"id": "G0", "claim": "Number.parseFloat partially parses malformed numeric tokens, so tokens like \"1..2\" are accepted as 1 instead of being rejected; it should be replaced with strict number validation (Number + Number.isFinite).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intro...
null
OpenCyphal__libcanard__106
OpenCyphal/libcanard
106
defect
43c53854e70e7adc758f6a4131112c71029cf57a
927478408684f1fbfe04872d73541ecf51a82ee6
Updated API entities to match v1.0
This PR implements the comments from #98. Could still be defines/constants which may not be used.
diff --git a/DESIGN.md b/DESIGN.md index 1bd9a227..1c842cc4 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -142,9 +142,9 @@ Few things to note: Value of the field dtid_tt_snid_dnid can be computed with the following helper macro: ```c -#define CANARD_MAKE_SESSION_SPECIFIER(data_type_id, transfer_type, \ +#define CANARD_...
8
7
0
[{"id": "G0", "claim": "The DESIGN.md comment on CanardRxTransfer.source_node_id wrongly says '1 to 127' for the range; it should read '0 to 127, or 255 if the source is anonymous' since 0 is a valid source node ID.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": ...
null
OpenDCAI__DataFlow__282
OpenDCAI/DataFlow
282
defect
129da81e94a689c53e39622338c7a2815b788dfb
41b5965307f6d2c2f0e7a4f1ef318f62ebc2a5b6
[Update] Structural output feature added by using json_schema
This release is compatible with GPT-4 and later versions, as well as the Gemini 2.5 series models. For the GPT series, please note that the _system_prompt_ must explicitly instruct the model to respond in **JSON format**. Other models are only partially supported at the moment. In future updates, we plan to enhance t...
diff --git a/dataflow/operators/core_text/generate/prompted_generator.py b/dataflow/operators/core_text/generate/prompted_generator.py index f6bfabcb..c3f4b057 100644 --- a/dataflow/operators/core_text/generate/prompted_generator.py +++ b/dataflow/operators/core_text/generate/prompted_generator.py @@ -11,9 +11,14 @@ cl...
1
1
0
[{"id": "G0", "claim": "The PR should not modify the existing test/demo files in place; new files (e.g. translate_api_json_restrict.py-style *_json_schema.py demos) should be created alongside the originals so the JSON-schema variants live in their own files.", "category": "design", "verdict": "supported", "priority": ...
null
OpenDataPlane__odp__1059
OpenDataPlane/odp
1,059
defect
e5dcba0c1b9352507e73ed750eba0d8501fa9d97
c9bc76cfcb6d3cf31ba24ee6d75bef08e6bffecc
[PATCH v6] api: pktio: add pktout no packet refs
Currently ODP spec provides support for holding references to packets and thereby those packets are not freed by platform after transmission if they have more than one reference. This support is useful when using stack that needs retransmissions like TCP or some fragmentation implementations. Most of the other...
diff --git a/doc/users-guide/users-guide-pktio.adoc b/doc/users-guide/users-guide-pktio.adoc index 73d6e0485ea..83eb9f04178 100644 --- a/doc/users-guide/users-guide-pktio.adoc +++ b/doc/users-guide/users-guide-pktio.adoc @@ -390,6 +390,11 @@ transmitted: * contain at least as many data bytes after L3/L4 offsets as th...
5
4
1
[{"id": "G0", "claim": "The per-packet refcount update and memory barrier cause a large performance hit; the code could instead just do a single (relaxed) atomic read and comparison of the refcount.", "category": "performance", "verdict": "opposed", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The...
null
OpenDataPlane__odp__1068
OpenDataPlane/odp
1,068
defect
e278ff4f4a705691a18ea7d7013d12288a3c747e
e700cb8dbf029c06f734c341c5462b7142e66db1
[PATCH v13] api: ipsec: add odp_ipsec_sa_info
The proposed API, odp_ipsec_sa_info(), allows application to check parameters associated with an IPsec SA. Retrieved information covers constant fields that application had provided while creating session (like details of cipher choices) and variables associated with IPsec (like sequence number, anti-replay paramet...
diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h index 9ac67503d87..8e4d7e630f5 100644 --- a/include/odp/api/spec/ipsec.h +++ b/include/odp/api/spec/ipsec.h @@ -762,6 +762,37 @@ typedef struct odp_ipsec_sa_param_t { } odp_ipsec_sa_param_t; +/** + * Retrieve IPSEC SA information + */ +typede...
11
10
1
[{"id": "G0", "claim": "The inb/outb struct names in odp_ipsec_sa_info_t should use the full words inbound and outbound, like the union in odp_ipsec_sa_param_t.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ar_top should be renamed to something...
null
OpenDataPlane__odp__1070
OpenDataPlane/odp
1,070
defect
2f0e7469c5876a439e8158460d9ff5362f4f7439
32ea0b6de997ab685e967328eb442ce05bcf0a43
[PATCH v6] api: packet: specify errors returned in case of IPsec
In case of IPsec packets, odp_packet_has_error() can be used to check parse errors after IPsec processing. All IPsec errors/warnings need to be checked using odp_ipsec_result().
diff --git a/include/odp/api/spec/packet_flags.h b/include/odp/api/spec/packet_flags.h index 0e42439686e..7c1386cb62f 100644 --- a/include/odp/api/spec/packet_flags.h +++ b/include/odp/api/spec/packet_flags.h @@ -27,7 +27,7 @@ extern "C" { */ /** - * Check for all errors in packet + * Check for all parse errors in...
4
3
2
[{"id": "G0", "claim": "Removing the odp_packet_has_error() check from the IPsec validation test is wrong: what is redundant in a normal application can be useful test coverage in an API validation test, and if the API spec says an error can be reported in two ways the check should check both ways.", "category": "testi...
null
OpenDataPlane__odp__1083
OpenDataPlane/odp
1,083
defect
fb01b1da51009ede89d5b419e653db9f5f0f4d25
b6d65aede6fbd3ef6cca2bd56e1ef64748d5f0f1
[PATCH v2] api: pktio: support for HW Tx timestamp offload
This PR adds reference implementation to the original API PR #1055. Some of the original commits have been modified (mainly for readability, no functional API changes). The original commits which have been modified can be identified by the new signed-off-by tags.
diff --git a/doc/users-guide/users-guide-pktio.adoc b/doc/users-guide/users-guide-pktio.adoc index 73d6e0485ea..3fae577f3be 100644 --- a/doc/users-guide/users-guide-pktio.adoc +++ b/doc/users-guide/users-guide-pktio.adoc @@ -390,11 +390,22 @@ transmitted: * contain at least as many data bytes after L3/L4 offsets as t...
1
1
0
[{"id": "G0", "claim": "The commit comment should say \"save memory\" or similar instead of \"Reserve memory\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
OpenDataPlane__odp__1121
OpenDataPlane/odp
1,121
defect
47582ad6c321671accf1edf26c8d0c467d4c5a50
49e9b0ba3f1f75cd045c245a79512fff777b6790
[PATCH v7] api: new_cls_terms
## api: cls: introduce IGMP group addr term Introduce IGMP group address term. Signed-off-by: Jerin Jacob <jerinj@marvell.com> Signed-off-by: Kiran Kumar K <kirankumark@marvell.com> Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com> ## api: cls: introduce ICMP terms Introduce ICMP identifier, code and type term...
diff --git a/helper/Makefile.am b/helper/Makefile.am index aa645cc8e73..145a893e84c 100644 --- a/helper/Makefile.am +++ b/helper/Makefile.am @@ -15,6 +15,7 @@ helperinclude_HEADERS = \ include/odp/helper/chksum.h\ include/odp/helper/odph_debug.h \ include/odp/helper/eth.h\ + include/odp/helper/gtpu.h\...
5
5
1
[{"id": "G0", "claim": "The ODP_GTPU_UDP_PORT macro probably does not need to be in the helper header and could just be defined in the validation test where it is used.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The API should state, in some form, wh...
null
OpenDataPlane__odp__1124
OpenDataPlane/odp
1,124
defect
a4daf6f605489427d999ef3e592e4ebbab54a557
a8f7e34b4ff1291701d1f23bda3434dd3a8b3ec9
[PATCH v6] Timer perf: test timer cancel+set rate
Added -m option to select test mode. Added a new mode, which runs timer cancel and set operations in a loop and measures performance. Generally, timers should not expire in this mode.
diff --git a/test/performance/Makefile.am b/test/performance/Makefile.am index 5c91cbd7153..4696b2c5eb9 100644 --- a/test/performance/Makefile.am +++ b/test/performance/Makefile.am @@ -9,21 +9,22 @@ EXECUTABLES = odp_bench_packet \ odp_pktio_perf \ odp_pool_perf \ odp_queue_perf \ - odp_sc...
4
4
2
[{"id": "G0", "claim": "In odp_timer_perf_run.sh the script checks $? after an intervening echo, so it tests the echo's exit status instead of the test run's and a failed test run cannot fail the script.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":...
null
OpenDataPlane__odp__1127
OpenDataPlane/odp
1,127
defect
6750ea6f479a01f1e9b090fcfe8e444b1ed89124
623497268ebf8b68f05529e44a5fbce1a6acf983
[PATCH v5] api: ipsec: add print APIs
Add API to print implementation defined information about specified SA. When SA specified is invalid, implementation may choose to print global IPSEC configuration and other related information. Signed-off-by: Sachin Yaligar <syaligar@marvell.com> Signed-off-by: Aakash Sasidharan <asasidharan@marvell.com>
diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h index 48b046e43ea..a4fc7eac27e 100644 --- a/include/odp/api/spec/ipsec.h +++ b/include/odp/api/spec/ipsec.h @@ -18,6 +18,7 @@ extern "C" { #endif +#include <stdio.h> #include <odp/api/crypto.h> #include <odp/api/support.h> #include <odp/api...
3
3
2
[{"id": "G0", "claim": "The new odp_ipsec_sa_print() should drop the FILE parameter and the optional ODP_IPSEC_SA_INVALID behavior, with global IPSEC configuration printing moved to a separate debug function.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":...
null
OpenDataPlane__odp__1140
OpenDataPlane/odp
1,140
defect
3f076a341b2f46f4110f6d96e926be19a9934b85
217ae05b39fe55d9a7c5523ddb4f6b4da718a4b9
[PATCH v8] api: pool: add support for statistics and indexes
V2: - Added new `odp_pool_stats_t.alloc_fails` counter and clarified definitions of several other counters - Tweaked `odp_pool_stats()` and `odp_pool_stats_reset()` documentations
diff --git a/include/odp/api/spec/pool.h b/include/odp/api/spec/pool.h index fc83e7f3b11..eb5b84894ba 100644 --- a/include/odp/api/spec/pool.h +++ b/include/odp/api/spec/pool.h @@ -44,6 +44,78 @@ extern "C" { /** Maximum number of packet pool subparameters */ #define ODP_POOL_MAX_SUBPARAMS 7 +/** + * Pool statisti...
1
1
1
[{"id": "G0", "claim": "The API should define what counts as an alloc operation: alloc_ops (and cache_alloc_ops) should document whether failed allocations from an empty pool or cache are counted, and alloc_ops probably should not be incremented when the allocation returns nothing.", "category": "correctness", "verdict...
null
OpenDataPlane__odp__1146
OpenDataPlane/odp
1,146
defect
0345426826d304e3b767beaac45daed7edef3288
2afb73c4e148f234b5f109c4277cabdbded56520
[PATCH v4] helper: ipsec: add capability check function
Add IPSEC capability check function in helper to check whether the specified IPSEC configuration is supported. Signed-off-by: Aakash Sasidharan <asasidharan@marvell.com>
diff --git a/test/performance/odp_ipsec.c b/test/performance/odp_ipsec.c index 37a30a3ba34..404384cfb6a 100644 --- a/test/performance/odp_ipsec.c +++ b/test/performance/odp_ipsec.c @@ -784,13 +784,167 @@ run_measure_one_async(ipsec_args_t *cargs, return rc < 0 ? rc : 0; } +#define MAX_ALG_CAPA 32 + +static int +ip...
2
2
0
[{"id": "G0", "claim": "The \"Wrong cipher capabilities\" message printed when the capability call fails is unclear and should be reworded to something like \"Could not get cipher capabilities\" or \"Cipher capability call failed\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "intr...
null
OpenDataPlane__odp__1161
OpenDataPlane/odp
1,161
defect
9670b8cc6b0f593a47a1abeafe0ee911ba13730d
c078ec9a0419f917c0510cd2dcfe20363e67e543
[PATCH v4] test: mem_perf: add memory performance test
Added new test application that measures memory system bandwidth.
diff --git a/test/performance/.gitignore b/test/performance/.gitignore index a4e78b9affd..80396e5d9cc 100644 --- a/test/performance/.gitignore +++ b/test/performance/.gitignore @@ -6,6 +6,7 @@ odp_cpu_bench odp_crypto odp_ipsec odp_l2fwd +odp_mem_perf odp_packet_gen odp_pktio_ordered odp_pktio_perf diff --git a/t...
6
6
3
[{"id": "G0", "claim": "In mode 1 the fastpath should use an AND operation (i & 1) instead of the modulo operator (i % 2).", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The global test_global variable should be declared static.", "category": "maint...
null
OpenDataPlane__odp__1162
OpenDataPlane/odp
1,162
defect
963e485687025effa3a7619d1fae5d0817c3e6fe
a872e9e9fbac49c1b305881b580f5e05495fe0fe
[PATCH v9] linux-gen: improve software checksum implementation
``` linux-gen: improve software checksum implementation Improve software checksum implementation and put it in a separate header file so that it may be easily called from multiple places. Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com> linux-gen: packet: use new software checksum f...
diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 66fbf336466..66862f320f1 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -95,6 +95,7 @@ noinst_HEADERS = \ include/odp_atomic_internal.h \ include/odp_bitset.h \ include/...
3
3
1
[{"id": "G0", "claim": "Implementation-internal files do not need doxygen tags (and /**), and psavol asks that the doxygen tags be removed from the new odp_chksum_internal.h so that \"make doxygen-doc\" stays warning-free.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ...
null
OpenDataPlane__odp__1184
OpenDataPlane/odp
1,184
defect
869a04c389ceeb25e8a854b890e0af2d26382b2a
71f199fe6178551a6e1ad408e030e38893f29731
[PATCH v3] api: timer: debug print
Add debug print functions and makes user pointer type const (bumped into that while writing new tests).
diff --git a/example/debug/odp_debug.c b/example/debug/odp_debug.c index 1f2c7a8a25b..c7813c94923 100644 --- a/example/debug/odp_debug.c +++ b/example/debug/odp_debug.c @@ -6,6 +6,8 @@ #include <stdlib.h> #include <stdio.h> +#include <stdint.h> +#include <inttypes.h> #include <string.h> #include <getopt.h> @@ -...
1
1
0
[{"id": "G0", "claim": "In main(), the new odp_schedule_config failure path should exit(EXIT_FAILURE) instead of returning -1, matching the surrounding error handling.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenDataPlane__odp__1188
OpenDataPlane/odp
1,188
defect
431c9939bc3b87c995308d2aa4f22689ca158f56
1919d4364fd8c7b0db28ad19a5d777b4d7815e94
[PATCH v6] api: ipsec: define more default values & improve SA info API
Define default values for more fields of odp_ipsec_sa_param_t so that applications do not always have to explicitly initialize as many fields after the odp_ipsec_sa_param_init() call. The current validation tests do not actually set all the parameters that they should. It can cause test failures in implementations t...
diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h index 156d6601983..b15bac40036 100644 --- a/include/odp/api/spec/ipsec.h +++ b/include/odp/api/spec/ipsec.h @@ -452,13 +452,13 @@ typedef struct odp_ipsec_ipv4_param_t { /** IPv4 destination address (NETWORK ENDIAN) */ void *dst_addr; - /** ...
6
4
2
[{"id": "G0", "claim": "Asked whether the union-to-struct change of odp_ipsec_sa_param_t's direction-dependent parameters is intentional, noting that sa_info is supposed to return this struct and memory usage would increase, and proposing that the docs state that inbound/outbound fields are ignored based on dir.", "cat...
null
OpenDataPlane__odp__1194
OpenDataPlane/odp
1,194
defect
7796925ba39ef410f4eb512ad853d16e026b5f51
8aa277d86ef3dc0cc0ee1395c79e52c2faac7f3d
[PATCH v2] api: queue: print all queues
Debug print function which can be used to check parameters of all created queues.
diff --git a/include/odp/api/spec/queue.h b/include/odp/api/spec/queue.h index 0260a7a33a0..005229e3502 100644 --- a/include/odp/api/spec/queue.h +++ b/include/odp/api/spec/queue.h @@ -304,6 +304,14 @@ int odp_queue_info(odp_queue_t queue, odp_queue_info_t *info); */ void odp_queue_print(odp_queue_t queue); +/** +...
6
6
1
[{"id": "G0", "claim": "The COL_WIDTH macro in odp_queue_basic.c should instead be a const declared inside the function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In odp_queue_scalable.c the post-unlock continue guard in the new print loop ...
null
OpenDataPlane__odp__1197
OpenDataPlane/odp
1,197
defect
c70de9461221d30ec2dd95bb5ce8aa46e009d011
fdd24d5801995061f800e7921c2e7157cb7d80a3
[PATCH v3] Increase the maximum number of IPsec SAs and crypto sessions
- linux-gen: ipsec: increase the maximum number of SAs - linux-gen: ipsec: do not alloc per-thread memory for too many threads - validation: ipsec: test maximum number of SAs - validation: ipsec: enable antireplay service and lifetimes - linux-gen: crypto: increase the maximum number of sessions to 4000 Also, up...
diff --git a/platform/linux-generic/include/odp_config_internal.h b/platform/linux-generic/include/odp_config_internal.h index 35f1c9142ec..1e8b390ddc5 100644 --- a/platform/linux-generic/include/odp_config_internal.h +++ b/platform/linux-generic/include/odp_config_internal.h @@ -1,5 +1,5 @@ /* Copyright (c) 2016-2018...
1
1
0
[{"id": "G0", "claim": "The comment on auth_key_data says 192-bit key for SHA-1, but the array holds a 160-bit key.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenDataPlane__odp__1205
OpenDataPlane/odp
1,205
defect
07e583bcbd09ba4852193e6732136148fef1022b
132546529758b059d83bfaba24186b1a54b5d5e5
[PATCH v9] api: pktio: add pktout aging drop support
commit 132546529758b059d83bfaba24186b1a54b5d5e5 Author: Jerin Jacob <jerinj@marvell.com> Date: Thu Feb 11 13:43:24 2021 +0530 api: pktio: add pktout aging drop support Add pktout support to age packets stuck in packet output queue and drop them after given timeout that is set per packet. ...
diff --git a/include/odp/api/spec/packet.h b/include/odp/api/spec/packet.h index 3810c279a05..e1febd81e18 100644 --- a/include/odp/api/spec/packet.h +++ b/include/odp/api/spec/packet.h @@ -2140,6 +2140,50 @@ uint32_t odp_packet_payload_offset(odp_packet_t pkt); */ int odp_packet_payload_offset_set(odp_packet_t pkt, ...
4
3
2
[{"id": "G0", "claim": "The aging timeout unit should be nanoseconds, as generally used elsewhere in ODP, and its type should be uint64_t so there are enough bits.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The exact point of packet drop should be sp...
null
OpenDataPlane__odp__1206
OpenDataPlane/odp
1,206
defect
96938355276b34cb9feebfab0ceb0ff940efa173
75d55ca67dc39a3cb3ec8d246418e2942b85854b
[PATCH v12] api: packet_io: packet Tx completion event feature
commit acadccb2f1668331a8ba24cc500b27dd541db77a Author: Nithin Dabilpuram <ndabilpuram@marvell.com> Date: Fri Feb 12 23:16:18 2021 +0530 api: packet: introduce packet tx completion handling routines Introduce odp_packet_tx_compl_t type handling functions to alloc and free the compl from packe...
diff --git a/include/odp/api/abi-default/event.h b/include/odp/api/abi-default/event.h index a63571ca082..8976252f3bc 100644 --- a/include/odp/api/abi-default/event.h +++ b/include/odp/api/abi-default/event.h @@ -30,7 +30,8 @@ typedef enum { ODP_EVENT_TIMEOUT = 3, ODP_EVENT_CRYPTO_COMPL = 4, ODP_EVENT_IPSEC_STATU...
4
2
2
[{"id": "G0", "claim": "A new pool type may not be needed for TX completion; a new event type (like crypto completion) would do, which applications receive, forward and free but cannot allocate.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "claim": "The pktout conf...
null
OpenDataPlane__odp__1221
OpenDataPlane/odp
1,221
defect
a12cdac820b1a4633d1c24e4c3d3e3a4f24cdcce
2741c7ee7dcf4ac4edc4b466310fb10af0bc21e3
[PATCH v5] api: classification: print debug info for all classifier rules
Add odp_cls_print_all(), which prints implementation specific debug information for all classifier rules. Example print: ``` Classifier info --------------- cos: DefaultCos(1) queue: DefaultQueue rules: PMR_SIP_ADDR: 0a0a0a00 ffffff00 -> CoSqueue1(2) PMR_SIP_ADDR: c0a80000 ffff0000 -> CoS...
diff --git a/include/odp/api/spec/classification.h b/include/odp/api/spec/classification.h index c33aca13f30..31ce3e7948b 100644 --- a/include/odp/api/spec/classification.h +++ b/include/odp/api/spec/classification.h @@ -817,6 +817,14 @@ uint64_t odp_cos_to_u64(odp_cos_t hdl); */ uint64_t odp_pmr_to_u64(odp_pmr_t hd...
4
4
1
[{"id": "G0", "claim": "The classifier info print should start with a new line, so the info block is easier to spot in the middle of a log when the previous print did not end with a newline.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "CoS and...
null
OpenDataPlane__odp__1227
OpenDataPlane/odp
1,227
defect
c13760d158b8d62da0e6613170611364006b75d0
29e76b5c4e209eaf450949fa696b60e11cfbdc8c
[PATCH v2] 128-bit atomics implementation optimization
V2: - Fixed `odp_atomic_lock_free_u128()` capabilities (Petri)
diff --git a/include/odp/api/abi-default/atomic.h b/include/odp/api/abi-default/atomic.h index a58f42b8f32..ce454499c91 100644 --- a/include/odp/api/abi-default/atomic.h +++ b/include/odp/api/abi-default/atomic.h @@ -60,7 +60,7 @@ typedef struct ODP_ALIGNED(sizeof(uint64_t)) odp_atomic_u64_s { #endif -#ifdef _ODP_...
1
1
1
[{"id": "G0", "claim": "Since the API has only three 128-bit operations (plus init), the __atomic_is_lock_free branch of odp_atomic_lock_free_u128() should set only those three capability flags (all_bits = 0; op.load = 1; op.store = 1; op.cas = 1) instead of marking all operations lock-free (all_bits = ~0 with only op....
null
OpenDataPlane__odp__1235
OpenDataPlane/odp
1,235
defect
0236da9fe33fdea26477b2d7dad38b05d355d943
a6586b371e9d48781a94829e76e543720767fad2
[PATCH v3] api: tm: support shaper packet mode
Depends on below series in order: 1. #1234 commit a1a8a434f111ed1180102b82d2ced898c70bd14e Author: Nithin Dabilpuram <ndabilpuram@marvell.com> Date: Wed Dec 30 00:02:07 2020 +0530 api: tm: deprecate shaper cir and pir bps fields Deprecate commit_bps and peak_bps fields as they only related to...
diff --git a/example/traffic_mgmt/odp_traffic_mgmt.c b/example/traffic_mgmt/odp_traffic_mgmt.c index fba494853a1..d950ab9a562 100644 --- a/example/traffic_mgmt/odp_traffic_mgmt.c +++ b/example/traffic_mgmt/odp_traffic_mgmt.c @@ -62,8 +62,8 @@ static const odp_init_t ODP_INIT_PARAMS = { static profile_params_set_t CO...
1
1
1
[{"id": "G0", "claim": "The packet_mode doc comment says shaping happens \"in packet's per second as opposed to bytes per second\", but the non-packet-mode unit is bits per second, so the comment should read \"bits per second\".", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduc...
null
OpenDataPlane__odp__1236
OpenDataPlane/odp
1,236
defect
264cdcc2d2d76eec8f0334d9276491f9c5fb555a
cae6e0c352188dd456caba7790ceb2fa3d5a75e7
[PATCH v12] api: tm: add start and stop tm API
Depends on series in order: 1. https://github.com/OpenDataPlane/odp/pull/1234 2. https://github.com/OpenDataPlane/odp/pull/1235 commit 358c96f4d80dc71f30b71270bf3525c936525aa7 Author: Nithin Dabilpuram <ndabilpuram@marvell.com> Date: Wed Nov 4 19:36:31 2020 +0530 validation: tm: use tm start and stop AP...
diff --git a/include/odp/api/spec/traffic_mngr.h b/include/odp/api/spec/traffic_mngr.h index 04848a0eadc..dc1d2dd0391 100644 --- a/include/odp/api/spec/traffic_mngr.h +++ b/include/odp/api/spec/traffic_mngr.h @@ -605,6 +605,36 @@ odp_tm_t odp_tm_find(const char *name, */ int odp_tm_capability(odp_tm_t odp...
7
7
3
[{"id": "G0", "claim": "The reviewer questions whether the API should say that calling odp_tm_start() on an already started TM system will be ignored, proposing instead that the text say the function may not be called for a TM system already in the started state.", "category": "documentation", "verdict": "supported", "...
null
OpenDataPlane__odp__1251
OpenDataPlane/odp
1,251
defect
19ec29b30b311558da1de4b1a6f28fc7d061ee2f
b91d96bb1359fc184097fcd7b023ad57ae7db9c0
[PATCH v3] validation: crc: add CRC32 test cases
Additional test cases for CRC32 validation. Use Ethernet frames with CRC as test vectors. Run test cases also with odd data alignment.
diff --git a/test/common/Makefile.am b/test/common/Makefile.am index 79146e01c60..37582d55aba 100644 --- a/test/common/Makefile.am +++ b/test/common/Makefile.am @@ -14,5 +14,10 @@ libthrmask_common_la_CFLAGS = $(AM_CFLAGS) -DTEST_THRMASK endif -noinst_HEADERS = test_packet_parser.h +noinst_HEADERS = test_packet_cu...
2
2
0
[{"id": "G0", "claim": "The 0xdebb20e3 Ethernet CRC check value is repeated as a local in each new test function and should be defined in just one place, and could be const.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The max_size local in ha...
null
OpenDataPlane__odp__1252
OpenDataPlane/odp
1,252
defect
50fdac45f35e83b183419eb7671df9686645afec
97e3c433687045982f29cecdf34bd3017f192239
[PATCH v8] api: introduce per-thread log function
``` api: introduce per-thread log function The odp_log_thread_fn_set() API allows the caller to set a per-thread log function. This log function is called to do output when the thread calls other API functions. Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com> linux-gen: impleme...
diff --git a/helper/cli.c b/helper/cli.c index 3aee88aaa34..466b509f9a6 100644 --- a/helper/cli.c +++ b/helper/cli.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#define _GNU_SOURCE + #include <odp/helper/cli.h> #include <odp_api.h> #include <odp/helper/odph_api.h> @@ -15,6 +17,7 @@ #includ...
2
1
0
[{"id": "G0", "claim": "The spec text for the new per-thread log function should state explicitly that the call overrides the global log function and that its use is optional, along the lines of the proposed \"Set per thread log function ...\" wording.", "category": "documentation", "verdict": "supported", "priority": ...
null
OpenDataPlane__odp__1263
OpenDataPlane/odp
1,263
defect
edf40d0470a6dd911170775e8185a5458914a372
a333fe726bfba1fb0499cb89d6701ddd1a04137d
[PATCH v5] api: pktio: statistics: add in_packets/out_packets counters
V4: - Clarified the term 'successful' (Yuri) - Mention Ethernet in `in_ucast_pkts` and `out_ucast_pkts` documentation (Yuri) - Add mention about pause frames (Yuri)
diff --git a/include/odp/api/spec/packet_io_stats.h b/include/odp/api/spec/packet_io_stats.h index ea41e3a3a07..944e83443be 100644 --- a/include/odp/api/spec/packet_io_stats.h +++ b/include/odp/api/spec/packet_io_stats.h @@ -1,4 +1,5 @@ /* Copyright (c) 2015-2018, Linaro Limited + * Copyright (c) 2021, Nokia * All r...
8
6
3
[{"id": "G0", "claim": "The in_errors description needs clarification because, depending on packet input configuration, packets with errors may be dropped or not.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The in_discards description should cl...
null
OpenDataPlane__odp__1268
OpenDataPlane/odp
1,268
defect
edf40d0470a6dd911170775e8185a5458914a372
c172a105627b0154295bafe8d6560d1fa56e627e
[PATCH v9] helper: cli: add user command functions
``` helper: cli: try to avoid closing reused file descriptors The only way to stop cli_loop() is to close the socket. But after closing, cli_loop() still uses or closes the file descriptor, which is a problem if the file descriptor has already been reused. Try to avoid this problem by u...
diff --git a/helper/include/odp/helper/cli.h b/helper/include/odp/helper/cli.h index 41e43885707..0ca3b1034e8 100644 --- a/helper/include/odp/helper/cli.h +++ b/helper/include/odp/helper/cli.h @@ -33,6 +33,9 @@ extern "C" { * @{ */ +/** User defined command function type. */ +typedef void (*odph_cli_user_cmd_func...
2
2
1
[{"id": "G0", "claim": "It would make sense to allow a user to add multiple custom commands (a table of commands or one-by-one registration) instead of the single \"user\" command function in the CLI parameters.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai...
null
OpenDataPlane__odp__1272
OpenDataPlane/odp
1,272
defect
ab29119cb6b71bb07afdc8022e6a561fcea20098
32bb703494da936d53aa85882f5c570723ab1f1f
[PATCH v3] api: ipsec: include success bytes in stats
Update IPsec stats with "success bytes" representing total bytes of data processed in success cases.
diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h index 5c4ee03ab40..81f707fbd17 100644 --- a/include/odp/api/spec/ipsec.h +++ b/include/odp/api/spec/ipsec.h @@ -937,6 +937,9 @@ typedef struct odp_ipsec_stats_t { /** Number of packets with hard lifetime(packets) expired */ uint64_t hard_exp...
2
1
1
[{"id": "G0", "claim": "The doc comment added for the new success_bytes stat field is too vague and should be rewritten to state which packet bytes are included in the count, with the validation test strengthened to match the clarified text.", "category": "documentation", "verdict": "supported", "priority": "P1", "scop...
null
OpenDataPlane__odp__1285
OpenDataPlane/odp
1,285
defect
8ee42ff84ce5987c7b8c5f4cccb171ef976b0827
cedbe7b33b6fa95cff4da085cd63c5c6a39cbbe6
[PATCH v3] validation: pktin event queue
Add test where (in addition to packet input) application sends events into pktin event queue. Scalable scheduler needs bug fixes (or further development) to support this. CI is disabled to run checks on scalable until it is fixed.
diff --git a/.github/workflows/ci-pipeline-arm64.yml b/.github/workflows/ci-pipeline-arm64.yml index d5a0c7e8d62..7442cd663b1 100644 --- a/.github/workflows/ci-pipeline-arm64.yml +++ b/.github/workflows/ci-pipeline-arm64.yml @@ -141,8 +141,8 @@ jobs: runs-on: [self-hosted, ARM64] strategy: fail-fast: f...
3
1
1
[{"id": "G0", "claim": "The new pktin-event test case (ODP_PKTIN_MODE_QUEUE/plain queue path) should either be guarded by a capability check or the implementation changed so SW can also enqueue to such a queue, because some implementations only allow HW to enqueue to a plain pktin queue and the test would fail there.",...
null
OpenDataPlane__odp__1293
OpenDataPlane/odp
1,293
defect
0624b3948b3591b412e0ac8c340582f8a8d3dc11
d7c06703131d8d78a26fa843c4a3bd0ce54f7fa8
[PATCH v4] api: time: add strict time stamp read functions
I named these functions "strict" due to they maintain program order more strictly than the basic functions. Other terms like precise/exact/etc would likely promise too much about when a time stamp is actually taken. This flavor of calls use more barriers/etc instructions to maintain program order than the basic calls (...
diff --git a/include/odp/api/spec/time.h b/include/odp/api/spec/time.h index c5756e49260..e9cd5fb517e 100644 --- a/include/odp/api/spec/time.h +++ b/include/odp/api/spec/time.h @@ -65,6 +65,36 @@ extern "C" { */ odp_time_t odp_time_local(void); +/** + * Current local time in nanoseconds + * + * Like odp_time_local...
2
2
0
[{"id": "G0", "claim": "The copyright notices of the files this pull request touches (include/odp/api/spec/time.h and platform/linux-generic/include/odp/api/plat/time_inlines.h) can be updated.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The do...
null