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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TooTallNate__Java-WebSocket__944 | TooTallNate/Java-WebSocket | 944 | defect | a2c63db70cf33ff838acdfdedf34f50eb680eae7 | 5cbe530e7ebedc3c81f22794990fb9e7d05c5fea | Add ability to customize ping messages with custom data | <!--- Provide a general summary of your changes in the Title above -->
## Description
Added a method called `onPreparePing` which provides a way for users customize their ping messages with custom data that they want to send.
## Related Issue
<!--- This project only accepts pull requests related to open issues ... | diff --git a/src/main/java/org/java_websocket/WebSocketAdapter.java b/src/main/java/org/java_websocket/WebSocketAdapter.java
index 00e6a9fa6..294162be0 100644
--- a/src/main/java/org/java_websocket/WebSocketAdapter.java
+++ b/src/main/java/org/java_websocket/WebSocketAdapter.java
@@ -40,6 +40,8 @@
**/
public abstrac... | 2 | 1 | 0 | [{"id": "G0", "claim": "Please include the argument (the @param conn documentation for the added onPreparePing method) in the Javadoc.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Do you even need to cache the PingFrame anymore? Should the user ... | null |
ToolJet__ToolJet__13435 | ToolJet/ToolJet | 13,435 | defect | ddca1fa3017d442cc418360e2324eac41854c084 | 723fddb52bdd03f3f658ff07fd17ba05912aee12 | Feat/aftership plugin | Closes #12644
Plugin Name: Aftership
Description: Plugin for E-commerce operations management (Shipping, Tracking, Returns, etc.)
All plugin files are added under marketplace/plugins/amazonshipping
Plugin is registered in plugins.json
| diff --git a/frontend/src/_components/ApiEndpointInput.jsx b/frontend/src/_components/ApiEndpointInput.jsx
index 063093f4a21..d648260da03 100644
--- a/frontend/src/_components/ApiEndpointInput.jsx
+++ b/frontend/src/_components/ApiEndpointInput.jsx
@@ -62,7 +62,10 @@ const ApiEndpointInput = (props) => {
// Check ... | 3 | 3 | 1 | [{"id": "G0", "claim": "Use optional chaining for the error status and response reads in the run method's catch block so a missing err.response does not throw.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Make the connection-test error details fol... | null |
ToolJet__ToolJet__13494 | ToolJet/ToolJet | 13,494 | defect | ccdd8eb7520e9e9df96c7f27276380e156bc2619 | 726240f50170307b49b3028f88ec4a1c09e7db2b | Feature/easypost plugin | EasyPost Plugin
Issue: http://github.com/ToolJet/ToolJet/issues/13406
| diff --git a/marketplace/package-lock.json b/marketplace/package-lock.json
index 5c831b79c04..8868b7e3b50 100644
--- a/marketplace/package-lock.json
+++ b/marketplace/package-lock.json
@@ -10,6 +10,9 @@
"workspaces": [
"plugins/*"
],
+ "dependencies": {
+ "@easypost/api": "^8.2.0"
+ ... | 4 | 4 | 2 | [{"id": "G0", "claim": "The @easypost/api dependency should not be declared in the root marketplace/package.json (it is not required at that level).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The API key must be declared in the manifest's so... | null |
ToolJet__ToolJet__13843 | ToolJet/ToolJet | 13,843 | defect | a8aa5ffdd0a10f245e776b086bfa2116e8854530 | 54c9227bb2bcf421d89ec21f46b29f9717198717 | Feat: Add Gmail plugin | Introduce a new Gmail plugin that integrates with the Gmail API, allowing users to run queries accessing their Gmail accounts.
Closes #13480
PRD: [Gmail PRD](https://app.clickup.com/37484951/v/dc/13qycq-2704/13qycq-42196) | diff --git a/frontend/src/_components/ApiEndpointInput.jsx b/frontend/src/_components/ApiEndpointInput.jsx
index e255523150d..c750bcc7f7f 100644
--- a/frontend/src/_components/ApiEndpointInput.jsx
+++ b/frontend/src/_components/ApiEndpointInput.jsx
@@ -150,6 +150,7 @@ const ApiEndpointInput = (props) => {
operat... | 2 | 2 | 2 | [{"id": "G0", "claim": "The PR's change removed the mt-3 margin class from the Client ID label in CommonOAuthFields, altering the label's spacing; the reviewer asks that it not be removed.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Path parameters ar... | null |
ToolJet__ToolJet__13850 | ToolJet/ToolJet | 13,850 | defect | b10adfee9839f6aabec141a793f3ba30af147cb8 | da556228cfb569f76cee2a77c4511b571b3f65ec | Xero Plugin Intergration | This PR introduces a new ToolJet plugin to integrate with Xero’s API, enabling seamless access to accounting, invoicing, and financial data from connected Xero organizations. The plugin supports OAuth 2.0 authentication, allowing users to securely connect multiple Xero tenants.
Key Features
OAuth 2.0 based authenti... | diff --git a/frontend/src/modules/dataSources/components/DataSourceManager/DataSourceManager.jsx b/frontend/src/modules/dataSources/components/DataSourceManager/DataSourceManager.jsx
index be0b48be54c..43be14366e7 100644
--- a/frontend/src/modules/dataSources/components/DataSourceManager/DataSourceManager.jsx
+++ b/fro... | 10 | 9 | 2 | [{"id": "G0", "claim": "Path parameters should be URL-encoded when substituted into the request URL: url.replace({${param}}, encodeURIComponent(pathParams[param])).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The statusCode !== 200 check should b... | null |
ToolJet__ToolJet__14012 | ToolJet/ToolJet | 14,012 | defect | ae52966380afbd0d620041eec29259f832a3e4f2 | 9dc633ef876d03d352ca6fb36c0558c17f180f04 | Feat: Add FedEx plugin | Introduce FedEx plugin to the ToolJet Marketplace.
Closes #13797
PRD: [FedEx PRD](https://app.clickup.com/37484951/v/dc/13qycq-2704/13qycq-42676) | diff --git a/marketplace/plugins/fedex/.gitignore b/marketplace/plugins/fedex/.gitignore
new file mode 100644
index 00000000000..23e6609462d
--- /dev/null
+++ b/marketplace/plugins/fedex/.gitignore
@@ -0,0 +1,5 @@
+node_modules
+lib/*.d.*
+lib/*.js
+lib/*.js.map
+dist/*
\ No newline at end of file
diff --git a/marketpl... | 7 | 4 | 3 | [{"id": "G0", "claim": "The child_key option is written twice in the manifest's options object, so one entry silently shadows the other.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The encrypted tags inside the defaults object are not required — ... | null |
ToolJet__ToolJet__14502 | ToolJet/ToolJet | 14,502 | defect | c5b57ab045e73ff0bde1e9bb02fd447eb515fd48 | 03822c12a56f33c509d0efa8a4d5690c54f69466 | cypress spec for whitelabel | <div id='description'>
<a href="https://bito.ai#summarystart"></a>
<h3>Summary by Bito</h3>
<ul>
<li>This pull request introduces new features to support whitelabeling in the application, adding new selectors and text constants for branding purposes.</li>
<li>The changes enhance the customization capabilities of the... | diff --git a/cypress-tests/cypress/constants/selectors/common.js b/cypress-tests/cypress/constants/selectors/common.js
index 7300affac24..38e27de9350 100644
--- a/cypress-tests/cypress/constants/selectors/common.js
+++ b/cypress-tests/cypress/constants/selectors/common.js
@@ -454,3 +454,21 @@ export const inspectorSele... | 3 | 2 | 0 | [{"id": "G0", "claim": "The constant DEFAULT_WORKSPACE is declared but never used in any of the test cases; consider removing it to improve maintainability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The page title field entry uses whiteLabe... | null |
ToolJet__ToolJet__14877 | ToolJet/ToolJet | 14,877 | defect | 6c9c83821fe9a4153687ce4469df836eeaa37ed1 | 7d9ee922d252d26856bc3372f9aa9b312c6696a9 | Remove email verfication for signup in selfhosted | Issue - https://github.com/ToolJet/tj-ee/issues/4584
We are only removing email verification from signup in ee and ce
ee-server PR - https://github.com/ToolJet/ee-server/pull/346 | diff --git a/frontend/src/modules/onboarding/pages/SignupPage/SignupPage.jsx b/frontend/src/modules/onboarding/pages/SignupPage/SignupPage.jsx
index c0d7b33fcc0..a39b2914b33 100644
--- a/frontend/src/modules/onboarding/pages/SignupPage/SignupPage.jsx
+++ b/frontend/src/modules/onboarding/pages/SignupPage/SignupPage.jsx... | 2 | 1 | 1 | [{"id": "G0", "claim": "The edition lookup (getTooljetEdition / isCloudEdition) is redefined in several places in util.service.ts and should be defined in one place and reused.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the new non-cloud ... | null |
ToolJet__ToolJet__15760 | ToolJet/ToolJet | 15,760 | defect | 433d44d61fd28e9d28daeda7b2eaca8799f3961f | e237201863daabca544105c4579c74ab5938dcbb | Mssql entra auth implementation | Adds Azure AD Service Principal (client secret) as an authentication option for MSSQL datasource, alongside the existing SQL Server username/password auth.
Task - https://github.com/orgs/ToolJet/projects/23/views/1?sliceBy%5Bvalue%5D=Sprint+17&pane=issue&itemId=169286633&issue=ToolJet%7CToolJet%7C15705
| diff --git a/plugins/packages/mssql/lib/index.ts b/plugins/packages/mssql/lib/index.ts
index b48f106eea7..ae16aa64fca 100644
--- a/plugins/packages/mssql/lib/index.ts
+++ b/plugins/packages/mssql/lib/index.ts
@@ -289,6 +289,9 @@ private parseConnectionString(connectionString: string): Partial<SourceOptions>
async ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `if (!finalOptions.auth_type) { finalOptions.auth_type = 'sql'; }` default in buildConnection is not required anymore after the auth-type backfill migration and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Toqozz__bevy_debug_lines__10 | Toqozz/bevy_debug_lines | 10 | defect | 811d4a6aae18bbd47320d1f6b2e3d20e80142920 | 6d5c5f7007357c7ab94c1b180c52abd930062ad9 | Update to new renderer | This is a lot of code and hey, feel free to ignore it, I just wanted to hone my understanding of shader programming with the new bevy renderer. If you reject the PR, I really won't mind.
## The code changes
The most notable changes in the code are:
* There is no more `Line` struct. We store the colors and positi... | diff --git a/Cargo.toml b/Cargo.toml
index 0c1cf34..79896ac 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,27 +2,24 @@
authors = ["Michael Palmos <toqoz@hotmail.com>"]
categories = ["game-engines", "rendering", "game-development"]
description = "A prototype plugin providing a simple line drawing API for bevy."
-edit... | 11 | 9 | 2 | [{"id": "G0", "claim": "Immediate-mode line meshes should not need indices/fill_indices; it should be possible to simply leave `mesh.indices == None` for them instead.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The README and the depth_test exam... | null |
Toqozz__bevy_debug_lines__33 | Toqozz/bevy_debug_lines | 33 | defect | 1ace31b93ab9d94dd276b3c09d582452bb2f0d96 | 18cb6fddff22f15967b09a017701fda21ea1c2a3 | Update to bevy 0.10 | There's a couple things I'm not sure on, but otherwise it's basically done.
Closes #32
edit: It actually works now, just the two open questions remaining. | diff --git a/Cargo.toml b/Cargo.toml
index 86c10ad..4aadd9d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,7 +13,8 @@ version = "0.9.0"
exclude = ["demo.gif", "demo_2.png", "demo_2.webm"]
[dependencies]
-bevy = { version = "0.9", default-features = false, features = [ "bevy_core_pipeline", "bevy_render", "bevy_pbr... | 4 | 4 | 2 | [{"id": "G0", "claim": "After updating the examples, the 3D examples fail at runtime with a shader compilation error: the debug-lines shader interpolates #{MAX_CASCADES_PER_LIGHT} with no value defined, so WGSL parsing fails with 'expected expression, found #'.", "category": "correctness", "verdict": "supported", "prio... | null |
Totodore__socketioxide__262 | Totodore/socketioxide | 262 | defect | 4de9ae637037ec8d4d8d37e51b1db2b75fcec289 | 45b56da240338122d566a9f65937d71965e7427a | Return emitted data in case of emission error. | ## Fix #172
> There are two remaining questions :
> * What should be done with binary packets. Because a message can contain N binary payloads it means that we would need N+1 Permits for each emit call.
> * What should be done when broadcasting. What is the performance cost of asking X Permits from N sockets at th... | diff --git a/engineioxide/src/socket.rs b/engineioxide/src/socket.rs
index 331dd35b..cb969d54 100644
--- a/engineioxide/src/socket.rs
+++ b/engineioxide/src/socket.rs
@@ -115,6 +115,43 @@ impl From<&Error> for Option<DisconnectReason> {
}
}
+/// A permit to emit a message to the client.
+/// A permit holds a pl... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new `Socket::permit_send` method takes an unused `self` argument.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Totodore__socketioxide__280 | Totodore/socketioxide | 280 | defect | fc599c38cef53cbcc3786e6b788a6eee30e5a58a | 9b01337cf9be34d4e910e23d8fff7ec1fa0b42e0 | Add middlewares/multiple fns to namespace | ## Motivation
Currently, there is no way to add middlewares to namespaces whereas it is their principal purpose (specific role based auth for example).
Fixes:
* #270
## Solution
In order to have middlewares without to much overhead and without any `Vec<BoxedService>`, I think the best solution is to add a `wi... | diff --git a/e2e/socketioxide/socketioxide.rs b/e2e/socketioxide/socketioxide.rs
index 890adc38..02211db4 100644
--- a/e2e/socketioxide/socketioxide.rs
+++ b/e2e/socketioxide/socketioxide.rs
@@ -7,6 +7,7 @@ use hyper_util::rt::TokioIo;
use serde_json::Value;
use socketioxide::{
extract::{AckSender, Bin, Data, So... | 1 | 1 | 0 | [{"id": "G0", "claim": "LayeredConnectHandler::call can be simplified using the async fn syntax instead of returning an impl Future wrapping an async block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Totodore__socketioxide__300 | Totodore/socketioxide | 300 | defect | 3a205f4103e7143e70de45a16aa63787e50f23a3 | dd4923482bc5b785b6f03ced61f0f9ff0e6b1292 | tests: Improve test bed | * Add a custom `new_dummy_socket` with tx/rx to send and receive packet without creating a real connexion.
* Remove dep `socket_io` client.
* Remove the feature `test-utils` in favor of a rust cfg flag `socketioxide-test`
* Move all the examples to a separate workspace to avoid dependency bloat / useless checks when... | diff --git a/.github/workflows/github-ci.yml b/.github/workflows/github-ci.yml
index a63daa85..6e37f451 100644
--- a/.github/workflows/github-ci.yml
+++ b/.github/workflows/github-ci.yml
@@ -18,7 +18,9 @@ jobs:
toolchain: stable
components: rustfmt
- run: cargo fmt --all -- --check
- ... | 1 | 1 | 1 | [{"id": "G0", "claim": "In new_dummy, calling self.new_dummy_piped(sid, close_fn).0 does not compile because new_dummy_piped is an associated function, not a method (expected value, found module `self`).", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
Totodore__socketioxide__327 | Totodore/socketioxide | 327 | defect | f509ba76889a0d942e0c34987f1c5b47fd00cdcc | c243451f8f4241e5be8bc1e0dd4e8dbf841beea3 | Feat: io client shared in socketdata | ## Motivation
Currently there is no way to access the `SocketIo` handle from a socket context / handler. The only solution is to store it as a static shared `OnceLock` in the application code. Having a way to access the `SocketIo` handle from any context enable two things:
* Solving #317 by storing the state in the c... | diff --git a/engineioxide/src/engine.rs b/engineioxide/src/engine.rs
index 9dcbb0ec..966dc08c 100644
--- a/engineioxide/src/engine.rs
+++ b/engineioxide/src/engine.rs
@@ -21,7 +21,7 @@ pub struct EngineIo<H: EngineIoHandler> {
sockets: SocketMap<Socket<H::Data>>,
/// The handler for the engine.io server tha... | 1 | 1 | 0 | [{"id": "G0", "claim": "The import block of socketioxide/src/extract/socket.rs brings the name `SocketIo` in twice — a standalone `use crate::SocketIo;` plus `SocketIo` inside the brace `use crate::{...}` group — leaving a duplicate definition and an unused import.", "category": "maintainability", "verdict": "supported... | null |
Totodore__socketioxide__330 | Totodore/socketioxide | 330 | defect | 45fc13a574f189612a535709b42ae06e682120d7 | 8b591bea0c10c7b25ca9ef7642de53a46441a096 | feat: per client state | ## Motivation
Fixes issue:
* #317
Currently the global state management is done with a static state. It is convenient because the user can put non clonable data and get a 'static ref from any callback. However this should be completely avoided for the following reasons:
* With multiple clients spawned, they ar... | diff --git a/examples/angular-todomvc/src/main.rs b/examples/angular-todomvc/src/main.rs
index a5c87fa8..0dcf78c2 100644
--- a/examples/angular-todomvc/src/main.rs
+++ b/examples/angular-todomvc/src/main.rs
@@ -5,13 +5,14 @@ use socketioxide::{
extract::{Data, SocketRef, State},
SocketIo,
};
+use std::sync::... | 1 | 1 | 1 | [{"id": "G0", "claim": "Relaxing the with_state type parameter bounds from Send + Sync + 'static to only Clone + 'static means S cannot be guaranteed to be sent or shared between threads safely.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Totodore__socketioxide__333 | Totodore/socketioxide | 333 | defect | af250137057b0fa33e8458affb4e28b1dee82fab | 05755d9c115b3c8117c8107016c4367784c1802d | feat: namespace routing | ## Motivation
Adding Namespace routing would allow to add a layer of multiplexing and also match the features of the official socket.io client.
Close issue #212.
## Solution
Because I think that a regex based solution is way to slow and overkill for a simple router feature, the routing is implemented using the... | diff --git a/Cargo.toml b/Cargo.toml
index 29c99b14..701ba371 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -38,6 +38,8 @@ itoa = "1.0.10"
hyper-util.version = "0.1.1"
hyper = "1.0.3"
pin-project-lite = "0.2.13"
+matchit = "0.8.2"
+slab = "0.4.9"
# Dev deps
tracing-subscriber = { version = "0.3.17", features = ["e... | 1 | 1 | 1 | [{"id": "G0", "claim": "The name `Client` is defined multiple times in socketioxide/src/client.rs, which is a compile error.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
Totodore__socketioxide__334 | Totodore/socketioxide | 334 | defect | af250137057b0fa33e8458affb4e28b1dee82fab | 8bf920e4787cfbe10356bc6a1ce3000e64562d70 | feat(socketio/packet): switch to `Str` type for ns path storage | ## Motivation
Currently the namespace path is decoded from a `Str` payload, meaning that we can extract it in a zero copy manner by slicing the `Str` and storing it like that.
It also fixes a lifetime issue for PR #333 with path params. Because the path need to outlive the decoded params from the matchit router as lo... | diff --git a/engineioxide/src/str.rs b/engineioxide/src/str.rs
index 8655f44d..beeea1ed 100644
--- a/engineioxide/src/str.rs
+++ b/engineioxide/src/str.rs
@@ -1,3 +1,5 @@
+use std::borrow::Cow;
+
use bytes::Bytes;
/// A custom [`Bytes`] wrapper to efficiently store string packets
@@ -46,6 +48,23 @@ impl From<String... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `ns.into()` calls in `connect_v4` and `connect_v5` perform a useless conversion to the same type (`engineioxide::Str`) and should be dropped.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Totodore__socketioxide__408 | Totodore/socketioxide | 408 | defect | 3277650c4af9efd0e2220f5038281b0694c0a131 | e2ee8225899e3ce2ab3b311e8f00de4fbda11251 | feat: improve `Adapter` error types for `broadcast` and `disconnect` methods | The `broadcast` and `disconnect` methods now a `Result<_, BroadcastError>`. Therefore the error can handle all cases (parser issue, internal socket channel full or adapter error).
Remove also the packet types re-export from socketioxide. | diff --git a/crates/socketioxide-core/src/adapter.rs b/crates/socketioxide-core/src/adapter.rs
index 5033f4b3..9881f8d2 100644
--- a/crates/socketioxide-core/src/adapter.rs
+++ b/crates/socketioxide-core/src/adapter.rs
@@ -16,7 +16,7 @@ use serde::{de::DeserializeOwned, Deserialize, Serialize};
use smallvec::SmallVec;... | 1 | 1 | 0 | [{"id": "G0", "claim": "In the recv Disconnect arm, the unit-returning close() call is wrapped in Ok(...), passing a unit value to a function (CodeQL alert on socket.rs:595).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Totodore__socketioxide__613 | Totodore/socketioxide | 613 | defect | 5cffad17ab3764cc9b0294195d7b996aaf0ebd43 | 921ad110f6b4533ce5acde0ded426411193b1095 | feat: make rooms available in disconnect handler | <!--
Thank you for your Pull Request. Please provide a description above and review
the requirements below.
Bug fixes and new features should include tests.
Contributors guide: https://github.com/totodore/socketioxide/blob/main/CONTRIBUTING.md
-->
## Motivation
Discussed in https://github.com/Totodore/so... | diff --git a/crates/socketioxide/src/handler/disconnect.rs b/crates/socketioxide/src/handler/disconnect.rs
index 070fed76..24bae48a 100644
--- a/crates/socketioxide/src/handler/disconnect.rs
+++ b/crates/socketioxide/src/handler/disconnect.rs
@@ -52,6 +52,13 @@ use super::MakeErasedHandler;
pub(crate) type BoxedDiscon... | 3 | 2 | 0 | [{"id": "G0", "claim": "The doc comment on call_with_defer should read '**after**' (lowercase, bolded) instead of 'AFTER'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Socket::close should use an else branch instead of an early return, which the... | null |
Totodore__socketioxide__709 | Totodore/socketioxide | 709 | defect | dd9d7fb2b6675ca87fcd0a802614cd891f801b43 | 30935136e341dbec4100f9fd83edc6dc509dad9b | fix(socketio): concurrent acknowledgement timeouts | ## Motivation
When broadcasting with acks, the adapter request timeout is applied on the acknowledgement stream. By default, `request_timeout = 5s` and `ack_timeout = 5s`. Because the two timeouts are independently enforced, this leads to the request timeouts not respecting the ack timeout and creates confusing errors... | diff --git a/Cargo.lock b/Cargo.lock
index 51b2946c..15e5b9b0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2322,7 +2322,7 @@ dependencies = [
[[package]]
name = "socketioxide"
-version = "0.18.2"
+version = "0.18.3"
dependencies = [
"axum",
"bytes",
@@ -2356,7 +2356,7 @@ dependencies = [
[[package]]
name =... | 4 | 4 | 2 | [{"id": "G0", "claim": "Duration addition via `+` when computing the ack-stream timeout (request_timeout + ack timeout) can panic on overflow in the Redis and MongoDB adapters, so `saturating_add` (or `checked_add`) should be used instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": ... | null |
TownyAdvanced__Towny__6901 | TownyAdvanced/Towny | 6,901 | defect | 76c318ba272927b6f913c5097a8f271634de148b | 5fb7c2cd844c06aac757ca76269d0aa850a84800 | Fix all the weirdness around world entity key loading | <!--- Welcome! It looks like you're opening a pull request for the Towny project, we think that's great. This form is pre-populated with a Contributor License Agreement, which is required if you want to contribute your code. It is there to protect your copyright over the code but also to protect Towny, making your code... | diff --git a/Towny/src/main/java/com/palmergames/bukkit/config/migration/RunnableMigrations.java b/Towny/src/main/java/com/palmergames/bukkit/config/migration/RunnableMigrations.java
index ed581d6eb6a..c0f07b8cbcf 100644
--- a/Towny/src/main/java/com/palmergames/bukkit/config/migration/RunnableMigrations.java
+++ b/Tow... | 2 | 1 | 0 | [{"id": "G0", "claim": "The rewritten isAllUpperCase will misclassify underscore-containing strings because '_' is treated as lowercase.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The inline stream/keyAsString/collect chains in the world saving co... | null |
TraceMachina__nativelink__1975 | TraceMachina/nativelink | 1,975 | defect | 1055cd150430769d043561f16f9c0b759e707dc4 | 2246ee29062c8585f794771a93655f3eb629c76f | Notify execution complete | # Description
When execution is complete, there's a large amount of IO still to be done. In the mean time a new action could be starting.
Previously an attempt to implement this was quite complex and caused panics. In this implementation a very simple mechanism is used which only executes on success and keeps t... | diff --git a/nativelink-proto/com/github/trace_machina/nativelink/remote_execution/worker_api.proto b/nativelink-proto/com/github/trace_machina/nativelink/remote_execution/worker_api.proto
index 15d82b668..d4b375f77 100644
--- a/nativelink-proto/com/github/trace_machina/nativelink/remote_execution/worker_api.proto
+++ ... | 3 | 2 | 0 | [{"id": "G0", "claim": "Running the basic_cas example against this pull request produces errors (worker does not exist in SimpleScheduler::update_action, the UpdateForWorker channel is closed, worker keep-alive refresh fails, and a RunningAction did not clean up), and the author is asked to check whether he can reprodu... | null |
TraceMachina__nativelink__2067 | TraceMachina/nativelink | 2,067 | defect | 6a95ae8e258b70423da585e5cc2b78ec8d911072 | 136258605d99565a9fb3bf8b76f38f0e84e42abd | Recoverable connection pool | # Description
I have replaced the default fred Redis client pool with a custom `RecoverablePool` to address the system stalling issues caused by poor client recovery. `RecoverablePool` is really only a pool that manages a list of `fred::clients::Client instances.`
This is only meant to be a PoC
Fixes #2065 I bel... | diff --git a/nativelink-store/src/redis_store.rs b/nativelink-store/src/redis_store.rs
index 755e42236..e09869cdc 100644
--- a/nativelink-store/src/redis_store.rs
+++ b/nativelink-store/src/redis_store.rs
@@ -22,7 +22,7 @@ use std::sync::{Arc, Weak};
use async_trait::async_trait;
use bytes::Bytes;
use const_format::... | 3 | 1 | 1 | [{"id": "G0", "claim": "The pool should also call `replace_client` when errors occur, not only at connect time, though the reviewer allows that this could be a later PR.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "`replace_client` eagerly builds ... | null |
TraceMachina__nativelink__2150 | TraceMachina/nativelink | 2,150 | defect | 85e9ecf05e1e6646513f4b32a8ce1fba609ebcf7 | 1ff390e23b055a001e41a93c4446726ab68eb4a3 | Add Max Upload timeout to CAS | # Description
A large number of uploads simply gets stuck while uploading to CAS after the execution completes. So, this PR adds a timeout to the uploads to avoid this issue.
Fixes # (issue)
## Type of change
Please delete options that aren't relevant.
- [ ] Bug fix (non-breaking change which fixes an iss... | diff --git a/nativelink-config/src/cas_server.rs b/nativelink-config/src/cas_server.rs
index 2b612f220..36970f80c 100644
--- a/nativelink-config/src/cas_server.rs
+++ b/nativelink-config/src/cas_server.rs
@@ -727,6 +727,14 @@ pub struct LocalWorkerConfig {
#[serde(default, deserialize_with = "convert_duration_with... | 1 | 1 | 0 | [{"id": "G0", "claim": "The repeated literal Duration::from_secs(600) in the tests should be set to a named constant (e.g. DEFAULT_MAX_UPLOAD_TIMEOUT) rather than writing out a particular value each time.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
TraceMachina__nativelink__2248 | TraceMachina/nativelink | 2,248 | defect | 1ffae58d75fd8358aad1ec2ac2c4a26cb85f9f1a | efe583741325036afd13ae9cd055268d89fe9b5c | Use mount namespace too | # Description
We just introduced the ability to namespace, but this didn't add mount namespacing. This provides better isolation and we can use it to move all builds to occur in the same virtual folder in the future.
Update the configuration to allow mount namespacing and enable it if configured.
## Type of c... | diff --git a/nativelink-config/src/cas_server.rs b/nativelink-config/src/cas_server.rs
index b7571a1b7..8ff79f44d 100644
--- a/nativelink-config/src/cas_server.rs
+++ b/nativelink-config/src/cas_server.rs
@@ -860,6 +860,14 @@ pub struct LocalWorkerConfig {
/// to true and it is not supported the worker will exit w... | 2 | 2 | 0 | [{"id": "G0", "claim": "Remove the `const EXPECTED_EXIT_CODE: i32 = 7;` added at the top of test_maybe_namespaced_child_try_wait, because after the merge with main the function sets `expected_exit_code` later in the function and consts before other code aren't liked.", "category": "maintainability", "verdict": "support... | null |
TraceMachina__nativelink__2287 | TraceMachina/nativelink | 2,287 | defect | b7f397129df91c950370318fac7c106685ee1929 | 1fdf46769bb91a801287b0269a62eb72f400f478 | Add grpc test with an actual gRPC server | # Description
Adds a first test to the gRPC store with an actual gRPC server. Mostly here to support testing work in https://github.com/TraceMachina/nativelink/pull/2285 but also more generally useful.
## Type of change
Please delete options that aren't relevant.
- [x] Bug fix (non-breaking change which fix... | diff --git a/Cargo.lock b/Cargo.lock
index 0cb9e9369..733023e2d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3086,6 +3086,7 @@ dependencies = [
"opentelemetry",
"parking_lot",
"patricia_tree",
+ "port_check",
"pretty_assertions",
"prost",
"rand 0.9.4",
@@ -3641,6 +3642,12 @@ version = "0.3.32"
source = "re... | 2 | 2 | 1 | [{"id": "G0", "claim": "Picking a port with port_check::free_local_port() and binding it later inside a detached serve task leaves a TOCTOU window where another test/process can take the port, and make_fake_bytestream_server() returns before the server is known to accept connections while Retry::default() has max_retri... | null |
TraceMachina__nativelink__2288 | TraceMachina/nativelink | 2,288 | defect | aba12cd1ec2b06092b6752c01d051005fa853658 | 8cde449b0831b8af62b44309b775a21f17b19489 | Forward client headers and OTEL trace context to upstream gRPC stores | # Description
Adds two complementary mechanisms to GrpcStore for propagating headers to upstream remote caches (e.g. Buildbarn):
1. `headers` (GrpcSpec): static key/value pairs attached to every outgoing request, useful for fixed auth tokens.
2. `forward_headers` (GrpcSpec): header names to forward from the in... | diff --git a/nativelink-config/examples/stores-config.json5 b/nativelink-config/examples/stores-config.json5
index 6012a5377..9c16e9146 100644
--- a/nativelink-config/examples/stores-config.json5
+++ b/nativelink-config/examples/stores-config.json5
@@ -270,7 +270,16 @@
],
"connections_per_endpoint": "5"... | 2 | 1 | 1 | [{"id": "G0", "claim": "The test middleware logs client headers with debug!, and the reviewer asks whether the header values need to be excluded or redacted since they may contain sensitive data.", "category": "security", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Because t... | null |
TracecatHQ__tracecat__1244 | TracecatHQ/tracecat | 1,244 | defect | 9d9553fdf865b4dcbfcedceb993467f320de8fdb | 2c3fc05968b5be90baec3befad159a24ce9392d4 | feat: Robustify OAuth flow with database-backed state management | ## Summary
- Implement secure OAuth state management using database storage to prevent CSRF attacks
- Add comprehensive unit tests for OAuth state validation and expiration
- Update API client with new OAuth state endpoints
## Changes
- **Database Schema**: Added `OAuthStateDB` table to store OAuth state with workspac... | diff --git a/alembic/versions/89a8d57c3608_add_oauth_state_table.py b/alembic/versions/89a8d57c3608_add_oauth_state_table.py
new file mode 100644
index 0000000000..c4b0754ac3
--- /dev/null
+++ b/alembic/versions/89a8d57c3608_add_oauth_state_table.py
@@ -0,0 +1,60 @@
+"""add_oauth_state_table
+
+Revision ID: 89a8d57c360... | 1 | 1 | 0 | [{"id": "G0", "claim": "The redundant index on the primary-key state column should be removed from the migration script and model to avoid duplicate index storage overhead.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
TracecatHQ__tracecat__1245 | TracecatHQ/tracecat | 1,245 | defect | 9c4d9a493beb85039300dcb78ac9fc7e2c21a04a | 0ba2f6abc60dd271f6bf1f644fca477a5007924a | fix(integrations): Standardize and fix secret manager retrieval method behavior and type hints | # Summary
- `secrets_manager.get()` will raise a standardized error if the secret isn't found.
- `secrets_manager.get_or_default()` returns a default value or `None` if unspecified, and the secret isn't set
- Before we just suppressed type errors. Now this avoids any ambiguity in whether a secret is returned or shou... | diff --git a/registry/tracecat_registry/__init__.py b/registry/tracecat_registry/__init__.py
index a16abb8649..c77f1e4dba 100644
--- a/registry/tracecat_registry/__init__.py
+++ b/registry/tracecat_registry/__init__.py
@@ -14,6 +14,7 @@
from tracecat_registry._internal.exceptions import (
ActionIsInterfaceError,
... | 2 | 1 | 1 | [{"id": "G0", "claim": "aws_role_session_name may be None because it comes from get_or_default, and passing it to get_temporary_credentials for sts.assume_role could raise a runtime ParameterValidationError, so the secret should be validated or a fallback supplied before the call.", "category": "correctness", "verdict"... | null |
TracecatHQ__tracecat__1280 | TracecatHQ/tracecat | 1,280 | defect | 47dbd0cbc01187cf40338775c81f9ff36889a32a | 68dba13457a98be5db4b8fe1058ab17ca7ba30d1 | feat: Add per-action environment override | - **engine: add action environemnt override + tests**
- **backend: add action environment to editor action schema**
- **update openapi-ts client**
- **add environment to action panel form**
- **test: add unit tests for action env**
# Screens
Running in dev mode with a reshape that prints the secret value (TRACE... | diff --git a/alembic/versions/49d0fbd1431f_add_environment_to_action.py b/alembic/versions/49d0fbd1431f_add_environment_to_action.py
new file mode 100644
index 0000000000..b8c09b446d
--- /dev/null
+++ b/alembic/versions/49d0fbd1431f_add_environment_to_action.py
@@ -0,0 +1,34 @@
+"""add_environment_to_action
+
+Revision... | 1 | 1 | 0 | [{"id": "G0", "claim": "Using the constant secret name \"test_secret\" across tests risks collisions with existing secrets and can cause integrity errors; the test should use a secret name unique to this test.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
TracecatHQ__tracecat__1313 | TracecatHQ/tracecat | 1,313 | defect | 7aab7cc1ddce8c3e89ae7bff7781a21187ab0a2b | 0d7464a03d3a0c1cb1d7a8373622269453296d40 | feat: Surface workflow-level failure in events sidebar | ## Summary
- Added synthetic workflow failure events to Builder → Events sidebar for better error visibility
- Workflow-level failures now appear as "Workflow Failure" entries with proper error details
- Users can click "View last result" to see the actual workflow failure message
## Screens
https://github.com... | diff --git a/frontend/src/components/builder/events/events-selected-action.tsx b/frontend/src/components/builder/events/events-selected-action.tsx
index 39ed297ef6..529fe4e740 100644
--- a/frontend/src/components/builder/events/events-selected-action.tsx
+++ b/frontend/src/components/builder/events/events-selected-acti... | 3 | 1 | 1 | [{"id": "G0", "claim": "Marking the workflow-failure sentinel as a valid action reference enables the \"Focus action\" menu item for that row even though centerNode() cannot find a matching node, making the menu item misleading and non-functional.", "category": "correctness", "verdict": "supported", "priority": "P1", "... | null |
TracecatHQ__tracecat__1314 | TracecatHQ/tracecat | 1,314 | defect | 2c55ec639e2a2c08c728bf9c6219c424d7790e53 | fa0cc60fb655adc7d7db7f1292fc818dee49e973 | feat(integrations): Add more template expressions validation checks |
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Added stricter validation for template expressions, including checks for function existence, correct argument counts, and required fields. Added new tests and invalid template examples to ensure validation errors are caught.
- **Valid... | diff --git a/tests/data/templates/invalid/bad_expression_syntax.yml b/tests/data/templates/invalid/bad_expression_syntax.yml
new file mode 100644
index 0000000000..34bf3a456d
--- /dev/null
+++ b/tests/data/templates/invalid/bad_expression_syntax.yml
@@ -0,0 +1,25 @@
+type: action
+definition:
+ name: test_bad_expressi... | 2 | 2 | 1 | [{"id": "G0", "claim": "The number of provided arguments is calculated by counting every child node, which also includes comma separator tokens, resulting in an inflated argument count and false validation errors.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"... | null |
TracecatHQ__tracecat__1337 | TracecatHQ/tracecat | 1,337 | defect | c203d949ebbe31d94e8e543c455a156b2ce0d65b | 6657f82b069d82462ae24152e0a3a6da48c0536d | Add basic set operations and checks as inline functions | <!--
Thank you for taking the time to contribute to Tracecat!
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
-->
## Checklist
- [x] Read [CONTRIBUTING.md](https://github.com/TracecatHQ/tracec... | diff --git a/tests/unit/test_functions.py b/tests/unit/test_functions.py
index d60cfe8399..751eeb284e 100644
--- a/tests/unit/test_functions.py
+++ b/tests/unit/test_functions.py
@@ -26,6 +26,7 @@
dict_keys,
dict_lookup,
dict_values,
+ difference,
div,
endswith,
flatten,
@@ -42,8 +43,10... | 3 | 2 | 0 | [{"id": "G0", "claim": "The new has_any_in docstring contains a duplicated word (\"of of\") that hurts readability and can trip automated documentation tools; remove the extra word.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test asserts d... | null |
TracecatHQ__tracecat__1366 | TracecatHQ/tracecat | 1,366 | defect | 2c08dda593359a42b5388d209873eb14a549b546 | 3f1f5446ba18e85517cf0910ef036ecb5a483266 | fix(git): Implement safe git URL preparation with error handling | ## Summary
Prevent issues with git url from affecting builtin actions. Implements safer git URL handling to prevent errors when git repository configuration is invalid or missing.
## Changes
- Added `safe_prepare_git_url()` function that gracefully handles errors
- Updated executor service to use safe git URL pre... | diff --git a/tracecat/executor/service.py b/tracecat/executor/service.py
index a91f317d92..e5ecb66e9c 100644
--- a/tracecat/executor/service.py
+++ b/tracecat/executor/service.py
@@ -35,7 +35,7 @@
extract_templated_secrets,
get_iterables_from_expression,
)
-from tracecat.git.utils import prepare_git_url
+fro... | 2 | 2 | 1 | [{"id": "G0", "claim": "Pass str(e) instead of the raw Exception to logger.error in safe_prepare_git_url for consistency and to avoid potential serialization issues.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The unit tests are failing (the ... | null |
TracecatHQ__tracecat__1388 | TracecatHQ/tracecat | 1,388 | defect | 638124a5e6a04366d1294c8f97ead809657f888e | 14d240aa164f36f657507c986967b3ad15b704f5 | fix(core): Create columns in create_table service |
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Fixes the bug where create_table created tables without the specified columns. Columns are now created as part of table creation, and errors for duplicate columns are surfaced correctly.
- **Bug Fixes**
- TablesService.create_table n... | diff --git a/tests/registry/test_core_table.py b/tests/registry/test_core_table.py
index e2c3fbdd18..ca3c68f25a 100644
--- a/tests/registry/test_core_table.py
+++ b/tests/registry/test_core_table.py
@@ -5,18 +5,24 @@
from unittest.mock import AsyncMock, MagicMock, patch
import pytest
+from sqlmodel.ext.asyncio.sess... | 3 | 3 | 2 | [{"id": "G0", "claim": "Calling self.create_column in create_table triggers the subclass override that commits per column, breaking transactional atomicity; it should be replaced with a direct base-class call to keep the operation atomic.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "... | null |
TracecatHQ__tracecat__1391 | TracecatHQ/tracecat | 1,391 | defect | 223ffc05de934041614a64a286ac6dcefa54dffe | 07683381d9c9cbbf0ac9de61657452df383b790d | feat: Add tags support to GitCommitInfo and update related services | ## Summary
- Add tags support to GitCommitInfo model for better git metadata tracking
- Update workflow sync services to handle tag information
- Enhance commit selection UI with tag display capabilities
## Changes
- Extended `GitCommitInfo` model with tags field
- Updated git utilities to extract tag information from... | diff --git a/frontend/src/client/schemas.gen.ts b/frontend/src/client/schemas.gen.ts
index c4fea78565..90370054cb 100644
--- a/frontend/src/client/schemas.gen.ts
+++ b/frontend/src/client/schemas.gen.ts
@@ -4560,6 +4560,14 @@ export const $GitCommitInfo = {
title: "Date",
description: "The commit date in ... | 5 | 4 | 4 | [{"id": "G0", "claim": "The has_crlf log field looks for the literal string \"\\\\r\\\\n\" instead of the CRLF sequence, making the log misleading.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Annotated tags won't be associated with commits becaus... | null |
TracecatHQ__tracecat__1395 | TracecatHQ/tracecat | 1,395 | defect | 2363b16a56514daa03f58070cbdf39ee8669fefa | 1e2e831e2851bea243997276fe9d64ef7f236d2b | fix(engine): Thread-safe module reloading and prevent import race conditions | ## Summary
- Enhanced `import_and_reload` with RLock to prevent concurrent reload races
- Added defensive error handling for ModuleNotFoundError and AttributeError
- Improved cache invalidation and module management
- Added regression test group to CI workflow
## Test plan
- [x] Added regression test that reproduces... | diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml
index b95189764e..11441b7596 100644
--- a/.github/workflows/test-python.yml
+++ b/.github/workflows/test-python.yml
@@ -157,6 +157,7 @@ jobs:
test_group:
- unit
- registry
+ - regression
... | 3 | 1 | 1 | [{"id": "G0", "claim": "import_and_reload unconditionally reloads after import, re-executing module code on first-time imports and causing unnecessary work and potential side effects; it should only reload when the module was already present before the call.", "category": "correctness", "verdict": "supported", "priorit... | null |
TracecatHQ__tracecat__1417 | TracecatHQ/tracecat | 1,417 | defect | aa58a70c5003bd8c67e00e10a2fbaf8889525bac | 355c201fc7af9ac90dfbbf439c54c4ab592c2a18 | feat(integrations): HTTP pagination action |
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Adds a new core.http_paginate action to iterate through paginated HTTP APIs using simple lambdas to stop and fetch the next page. Includes docs with real-world patterns and comprehensive tests.
- New Features
- Added core.http_pagina... | diff --git a/docs/quickstart/core-actions.mdx b/docs/quickstart/core-actions.mdx
index 371fa526cc..b67dd1cdca 100644
--- a/docs/quickstart/core-actions.mdx
+++ b/docs/quickstart/core-actions.mdx
@@ -121,7 +121,7 @@ Perform an HTTP request to a given URL.
- The value can be:
1. A simple **base64 encoded s... | 4 | 4 | 4 | [{"id": "G0", "claim": "No responses are appended when items_jsonpath is None, causing empty results and inconsistent loop termination semantics.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Appending the entire items collection creates nested lis... | null |
TracecatHQ__tracecat__1509 | TracecatHQ/tracecat | 1,509 | defect | eef9673edf7d4868eb11b913f6e3b9b770f67b51 | 86cd30f88df63e6e059b5e61367dbcc6e220f3a8 | feat(integrations): Add dual auth code or client credentials OAuth support |
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Adds dual OAuth support for Microsoft integrations, enabling both authorization code (delegated) and client credentials (service principal) flows. The executor now merges tokens per provider, skips missing optional auth, and raises a cl... | diff --git a/frontend/src/client/schemas.gen.ts b/frontend/src/client/schemas.gen.ts
index 00899a3bd2..a1545ce9f8 100644
--- a/frontend/src/client/schemas.gen.ts
+++ b/frontend/src/client/schemas.gen.ts
@@ -8174,6 +8174,11 @@ export const $RegistryOAuthSecret_Input = {
enum: ["authorization_code", "client_creden... | 1 | 1 | 1 | [{"id": "G0", "claim": "MicrosoftTeamsCCProvider requests resource-specific scopes (ChatMessage.Read.All, ChatMessage.Send) alongside .default when acquiring a client-credentials token, which Azure AD rejects with AADSTS70011, so the new service-principal flow cannot obtain tokens unless the caller overrides the scopes... | null |
TracecatHQ__tracecat__1512 | TracecatHQ/tracecat | 1,512 | defect | 8d6e401f36471cc1ae3e83c92a8d1c6516cc0f82 | dcbbe3237939d7cd99cd7e0376d371b9b9e3a67c | feat(api): Case durations |
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Adds event-anchored case duration metrics so workspaces can compute “time to X” from case events. Includes schema, service APIs, and integration into CasesService.
- **New Features**
- CaseDurationDefinition schema with start/end eve... | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 1e76932c42..3873e3048a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -27,7 +27,6 @@ repos:
exclude: ^alembic/versions/
- id: ruff-format
verbose: true
- exclude: ^alembic/versions/
- repo: htt... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `_apply_anchor` helper persists `CaseDurationEventAnchor.field_filters` directly into the JSONB columns, so a duration definition whose filters contain an enum value (e.g. `CaseStatus.RESOLVED`) would raise `TypeError: Object of type CaseStatus is not JSON serializable` on commit; enum value... | null |
TracecatHQ__tracecat__1565 | TracecatHQ/tracecat | 1,565 | defect | f054912d938d8e31d61ab07ef755af4b4a6cd0fe | 47c87b4d7047dc54e73add213a7eb39a1fb716e7 | feat(engine): Preserve Python types during execution validation | Modified the validate_args method in BoundRegistryAction to accept a single 'args' dictionary instead of multiple keyword arguments. Updated corresponding test cases to reflect this change, ensuring consistent argument validation across the codebase.
<!--
Thank you for taking the time to contribute to Tracecat!
F... | diff --git a/tests/unit/test_registry.py b/tests/unit/test_registry.py
index 4c1f131d65..c911beff19 100644
--- a/tests/unit/test_registry.py
+++ b/tests/unit/test_registry.py
@@ -130,10 +130,10 @@ def test_udf_validate_args(mock_package):
assert udf.author == "Tracecat"
# Test the UDF
- udf.validate_args... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new logger.warning calls in validate_args log the full validated input and output arguments at warning level on every action execution, which may flood production logs and expose sensitive user-provided values (e.g. secrets), so the statements should be removed or downgraded/sanitized.", "ca... | null |
TracecatHQ__tracecat__1614 | TracecatHQ/tracecat | 1,614 | defect | 263e52808abcf89dccc97bc81809b9a36091e538 | 81c0ffb396ecaaa14c5bd54a7bd0e345fc0a6079 | feat(core): Add raise_if_duplicate to create table UDF |
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Added a raise_on_duplicate option to the create_table UDF to control behavior when a table already exists. By default it raises a ValueError; set to False to return the existing table after a rollback.
- **New Features**
- Handle Duplic... | diff --git a/packages/tracecat-registry/tracecat_registry/core/table.py b/packages/tracecat-registry/tracecat_registry/core/table.py
index 5bd7209f4d..e336b91ed3 100644
--- a/packages/tracecat-registry/tracecat_registry/core/table.py
+++ b/packages/tracecat-registry/tracecat_registry/core/table.py
@@ -3,7 +3,9 @@
from... | 1 | 1 | 1 | [{"id": "G0", "claim": "The tests invoke create_table with the kwarg if_not_exists, which the function no longer accepts after the rename to raise_on_duplicate, so the calls raise TypeError before the duplicate-handling logic runs.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introdu... | null |
TracecatHQ__tracecat__1621 | TracecatHQ/tracecat | 1,621 | defect | 45f5a027c8b6471afa7e5f734037c517cf189d8b | e509dbfd8e088ff80ae3e5f2038910fcb38d4168 | feat(api): Normalize ssh-keyscan handling for custom host formats | ## Summary
- handle bracketed hostnames and IPv6 literals when parsing SSH URLs
- normalize known_hosts lookups and writes so custom ports reuse existing entries
- extend unit coverage around host/port parsing behaviour
## Testing
- `pytest tests/unit/test_ssh.py::TestAddHostToKnownHosts::test_split_host_port -q` *(fa... | diff --git a/tests/unit/test_ssh.py b/tests/unit/test_ssh.py
index de5b3773bc..2422b14e4d 100644
--- a/tests/unit/test_ssh.py
+++ b/tests/unit/test_ssh.py
@@ -1,5 +1,8 @@
"""Tests for SSH base functionality."""
+from pathlib import Path
+from types import SimpleNamespace
+from typing import Optional
from unittest.m... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new deduplication check only tests the whole leading token against known_host_tokens, so known_hosts lines that list multiple comma-separated hosts (e.g. `github.com,140.82.112.4 ...`) no longer match and duplicate entries are silently added; split the leading token on commas before testing ... | null |
TracecatHQ__tracecat__1668 | TracecatHQ/tracecat | 1,668 | defect | e6d58f1ad023f1f2cd8d88f3f7f7262ce606a0a9 | cfb730ba99475e32ca6d5e86e6370ac65bb02607 | fix(api+ui): Token based MCP OAuth and clean up agent ui headers | ## Before
<img width="801" height="920" alt="Screenshot 2025-11-18 at 8 48 32 AM" src="https://github.com/user-attachments/assets/07688f2a-5f36-4c30-b7df-afbfcad4ae0d" />
## After
<img width="801" height="920" alt="Screenshot 2025-11-18 at 8 47 50 AM" src="https://github.com/user-attachments/assets/249fa761-4138-4... | diff --git a/frontend/src/components/agents/agent-presets-builder.tsx b/frontend/src/components/agents/agent-presets-builder.tsx
index 943e2881c4..881c6d39f4 100644
--- a/frontend/src/components/agents/agent-presets-builder.tsx
+++ b/frontend/src/components/agents/agent-presets-builder.tsx
@@ -6,8 +6,10 @@ import {
... | 3 | 2 | 2 | [{"id": "G0", "claim": "Two tests fail on the Blacksmith CI runners: test_extract_expressions_errors[Multiple inline substitutions ...] and TestCaseEventsService/test_case_viewed_event_created_after_window_elapsed.", "category": "testing", "verdict": "uncertain", "priority": "P0", "scope": "pre_existing"}, {"id": "G1",... | null |
TracecatHQ__tracecat__1681 | TracecatHQ/tracecat | 1,681 | defect | b68db667f9dfa40864957f0dc23555045a37abce | b6048566d66ea6d12d2b5d0602e0e69de3c08f49 | feat(agents): add OAuth MCP integrations to agent presets | ## Summary
Replaces manual MCP server configuration with OAuth integration selection for agent presets.
## Description
- Replaces manual MCP server configuration (URL/headers) with OAuth integration selection
- Adds database migration to store selected MCP integration provider IDs instead of manual fields
- Auto... | diff --git a/alembic/versions/2ef382e77dea_agent_preset_oauth_mcp_integration.py b/alembic/versions/2ef382e77dea_agent_preset_oauth_mcp_integration.py
new file mode 100644
index 0000000000..27ec513a18
--- /dev/null
+++ b/alembic/versions/2ef382e77dea_agent_preset_oauth_mcp_integration.py
@@ -0,0 +1,62 @@
+"""agent pres... | 4 | 3 | 3 | [{"id": "G0", "claim": "AgentConfig no longer defines the legacy mcp_server_url/mcp_server_headers attributes while downstream code still accesses them, so registry agent runs will now raise AttributeError when reading those fields.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introd... | null |
TracecatHQ__tracecat__1689 | TracecatHQ/tracecat | 1,689 | defect | 175aa972cbedfe128e93e30fa2024aa19926d326 | 53f1c4b5f09cd7c6ac23d0ddded61e70fefa3cd1 | feat(agents): add tool output truncation and history pruning | ### Summary
Implements token-aware message history pruning and tool output truncation to prevent "context window exceeded" errors during agent execution.
### Description
- History Pruning: Adds prune_history to enforce a sliding window context limit, prioritizing recent messages while always preserving the system... | diff --git a/tests/unit/test_agent_context.py b/tests/unit/test_agent_context.py
new file mode 100644
index 0000000000..624c6d8afc
--- /dev/null
+++ b/tests/unit/test_agent_context.py
@@ -0,0 +1,97 @@
+from pydantic_ai.messages import (
+ ModelRequest,
+ ModelResponse,
+ SystemPromptPart,
+ TextPart,
+ T... | 4 | 3 | 0 | [{"id": "G0", "claim": "The pruning loop skips the context-limit check for the first (newest) message, so when a single history item alone exhausts the remaining budget the overflow protection this function is meant to provide is defeated.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "i... | null |
TracecatHQ__tracecat__1733 | TracecatHQ/tracecat | 1,733 | defect | 963c0fd03718afa5c88c56ca9a7d4e2f1b402ee0 | 68336197a695a516808a953b03efec1056fbb0d0 | feat(integrations): Add PKCE support for OAuth 2.0 flows |
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Adds PKCE (S256) to OAuth 2.0 flows to improve security for public clients. Generates, stores, and uses a code_verifier during token exchange.
- **New Features**
- Generate S256 code_challenge and code_verifier when a provider opts in... | diff --git a/alembic/versions/287584da65f6_add_code_verifier_to_oauth_state.py b/alembic/versions/287584da65f6_add_code_verifier_to_oauth_state.py
new file mode 100644
index 0000000000..7605e8ca34
--- /dev/null
+++ b/alembic/versions/287584da65f6_add_code_verifier_to_oauth_state.py
@@ -0,0 +1,30 @@
+"""add_code_verifie... | 4 | 2 | 2 | [{"id": "G0", "claim": "The new info logs write the full OAuth authorization URL, whose query string carries the per-request state CSRF token (and PKCE data), so anyone with log access could replay it and defeat CSRF protection; the logging should be removed or reduced.", "category": "security", "verdict": "supported",... | null |
TracecatHQ__tracecat__1786 | TracecatHQ/tracecat | 1,786 | defect | 52c5c5ceb5e777f2e5843749c578d2a3d8b3fc32 | 3284c5f9c4a31e8fa72ca61cc7d915879ce87804 | feat(registry): add sync module for subprocess registry sync | ## Summary
- Add `tracecat/registry/sync/` module with service, subprocess utilities, and schemas for synchronizing registry actions
- Update registry actions service with sync capabilities
- Add CLI entrypoint for loading and serializing registry actions
## Test plan
- [ ] Unit tests updated in `test_registry_actions... | diff --git a/frontend/src/client/schemas.gen.ts b/frontend/src/client/schemas.gen.ts
index df74ac3213..157ae554ba 100644
--- a/frontend/src/client/schemas.gen.ts
+++ b/frontend/src/client/schemas.gen.ts
@@ -13520,6 +13520,7 @@ export const $TemplateActionValidationErrorType = {
"ACTION_NAME_CONFLICT",
"STEP_V... | 2 | 1 | 1 | [{"id": "G0", "claim": "asyncio.wait_for raises asyncio.TimeoutError but the block only catches the built-in TimeoutError, so a hung subprocess propagates an unhandled asyncio.TimeoutError and yields a 500 instead of the intended RegistryError; it asks to catch asyncio.TimeoutError (or its alias).", "category": "correc... | null |
TracecatHQ__tracecat__1824 | TracecatHQ/tracecat | 1,824 | defect | f8246a642315ac3f3d72ee2aa518ff126317d3fd | d9b7870d1eceb4c58288c041b996e1be08cd62ec | feat(registry): Add Tables SDK client for UDF access to tables | ## Summary
- Add Tables SDK client for programmatic table access from UDFs
- Create internal API router for SDK-to-API communication
- Add new `core.table.*` UDF actions for table operations
## Changes
- New `TablesClient` SDK with async CRUD operations for tables and rows
- Internal router at `/internal/tables` for s... | diff --git a/packages/tracecat-registry/tracecat_registry/context.py b/packages/tracecat-registry/tracecat_registry/context.py
index d9c0add78a..b73b2363d3 100644
--- a/packages/tracecat-registry/tracecat_registry/context.py
+++ b/packages/tracecat-registry/tracecat_registry/context.py
@@ -17,6 +17,7 @@
if TYPE_CHECKI... | 2 | 1 | 1 | [{"id": "G0", "claim": "The retryable-error paths in lookup_rows and exists_rows still call await conn.rollback(), so when the new begin_nested() savepoint is active the rollback aborts the caller's outer transaction instead of rolling back only the savepoint; use the nested-transaction rollback (or the context manager... | null |
TracecatHQ__tracecat__1825 | TracecatHQ/tracecat | 1,825 | defect | 24b8822befa28d4e51bd319af2886f87f75ad9b0 | 3b0bde4b427b4683a9e397edcf2caba13fbb42f3 | feat(auth): Implement executor token minting and verification | ## Summary
- Add JWT-based authentication for executor service requests
- Implement `mint_executor_token` and `verify_executor_token` functions using HS256 signing with the service key
- Update `_role_dependency` to validate executor tokens including workspace ID matching
- Add configurable TTL via `TRACECAT__EXECUTOR_... | diff --git a/.env.example b/.env.example
index c5ac0c3e2f..79bee2ddaf 100644
--- a/.env.example
+++ b/.env.example
@@ -37,6 +37,7 @@ TRACECAT__DB_ENCRYPTION_KEY=your-tracecat-db-fernet-key
# Used to authenticate with Tracecat services
# Can be generated using `openssl rand -hex 32`
TRACECAT__SERVICE_KEY=your-traceca... | 2 | 2 | 1 | [{"id": "G0", "claim": "The executor token is minted from the caller's (often user) role, so once EXECUTOR_AUTH is enabled user-triggered runs will be denied by the verification path that requires a service role with service_id 'tracecat-executor'; mint it from a dedicated executor service Role preserving the workspace... | null |
TracecatHQ__tracecat__1826 | TracecatHQ/tracecat | 1,826 | defect | f7c4139dfc944ffe5ab50a3ef94ee5a71a00004d | 7b435287b00c1e56ef099401581a17f4f5cf6dc8 | feat(api)!: Replace`ssl` cred with mTLS and CA cert secret types |
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Adds new secret types for mTLS and CA certificates across the API, UI, and HTTP actions to support client cert auth and custom CA bundles. Replaces the old “ssl” secret with clearer mtls/ca_cert types and stricter PEM validation.
- **New ... | diff --git a/docs/cheatsheets/integrations.mdx b/docs/cheatsheets/integrations.mdx
index 7eca8eae40..29a98def0c 100644
--- a/docs/cheatsheets/integrations.mdx
+++ b/docs/cheatsheets/integrations.mdx
@@ -301,7 +301,8 @@ Many integrations support workspace variables for base URLs, allowing you to con
| `smtp` ... | 3 | 3 | 1 | [{"id": "G0", "claim": "The `ssl` secret type was removed from the Credentials table in docs/cheatsheets/integrations.mdx, but many Core Actions and Integrations throughout the document still reference `ssl` as a required secret (core.http_poll, core.http_request, tools.alertmedia, tools.jira, tools.splunk, etc.); eith... | null |
TracecatHQ__tracecat__1836 | TracecatHQ/tracecat | 1,836 | defect | f8c04b6a1e8990a9694a39eee79a0212c3be4dfe | 98b4ff35b266d2123d3405dcf572123e011a69e1 | feat(registry): add SDK client support for case tasks and duration metrics | ## Summary
- Add CasesClient methods for case tasks CRUD and duration metrics
- Add internal API endpoints for `/cases/metrics` and `/cases/tasks/{task_id}`
- Update EE UDFs to use registry client when `registry_client` flag is enabled
- Add `case-durations` feature flag to registry config
## Test plan
- [x] Character... | diff --git a/packages/tracecat-ee/tracecat_ee/cases/durations.py b/packages/tracecat-ee/tracecat_ee/cases/durations.py
index 83dbffba42..83ba4dedbe 100644
--- a/packages/tracecat-ee/tracecat_ee/cases/durations.py
+++ b/packages/tracecat-ee/tracecat_ee/cases/durations.py
@@ -1,12 +1,11 @@
-from typing import Annotated, ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Always including `default_trigger_values` in the request will unintentionally clear it on every update call that doesn't explicitly provide a value; the case task SDK methods should use the `Unset` pattern (like `update_case`) to distinguish between 'not provided' and 'intentionally clear'.", "c... | null |
TracecatHQ__tracecat__1849 | TracecatHQ/tracecat | 1,849 | defect | d515363fd8d3c96d6b92d981cac903775967ce53 | c05b61ad0edd285dbbc0f1d09be4995095b5d106 | feat(workflow): add deterministic logical_time for FN.now() and variants | ## Summary
- Add `time_anchor` field to workflow inputs for deterministic `FN.now()`, `FN.utcnow()`, and `FN.today()` that survives workflow resets
- Webhook/manual triggers: minted at service layer, baked into workflow input
- Scheduled triggers: resolved via local activity using `TemporalScheduledStartTime`
- Child w... | diff --git a/frontend/src/client/schemas.gen.ts b/frontend/src/client/schemas.gen.ts
index ed13e10b76..b8eaf4ede1 100644
--- a/frontend/src/client/schemas.gen.ts
+++ b/frontend/src/client/schemas.gen.ts
@@ -5731,6 +5731,20 @@ export const $DSLRunArgs = {
"Execution type (draft or published). Draft executions u... | 3 | 3 | 2 | [{"id": "G0", "claim": "In utcnow(), the check `if time_anchor.tzinfo` only tests that a timezone exists, so a non-UTC anchor would be returned without converting to UTC, violating the function's UTC contract; use astimezone(UTC).", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduc... | null |
TracecatHQ__tracecat__1870 | TracecatHQ/tracecat | 1,870 | defect | f99c46284c3d7be27acb85f51d043f23febc065c | 9075f74e3863de7da9e25753ceb055bb366296c0 | refactor: reorganize registry schemas and feature flags | ## Summary
- Move imports to `TYPE_CHECKING` block in exceptions module for better performance
- Reorganize `BoundRegistryAction` and `ExpectedField` schemas into dedicated modules
- Add feature flag dependency check to `app.py`
## Changes
- `tracecat/exceptions.py`: Move heavy imports to TYPE_CHECKING block
- `tracec... | diff --git a/tracecat/agent/tools.py b/tracecat/agent/tools.py
index e7a505a768..6cfdb41580 100644
--- a/tracecat/agent/tools.py
+++ b/tracecat/agent/tools.py
@@ -33,7 +33,8 @@
from tracecat.db.models import RegistryAction
from tracecat.expressions.expectations import create_expectation_model
from tracecat.logger im... | 1 | 1 | 1 | [{"id": "G0", "claim": "Re-export BoundRegistryAction from tracecat.registry.actions.schemas or update call sites (e.g. tests/unit/test_agent_tools.py and tests/unit/test_template_actions.py), because the module now only imports it under TYPE_CHECKING and any runtime import via the old path raises an ImportError, break... | null |
TracecatHQ__tracecat__1922 | TracecatHQ/tracecat | 1,922 | defect | a84ac8551d6f1dab8ecdc9c744383c4d975f15f0 | 4c10809cc70c716d33a69ee0c4ea3144fef4f273 | fix(registry): always resolve fresh registry lock on commit | ## Summary
- Draft executions use `registry_lock=None` to resolve at runtime (latest registry)
- Commit always resolves fresh lock from current DSL actions, not stale data
- Fixes bug where changing workflow actions didn't update the registry lock
## Test plan
- [x] Added regression tests in `tests/unit/test_registry_... | diff --git a/tests/unit/test_registry_lock_resolution.py b/tests/unit/test_registry_lock_resolution.py
new file mode 100644
index 0000000000..26b380db62
--- /dev/null
+++ b/tests/unit/test_registry_lock_resolution.py
@@ -0,0 +1,285 @@
+"""Tests for registry lock resolution during draft execution and commit.
+
+This tes... | 3 | 1 | 0 | [{"id": "G0", "claim": "Setting registry_lock=None in validate_draft_workflow forces draft webhook executions to resolve the lock at runtime via RegistryLockService's org-scoped lookup, while the webhook auth role carries no explicit organization_id (it defaults to config.TRACECAT__DEFAULT_ORG_ID), so drafts that rely ... | null |
TracecatHQ__tracecat__2043 | TracecatHQ/tracecat | 2,043 | defect | b1f8b68c6e0cdc2edde22aeb0d56c680ee28b9c8 | 937ae3705f44b9369a682a88ece6a5ceff4940fe | fix(api): Missing org ID in webhooks and only ack if workflow ran |
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Webhooks now return success only after Temporal confirms the workflow started; failures return 500. Also propagates organization_id for service roles (including deriving it from the workspace when missing) to ensure correct auth.
- **Bug Fi... | diff --git a/tests/integration/test_webhook_start_ack_integration.py b/tests/integration/test_webhook_start_ack_integration.py
new file mode 100644
index 0000000000..612149c5a1
--- /dev/null
+++ b/tests/integration/test_webhook_start_ack_integration.py
@@ -0,0 +1,88 @@
+from __future__ import annotations
+
+import uuid... | 3 | 3 | 3 | [{"id": "G0", "claim": "Handle missing workspace records when setting the org ID: scalar_one() will raise and produce a 500 if the workspace no longer exists; return a sanitized HTTP error instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Avoi... | null |
TracecatHQ__tracecat__2051 | TracecatHQ/tracecat | 2,051 | defect | d3e6e9c7581063339d1c775d731e9f211b9f37d6 | e850224a020bc45752e8ef04d1ccea1b1683b6e4 | feat(auth): add pre-auth discovery endpoint | ## Why
We need a pre-auth decision step that can route users by email domain to the correct auth method (`saml` or `oidc`) before triggering provider flows.
This is required for multi-tenant login correctness and prepares the frontend for discovery-first sign-in.
## What changed
- Added backend auth discovery service... | diff --git a/alembic/versions/103eb05cde37_add_organization_domains_table.py b/alembic/versions/103eb05cde37_add_organization_domains_table.py
new file mode 100644
index 0000000000..f989a1e422
--- /dev/null
+++ b/alembic/versions/103eb05cde37_add_organization_domains_table.py
@@ -0,0 +1,112 @@
+"""add organization doma... | 1 | 1 | 1 | [{"id": "G0", "claim": "The discovery lookup only filters by OrganizationDomain.is_active and never verifies the owning Organization is still active, so an inactive org with an active domain row is still returned and users may be routed into a disabled flow; the PR should join Organization and filter Organization.is_ac... | null |
TracecatHQ__tracecat__2073 | TracecatHQ/tracecat | 2,073 | defect | 8f65a06c3b6c332e73360687c012069a216003e9 | 75f3c7779be4bcf71ece158e21b543d86e3a82c2 | feat(org): add safe organization deletion with confirmation |
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Adds safe organization deletion that requires typing the exact org name. Restricts self-deletion to org owners, logs the action (with organization resource type), and fully cleans up related resources.
- **New Features**
- Frontend: admin... | diff --git a/frontend/src/client/services.custom.ts b/frontend/src/client/services.custom.ts
index cadaf00fa7..f404bcfeeb 100644
--- a/frontend/src/client/services.custom.ts
+++ b/frontend/src/client/services.custom.ts
@@ -138,6 +138,30 @@ export type AdminListOrgTiersData = {
orgIds?: string[]
}
+export type Adm... | 4 | 2 | 1 | [{"id": "G0", "claim": "delete_organization lacks the @audit_log decorator that every other destructive operation in this service has, so the most critical destructive action would go unaudited.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The cle... | null |
TracecatHQ__tracecat__2118 | TracecatHQ/tracecat | 2,118 | defect | 3cb453b63a89d5cab1dd497445e6b2b6b58c3046 | 56230262a9f7b18db2f8fd2cc6f586bcbc8975a7 | fix(sandbox): harden unsafe PID executor isolation behavior | ### Motivation
- Prevent user-run Python scripts from inheriting secrets from the main process environment and reduce log noise about network isolation.
- Remove leftover dead code from the previous AST-validation executor that is no longer used.
- Avoid blocking the asyncio event loop on first-run PID-namespace c... | diff --git a/tests/unit/test_unsafe_pid_executor.py b/tests/unit/test_unsafe_pid_executor.py
index 7dde849361..86e5928798 100644
--- a/tests/unit/test_unsafe_pid_executor.py
+++ b/tests/unit/test_unsafe_pid_executor.py
@@ -19,11 +19,19 @@ class TestUnsafePidExecutor:
def executor(self, tmp_path) -> UnsafePidExecut... | 3 | 2 | 2 | [{"id": "G0", "claim": "The warning about network isolation not being enforced is logged under the inverted condition (only when allow_network=True), so callers requesting restricted networking with allow_network=False receive no signal that the unsafe PID executor cannot enforce it, which can silently weaken expected ... | null |
TracecatHQ__tracecat__2142 | TracecatHQ/tracecat | 2,142 | defect | 03ac31dadb3bb755a281807adb0d4ee7f01a1d2f | 32c277840df4a8901f0ea4901258d7e81f4a2771 | fix(agent): consolidate agent output |
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Consolidated the agent’s final output into a single output field and auto-parsed JSON strings for consistent results end-to-end, while preserving workflow replay compatibility.
- **Refactors**
- Replaced structured_output with output acro... | diff --git a/packages/tracecat-ee/tracecat_ee/agent/workflows/durable.py b/packages/tracecat-ee/tracecat_ee/agent/workflows/durable.py
index e7b812f1a6..efe98f76b2 100644
--- a/packages/tracecat-ee/tracecat_ee/agent/workflows/durable.py
+++ b/packages/tracecat-ee/tracecat_ee/agent/workflows/durable.py
@@ -2,7 +2,7 @@
... | 1 | 1 | 1 | [{"id": "G0", "claim": "Renaming AgentExecutorResult.structured_output to output without a validation alias breaks Temporal replay compatibility for in-flight workflows during rolling deploys, since Pydantic ignores the legacy structured_output key and replayed workflows can return a null final output even though the a... | null |
TracecatHQ__tracecat__2163 | TracecatHQ/tracecat | 2,163 | defect | c24760e5da36b26cfef4e72660140127e23df0ec | ccadd3a4281eb613d1be3678dbcd923237a4ea52 | feat(api): Return dropdown metadata in case responses | Summary:
- enforce `dropdown_values` on `CaseRead`/`CaseReadMinimal` and regenerate clients so every case payload always contains the dropdown selections
- hook `CaseDropdownValuesService` into `get_case`, list/search flows, and case creation/update so dropdowns are fetched with any entitlement and passed to responses
... | diff --git a/frontend/src/client/schemas.gen.ts b/frontend/src/client/schemas.gen.ts
index d7c5e80ff6..8dea9fb52c 100644
--- a/frontend/src/client/schemas.gen.ts
+++ b/frontend/src/client/schemas.gen.ts
@@ -5114,6 +5114,7 @@ export const $CaseRead = {
"description",
"fields",
"payload",
+ "dropdown_va... | 1 | 1 | 1 | [{"id": "G0", "claim": "CaseDurationMetric.fields is declared as list[dict[str, Any]], but get_case_metrics now injects CaseFieldRead models, and since model_copy(update=...) skips validation the response can contain non-dict objects; the field models should be converted to dicts before updating the metric.", "category... | null |
TracecatHQ__tracecat__2180 | TracecatHQ/tracecat | 2,180 | defect | 05f6bea03289bc1c0d3450a8690266afe31f6074 | ae435a8763e2a8ceffd5b1682f558e5320a4a309 | feat(api): Add dropdown support to case CRUD endpoints | Summary
- extend case create/update services, routers, and UDFs to honor dropdown inputs
- ensure dropdown handling is consistent across all CRUD layers for cases
Testing
- Not run (not requested)
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Adds dropdown support to case create and... | diff --git a/packages/tracecat-registry/tracecat_registry/core/cases.py b/packages/tracecat-registry/tracecat_registry/core/cases.py
index a7df21fc4e..716c2fc6ea 100644
--- a/packages/tracecat-registry/tracecat_registry/core/cases.py
+++ b/packages/tracecat-registry/tracecat_registry/core/cases.py
@@ -85,6 +85,13 @@ as... | 1 | 1 | 1 | [{"id": "G0", "claim": "Forwarding dropdown_values verbatim into the request body fails with TypeError: Object of type UUID is not JSON serializable when callers pass real uuid.UUID objects for definition_id/option_id, which CaseDropdownValueInput allows, breaking the new dropdown path before the API call is made.", "c... | null |
TracecatHQ__tracecat__2187 | TracecatHQ/tracecat | 2,187 | defect | 239a3029a8c90261cd5f55c59ac56bf94650a73e | a6f8f9cf02109d23e7c4730439c46f716cfc9fa3 | fix(rbac): dedup seeded scopes | ## Problem
Registry action scopes were being seeded in two places: as platform scopes (organization_id = NULL) and again as per-organization custom scopes. Because both used the same scope
names, this created duplicate scope records and redundant role_scope links, which inflated RBAC data and made scope assignmen... | diff --git a/alembic/versions/c9e4f54f0a2b_canonicalize_duplicate_custom_scope_links.py b/alembic/versions/c9e4f54f0a2b_canonicalize_duplicate_custom_scope_links.py
new file mode 100644
index 0000000000..fe7f78aff9
--- /dev/null
+++ b/alembic/versions/c9e4f54f0a2b_canonicalize_duplicate_custom_scope_links.py
@@ -0,0 +1... | 1 | 1 | 1 | [{"id": "G0", "claim": "The migration queries match scopes solely by name and lack a `source` filter, risking deletion of legitimate org-created custom scopes that coincidentally share a name with a platform scope; a filter like `AND custom_scope.source = 'platform'` or an equivalent constraint should be added, especia... | null |
TracecatHQ__tracecat__2245 | TracecatHQ/tracecat | 2,245 | defect | 62413e43b68610ddb76bd0fb268d78bba4ca03c3 | e97932d17c498051d9829d047d842d3e5e152cc8 | fix: avoid /wait webhook crash on InlineObject workflow results | ## Summary
- fix `/webhooks/{workflow_id}/{secret}/wait` regression where debug logging raised `TypeError` when workflow results included non-JSON-serializable objects (for example `InlineObject`)
- replace `json.dumps(result)` in `_dispatch_workflow` with structured logger field output
- add `_dispatch_workflow` re... | diff --git a/tests/unit/test_webhook_execution_path.py b/tests/unit/test_webhook_execution_path.py
index bd35cdd669..1bb9302057 100644
--- a/tests/unit/test_webhook_execution_path.py
+++ b/tests/unit/test_webhook_execution_path.py
@@ -714,3 +714,26 @@ async def test_dispatch_propagates_trigger_type_in_search_attrs(
... | 1 | 1 | 0 | [{"id": "G0", "claim": "/wait now always wraps non-stored results in a {kind: \"value\"} envelope, changing the response shape for plain values despite the docstring saying only StoredObject variants should be normalized, which can break existing clients expecting raw result values.", "category": "correctness", "verdic... | null |
TracecatHQ__tracecat__2264 | TracecatHQ/tracecat | 2,264 | defect | eda91f32b311278c9ff5f5c76daedb9df652be7f | 47a9ad0722bda47c2408ea04de0b7d6a286cf98b | feat(integrations): Add Wiz MCP integration | Summary:
- register a Wiz MCP provider and agent template, including UI entries/icons that point to the new integration
- replace the MCP dialog custom headers textarea with the shared JSON editor and reduce credential text size per UX feedback
- typescript fixes and provider wiring for the Wiz integration assets
Test... | diff --git a/frontend/src/client/schemas.gen.ts b/frontend/src/client/schemas.gen.ts
index b15397fcd9..88f6d44a85 100644
--- a/frontend/src/client/schemas.gen.ts
+++ b/frontend/src/client/schemas.gen.ts
@@ -10862,7 +10862,7 @@ export const $MCPHttpIntegrationCreate = {
],
title: "Custom Credentials",
... | 3 | 3 | 3 | [{"id": "G0", "claim": "Authorization header filtering in OAUTH2 integrations is case-sensitive, so custom headers can still inject `authorization` casing variants that bypass the OAuth-provided Authorization header.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"... | null |
TracecatHQ__tracecat__2333 | TracecatHQ/tracecat | 2,333 | defect | f3920729375239dd7d4f7949d0d394747af15792 | 835db4f375a407986496e8fd65da1837436f5683 | fix: workflow export/import regressions | ## Summary
This PR fixes two workflow export/import regressions and adds a clearer warning on the admin tiers page.
First, workflow exports were serializing an inert `case_trigger` block even when no case trigger was actually configured. In OSS deployments that do not have the `case_addons` entitlement, importing tha... | diff --git a/frontend/src/app/admin/tiers/page.tsx b/frontend/src/app/admin/tiers/page.tsx
index 51beba8957..635c97e93e 100644
--- a/frontend/src/app/admin/tiers/page.tsx
+++ b/frontend/src/app/admin/tiers/page.tsx
@@ -1,10 +1,12 @@
"use client"
+import { AlertTriangleIcon } from "lucide-react"
import { useRouter }... | 3 | 3 | 3 | [{"id": "G0", "claim": "create_workflow_from_external_definition unconditionally overwrites trigger_position/viewport/action_positions with extracted layout, discarding caller-provided layout arguments.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
TracecatHQ__tracecat__2352 | TracecatHQ/tracecat | 2,352 | defect | bb30ba73cf948c2c4f2d3794e560a2a30e95b871 | 04ede2c662058ee3f941acb384442d899a500ec5 | fix(mcp): Improve MCP OAuth compatibility for Codex clients |
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Improves MCP OAuth compatibility for Codex clients by always requesting refresh tokens and publishing platform scopes in discovery/registration. Also updates EKS/Fargate WAF allowlists to accept trailing slashes on MCP and OAuth endpoints.
... | diff --git a/deployments/eks/modules/eks/waf.tf b/deployments/eks/modules/eks/waf.tf
index cdbfed58c0..6a3227faf6 100644
--- a/deployments/eks/modules/eks/waf.tf
+++ b/deployments/eks/modules/eks/waf.tf
@@ -45,7 +45,7 @@ resource "aws_wafv2_regex_pattern_set" "mcp_public_endpoints" {
scope = "REGIONAL"
re... | 1 | 1 | 1 | [{"id": "G0", "claim": "Trailing-slash compatibility is not actually fixed on the EKS path: the change widens only mcp_public_endpoints while the OAuth flow is still gated by BlockSSRFExceptMcpOAuth, which references mcp_oauth_endpoints without the optional trailing slash, so OAuth paths like /authorize/ or /register/ ... | null |
TracecatHQ__tracecat__2360 | TracecatHQ/tracecat | 2,360 | defect | e4b202bb2fff11ead4f130357bfb5cea277654a7 | b10a2cc4e414a107c5a0f111ef67d358920f6b9b | fix(mcp) workflow uploads and restore inline yaml | ## Summary
This fixes the MCP workflow editing regression introduced when inline workflow YAML support was removed in #2339. Remote MCP clients were forced through staged uploads, but those uploads reused the global blob presigned URL expiry, which defaults to 10 seconds. In practice that was too short for an LLM clien... | diff --git a/.env.example b/.env.example
index 9ba2b8e662..0fc00304f6 100644
--- a/.env.example
+++ b/.env.example
@@ -85,6 +85,7 @@ OIDC_SCOPES="openid profile email"
# - If upstream rejects that scope (invalid_scope), retries once without it.
# - If upstream omits `expires_in`, access token fallback TTL is 86400s (... | 2 | 2 | 2 | [{"id": "G0", "claim": "The MCP Helm env block omits the blob-storage settings, so the staged transfer URLs can be generated for the wrong bucket or the internal S3 endpoint.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Use the repository's `os.en... | null |
TracecatHQ__tracecat__2382 | TracecatHQ/tracecat | 2,382 | defect | 5d678dbcfe3e076c6cc98d5f33d9ae2c89c12d54 | 3fc53cbddffce9df037b5eb6788fab9ff3521a11 | fix(workflows): preserve imported runtime metadata | ## Checklist
- [ ] Read [CONTRIBUTING.md](https://github.com/TracecatHQ/tracecat/blob/main/CONTRIBUTING.md).
- [x] PR title is short and non-generic (see previously [merged PRs](https://github.com/TracecatHQ/tracecat/pulls?q=is%3Apr+is%3Aclosed) for examples).
- [x] PR only implements a single feature or fixes a singl... | diff --git a/tests/unit/test_export.py b/tests/unit/test_export.py
index 645bc35fc9..3d9c72c3bf 100644
--- a/tests/unit/test_export.py
+++ b/tests/unit/test_export.py
@@ -261,6 +261,98 @@ async def test_workflow_import_ignores_empty_case_trigger(test_role: Role):
case_trigger_service_cls.assert_not_called()
... | 2 | 1 | 0 | [{"id": "G0", "claim": "Also update `existing_workflow.entrypoint` in `_update_existing_workflow`; this helper omits it, so an overwrite can leave a stale start-node ref after the new actions are imported.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":... | null |
TracecatHQ__tracecat__2389 | TracecatHQ/tracecat | 2,389 | defect | 26197e570e4e761c12f708f536796d96c5d26663 | 2fe5f64f428ee1eaf79da6f5f33bc3478f965c9e | fix: Handle registry sync validation errors and surface API error details in UI | ### Motivation
- Ensure registry sync failures due to action validation are detected early and reported as explicit sync errors instead of generic workflow failures.
- Surface clearer API error details in the frontend UI toast messages to help users diagnose sync failures.
- Ensure sandboxed custom-registry sync honor... | diff --git a/frontend/src/components/admin/admin-org-registry-table.tsx b/frontend/src/components/admin/admin-org-registry-table.tsx
index e8c540f244..911b21d5f7 100644
--- a/frontend/src/components/admin/admin-org-registry-table.tsx
+++ b/frontend/src/components/admin/admin-org-registry-table.tsx
@@ -15,6 +15,7 @@ imp... | 4 | 4 | 4 | [{"id": "G0", "claim": "getApiErrorDetail should read body.message before falling back to error.message, because the generic Error text (e.g. \"Internal Server Error\") can hide the backend's actual error payload when body.detail is null.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "... | null |
TracecatHQ__tracecat__2408 | TracecatHQ/tracecat | 2,408 | defect | b1a6c41f8e16dec9ee63c2d10d254be6e976f927 | d41685d1e6c414edb3b8969889f09bbb221371d7 | fix(api): exclude agent workflows from workflow runs |
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Exclude agent workflows and agent tool executions from workflow run listings and searches. We now filter out `DurableAgentWorkflow` and `ExecuteRegistryToolWorkflow` so results only show user-run workflows.
- **Bug Fixes**
- Added `exclud... | diff --git a/tests/unit/api/test_api_workflow_execution_search.py b/tests/unit/api/test_api_workflow_execution_search.py
index 817ebc9cce..dfb6f0f103 100644
--- a/tests/unit/api/test_api_workflow_execution_search.py
+++ b/tests/unit/api/test_api_workflow_execution_search.py
@@ -47,6 +47,7 @@ async def test_search_workf... | 2 | 2 | 2 | [{"id": "G0", "claim": "The exclusion only applies to GET /workflow-executions/search, while GET /workflow-executions still goes through WorkflowExecutionsService.list_executions() without any exclude_workflow_types filter, so users will still see agent runs in the main workflow-runs UI on a primary code path.", "categ... | null |
TracecatHQ__tracecat__2423 | TracecatHQ/tracecat | 2,423 | defect | 82549ddae7e3ab0122d4ac4126cc0d598b75e34f | e0e14d77039beceb994ea2832503a64070b77a0f | fix(temporal): fail immediately when workflow definition is missing | ## Summary
- Make `get_workflow_definition_activity` fail immediately (non-retryable) when a workflow definition is missing, instead of retrying 6 times via Temporal
- Uses `ApplicationError(non_retryable=True)` instead of `TracecatException`
## Context
Sentry TEMPORAL-S8: a scheduled workflow (`wf_7dbyxZolG7T5Frgvb2i... | diff --git a/tracecat/workflow/management/definitions.py b/tracecat/workflow/management/definitions.py
index 485ab7c947..165b1bbc26 100644
--- a/tracecat/workflow/management/definitions.py
+++ b/tracecat/workflow/management/definitions.py
@@ -8,7 +8,7 @@
from tracecat.authz.controls import require_scope
from tracecat... | 1 | 1 | 1 | [{"id": "G0", "claim": "The Blacksmith CI runners report that the test test_workflows/test_workflow_error_handler_invalid_handler_fail_no_match[id-no-match] fails.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
TracecatHQ__tracecat__2449 | TracecatHQ/tracecat | 2,449 | defect | d7d37d8678dbcaab05b2e3b0a06abc46c5ec8018 | 9b2be7671d3454fbae5a9d77749c8d1125bd6fff | fix(workers): add graceful_shutdown_timeout to Temporal workers | ## Summary
- Add `graceful_shutdown_timeout` to all four Temporal workers to prevent `WorkerShutdown` errors during scale-down (e.g. KEDA)
- DSL worker and agent worker: **30s** (short coordination activities)
- Executor worker and agent-executor worker: **5m** (long-running action execution)
## Context
The Temporal P... | diff --git a/tracecat/agent/executor_worker.py b/tracecat/agent/executor_worker.py
index 04031f48f7..37a1af8350 100644
--- a/tracecat/agent/executor_worker.py
+++ b/tracecat/agent/executor_worker.py
@@ -6,6 +6,7 @@
import os
import signal
from concurrent.futures import ThreadPoolExecutor
+from datetime import timede... | 1 | 1 | 1 | [{"id": "G0", "claim": "The unit test test_agent_executor_worker_treats_empty_numeric_env_vars_as_defaults fails on the Blacksmith CI runners.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
TracecatHQ__tracecat__2451 | TracecatHQ/tracecat | 2,451 | defect | 5f1d4889c72c065992804d1755cb6d33bc8b69a3 | e1beff59b752c784e620cb33aebcb8b719dfb803 | feat(executor): add Temporal heartbeating to execute_action_activity | ## Summary
- Add Temporal activity heartbeating to `execute_action_activity` so that when KEDA scales down executor pods or a pod crashes mid-activity, Temporal detects the dead worker within ~60s instead of waiting the full `start_to_close_timeout` (default 300s)
- Add `TRACECAT__ACTIVITY_HEARTBEAT_TIMEOUT` (default ... | diff --git a/packages/tracecat-ee/tracecat_ee/agent/workflows/durable.py b/packages/tracecat-ee/tracecat_ee/agent/workflows/durable.py
index 8c8a0e4138..c88c6f4adc 100644
--- a/packages/tracecat-ee/tracecat_ee/agent/workflows/durable.py
+++ b/packages/tracecat-ee/tracecat_ee/agent/workflows/durable.py
@@ -690,6 +690,11... | 3 | 1 | 1 | [{"id": "G0", "claim": "The heartbeat task is cancelled after each dispatch_action attempt, so no heartbeats are sent while tenacity sleeps before the next retry (backoff reaching 64s+, beyond the new 60s heartbeat_timeout), which can make Temporal fail a healthy activity with a heartbeat timeout during rate-limit retr... | null |
TracecatHQ__tracecat__2476 | TracecatHQ/tracecat | 2,476 | defect | bd03bfa6a1ccc609a736462ff602faec660c7010 | 879f41106b3257cdffd98087f886512ae6401ec2 | fix(agents): restore aws_role auth for llm_proxy |
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Restore AWS role-based auth in the Bedrock LLM proxy. We now assume the configured role up front (skip if a bearer token is set) and sign initial, streaming, and retried requests with fresh temporary credentials.
- **Bug Fixes**
- Assume ... | diff --git a/tests/unit/test_tracecat_llm_proxy_cloud_providers.py b/tests/unit/test_tracecat_llm_proxy_cloud_providers.py
index a6a1ee6378..eeaa01603c 100644
--- a/tests/unit/test_tracecat_llm_proxy_cloud_providers.py
+++ b/tests/unit/test_tracecat_llm_proxy_cloud_providers.py
@@ -1055,6 +1055,49 @@ def test_bedrock_r... | 1 | 1 | 1 | [{"id": "G0", "claim": "The synchronous boto3 STS assume_role() call added to _signed_bedrock_request performs network I/O on the async event loop, stalling all concurrent requests; it should use aioboto3 (or asyncio.to_thread), and the temporary credentials should ideally be cached rather than assumed on every request... | null |
TracecatHQ__tracecat__2500 | TracecatHQ/tracecat | 2,500 | defect | bb4df9184fdf4cb9afa5ef4f111c7ec2800f56db | d97e6e7bae6500a6bd4d4b4a7231119a769ec425 | feat: Allow continuing existing agent sessions with caller-supplied session_id | ### Motivation
- Enable workflows and external callers to resume or attach to an existing agent session by supplying a `session_id` instead of always creating a new session.
### Description
- Add an optional `session_id: uuid.UUID | None` field to `AgentActionArgs` and `PresetAgentActionArgs` in `tracecat-ee` to c... | diff --git a/packages/tracecat-ee/tracecat_ee/agent/schemas.py b/packages/tracecat-ee/tracecat_ee/agent/schemas.py
index b969fd308b..c1500bf16c 100644
--- a/packages/tracecat-ee/tracecat_ee/agent/schemas.py
+++ b/packages/tracecat-ee/tracecat_ee/agent/schemas.py
@@ -1,3 +1,4 @@
+import uuid
from typing import Any
f... | 1 | 1 | 1 | [{"id": "G0", "claim": "In the continue_existing_session path, every load_session_activity result with found=False is treated as a missing session and raises a non-retryable error, so a transient backend failure reported as found=False with an error string will be misreported as a missing session and permanently fail t... | null |
TracecatHQ__tracecat__2514 | TracecatHQ/tracecat | 2,514 | defect | 4961b8da59e4beb37b40ee6467a910e8078b573a | a1a55408dfa453c26af117d04df6eab50916201b | fix: normalize default port for mcp | <!--
Thank you for taking the time to contribute to Tracecat!
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
-->
## Checklist
- [ ] Read [CONTRIBUTING.md](https://github.com/TracecatHQ/tracecat/blob/m... | diff --git a/tests/unit/test_mcp_oidc_endpoints.py b/tests/unit/test_mcp_oidc_endpoints.py
index bb35b11121..38321ca474 100644
--- a/tests/unit/test_mcp_oidc_endpoints.py
+++ b/tests/unit/test_mcp_oidc_endpoints.py
@@ -333,6 +333,31 @@ def test_authorize_rejects_wrong_redirect_uri(client: TestClient) -> None:
asse... | 1 | 1 | 1 | [{"id": "G0", "claim": "`_normalize_default_port_uri` reads `parts.port` directly, but `urllib.parse` raises `ValueError` for non-numeric or out-of-range ports, so a malformed user-supplied `redirect_uri` can trigger a 500 on `/authorize` instead of the expected OAuth `invalid_request` response.", "category": "correctn... | null |
TracecatHQ__tracecat__2517 | TracecatHQ/tracecat | 2,517 | defect | 3f2bc435617958600bbda116db13d430ee5c9ad9 | f5500f7412489a2ae5c28f93d5fa9e151b461189 | fix: match status_changed across close and reopen | <!--
Thank you for taking the time to contribute to Tracecat!
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
-->
## Checklist
- [ ] Read [CONTRIBUTING.md](https://github.com/TracecatHQ/tracec... | diff --git a/tests/unit/test_case_duration_service.py b/tests/unit/test_case_duration_service.py
index bb5af209c8..f075d5ffd9 100644
--- a/tests/unit/test_case_duration_service.py
+++ b/tests/unit/test_case_duration_service.py
@@ -1,5 +1,7 @@
import uuid
+from collections.abc import Iterator
from datetime import UTC,... | 1 | 1 | 1 | [{"id": "G0", "claim": "Handle unknown `event_type` values before enum coercion in the case trigger consumer; currently an invalid type raises ValueError and can leave a Redis message unacked and retried indefinitely as a poison message.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "i... | null |
TracecatHQ__tracecat__2530 | TracecatHQ/tracecat | 2,530 | defect | 703f636b38a0aca756ce2cfbd1771f0a22b96b2c | a4388c97d6681d7d0ba49df4ab8782816b051a03 | fix(agents): custom model provider routing |
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Fixes custom model provider routing with a passthrough mode and always proxies LLM traffic through the local bridge. Drops the "openai/" prefix for custom providers in both runtime routing and credential injection for correct upstream routin... | diff --git a/tests/unit/test_agent_runtime.py b/tests/unit/test_agent_runtime.py
index 4b55462f1b..8d1eb75ccf 100644
--- a/tests/unit/test_agent_runtime.py
+++ b/tests/unit/test_agent_runtime.py
@@ -204,7 +204,7 @@ def test_get_litellm_url_requires_bridge_port(
"bedrock/us.anthropic.claude-sonnet-4-2025051... | 1 | 1 | 1 | [{"id": "G0", "claim": "The CI run on the Blacksmith runners found a failure: test_get_litellm_route_model_prefixes_provider_route[custom-model-provider-custom-False-openai/custom] fails.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "unclear"}] | null |
TracecatHQ__tracecat__2536 | TracecatHQ/tracecat | 2,536 | defect | e93cf703dd2df3fa1855227e3cce496fd2b2706b | 311961dbc832b5cf946c50d0b66381c0e11b8bb6 | fix(engine): always include builtin registry in resolved lock | ## Summary
- Always include the builtin `tracecat_registry` origin in the resolved registry lock so custom actions retain access to decorators, secrets, and SDK helpers imported from it.
- Fall back to the installed `tracecat_registry.__version__` with a warning log when the platform registry has no `current_version_i... | diff --git a/tests/unit/test_registry_lock_service.py b/tests/unit/test_registry_lock_service.py
index 2c08994c71..07495a794e 100644
--- a/tests/unit/test_registry_lock_service.py
+++ b/tests/unit/test_registry_lock_service.py
@@ -496,6 +496,116 @@ async def test_resolve_lock_allows_template_step_with_run_python(
... | 2 | 2 | 2 | [{"id": "G0", "claim": "The unsynced-bootstrap fallback for the builtin tracecat_registry origin in resolve_lock_with_bindings is broken in both directions: inserting a synthetic installed-package version produces a lock entry with no matching PlatformRegistryVersion row that breaks prefetch/dispatch or leaves no built... | null |
TracecatHQ__tracecat__2541 | TracecatHQ/tracecat | 2,541 | defect | 28ffce305f1be2d7ef714a991d798d7cef9e350f | 8f149d97fd48707914ab727108549987a0ec70d7 | chore: Patch dependencies |
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Pinned minimum patched versions across frontend and backend for security. Removed frontend pnpm release-age exceptions, scoped pnpm overrides, regenerated the lockfile, reverted the `pytest` 9 pin, and stabilized registry lock tests.
- **De... | diff --git a/frontend/package.json b/frontend/package.json
index fac9fe2a38..80d29a9cda 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -88,7 +88,7 @@
"ag-grid-community": "^35.0.1",
"ag-grid-react": "^35.0.1",
"ai": "^5.0.59",
- "axios": "1.13.5",
+ "axios": "1.15.0",
"class... | 2 | 2 | 1 | [{"id": "G1", "claim": "The CI run found 87 test failures on the Blacksmith runners, so the pull request currently breaks the test suite and should not merge as is.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G3", "claim": "The CI run found 4 test failures in T... | null |
TracecatHQ__tracecat__854 | TracecatHQ/tracecat | 854 | defect | 17d3dc4a8533f0a4ba8e8405d8399f241d3ab80a | 46187f3190e91981dfe50c215717fc5235a38797 | feat(ui): Make no node display less intimidating | # Screens
Before
<img width="1728" alt="Screenshot 2025-02-15 at 03 27 21" src="https://github.com/user-attachments/assets/4c95fcec-b677-49d1-86c3-75ac8990e793" />
Afterß
<img width="1728" alt="Screenshot 2025-02-15 at 03 28 44" src="https://github.com/user-attachments/assets/851281f1-58fb-4534-839d-a123be1fa8c... | diff --git a/frontend/src/components/workbench/panel/workbench-panel.tsx b/frontend/src/components/workbench/panel/workbench-panel.tsx
index f718df57ae..f20a019b69 100644
--- a/frontend/src/components/workbench/panel/workbench-panel.tsx
+++ b/frontend/src/components/workbench/panel/workbench-panel.tsx
@@ -2,6 +2,7 @@ i... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new no-node empty-state heading should read \"Action not found\" instead of \"Node not found\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The explanation copy should say the action was deleted or renamed, not the n... | null |
Tracer-Cloud__opensre__221 | Tracer-Cloud/opensre | 221 | defect | e8fde5015c398587fc8507079cdcb396512ef836 | d27459071bccadf3d4962b973a20453e27d5bbf1 | IMPROVEMENT] Replace hardcoded default model IDs with stable, valid values | …alues
- Replace claude-opus-4-20250514 with claude-opus-4-5 (stable alias)
- Replace gpt-5.2 (non-existent) with gpt-4o (valid OpenAI model)
- Update wizard label and all affected test files
Closes #215
## Fixes
## Description
<!-- What changed and why? Keep it 2-3 sentences max.
Bad: "Update... | diff --git a/app/cli/wizard/config.py b/app/cli/wizard/config.py
index e53b374370..94250044c4 100644
--- a/app/cli/wizard/config.py
+++ b/app/cli/wizard/config.py
@@ -38,7 +38,7 @@ class ProviderOption:
)
OPENAI_MODELS = (
- ModelOption(value=DEFAULT_OPENAI_MODEL, label="GPT-5.2"),
+ ModelOption(value=DEFAULT... | 1 | 1 | 0 | [{"id": "G0", "claim": "The default OpenAI model should be a GPT-5-series model, if one is available, rather than gpt-4o.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Tracer-Cloud__opensre__233 | Tracer-Cloud/opensre | 233 | defect | f68612b5fad387efd0ecfe42e960d82b7dba8904 | e5116fb88fbb3ab44f0d5774d8bb90fc85f9784c | feature: Support OpenRouter, Gemini, and NVIDIA LLMs | # Fixes #230
## Description
Adds support for multiple LLM providers (OpenRouter, Google Gemini, and NVIDIA NIM) with automatic provider detection from environment variables. The system maintains backward compatibility with existing Anthropic and OpenAI setups while allowing users to easily switch between provider... | diff --git a/.env.example b/.env.example
index 0ff861a09d..ce841ccf72 100644
--- a/.env.example
+++ b/.env.example
@@ -9,6 +9,21 @@ OPENAI_API_KEY=
OPENAI_REASONING_MODEL=
OPENAI_TOOLCALL_MODEL=
+# OpenRouter (supports 100+ models via a single API)
+OPENROUTER_API_KEY=
+OPENROUTER_REASONING_MODEL=
+OPENROUTER_TOOLC... | 5 | 2 | 1 | [{"id": "G0", "claim": "For non-OpenAI providers, `_create_llm_client` still reads the model from the OpenAI env keys, so the provider-specific `*_REASONING_MODEL`/`*_TOOLCALL_MODEL` (and legacy `*_MODEL`) variables written by onboarding and documented in `.env.example`/`SETUP.md` are ignored at runtime; the branches s... | null |
Tracer-Cloud__opensre__285 | Tracer-Cloud/opensre | 285 | defect | 2adc6997279e699c8f9efcd0fa9ef98c2fcc68fd | 05f98d46cb149a272f03aeeebabd33937ef1a288 | Add opensre update command | Fixes #267
#### Describe the changes you have made in this PR -
Adds `opensre update` as a top-level CLI command.
The command hits the GitHub releases API to get the latest published version, compares it against the locally installed version, and runs a pip upgrade if one is available. Binary installs (frozen execut... | diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000000..10cb617501
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,21 @@
+root = true
+
+[*]
+indent_style = space
+indent_size = 4
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.py]
+max_line_... | 2 | 2 | 1 | [{"id": "G0", "claim": "Before merge, the update command should add error handling for edge cases — proxy/firewall blocking GitHub, unsupported OS, permission denied, GitHub API unreachable or rate-limited (needs a timeout and a graceful error message instead of a crash/hang), pre-release or editable installs whose ver... | null |
Tracer-Cloud__opensre__296 | Tracer-Cloud/opensre | 296 | defect | 28e9bb1e1560e970b2d10d6db9956899088deecd | e3dc2b9c9771d28a4bacc8a69c6133293768fce7 | Add opensre health command | Fixes #266
#### Describe the changes you have made in this PR -
* Added a new top-level `opensre health` CLI command in `app/cli/__main__.py`
* Reused the existing integration verification flow to provide a compact local health summary
* Included basic local CLI setup context in the output, including environmen... | diff --git a/app/cli/__main__.py b/app/cli/__main__.py
index d65de1d9f7..e9e5a6a865 100644
--- a/app/cli/__main__.py
+++ b/app/cli/__main__.py
@@ -26,6 +26,7 @@ def cli() -> None:
opensre investigate -i alert.json Run RCA against an alert payload
opensre tests Browse and run ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The health command's dotenv import and load_dotenv(override=False) call may not be needed, since the main function already has the import - the extra dotenv load looks redundant.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Tracer-Cloud__opensre__298 | Tracer-Cloud/opensre | 298 | defect | 5b23fe117e3468fdecf69658e932da9a6a0d5677 | 505b65c7c9877b1e33c54a729a605b02f0174bf9 | feat: add Jira integration for incident ticket management | Added Jira integration for incident ticket management.
- Added `JiraIntegrationConfig` to `app/integrations/models.py` with `base_url`, `email`, `api_token`, and `project_key` fields
- Added `jira` field to `EffectiveIntegrations`
- Created `app/integrations/clients/jira/client.py` with `JiraConfig` and `JiraClien... | diff --git a/app/cli/wizard/flow.py b/app/cli/wizard/flow.py
index cde258e0d6..7499b37104 100644
--- a/app/cli/wizard/flow.py
+++ b/app/cli/wizard/flow.py
@@ -85,6 +85,10 @@ def validate_sentry_integration(**kwargs):
return _validate(**kwargs)
+def validate_jira_integration(**kwargs):
+ from app.cli.wizard.... | 4 | 4 | 0 | [{"id": "G0", "claim": "validate_jira_integration never probes /rest/api/3/project/{project_key}, so an invalid project key is reported as ok=True and create_issue later fails at runtime; it should verify the key is reachable before reporting success.", "category": "correctness", "verdict": "supported", "priority": "P2... | null |
Tracer-Cloud__opensre__299 | Tracer-Cloud/opensre | 299 | defect | ea49eff879685326325a1543e4faea3109bc9039 | 04b3d71870b6f3769e7ba3907291eda476149ef8 | Add production Dockerfile at repo root for container deployment | Fixes #269
#### Describe the changes you have made in this PR -
Added a production Dockerfile at the repo root (`Dockerfile`) that:
- Uses Python 3.11 slim base image for reasonable size
- Installs dependencies from `pyproject.toml`
- Includes `langgraph-cli` for running the LangGraph server
- Exposes port 2024 for th... | diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000000..28b043b625
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,55 @@
+# Production Dockerfile for OpenSRE
+# Builds a container image that runs the LangGraph-based OpenSRE agent server.
+#
+# Usage:
+# docker build -t opensre:latest .
+# docker run -... | 3 | 3 | 0 | [{"id": "G0", "claim": "The `langgraph dev` entrypoint is a development server (hot reload and Studio UI) and a production image should instead run Uvicorn directly against the LangGraph ASGI app or use `langgraph serve`.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i... | null |
Tracer-Cloud__opensre__312 | Tracer-Cloud/opensre | 312 | defect | a16f016da575b21120e4783d73c75537de9282c8 | 9be769c6f8d398cd0134f6337a51cc6b55ba6111 | refactor(types): tighten TracerClientBase _get typing | Fixes #183
#### Describe the changes you have made in this PR -
- tightened the _get method signature in TracerClientBase from loosely typed dict shapes to Mapping[str, Any] input and a JSONDict return alias
- kept runtime behavior unchanged (same request path, params fallback, and response handling)
- added focused u... | diff --git a/app/integrations/clients/tracer_client/tracer_client_base.py b/app/integrations/clients/tracer_client/tracer_client_base.py
index 7e93313102..cb47f93b09 100644
--- a/app/integrations/clients/tracer_client/tracer_client_base.py
+++ b/app/integrations/clients/tracer_client/tracer_client_base.py
@@ -1,11 +1,1... | 2 | 2 | 0 | [{"id": "G0", "claim": "The test functions type the monkeypatch fixture as Any, which loses type-safety on the fixture's API; annotate it as pytest.MonkeyPatch (and import pytest).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The _FakeHttpClie... | null |
Tracer-Cloud__opensre__340 | Tracer-Cloud/opensre | 340 | defect | 25420c6e44c55bcf713e20f5e4116bfb7d6ae81c | 7764d8f4931ab5b1707f04ee4816120f9ce9df52 | added the health check fastapi endpoint for hosted deployments | Fixes #268
#### Describe the changes you have made in this PR -
Added lightweight health endpoint that checks that is graph_pipeline, llm env is loaded and configured or not and returns HealthResponse as suggested in issue.
```python
class HealthResponse(BaseModel):
ok: bool
version: str
graph_loa... | diff --git a/app/webapp.py b/app/webapp.py
new file mode 100644
index 0000000000..55733b5d59
--- /dev/null
+++ b/app/webapp.py
@@ -0,0 +1,59 @@
+from __future__ import annotations
+
+import importlib
+from functools import lru_cache
+
+from fastapi import FastAPI, Response, status
+from pydantic import BaseModel
+
+fro... | 5 | 4 | 2 | [{"id": "G0", "claim": "The @lru_cache(maxsize=1) on _graph_loaded and _llm_configured permanently caches a False first result, so the /health endpoint can never recover without a process restart; the caching (at least of failures) should be removed since importlib and env-var reads are cheap.", "category": "correctnes... | null |
Tracer-Cloud__opensre__342 | Tracer-Cloud/opensre | 342 | defect | e7d519c216a9233cc75daf1018ec7be4d14557b0 | b5472820b6226ac5746a556540987fa352419f89 | feat : Created v0.1 script for benchmark generation |
Fixes #141
<!-- Add issue number above -->
#### Describe the changes you have made in this PR - Created script that creates benchmark metrics using synthetic test cases
---
## Code Understanding and AI Usage
**Did you use AI assistance (ChatGPT, Claude, Copilot, etc.) to write any part of this ... | diff --git a/Makefile b/Makefile
index 2c29852545..bbe589fbeb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
-include .env
export
-.PHONY: install install-hooks onboard test test-full demo alert-template investigate-alert verify-integrations check-docker check-langgraph check-langsmith-api-key grafana-local-u... | 15 | 12 | 4 | [{"id": "G0", "claim": "render_markdown always emits a hardcoded scope string, so a report generated with --scenario overrides would still claim the three fixed scenarios were in scope; the executed scenario ids should be used instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "int... | null |
Tracer-Cloud__opensre__343 | Tracer-Cloud/opensre | 343 | defect | 34b5abfcd7245900275aba2e3178621baf897c25 | 66260ab7750ad64659ff336750ec69f414d67d74 | Issue/140 elasticsearch integration | ## Fixes #140
## Description
Adds a self-hosted Elasticsearch log source integration following the existing Datadog client pattern. Uses httpx (no elasticsearch-py dependency). Handles both security-enabled and security-disabled ES instances as discussed with @VaibhavUpreti.
---
## Type of Change
- [ ] 🐛 ... | diff --git a/app/integrations/clients/elasticsearch/__init__.py b/app/integrations/clients/elasticsearch/__init__.py
new file mode 100644
index 0000000000..6f1f11d529
--- /dev/null
+++ b/app/integrations/clients/elasticsearch/__init__.py
@@ -0,0 +1,5 @@
+"""Elasticsearch REST API client module."""
+
+from app.integrati... | 4 | 3 | 1 | [{"id": "G0", "claim": "The test file imports pytest without using it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Module 'app.tools.ElasticsearchLogsTool' is imported with both 'import' and 'import from' in the tests.", "category": "maintain... | null |
Tracer-Cloud__opensre__349 | Tracer-Cloud/opensre | 349 | defect | fedc1e66110e82be71d00fbd03a3c0a0b7192686 | f918e75ecaaf44811fdb24d212bf95df5bc8be74 | feat(tools): reduce tool creation to a single file (#275) | ## Summary
Implements lightweight single-file tool creation as requested in #275.
## Changes
- Added example simple tools in `app/tools/simple_tools.py`:
- `get_status` - returns system status information
- `echo` - echoes back input message
- Added comprehensive tests in `app/tools/simple_tools_test.py`
## Ben... | diff --git a/app/tools/simple_tools.py b/app/tools/simple_tools.py
new file mode 100644
index 0000000000..1aa45eb45a
--- /dev/null
+++ b/app/tools/simple_tools.py
@@ -0,0 +1,92 @@
+"""Simple example tools demonstrating the lightweight single-file approach.
+
+This module shows how to create tools with minimal boilerpla... | 2 | 2 | 1 | [{"id": "G0", "claim": "get_status always returns hardcoded status data (\"operational\", \"1.0.0\", a fixed component list) and, because simple_tools.py is inside app/tools/ and not listed in _SKIP_MODULE_NAMES, it is auto-discovered and permanently registered in the production investigation registry, so an AI agent c... | null |
Tracer-Cloud__opensre__354 | Tracer-Cloud/opensre | 354 | defect | fedc1e66110e82be71d00fbd03a3c0a0b7192686 | 97a52fc0bee9f715c786fc666926d9f35e0cac96 | Add guidelines for creating single-file tools | This pull request introduces support for a simpler, "fast path" way to add new tools by allowing single-file function-based tools to be registered with minimal boilerplate. The documentation is updated to describe this new approach, and a test is added to ensure it works as expected.
Tool registration improvements:
... | diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 499be84267..7a21c0fad2 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -63,6 +63,31 @@ Use `issue/` or `fix/` prefix. Branch names should be lowercase with hyphens.
- Write clear commit messages: `"Fix: CLI returns error on incomplete commands"`
- One concern... | 3 | 3 | 0 | [{"id": "G0", "claim": "There should be two blank lines before the new test function (ruff E302), otherwise `make lint` fails.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The example filename in the new docs should use snake_case (`example_st... | null |
Tracer-Cloud__opensre__355 | Tracer-Cloud/opensre | 355 | defect | fedc1e66110e82be71d00fbd03a3c0a0b7192686 | fa1859d83f77d53b133a7c3290c6a5d68f7607e1 | Implement health check endpoint with response model and tests | This pull request introduces a new FastAPI-based HTTP health check endpoint for the application, along with configuration changes and comprehensive tests. The main focus is to provide a `/health` endpoint that reports the status of critical subsystems and environment details, and to ensure this endpoint is properly int... | diff --git a/app/webapp.py b/app/webapp.py
new file mode 100644
index 0000000000..21c02e10f5
--- /dev/null
+++ b/app/webapp.py
@@ -0,0 +1,56 @@
+from __future__ import annotations
+
+import importlib
+
+from fastapi import FastAPI, Response, status
+from pydantic import BaseModel
+
+from app.config import LLMSettings, ... | 3 | 2 | 2 | [{"id": "G0", "claim": "_graph_loaded() uses importlib.import_module, which only executes the module on the first call and then returns the cached entry, so graph_loaded is permanently True after boot and conveys no live diagnostic signal; the comment asks to inspect sys.modules instead (or do a deeper liveness check).... | null |
Tracer-Cloud__opensre__356 | Tracer-Cloud/opensre | 356 | defect | fedc1e66110e82be71d00fbd03a3c0a0b7192686 | 819d86e4bb4ecbead58af1206ec62b732722c21c | feat: add opensre onboard local_llm — zero-config Ollama setup | ## Summary
Adds `opensre onboard local_llm`, a new subcommand that sets up a local LLM via Ollama with no API key required.
- Auto-detects hardware (RAM, Apple Silicon, NVIDIA GPU) and recommends an appropriate model
- Installs Ollama if missing (via Homebrew on macOS, curl script on Linux) with user confirmatio... | diff --git a/app/cli/__main__.py b/app/cli/__main__.py
index 30483aa5a9..b3600ee050 100644
--- a/app/cli/__main__.py
+++ b/app/cli/__main__.py
@@ -159,9 +159,12 @@ def update(check_only: bool, yes: bool) -> None:
raise SystemExit(rc)
-@cli.command()
-def onboard() -> None:
+@cli.group(invoke_without_command=Tr... | 8 | 6 | 2 | [{"id": "G0", "claim": "The bare 'except Exception: pass' clauses in _get_total_ram_gb and _get_available_ram_gb swallow errors silently with no explanatory comment.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "On Apple Silicon with 16GB total... | null |
Tracer-Cloud__opensre__362 | Tracer-Cloud/opensre | 362 | defect | ed7d9b0aee201e335c3b647d7b1c6d53666976a2 | a395eeafb3914865972b1fb2cfd64166701b0420 | Feat/notion integration v2 | Fixes #286
Supersedes #297 (rebased cleanly on main)
#### Describe the changes you have made in this PR
Added Notion integration for investigation reports and incident tracking.
- Added `NotionIntegrationConfig` to `app/integrations/models.py` with `api_key` and `database_id` fields
- Added `notion` field to... | diff --git a/app/cli/wizard/flow.py b/app/cli/wizard/flow.py
index f228a281ab..8251f26217 100644
--- a/app/cli/wizard/flow.py
+++ b/app/cli/wizard/flow.py
@@ -83,6 +83,11 @@ def validate_sentry_integration(**kwargs):
return _validate(**kwargs)
+def validate_notion_integration(**kwargs):
+ from app.cli.wizar... | 6 | 2 | 2 | [{"id": "G0", "claim": "_configure_notion loads saved Notion credentials via _integration_defaults(\"notion\") but never passes them as prompt defaults, so the credentials variable is dead code and every re-run of the wizard forces the user to retype both the API key and the database ID.", "category": "correctness", "v... | null |
Tracer-Cloud__opensre__389 | Tracer-Cloud/opensre | 389 | defect | 2a9a60557c6f9f11a0ec320c8e0e1baffe8e115e | 87bfc8d0fd8a7b7c6ea3916a8e0311e13150d10d | Enhance UI for terminal command interface | This pull request refactors the `opensre health` command to provide a more polished and user-friendly health report using the Rich library. The main changes include introducing a new `health_view` module for rendering, updating the CLI command to use this improved output, and adjusting tests accordingly.
**User inte... | diff --git a/app/cli/__main__.py b/app/cli/__main__.py
index 93335e843a..f75fbafbc5 100644
--- a/app/cli/__main__.py
+++ b/app/cli/__main__.py
@@ -228,19 +228,19 @@ def onboard_local_llm() -> None:
def health() -> None:
"""Show a quick health summary of the local agent setup."""
from app.config import get_en... | 3 | 3 | 2 | [{"id": "G0", "claim": "The `integration_store_path` parameter of `render_health_report` is annotated `str` while the caller in `__main__.py` passes `STORE_PATH`, a `pathlib.Path`, which will produce a type error under `make typecheck`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "in... | null |
Tracer-Cloud__opensre__396 | Tracer-Cloud/opensre | 396 | defect | 30c7c95688a2b5c41bfba548bda74bf6004c926a | 372c4f1b8fbc59571db29f2cebc4ad89c91bda33 | feat: auto-append benchmark results to README after generation | Fixes #387
#### Describe the changes you have made in this PR
After `make benchmark` completes, the README benchmark section is now automatically updated with the latest summary table. This uses HTML comment markers (`<!-- BENCHMARK-START -->` / `<!-- BENCHMARK-END -->`) and idempotent `re.sub` replacement — the ... | diff --git a/.github/workflows/benchmark-readme.yml b/.github/workflows/benchmark-readme.yml
new file mode 100644
index 0000000000..0d0974813e
--- /dev/null
+++ b/.github/workflows/benchmark-readme.yml
@@ -0,0 +1,36 @@
+name: Update Benchmark README Section
+
+on:
+ push:
+ branches:
+ - main
+ paths:
+ ... | 4 | 3 | 3 | [{"id": "G0", "claim": "The CI workflow checks out, runs the updater and calls git push with no prior git pull, so if any commit lands on main between checkout and push the push fails with a non-fast-forward error and silently breaks the auto-update job; it should run git pull --rebase origin main before pushing.", "ca... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.