instance_id string | set string | key_version string | defect_id string | title string | statement string | kind string | severity string | sites list | evidence string | counts_if string | provenance_hunt bool | provenance_hunt_refs list | provenance_dataset_refs list | provenance_reviewer_comments list | provenance_added_in string | benchmark_limitation string | bot_derived_reference string | repo string | head_commit string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
linera-io__linera-protocol@024925d | rest145 | 2 | D4 | Default grace period silently halved from 0.2 to 0.1 for every caller, contrary to the PR description | All callers pass None, so behaviour is governed by DEFAULT_GRACE_PERIOD = 0.1 (updater.rs:36), replacing GRACE_PERIOD = 0.2. The PR body strikes through 'and altered its value', i.e. says the value change was dropped, yet the head still ships 0.1: lagging validators get half the time to answer after a quorum for block ... | compat | low | [
{
"path": "linera-core/src/updater.rs",
"from_line": 34,
"to_line": 36,
"role": "cause"
}
] | base `const GRACE_PERIOD: f64 = 0.2;`; head updater.rs:36 `const DEFAULT_GRACE_PERIOD: f64 = 0.1;`; every call site passes `None`. | Must note that the default value changed (0.2 -> 0.1) for existing callers, not just that a parameter was added. | true | [] | [] | [
"C3",
"N4"
] | null | null | null | linera-io/linera-protocol | 024925dfbeff5daaecdd2cd733cda2825eff1bb7 |
linera-io__linera-protocol@8fb32bb | rest145 | 2 | D1 | Import renamed to non-existent trait `CloneableView` breaks compilation of linera-core | linera-core/src/chain_worker/state/mod.rs:31 now imports `linera_views::views::{CloneableView, ViewError}`, but the trait is declared as `pub trait ClonableView<C>` (linera-views/src/views/mod.rs:248) and no `CloneableView` exists anywhere in the repo. The unresolved import is a hard compile error (E0432), and the trai... | build | high | [
{
"path": "linera-core/src/chain_worker/state/mod.rs",
"from_line": 31,
"to_line": 31,
"role": "cause"
},
{
"path": "linera-views/src/views/mod.rs",
"from_line": 248,
"to_line": 248,
"role": "other-site"
},
{
"path": "linera-core/src/chain_worker/state/mod.rs",
"from_... | head mod.rs:31 `use linera_views::views::{CloneableView, ViewError};`; `git grep CloneableView <head>` hits only that line; linera-views/src/views/mod.rs:248 `pub trait ClonableView<C>: View<C> {`; mod.rs:115 `self.chain.clone_unchecked()?` is a ClonableView method. | A finding must say the renamed import `CloneableView` does not match the actual trait name `ClonableView` (unresolved import / compile failure). Comments about spelling or capitalization in doc comments do not count. | true | [] | [] | [
"C1",
"C2",
"C3",
"N2",
"N3",
"N4"
] | null | null | null | linera-io/linera-protocol | 8fb32bb8a463a3b19e291426f83833027739f868 |
timescale__timescaledb@2568b01 | rest145 | 2 | D1 | hypercore_open_compressed ignores its lock mode and always takes AccessShareLock, silently downgrading every DML/CLUSTER lock on the compressed relation | The new helper hypercore_open_compressed(Relation relation, LOCKMODE mode) (tsl/src/hypercore/hypercore_handler.c:105-110) calls `table_open(hcinfo->compressed_relid, AccessShareLock)` instead of `mode`. Every caller that previously requested a stronger lock now only gets AccessShareLock on the compressed relation: hyp... | concurrency | high | [
{
"path": "tsl/src/hypercore/hypercore_handler.c",
"from_line": 105,
"to_line": 110,
"role": "cause"
},
{
"path": "tsl/src/hypercore/hypercore_handler.c",
"from_line": 2172,
"to_line": 2172,
"role": "symptom"
},
{
"path": "tsl/src/hypercore/hypercore_handler.c",
"from... | head hypercore_handler.c:106-109 `hypercore_open_compressed(Relation relation, LOCKMODE mode) { HypercoreInfo *hcinfo = RelationGetHypercoreInfo(relation); return table_open(hcinfo->compressed_relid, AccessShareLock); }`; base had e.g. `table_open(hsinfo->compressed_relid, RowExclusiveLock)` in hypercore_tuple_delete a... | Must say the `mode` parameter is unused / table_open is hardcoded to AccessShareLock, so callers asking for RowExclusive/RowShare/AccessExclusive get a weaker lock. | true | [] | [
"R1"
] | [
"C4",
"C5",
"C6",
"N1",
"N2",
"N3",
"N4"
] | null | null | null | timescale/timescaledb | 2568b018719e25f262255626c474a461da38fc21 |
timescale__timescaledb@5ab9b12 | rest145 | 2 | D1 | "using non-segmentby index for recompression" is logged unconditionally, misreporting the path for segmentby chunks | The new elog at tsl/src/compression/recompress.c:173 sits outside any num_segmentby check. recompress_chunk_segmentwise_impl serves every segmentwise recompression, including the ordinary segmentby case, so with timescaledb.debug_compression_path_info on it prints an INFO line claiming a non-segmentby index is used eve... | maintainability | low | [
{
"path": "tsl/src/compression/recompress.c",
"from_line": 171,
"to_line": 173,
"role": "cause"
}
] | recompress.c:160 `int num_segmentby = ts_array_length(settings->fd.segmentby);` ... recompress.c:173 `elog(ts_guc_debug_compression_path_info ? INFO : DEBUG1, "using non-segmentby index for recompression") ;` with no condition; the same function is called for segmentby chunks from api.c tsl_compress_chunk_wrapper and r... | A comment must say the log message is misleading/inaccurate: emitted regardless of segmentby, or does not reflect the index actually used. A comment only about the whitespace before the semicolon does not count. | true | [] | [
"R1"
] | [
"C2",
"C6",
"C8",
"N2",
"N3",
"N4"
] | null | null | null | timescale/timescaledb | 5ab9b1295e6bdce4834005e3738074b3a844eeb4 |
timescale__timescaledb@5ab9b12 | rest145 | 2 | D2 | Existing full-recompression test now takes the segmentwise path; its comment is wrong and the fallback coverage is lost | The mytab test in tsl/test/sql/recompress_chunk_segmentwise.sql:236-244 re-enables compression with no segmentby and states at :241 'expect to see a different compressed chunk after recompressing now as the operation is decompress + compress'. With the no-segmentby guard removed from api.c, that chunk now takes segment... | maintainability | low | [
{
"path": "tsl/test/sql/recompress_chunk_segmentwise.sql",
"from_line": 241,
"to_line": 244,
"role": "cause"
},
{
"path": "tsl/test/expected/recompress_chunk_segmentwise.out",
"from_line": 475,
"to_line": 486,
"role": "symptom"
}
] | recompress_chunk_segmentwise.sql:241 `-- expect to see a different compressed chunk after recompressing now as the operation is decompress + compress`; expected output diff changes `compress_hyper_13_14_chunk | compress_hyper_13_15_chunk` to `compress_hyper_13_14_chunk | compress_hyper_13_14_chunk` at .out:486. | A comment must point out that the existing mytab/before-after test (or its comment) now contradicts the new behaviour / no longer tests full recompression. Generic 'add more tests for noseg' requests do not count. | false | [] | [] | [
"C10"
] | null | null | null | timescale/timescaledb | 5ab9b1295e6bdce4834005e3738074b3a844eeb4 |
timescale__timescaledb@7148e5c | rest145 | 2 | D1 | refresh_newest_first is never read from the SQL call or stored in the job config, so passing false has no effect | The SQL function gains an 11th argument (sql/policy_api.sql:94; also latest-dev.sql:26), but the C entry point policy_refresh_cagg_add (tsl/src/bgw_policy/continuous_aggregate_api.c:689-756) still reads only args 0-9, and policy_refresh_cagg_add_internal (:531-536) has no parameter for it and never writes POL_REFRESH_C... | incomplete-fix | high | [
{
"path": "tsl/src/bgw_policy/continuous_aggregate_api.c",
"from_line": 689,
"to_line": 751,
"role": "cause"
},
{
"path": "tsl/src/bgw_policy/continuous_aggregate_api.c",
"from_line": 531,
"to_line": 536,
"role": "cause"
},
{
"path": "sql/policy_api.sql",
"from_line":... | continuous_aggregate_api.c:724-725 `max_batches_per_execution.value = PG_GETARG_DATUM(9); ... PG_ARGISNULL(9);` is the last argument read; the _add_internal call passes no ordering flag; `git grep refresh_newest_first` finds no writer of the config key (only the getter, job.c:508, refresh.c). Expected output after `ref... | A comment must say the new argument is not consumed/persisted by policy_refresh_cagg_add / _add_internal (never written to the job config) so the option is a no-op, OR that the test's expected output still shows newest-first order despite `false` (i.e. the option is ignored). Comments about DROP IF EXISTS, ts_update_pl... | true | [] | [] | [
"C2",
"C4",
"C6",
"C7",
"C8",
"C9",
"C11",
"C12",
"C13",
"C14",
"N1",
"N4",
"N5",
"N8"
] | null | null | null | timescale/timescaledb | 7148e5c7d90c9da819a8ca77b79664fac300ca60 |
timescale__timescaledb@7148e5c | rest145 | 2 | D2 | With oldest-first order, the NULL-offset unbounded endpoints are attached to the wrong batches | continuous_agg_split_refresh_window now returns batches in ASC order when refresh_newest_first is false (refresh.c:1143-1145), but the batch-building loop still assumes DESC: it gives row i==0 an unbounded end when the policy's end offset is NULL (refresh.c:1222-1226) and the last row an unbounded start when the start ... | bug | medium | [
{
"path": "tsl/src/continuous_aggs/refresh.c",
"from_line": 1143,
"to_line": 1145,
"role": "cause"
},
{
"path": "tsl/src/continuous_aggs/refresh.c",
"from_line": 1217,
"to_line": 1237,
"role": "symptom"
}
] | refresh.c:1145 `psprintf(query_str_template, refresh_newest_first ? "DESC" : "ASC")`; :1222 `if (i == 0 && original_refresh_window->end_isnull) { range->end = ts_time_get_noend_or_max(range->type); ...}`; :1233 `if (i == (SPI_processed - 1) && original_refresh_window->start_isnull) { range->start = ts_time_get_nobegin_... | A comment must say that in ascending order the first/last batch index no longer corresponds to newest/oldest, so the unbounded end (NULL end_offset) is attached to the oldest batch and/or the unbounded start to the newest. Merely saying the comment about reverse order is stale does not count. | false | [] | [] | [
"C1",
"C5",
"C10",
"N2",
"N3",
"N6",
"N7"
] | null | null | null | timescale/timescaledb | 7148e5c7d90c9da819a8ca77b79664fac300ca60 |
timescale__timescaledb@7148e5c | rest145 | 2 | D3 | The batch-production comment still says batches are always produced newest-first | The explanatory comment above the batch query (refresh.c:1066-1082) states batches are produced in reverse order so the most recent data is processed first; with the new ASC branch (refresh.c:1145) that is now conditional on refresh_newest_first, so the comment is wrong for the new mode. | maintainability | low | [
{
"path": "tsl/src/continuous_aggs/refresh.c",
"from_line": 1066,
"to_line": 1082,
"role": "cause"
}
] | refresh.c:1069-1073 'The batches are produced in reverse order ... because the most recent data should be the first to be processed' vs :1145 choosing ASC when refresh_newest_first is false. | A comment must say the reverse-order/newest-first comment is now stale or conditional. | false | [] | [] | [
"C3",
"C5"
] | null | null | null | timescale/timescaledb | 7148e5c7d90c9da819a8ca77b79664fac300ca60 |
unionlabs__union@d840723 | rest145 | 2 | D1 | Ethereum and Movement consensus/state modules wrap non-nanosecond values (seconds, microseconds) in Timestamp::from_nanos, so the new 'nanoseconds' type lies and WaitForTimestamp comparisons against those chains are off by 1e9 / 1e3 | The PR's stated goal is a single nanosecond timestamp type, and it adds Timestamp::from_secs for exactly this purpose (used in voyager/plugins/client-update/ethereum/src/main.rs:539), and the Ethereum bootstrap already normalises the same execution timestamp to nanos (voyager/modules/client-bootstrap/ethereum/src/main.... | incomplete-fix | low | [
{
"path": "voyager/modules/consensus/ethereum/src/main.rs",
"from_line": 167,
"to_line": 195,
"role": "cause"
},
{
"path": "voyager/modules/consensus/movement/src/main.rs",
"from_line": 165,
"to_line": 165,
"role": "cause"
},
{
"path": "voyager/modules/state/movement/src/... | ethereum: `Ok(Timestamp::from_nanos(self.beacon_api_client.finality_update()...data.finalized_header.execution.timestamp,)` (execution payload timestamp, lib/beacon-api-types/src/execution_payload_header.rs:29 `pub timestamp: u64`, Unix seconds) and `Timestamp::from_nanos(...header.timestamp.try_into().unwrap())`; move... | Must say the ethereum value is seconds and/or the movement (Aptos) value is microseconds, and wrapping it with from_nanos is the wrong unit. Merely saying `.try_into()` is redundant does not count. | true | [] | [
"R16"
] | [
"C1",
"C2",
"C3",
"C6",
"C7",
"C12",
"C15",
"C18",
"N1",
"N2",
"N3",
"N4",
"N5",
"N6",
"N7",
"N8"
] | null | null | null | unionlabs/union | d840723278f1d4cecc02ac540385725a1c54ca84 |
unionlabs__union@d840723 | rest145 | 2 | D2 | TODO comments saying the timestamp should return 'a better type than i64' are left in place after the PR changed the type to Timestamp | The PR replaces the i64 return type with Timestamp but keeps the now-obsolete TODOs directly above the changed signatures: lib/voyager-message/src/module.rs:442 and lib/voyager-message/src/rpc.rs:41 (`// TODO: Make this return a better type than i64`), voyager/modules/consensus/movement/src/main.rs:146 (same text), and... | maintainability | low | [
{
"path": "lib/voyager-message/src/module.rs",
"from_line": 442,
"to_line": 443,
"role": "cause"
},
{
"path": "lib/voyager-message/src/rpc.rs",
"from_line": 41,
"to_line": 46,
"role": "other-site"
},
{
"path": "voyager/modules/consensus/movement/src/main.rs",
"from_li... | module.rs:442-443 `// TODO: Make this return a better type than i64` / `async fn query_latest_timestamp(&self, finalized: bool) -> RpcResult<Timestamp>;` | Must say a TODO about i64 / a better timestamp type is stale now that Timestamp is returned (any of the listed sites). | true | [] | [
"R4",
"R6",
"R12"
] | [
"C4",
"C5",
"C8",
"C9",
"C10",
"C11",
"C19"
] | null | null | null | unionlabs/union | d840723278f1d4cecc02ac540385725a1c54ca84 |
langflow-ai__langflow@bcfe6f9 | rest145 | 2 | D1 | Strings are never truncated: the primitive fast path returns every str before the truncating str case | _serialize_dispatcher calls _serialize_primitive first (serialization.py:129-131), which returns any str unchanged (serialization.py:89-90); the only truncating branch `case str(): return _serialize_str(...)` (serialization.py:134-135) is dead. ResultDataResponse.serialize_results/serialize_model (api/v1/schemas.py:273... | bug | high | [
{
"path": "src/backend/base/langflow/serialization/serialization.py",
"from_line": 87,
"to_line": 91,
"role": "cause"
},
{
"path": "src/backend/base/langflow/serialization/serialization.py",
"from_line": 127,
"to_line": 135,
"role": "cause"
},
{
"path": "src/backend/base/... | serialization.py:89 `if obj is None or isinstance(obj, int | float | bool | complex | str): return obj`; :130 `if primitive is not None: ... return primitive`; :134 `case str(): return _serialize_str(obj, max_length, max_items)` unreachable. Removed schemas.py code did `if isinstance(obj, str): if len(obj) > max_length... | Must say that str values short-circuit through the primitive/early-return path so max_length is never applied (long strings returned in full, response cap lost, or the truncation tests fail). R7 (None-vs-not-primitive sentinel ambiguity) and R6 (claims _serialize_str returns None) do not count. | true | [] | [] | [
"C1",
"C3",
"C13",
"C14",
"C32",
"C47",
"N12",
"N14",
"N16",
"N17"
] | null | null | null | langflow-ai/langflow | bcfe6f9ded091cd360b3212b6e9f5a58cbcdac5e |
langflow-ai__langflow@bcfe6f9 | rest145 | 2 | D2 | Generic instance catch-all shadows the numpy dtype handling (and Enum branch): NumPy scalars serialize as strings | `case object() if not isinstance(obj, type)` (serialization.py:160-161) matches every instance not handled earlier and returns str(obj). The later Enum/TypeVar/alias cases (162-167) and the numpy dtype handling in `case _` (168-182) can only ever see classes. np.int64, np.uint64, np.float32, np.bool_, np.complex64 are ... | bug | high | [
{
"path": "src/backend/base/langflow/serialization/serialization.py",
"from_line": 160,
"to_line": 182,
"role": "cause"
},
{
"path": "src/backend/tests/unit/serialization/test_serialization.py",
"from_line": 248,
"to_line": 281,
"role": "symptom"
}
] | serialization.py:160 `case object() if not isinstance(obj, type): # Match any instance that's not a class` -> `_serialize_instance` = `str(obj)`; :162 `case object() if hasattr(obj, "_name_"): # Enum case`; :170-172 `if hasattr(obj, "dtype"): if np.issubdtype(obj.dtype, np.number) ...: return obj.item()`. test_serial... | Counts: the match-arm order makes the numpy/Enum/TypeVar/alias branches unreachable for instances (swallowed by the generic object() case), or NumPy scalars become strings / numpy tests fail. A comment only about returning raw class objects is D3. Pure style remarks about the match statement do not count. | true | [] | [
"R8"
] | [
"C5",
"C10",
"C26",
"C28",
"C50",
"N3",
"N5",
"N9",
"N17"
] | null | null | null | langflow-ai/langflow | bcfe6f9ded091cd360b3212b6e9f5a58cbcdac5e |
langflow-ai__langflow@bcfe6f9 | rest145 | 2 | D3 | serialize() returns non-JSON values unchanged (class objects, complex numbers), breaking json.dumps in dict_to_codeblock and the class-serialization tests | A class such as `int` or a user class is a `type`, so it skips the catch-all at serialization.py:160, matches none of 162-167 and reaches `return obj` at 183; serialize() then returns the raw class because `result is not None` (209-210) precedes its own `isinstance(obj, type)` string branch (213-216). complex values ar... | bug | high | [
{
"path": "src/backend/base/langflow/serialization/serialization.py",
"from_line": 183,
"to_line": 216,
"role": "cause"
},
{
"path": "src/backend/base/langflow/serialization/serialization.py",
"from_line": 89,
"to_line": 89,
"role": "other-site"
},
{
"path": "src/backend/... | serialization.py:183 `return obj`; :209 `if result is not None: return result` before :213 `if isinstance(obj, type): ... return str(obj)`. vertex_types.py:482-483 `serialized = {key: serialize(val) ...}; json_str = json.dumps(serialized, indent=4)`. Removed graph/utils.py serialize_field ended with `return str(value)`... | Counts: serialize can return a non-JSON-serializable object (raw class, complex, 'fallback returns the original object') so json.dumps in dict_to_codeblock raises TypeError, or class serialization returns the class instead of its string. The numpy-scalar-as-string issue is D2. | true | [] | [
"R4"
] | [
"C2",
"C4",
"C51",
"N17"
] | null | null | null | langflow-ai/langflow | bcfe6f9ded091cd360b3212b6e9f5a58cbcdac5e |
langflow-ai__langflow@bcfe6f9 | rest145 | 2 | D4 | serialize()'s presentation limits become defaults for non-presentation paths (run results, vertex-build history, artifacts, chat code blocks) | serialize() defaults to max_length=MAX_TEXT_LENGTH, max_items=MAX_ITEMS_LENGTH (serialization.py:186-189). The replaced serialize_field / recursive_serialize_or_str never truncated, but the new call sites pass no limits: ResultData.serialize_results (graph/schema.py:26-27, flow-run results returned to API clients), log... | data | medium | [
{
"path": "src/backend/base/langflow/graph/schema.py",
"from_line": 26,
"to_line": 27,
"role": "cause"
},
{
"path": "src/backend/base/langflow/graph/utils.py",
"from_line": 163,
"to_line": 165,
"role": "other-site"
},
{
"path": "src/backend/base/langflow/schema/artifact.p... | serialization.py:188-189 `max_length: int | None = MAX_TEXT_LENGTH, max_items: int | None = MAX_ITEMS_LENGTH`; :80-83 list truncation appends `f"... [truncated {len(obj) - max_items} items]"`. graph/schema.py:26 `return {key: serialize(val) for key, val in value.items()}` (was serialize_field, which recursed lists with... | Counts: a comment that one of these non-API call sites now inherits the default 20000/1000 limits and silently truncates data that serialize_field/recursive_serialize_or_str kept whole (any of the listed sites). Not: complaints about the truncation marker format in the API response path (pre-existing there). | false | [] | [
"R3"
] | [
"C7",
"C9",
"C11",
"C18",
"C21",
"C25",
"C38",
"C52",
"N1",
"N6"
] | null | null | null | langflow-ai/langflow | bcfe6f9ded091cd360b3212b6e9f5a58cbcdac5e |
langflow-ai__langflow@bcfe6f9 | rest145 | 2 | D5 | Aware datetimes are relabelled to UTC instead of converted, shifting the instant in graph results and output logs | _serialize_datetime does `obj.replace(tzinfo=timezone.utc).isoformat()` (serialization.py:37), which keeps the wall-clock time and swaps the offset, so 12:00+02:00 becomes 12:00+00:00 (two hours off). The replaced serialize_field and recursive_serialize_or_str used obj.isoformat(), preserving the instant; graph ResultD... | bug | low | [
{
"path": "src/backend/base/langflow/serialization/serialization.py",
"from_line": 35,
"to_line": 37,
"role": "cause"
},
{
"path": "src/backend/base/langflow/schema/schema.py",
"from_line": 113,
"to_line": 113,
"role": "symptom"
}
] | serialization.py:37 `return obj.replace(tzinfo=timezone.utc).isoformat()`; removed schema/serialize.py `if isinstance(obj, datetime): return obj.isoformat()`; removed graph/utils.py `if hasattr(value, "isoformat"): return value.isoformat()`. | Counts: replace(tzinfo=utc) changes the offset without converting the time (should use astimezone) for aware datetimes. Must be about aware/non-UTC datetimes. | false | [] | [] | [
"C17",
"C22",
"C27",
"C29",
"C44",
"N8",
"N17"
] | null | null | null | langflow-ai/langflow | bcfe6f9ded091cd360b3212b6e9f5a58cbcdac5e |
langflow-ai__langflow@bcfe6f9 | rest145 | 2 | D6 | DataFrame/Series cells are only truncated, not recursively serialized, leaving non-JSON values (Timestamps, UUIDs, bytes) in the output | _serialize_dataframe/_serialize_series (serialization.py:108-121) apply _truncate_value (99-105) and return to_dict(), so object cells such as pd.Timestamp, UUID, Decimal or bytes pass through raw, unlike the recursive dict/list path. The removed serialize_field turned a DataFrame into str(df); now log_vertex_build (gr... | bug | low | [
{
"path": "src/backend/base/langflow/serialization/serialization.py",
"from_line": 99,
"to_line": 121,
"role": "cause"
},
{
"path": "src/backend/base/langflow/graph/utils.py",
"from_line": 163,
"to_line": 165,
"role": "symptom"
}
] | serialization.py:112-113 `obj = obj.apply(lambda x: x.apply(lambda y: _truncate_value(y, max_length, max_items)))` / `return obj.to_dict(orient="records")` - no serialize() on cell values. | Counts: DataFrame/Series cells are not passed through serialize(), so non-JSON cell values survive. Not: complaints that DataFrame truncation lacks a marker (excluded). | false | [] | [] | [
"C31",
"C36",
"C37",
"C45",
"N2",
"N11"
] | null | null | null | langflow-ai/langflow | bcfe6f9ded091cd360b3212b6e9f5a58cbcdac5e |
langflow-ai__langflow@bcfe6f9 | rest145 | 2 | D7 | Bytes are truncated by byte count before decoding, contradicting the old response behaviour and the PR's own property test | _serialize_bytes slices obj[:max_length] before decode(errors='ignore') and tests len(obj) in bytes (serialization.py:26-31). The removed ResultDataResponse helper decoded first and limited characters. Multibyte text is cut short (possibly mid-character, silently dropped), and >max_length invalid/multibyte bytes produc... | bug | low | [
{
"path": "src/backend/base/langflow/serialization/serialization.py",
"from_line": 24,
"to_line": 32,
"role": "cause"
},
{
"path": "src/backend/tests/unit/serialization/test_serialization.py",
"from_line": 64,
"to_line": 72,
"role": "symptom"
}
] | serialization.py:28-29 `obj[:max_length].decode("utf-8", errors="ignore") + "..." if len(obj) > max_length`; test :67-70 `decoded = data.decode(...); if len(decoded) > MAX_TEXT_LENGTH: expected = decoded[:MAX_TEXT_LENGTH] + "..."`. | Counts: bytes limit is applied to raw bytes before decoding (unit mismatch vs characters / vs the test). | false | [] | [] | [
"C12",
"C19",
"C20",
"C40",
"N7",
"N13",
"N15"
] | null | null | null | langflow-ai/langflow | bcfe6f9ded091cd360b3212b6e9f5a58cbcdac5e |
langflow-ai__langflow@bcfe6f9 | rest145 | 2 | D8 | serialize() swallows every error into '[Unserializable Object]', making Log's str fallbacks and the to_str/serialize_or_str contract dead | serialize() catches all exceptions and returns '[Unserializable Object]' (serialization.py:235-237). Log.serialize_message (services/tracing/schema.py:19-24) now wraps serialize() with UnicodeDecodeError/PydanticSerializationError handlers that fall back to str(value), but those can no longer fire, so a log message who... | maintainability | low | [
{
"path": "src/backend/base/langflow/serialization/serialization.py",
"from_line": 232,
"to_line": 251,
"role": "cause"
},
{
"path": "src/backend/base/langflow/services/tracing/schema.py",
"from_line": 17,
"to_line": 24,
"role": "symptom"
}
] | serialization.py:235-237 `except Exception as e: ... return "[Unserializable Object]"`; tracing/schema.py `return serialize(value)` / `except UnicodeDecodeError: return str(value)` / `except PydanticSerializationError: return str(value)`. | Counts: serialize's catch-all makes the caller's fallback handlers dead / to_str or serialize_or_str does not deliver its documented string fallback. | false | [] | [] | [
"C24",
"C42",
"C8",
"C48"
] | null | null | null | langflow-ai/langflow | bcfe6f9ded091cd360b3212b6e9f5a58cbcdac5e |
langflow-ai__langflow@bcfe6f9 | rest145 | 2 | D9 | Log messages lose jsonable_encoder's structured conversion: sets (and similar) become str(obj) | Log.serialize_message previously ended with jsonable_encoder(value), which turns sets/frozensets, dataclasses, Paths etc. into JSON structures. It now calls serialize() (tracing/schema.py:20), whose instance catch-all (serialization.py:160-161) returns str(obj) for them, so a log {'tags': {'a','b'}} is exposed as the s... | contract | low | [
{
"path": "src/backend/base/langflow/services/tracing/schema.py",
"from_line": 20,
"to_line": 20,
"role": "cause"
},
{
"path": "src/backend/base/langflow/serialization/serialization.py",
"from_line": 160,
"to_line": 161,
"role": "other-site"
}
] | Removed line `value = jsonable_encoder(value)`; new `return serialize(value)`; serialization.py has no set/dataclass case, :160 falls back to str(obj). | Counts: Log.message values that jsonable_encoder structured (sets etc.) are now stringified. | false | [] | [] | [
"C35"
] | null | null | null | langflow-ai/langflow | bcfe6f9ded091cd360b3212b6e9f5a58cbcdac5e |
langflow-ai__langflow@bcfe6f9 | rest145 | 2 | D10 | Instance catch-all also shadows serialize()'s dict()/model_dump() fallback: non-Pydantic objects exposing those methods become str(obj) in output logs and artifacts | `case object() if not isinstance(obj, type)` (serialization.py:160-161) returns str(obj) for every instance not matched earlier, so _serialize_dispatcher never returns None for an instance and serialize()'s fallbacks `if hasattr(obj, "model_dump")` / `if hasattr(obj, "dict")` (serialization.py:226-229) are unreachable ... | bug | low | [
{
"path": "src/backend/base/langflow/serialization/serialization.py",
"from_line": 160,
"to_line": 161,
"role": "cause"
},
{
"path": "src/backend/base/langflow/serialization/serialization.py",
"from_line": 226,
"to_line": 229,
"role": "other-site"
},
{
"path": "src/backen... | serialization.py:160 `case object() if not isinstance(obj, type):` -> `return str(obj)`; :226-229 `if hasattr(obj, "model_dump"): return serialize(obj.model_dump(), ...)` / `if hasattr(obj, "dict") and not isinstance(obj, type): return serialize(obj.dict(), ...)`. Base schema/serialize.py:47-50 `if hasattr(obj, "dict")... | Counts: a review saying the generic object()/instance catch-all makes the dict()/model_dump() method fallback unreachable, so non-Pydantic objects with those methods are stringified instead of converted to dicts (a regression vs recursive_serialize_or_str). Near-misses: the catch-all shadowing numpy/Enum handling is D2... | false | [] | [] | [
"N10",
"N17"
] | extension-2026-09-28 | null | null | langflow-ai/langflow | bcfe6f9ded091cd360b3212b6e9f5a58cbcdac5e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.