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
appwrite__appwrite@710b8bd
rest145
2
D1
With a distinct console domain, _APP_DOMAIN is no longer in the rule deny lists and now goes through the router, so a project can claim/hijack the platform's API hostname
The four proxy rule Create actions now deny only the console domain (e.g. Rules/API/Create.php:79-80, Function/Create.php:84-85, Redirect/Create.php:87-88, Site/Create.php:84-85), dropping _APP_DOMAIN when both env vars are set and differ. At the same time general.php:812-814 skips the router only for the console domai...
security
medium
[ { "path": "src/Appwrite/Platform/Modules/Proxy/Http/Rules/API/Create.php", "from_line": 79, "to_line": 80, "role": "cause" }, { "path": "src/Appwrite/Platform/Modules/Proxy/Http/Rules/Function/Create.php", "from_line": 84, "to_line": 85, "role": "other-site" }, { "path": ...
Rules/API/Create.php:79-80 `$mainDomain = System::getEnv('_APP_CONSOLE_DOMAIN', System::getEnv('_APP_DOMAIN', '')); $deniedDomains[] = $mainDomain;` (base denied _APP_DOMAIN). general.php:812-814 `$mainDomain = System::getEnv('_APP_CONSOLE_DOMAIN', ...); if ($host !== $mainDomain || !empty($previewHostname)) { if (rout...
Must say _APP_DOMAIN is no longer denied (or reserved) for project rules when a distinct console domain is configured, so the API host can be claimed. Suggesting to deny both domains counts. Reachable only when the two env vars differ. A pure 'add a test' request does not count.
true
[]
[ "R10", "R13" ]
[ "C2", "C3", "C5", "C6", "C7", "C10", "C11", "C14", "C17", "C20", "C21", "C22", "C23", "N4", "N5", "N8", "N13" ]
null
null
null
appwrite/appwrite
710b8bda565c411ecb23e8b670d0ba7f45d2b3f3
appwrite__appwrite@710b8bd
rest145
2
D2
With router protection on and a distinct console domain, every request to the _APP_DOMAIN API hostname is now rejected with 'Router protection does not allow accessing Appwrite over this domain'
general.php:812-814 now bypasses router() only for the console domain, so requests addressed to _APP_DOMAIN (the regional API host that SDKs and functions still use) enter router(). With no project rule for that host, router() reaches the protection check at general.php:100-104, which allows only localhost, the interna...
bug
medium
[ { "path": "app/controllers/general.php", "from_line": 812, "to_line": 814, "role": "cause" }, { "path": "app/controllers/general.php", "from_line": 100, "to_line": 104, "role": "symptom" } ]
general.php:100-101 `if (System::getEnv('_APP_OPTIONS_ROUTER_PROTECTION', 'disabled') === 'enabled') { if ($host !== 'localhost' && $host !== APP_HOSTNAME_INTERNAL && $host !== System::getEnv('_APP_CONSOLE_DOMAIN', '')) { throw new AppwriteException(AppwriteException::GENERAL_ACCESS_FORBIDDEN, ...` reached after `$rule...
Must connect the changed main-domain guard with router protection rejecting the _APP_DOMAIN host (API hostname becomes blocked/forbidden). Saying only that _APP_DOMAIN now goes through the router, without the protection/forbidden consequence, is the D1 symptom, not this.
false
[]
[]
[ "C12", "N2", "N4", "N10" ]
null
null
null
appwrite/appwrite
710b8bda565c411ecb23e8b670d0ba7f45d2b3f3
appwrite__appwrite@710b8bd
rest145
2
D3
Incomplete migration: Certificates worker, OPTIONS and robots/humans handlers still treat _APP_DOMAIN as the main domain, disagreeing with the changed init
general.php:861 now treats the console domain as the main domain when auto-issuing its TLS certificate, but the Certificates worker still identifies the main domain from _APP_DOMAIN only (src/Appwrite/Platform/Workers/Certificates.php:271-279); on an ordinary renewal the console hostname is then validated as a custom d...
incomplete-fix
low
[ { "path": "app/controllers/general.php", "from_line": 861, "to_line": 864, "role": "cause" }, { "path": "src/Appwrite/Platform/Workers/Certificates.php", "from_line": 271, "to_line": 279, "role": "other-site" }, { "path": "app/controllers/general.php", "from_line": 10...
Certificates.php:273 `$envDomain = System::getEnv('_APP_DOMAIN', '');` vs general.php:861 `$envDomain = System::getEnv('_APP_CONSOLE_DOMAIN', System::getEnv('_APP_DOMAIN', ''));`; general.php:1093 and 1401 `$mainDomain = System::getEnv('_APP_DOMAIN', '');`.
Counts if a comment names a remaining _APP_DOMAIN main-domain use (Certificates worker main-domain identity, OPTIONS handler, robots/humans handlers) as inconsistent with the change. A bare 'rename everywhere' with no site is a near miss.
true
[]
[ "R5" ]
[ "C9", "C16", "C18", "C19", "N4", "N6", "N9", "N12" ]
null
null
null
appwrite/appwrite
710b8bda565c411ecb23e8b670d0ba7f45d2b3f3
laravel__framework@180c25f
rest145
2
D1
Escaped-quote fixtures do not contain an escaped quote (PHP single-quote escaping), and a valid IPv6 literal is commented as invalid
In PHP single-quoted strings `\\` becomes one backslash and `\"` stays as two characters, so '"escaped\\\"quote"@example.com' (ValidationEmailRuleTest.php:331, :543) and '"test\\\"quote"@example.com' (:703) evaluate to an address with TWO backslashes before the inner quote: an escaped backslash that closes the quoted l...
maintainability
low
[ { "path": "tests/Validation/ValidationEmailRuleTest.php", "from_line": 331, "to_line": 331, "role": "cause" }, { "path": "tests/Validation/ValidationEmailRuleTest.php", "from_line": 543, "to_line": 543, "role": "other-site" }, { "path": "tests/Validation/ValidationEmailRu...
:331 `'"escaped\\\"quote"@example.com', // Escaped quote inside quoted local part`; :543 same literal and comment; :703 `'"test\\\"quote"@example.com', // Escaped quote in quoted local part`; :337 `'user@[IPv6:::]', // invalid shorthand IPv6` inside $emailsThatPassOnRfcCompliantButFailOnStrict, asserted pass...
A comment counts if it says the escaped-quote literal actually yields two backslashes / the quote is not escaped / the fixture does not test what its label says (at :331, :543 or :703), or that the [IPv6:::] comment contradicts the pass assertion. Comments that additionally predict the test will FAIL still count for id...
true
[]
[]
[ "C2", "C5", "C6", "N2", "N3", "N4", "N6" ]
null
null
null
laravel/framework
180c25ff94ae2dff26d2ca5f8bf779af1e8fc8c2
valkey-io__valkey@36f37c0
rest145
2
D1
Long-buffer branch uses the comma operator inside a ternary, so snprintf gets a size_t or a client-controlled buffer pointer as its format string (build break / crash / format-string injection)
At src/networking.c:2771-2776 the author tried to pick between two whole argument lists with `cond ? ("fmt1", a) : ("fmt2", b, c, d, e, f)`. In C these parenthesised lists are comma expressions: the first evaluates to `sdslen(c->querybuf) - c->qb_pos` (size_t), the second to `c->querybuf + sdslen(c->querybuf) - PROTO_D...
security
high
[ { "path": "src/networking.c", "from_line": 2771, "to_line": 2776, "role": "cause" } ]
src/networking.c:2771-2776 `snprintf(buf, sizeof(buf), server.hide_user_data_from_log ? ("...Redacted %zu bytes", sdslen(c->querybuf) - c->qb_pos) : ("...'%.*s' (... more %zu bytes ...) '%.*s'", PROTO_DUMP_LEN / 2, ..., c->querybuf + sdslen(c->querybuf) - PROTO_DUMP_LEN / 2));` - the format strings are discarded left o...
Must identify that the parenthesised groups are comma expressions / the ternary cannot select argument lists (format string lost, wrong args, type mismatch, crash, format-string vulnerability or compile failure). A comment only about redaction wording or ordering does not count. The short-buffer branch (2768-2769) is c...
true
[]
[ "R2" ]
[ "C1", "C2", "C4", "N1", "N4", "N5", "N6" ]
null
null
null
valkey-io/valkey
36f37c0bafa72c091a9a3725b9a026a056130892
valkey-io__valkey@1379171
rest145
2
D1
valkey-benchmark gates write scheduling on the global config.rdma, so non-RDMA connections (cluster mode, -s unix socket) never get AE_WRITABLE and stall after a partial write
createClient (valkey-benchmark.c:832-838) and resetClient (:395-399) skip aeCreateFileEvent(AE_WRITABLE) and call writeHandler directly whenever config.rdma is set, regardless of the transport the client actually uses. But cluster clients are connected with rdma=0 (:654-674 only sets rdma for the non-cluster branch) an...
bug
medium
[ { "path": "src/valkey-benchmark.c", "from_line": 395, "to_line": 399, "role": "cause" }, { "path": "src/valkey-benchmark.c", "from_line": 832, "to_line": 838, "role": "cause" }, { "path": "src/valkey-benchmark.c", "from_line": 654, "to_line": 674, "role": "oth...
:395 `if (config.rdma) { writeHandler(el, c->context->fd, c, 0); ...} else { aeCreateFileEvent(el, ..., AE_WRITABLE, writeHandler, c); }`; :654 `int rdma = 0;` and only `rdma = config.rdma;` in the `!is_cluster_client` branch (:661); writeHandler :613 `} else if (nwritten > 0) { c->written += nwritten; return; }` relie...
Must say that the direct-writeHandler path is keyed on config.rdma rather than on whether this client's connection is RDMA, so cluster/unix-socket clients with --rdma lose AE_WRITABLE (hang on partial write / busy loop). Merely saying 'RDMA is not used in cluster mode' is D2, not this.
true
[]
[]
[ "C2", "C3", "C11", "N1", "N2", "N3", "N4" ]
null
null
null
valkey-io/valkey
1379171021c18b009fa02c42088e82caf0e33203
valkey-io__valkey@1379171
rest145
2
D2
valkey-benchmark --rdma is silently ignored for cluster mode and for the fcall test's setup connection
All cluster-path connections pass rdma=0 (fetchClusterConfiguration :1104, fetchClusterSlotsConfiguration :1217, per-node getServerConfig :1832, and cluster clients in createClient :654-674), and the fcall test's FUNCTION LOAD connection hard-codes 0 (:2079) even in standalone mode. With --rdma the user gets TCP connec...
incomplete-fix
medium
[ { "path": "src/valkey-benchmark.c", "from_line": 2079, "to_line": 2079, "role": "cause" }, { "path": "src/valkey-benchmark.c", "from_line": 1104, "to_line": 1104, "role": "other-site" }, { "path": "src/valkey-benchmark.c", "from_line": 1217, "to_line": 1217, "...
:2079 `valkeyContext *ctx = getValkeyContext(config.conn_info.hostip, config.conn_info.hostport, NULL, 0);` while the standalone CONFIG fetch at :1842 passes config.rdma.
Must point at a connection that ignores --rdma (fcall ctx, or cluster connections). R7 (document port requirement) does not count. Comments about the cluster discovery/slot refresh/per-node/cluster-worker connections using TCP despite --rdma, or the FCALL FUNCTION LOAD connection passing 0, all count.
true
[]
[]
[ "C1", "C5", "C6", "C10", "C12", "C14", "C18", "C20", "C21", "C27", "N1", "N2", "N6", "N7" ]
null
null
null
valkey-io/valkey
1379171021c18b009fa02c42088e82caf0e33203
valkey-io__valkey@1379171
rest145
2
D3
valkey-cli --rdma --pipe hangs: pipeMode waits for AE_WRITABLE on the RDMA completion-channel fd, which never reports POLLOUT
With --rdma, cliConnect connects via valkeyConnectWrapper(..., config.rdma) (valkey-cli.c:1645) and libvalkey sets context->fd to the RDMA completion channel fd (deps/libvalkey/src/rdma.c:744). pipeMode (valkey-cli.c:8518ff) only writes stdin data when aeWait(context->fd, AE_READABLE|AE_WRITABLE, 1000) reports AE_WRITA...
bug
medium
[ { "path": "src/valkey-cli.c", "from_line": 2831, "to_line": 2836, "role": "cause" }, { "path": "src/valkey-cli.c", "from_line": 1645, "to_line": 1645, "role": "other-site" }, { "path": "src/valkey-cli.c", "from_line": 8538, "to_line": 8543, "role": "symptom" ...
valkey-cli.c pipeMode: `if (!eof || obuf_len != 0) mask |= AE_WRITABLE; mask = aeWait(context->fd, mask, 1000);` and writes only under `if (mask & AE_WRITABLE)`; rdma.c:744 `c->fd = ctx->comp_channel->fd;`; rdma.c:617 `/* RDMA has no POLLOUT event supported ... */`; valkey-benchmark.c:396 comment `RDMA context always w...
Must say that --rdma combined with --pipe (pipe mode) cannot write/hangs because the RDMA fd never becomes writable (no POLLOUT). Keepalive-on-RDMA-fd comments (C8) do not count.
false
[]
[]
[ "C7", "C13", "N2" ]
null
null
null
valkey-io/valkey
1379171021c18b009fa02c42088e82caf0e33203
valkey-io__valkey@1379171
rest145
2
D4
BUILD_RDMA=module links the RDMA client libs into the TLS module (valkey-tls.so)
src/Makefile:519 appends $(RDMA_CLIENT_LIBS) (= libvalkey_rdma.a plus -lrdmacm -libverbs, :352) to the valkey-tls.so link line. The TLS module uses no RDMA code; the change only adds an unneeded dependency on librdmacm/libibverbs to the TLS module (a load-time dependency where the linker does not use --as-needed). A co...
build
low
[ { "path": "src/Makefile", "from_line": 519, "to_line": 519, "role": "cause" } ]
:519 `$(QUIET_CC)$(CC) -o $@ tls.c -shared -fPIC $(TLS_MODULE_CFLAGS) $(TLS_CLIENT_LIBS) $(RDMA_CLIENT_LIBS)`; :352 `RDMA_CLIENT_LIBS = ../deps/libvalkey/lib/libvalkey_rdma.a $(RDMA_LIBS)`.
Must identify the TLS module target getting RDMA libs. The duplicate $(RDMA_LIBS) in FINAL_LIBS (R4) is a different, harmless issue.
true
[]
[]
[ "C24", "C25", "N2" ]
null
null
null
valkey-io/valkey
1379171021c18b009fa02c42088e82caf0e33203
valkey-io__valkey@1379171
rest145
2
D5
With --rdma, benchmark clients send their first request at creation time, before config.start, skewing first-request latency
In createClient (:832-835) the RDMA path calls writeHandler immediately, which stamps c->start (:597) and sends the request while benchmark() is still creating the remaining clients (createMissingClients, :999-1000) and before config.start (:1002). The reply is only read once aeMain runs, so each early client's first l...
bug
low
[ { "path": "src/valkey-benchmark.c", "from_line": 832, "to_line": 835, "role": "cause" }, { "path": "src/valkey-benchmark.c", "from_line": 996, "to_line": 1004, "role": "other-site" } ]
writeHandler :597 `c->start = ustime();`; readHandler :478 `if (c->latency < 0) c->latency = ustime() - (c->start);`; benchmark(): createClient/createMissingClients then `config.start = mstime();` then aeMain.
Must say the RDMA direct write in createClient happens before the event loop / benchmark start, distorting latency or timing.
true
[]
[]
[]
null
null
null
valkey-io/valkey
1379171021c18b009fa02c42088e82caf0e33203
valkey-io__valkey@1379171
rest145
2
D6
RDMA path in createClient calls writeHandler before the client is added to config.clients, so a write error frees an unlisted client (assert abort / use-after-free)
createClient (valkey-benchmark.c:832-835) now calls writeHandler synchronously when config.rdma is set, before listAddNodeTail(config.clients, c) and the liveclients increment (:842-843). If the first write fails with a non-EAGAIN error, writeHandler calls freeClient(c) (:609-611), which frees c, decrements liveclients...
bug
low
[ { "path": "src/valkey-benchmark.c", "from_line": 832, "to_line": 835, "role": "cause" }, { "path": "src/valkey-benchmark.c", "from_line": 842, "to_line": 845, "role": "other-site" }, { "path": "src/valkey-benchmark.c", "from_line": 377, "to_line": 384, "role":...
createClient: `if (config.rdma) { writeHandler(el, c->context->fd, c, 0); } ...` followed by `listAddNodeTail(config.clients, c);`; writeHandler: `if (nwritten == -1 && errno != EAGAIN) { ... freeClient(c); return; }`; freeClient: `ln = listSearchKey(config.clients, c); assert(ln != NULL);`.
Must say the immediate writeHandler call happens before the client is registered in config.clients so the error path's freeClient asserts / uses a freed client. Error-path only, hence low.
false
[]
[]
[ "C15", "C26", "N8", "N11" ]
null
null
null
valkey-io/valkey
1379171021c18b009fa02c42088e82caf0e33203
valkey-io__valkey@ecb3abd
rest145
2
D1
Renamed commands are now reported under their ORIGINAL name in COMMAND INFO/LIST/DOCS, INFO commandstats/latencystats and module APIs
Before this PR rename-command replaced cmd->fullname with the new name (base config.c: `sdsfree(cmd->fullname); cmd->fullname = sdsdup(argv[2]);`), so every path printing fullname showed the callable name. Now rename only sets current_name (config.c:545-552) and fullname keeps the original, while all user-facing sites ...
compat
medium
[ { "path": "src/config.c", "from_line": 545, "to_line": 552, "role": "cause" }, { "path": "src/server.h", "from_line": 2467, "to_line": 2468, "role": "cause" }, { "path": "src/server.c", "from_line": 5017, "to_line": 5017, "role": "symptom" }, { "path":...
head config.c:552 `cmd->current_name = sdsdup(argv[2]);` with fullname untouched vs base `cmd->fullname = sdsdup(argv[2]);`. server.c:5017 `addReplyBulkCBuffer(c, cmd->fullname, sdslen(cmd->fullname));`; server.c:5455 `getSafeInfoString(c->fullname, ...)`. current_name is read only in config.c, module.c:1406, server.c:...
Must say that after a rename, introspection (COMMAND INFO/LIST/DOCS, pattern filter), stats/metrics or the module current-command API still use fullname, i.e. the original rather than the renamed/callable name. Comments about the ACL fix itself, current_name memory, or the acl.c cleanup do not count.
true
[]
[]
[ "C2", "C3", "C4", "C8", "C9", "C10", "N2", "N3", "N4", "N5", "N6", "N7", "N8" ]
null
null
null
valkey-io/valkey
ecb3abd53e891861ce996506689336b6442ec8fb
valkey-io__valkey@ecb3abd
rest145
2
D2
A module registering a builtin's original name after that builtin was renamed now aborts the server
VM_CreateCommand checks availability only against server.commands (module.c:1364 lookupCommandByCString), which after `rename-command SET VSET` no longer contains `set`; it then does `serverAssert(hashtableAdd(server.orig_commands, cp->serverCmd))` (module.c:1373). orig_commands is now correctly keyed on fullname (serv...
bug
low
[ { "path": "src/module.c", "from_line": 1363, "to_line": 1374, "role": "symptom" }, { "path": "src/server.c", "from_line": 638, "to_line": 642, "role": "cause" } ]
module.c:1364 `if (lookupCommandByCString(name) != NULL) return VALKEYMODULE_ERR;`; :1373 `serverAssert(hashtableAdd(server.orig_commands, cp->serverCmd));`; server.c `originalCommandSetType = {.entryGetKey = hashtableCommandGetOriginalName, ...}`.
Must identify that the module name check consults only the active table while orig_commands still holds the original builtin name, so the orig_commands insert assert fails/crashes.
false
[]
[]
[ "C6", "N1" ]
null
null
null
valkey-io/valkey
ecb3abd53e891861ce996506689336b6442ec8fb
valkey-io__valkey@8b2137d
rest145
2
D1
writeToReplica submits a zero-length first iovec when the replica sits at the end of a full block, breaking TLS (and iovcnt==1) connections
postWriteToReplica (src/networking.c:2010-2040) only advances ref_repl_buf_node when a next node exists, so a replica that has sent everything leaves ref_block_pos == used on the (full) tail block. feedReplicationBuffer (src/replication.c:445-472) then appends a new block without moving already-attached replicas. On th...
bug
medium
[ { "path": "src/networking.c", "from_line": 2078, "to_line": 2089, "role": "cause" }, { "path": "src/networking.c", "from_line": 2025, "to_line": 2036, "role": "other-site" }, { "path": "src/tls.c", "from_line": 923, "to_line": 931, "role": "symptom" } ]
networking.c:2080-2085 `size_t start = (cur_node == first_node) ? c->ref_block_pos : 0; size_t len = (cur_node == last_node) ? bufpos : cur_block->used; len -= start; iov[iovcnt].iov_base = ...; iov[iovcnt].iov_len = len;` with no len==0 skip; postWriteToReplica `while (nwritten >= o->used) { next = listNextNode(curr);...
A comment must identify that an exhausted first block (ref_block_pos == used) yields an empty/zero-length iovec in writeToReplica and that this stalls or errors replication (TLS per-iov write, or iovcnt==1 no-progress loop). Generic remarks about partial-iovec bookkeeping duplication, or about ssize_t/int widths, do no...
false
[]
[]
[ "C12", "C3", "N1", "N6" ]
null
null
null
valkey-io/valkey
8b2137d6cd7c8b898352b8bcb035402958d92707
facebook__react@b045f18
rest145
2
D1
DevTools imports the reconciler's ActivityComponent constant instead of using its version-aware ReactTypeOfWork map, leaving the new map entries dead
react-devtools-shared supports many React versions and maps work tags per version through getInternalReactConstants().ReactTypeOfWork, which the PR extends with `ActivityComponent: 31` / `-1` in every version branch (renderer.js:389,426,463,500,537). But those entries are never destructured; instead renderer.js:149 add...
maintainability
low
[ { "path": "packages/react-devtools-shared/src/backend/fiber/renderer.js", "from_line": 149, "to_line": 149, "role": "cause" }, { "path": "packages/react-devtools-shared/src/backend/fiber/renderer.js", "from_line": 631, "to_line": 632, "role": "symptom" }, { "path": "packa...
renderer.js:149 `import {ActivityComponent} from 'react-reconciler/src/ReactWorkTags';`; renderer.js:389 `ActivityComponent: 31,` and :426/463/500/537 `ActivityComponent: -1`; the destructurings `} = ReactTypeOfWork;` at renderer.js:581 and :928 do not include ActivityComponent. git grep of react-devtools-shared/src fo...
A comment must say DevTools should take ActivityComponent from the version-specific ReactTypeOfWork map (destructure it) rather than importing the reconciler's constant / crossing the package boundary into reconciler internals. Saying Activity should be visible in DevTools (R2) or asking for a comment on the tag does n...
true
[]
[ "R1" ]
[ "C1", "C6", "C8", "N6", "N7" ]
null
null
null
facebook/react
b045f18e378341876ee69e729fc855cab501c3cd
facebook__react@be58f26
rest145
2
D1
New test committed as `it.only`, skipping every other ReactDOMForm test (and failing lint)
packages/react-dom/src/__tests__/ReactDOMForm-test.js:1673 declares the new test with `it.only(...)`, so Jest runs only this test in the file and the other ReactDOMForm tests are skipped in CI; regressions in them go unnoticed. The repo's ESLint config enables jest/no-focused-tests for __tests__ files (turned off only ...
build
high
[ { "path": "packages/react-dom/src/__tests__/ReactDOMForm-test.js", "from_line": 1673, "to_line": 1673, "role": "cause" } ]
packages/react-dom/src/__tests__/ReactDOMForm-test.js:1673 `it.only('multiple form submissions in rapid succession do not throw', async () => {`; .eslintrc.js extends plugin:jest/recommended and disables 'jest/no-focused-tests' only for setupTests/setupEnv/helper files.
Must point out the leftover `.only` (focused test) and that it skips the rest of the file / fails lint.
true
[]
[]
[ "C1", "C3", "N3", "N4", "N5", "N6" ]
null
null
null
facebook/react
be58f26f9a6e579d8df36d901a59249d9ac1393f
facebook__react@be58f26
rest145
2
D2
Fix replaces a partial form hook list wholesale, discarding the existing transition-status hook and its queue
With the new condition at packages/react-reconciler/src/ReactFiberHooks.js:3264, a form fiber whose memoizedState holds the transition-status hook but whose `.next` is null (the partial list left when TransitionAwareHostComponent suspends in useThenable after its first useState, packages/react-reconciler/src/ReactFiber...
incomplete-fix
low
[ { "path": "packages/react-reconciler/src/ReactFiberHooks.js", "from_line": 3262, "to_line": 3267, "role": "cause" }, { "path": "packages/react-reconciler/src/ReactFiberHooks.js", "from_line": 3318, "to_line": 3323, "role": "symptom" } ]
packages/react-reconciler/src/ReactFiberHooks.js:3264 `if (existingStateHook !== null && existingStateHook.next !== null) { return existingStateHook; }`; otherwise :3318 `formFiber.memoizedState = stateHook;` and `alternate.memoizedState = stateHook;` overwrite the existing hook unconditionally; startHostTransition cap...
Must say the new condition ignores/discards the existing single-hook state (pending status / queue) rather than reusing it or only adding the missing reset hook. A generic 'is this the right fix?' without the state-discard mechanism does not count; R1 counts.
true
[]
[ "R1" ]
[ "N6" ]
null
null
null
facebook/react
be58f26f9a6e579d8df36d901a59249d9ac1393f
bitcoin__bitcoin@4ba2e48
rest145
2
D1
InvalidateBlock changes nStatus of side-branch descendants without adding them to m_dirty_blockindex, so the change is never flushed to disk
The new loop at validation.cpp:3767-3772 rewrites `it->second->nStatus = (nStatus & ~BLOCK_FAILED_VALID) | BLOCK_FAILED_CHILD` for every cached descendant but, unlike every other status write in this function (3757, 3764, 3817), never calls `m_blockman.m_dirty_blockindex.insert(...)`. In-memory and on-disk block index ...
data
low
[ { "path": "src/validation.cpp", "from_line": 3767, "to_line": 3772, "role": "cause" } ]
validation.cpp:3771 `it->second->nStatus = (it->second->nStatus & ~BLOCK_FAILED_VALID) | BLOCK_FAILED_CHILD;` with no dirty insert; compare :3763-3764 `to_mark_failed->nStatus = ... | BLOCK_FAILED_CHILD; m_blockman.m_dirty_blockindex.insert(to_mark_failed);`.
Must say the modified descendant entries are not added to m_dirty_blockindex / the status change is not persisted.
true
[]
[ "R1" ]
[ "C1", "C3", "C5", "N3", "N4", "N6" ]
null
null
null
bitcoin/bitcoin
4ba2e480ffa0b77113953bee4ff5c9349e277e7e
bitcoin__bitcoin@4ba2e48
rest145
2
D2
Headers accepted while InvalidateBlock has released cs_main are missing from the one-time caches, so the new CheckBlockIndex asserts can fire before the final InvalidChainFound sweep
cand_invalid_descendants and best_header_blocks_by_work are built once under cs_main (validation.cpp:3698-3720), but the disconnect loop re-acquires cs_main per iteration (3729-3731), so AcceptBlockHeader can add a header in between (e.g. a child of a still-active block that will be disconnected later, or a competing v...
concurrency
low
[ { "path": "src/validation.cpp", "from_line": 3698, "to_line": 3720, "role": "cause" }, { "path": "src/validation.cpp", "from_line": 3795, "to_line": 3795, "role": "symptom" }, { "path": "src/validation.cpp", "from_line": 5395, "to_line": 5411, "role": "symptom...
validation.cpp:3729 `LOCK(cs_main);` inside the while loop; :3795 `m_chainman.CheckBlockIndex();` before the final `InvalidChainFound(to_mark_failed);` at :3829; the existing comment at :3820 already acknowledges 'If any new blocks somehow arrived while we were disconnecting'. CheckBlockIndex is gated on m_options.chec...
Must say headers/blocks arriving during InvalidateBlock (cs_main released between disconnects) are absent from the precomputed caches, leaving descendants unmarked or m_best_header stale when CheckBlockIndex's new asserts run. A claim that lower-work pre-existing descendants are excluded by the work filter (C2/C14) doe...
false
[]
[]
[ "C11", "C13", "N1", "N6" ]
null
null
null
bitcoin/bitcoin
4ba2e480ffa0b77113953bee4ff5c9349e277e7e
bitcoin__bitcoin@e98c51f
rest145
2
D1
-proxy precedence inverted: a config-file proxy now overrides the command-line (and settings.json) proxy
The old code used args.GetArg("-proxy"), where the command line wins over settings.json and bitcoin.conf. The new loop (init.cpp:1598-1637) applies every value of args.GetArgs("-proxy") with last-assignment-wins, and GetSettingsList returns command-line values first, then read-write settings, then config-file values (c...
compat
medium
[ { "path": "src/init.cpp", "from_line": 1598, "to_line": 1637, "role": "cause" }, { "path": "doc/tor.md", "from_line": 60, "to_line": 61, "role": "other-site" } ]
init.cpp:1598 `for (const std::string& param_value : args.GetArgs("-proxy"))`, later assignments overwrite; settings.cpp GetSettingsList appends COMMAND_LINE, RW_SETTINGS, then CONFIG_FILE sections; GetSetting takes the command line first.
Must say config-file (lower-priority) values are applied after and override command-line values, or that the new tor.md precedence sentence is wrong for this reason. A bare 'multiple -proxy are order-dependent' (R1) does not count.
true
[]
[]
[ "C2", "C10", "C12", "C17", "N2", "N3", "N4" ]
null
null
null
bitcoin/bitcoin
e98c51fcce9ae3f441a416cab32a5c85756c6c64
bitcoin__bitcoin@e98c51f
rest145
2
D2
A unix: proxy path containing '=' is now misparsed as a network suffix and rejected
The '=<network>' suffix is split at rfind('=') unconditionally (init.cpp:1599-1605, and in CheckHostPortOptions at 1223-1224), so a previously valid `-proxy=unix:/run/a=b.sock` yields net_str 'b.sock' and startup fails with 'Unrecognized network in -proxy'.
compat
low
[ { "path": "src/init.cpp", "from_line": 1599, "to_line": 1605, "role": "cause" }, { "path": "src/init.cpp", "from_line": 1223, "to_line": 1224, "role": "other-site" } ]
init.cpp:1599 `const auto eq_pos{param_value.rfind('=')};`; the else-branch InitError for an unknown net_str.
Must mention an '=' inside a unix socket path (or value) being taken as a network suffix.
true
[]
[ "R2" ]
[ "C3", "C11", "C13", "N5", "N6" ]
null
null
null
bitcoin/bitcoin
e98c51fcce9ae3f441a416cab32a5c85756c6c64
bitcoin__bitcoin@e98c51f
rest145
2
D3
Privacy parameter interaction reads a different -proxy value than the proxies actually installed
InitParameterInteraction still decides -listen/-natpmp/-discover defaults from the single args.GetArg("-proxy") (init.cpp:753-766), while AppInitMain now installs proxies from every GetArgs("-proxy") value with last-wins. GetArg takes the FIRST config-file value, so a config with `proxy=0` then `proxy=A` leaves listeni...
bug
low
[ { "path": "src/init.cpp", "from_line": 753, "to_line": 766, "role": "cause" }, { "path": "src/init.cpp", "from_line": 1598, "to_line": 1637, "role": "other-site" } ]
init.cpp:753 `std::string proxy_arg = args.GetArg("-proxy", ""); if (proxy_arg != "" && proxy_arg != "0")`; settings.cpp GetSetting reverse_precedence for config sources.
Must say the -proxy parameter-interaction (listen/discover/natpmp defaults) uses GetArg and no longer matches the effective per-network proxy configuration.
false
[]
[]
[ "C8", "C16", "N1" ]
null
null
null
bitcoin/bitcoin
e98c51fcce9ae3f441a416cab32a5c85756c6c64
bitcoin__bitcoin@e98c51f
rest145
2
D4
Removing one network's proxy also removes the DNS name proxy while other networks stay proxied
Per-network assignments write name_proxy too: `ipv4_proxy = name_proxy = proxy` and `ipv6_proxy = name_proxy = proxy` (init.cpp:1627-1630). With `-proxy=A -proxy=0=ipv4` (or `-proxy=A=ipv4 -proxy=0=ipv6`) name_proxy becomes invalid, SetNameProxy is skipped, and hostname connections fall back to local DNS resolution (ne...
security
low
[ { "path": "src/init.cpp", "from_line": 1627, "to_line": 1630, "role": "cause" } ]
init.cpp:1628 `ipv4_proxy = name_proxy = proxy;`, :1630 `ipv6_proxy = name_proxy = proxy;` with proxy default-constructed (invalid) for '0'.
Must say that a '0=ipv4'/'0=ipv6' removal clears the name/DNS proxy, leaking DNS while other networks remain proxied. R4 claims the opposite (name proxy stays active) and does not count.
false
[]
[]
[ "C1", "C5", "C7" ]
null
null
null
bitcoin/bitcoin
e98c51fcce9ae3f441a416cab32a5c85756c6c64
bitcoin__bitcoin@e98c51f
rest145
2
D5
-proxy=...=tor is not honoured by Tor-control SOCKS discovery the way -onion is
doc/tor.md presents `-proxy=ip[:port]=tor` as an alternative to `-onion=ip[:port]`, but TorController::auth_cb only skips SOCKS discovery when -onion is set (torcontrol.cpp:469) and get_socks_cb then calls SetProxy(NET_ONION, discovered) (torcontrol.cpp:410). With onion listening enabled, an explicit `-proxy=A=tor` is ...
bug
low
[ { "path": "src/init.cpp", "from_line": 1631, "to_line": 1632, "role": "cause" }, { "path": "src/torcontrol.cpp", "from_line": 469, "to_line": 471, "role": "other-site" } ]
torcontrol.cpp:469 `if (gArgs.GetArg("-onion", "") == "")` then GETINFO net/listeners/socks; :410 `SetProxy(NET_ONION, addrOnion);`.
Must say Tor control discovery can override/re-enable the onion proxy despite an explicit =tor setting or removal.
false
[]
[]
[ "C4", "C6", "C14", "C15" ]
null
null
null
bitcoin/bitcoin
e98c51fcce9ae3f441a416cab32a5c85756c6c64
wavetermdev__waveterm@90a57d5
rest145
2
D1
cmd blocks (wsh run, cmd:env) lose their environment and WAVETERM_JWT: env now travels only in the swap token, which a `shell -c cmd` process never unpacks
resolveEnvMap's result (env file written by `wsh run` + cmd:env) and the JWT are now placed only in swapToken.Env (blockcontroller.go:354-360, 529/558/581), and the PR deletes the code that applied them to the process: `shellutil.UpdateCmdEnv(ecmd, cmdOpts.Env)` in StartLocalShellProc, the `session.Setenv` loop in Star...
bug
high
[ { "path": "pkg/shellexec/shellexec.go", "from_line": 505, "to_line": 518, "role": "symptom" }, { "path": "pkg/shellexec/shellexec.go", "from_line": 548, "to_line": 552, "role": "cause" }, { "path": "pkg/blockcontroller/blockcontroller.go", "from_line": 354, "to_li...
Removed base lines: shellexec.go:560 `shellutil.UpdateCmdEnv(ecmd, cmdOpts.Env)`, :429-431 `session.Setenv(envKey, envVal)`, :260 `jwtToken, ok := cmdOpts.Env[wshutil.WaveJwtTokenVarName]`. Head StartLocalShellProc cmd path: `shellOpts = append(shellOpts, "-c", cmdStr)` (507) and only WAVETERM_SWAPTOKEN is set (517). `...
Must say that env vars (env file / cmd:env and/or the JWT) are no longer applied to the spawned process for command (non-interactive, `-c`) blocks because they live only in the swap token that only interactive rc files redeem. Saying merely 'CommandOptsType.Env was removed' without the consequence does not count. A cla...
true
[]
[]
[ "C2", "C4", "C10", "C14", "C28", "C5", "N2", "N9", "N10", "N12" ]
null
null
null
wavetermdev/waveterm
90a57d552d15f1b2a4d92cdfc3a4308efcf5c57b
wavetermdev__waveterm@90a57d5
rest145
2
D2
Local blocks with cmd:nowsh ignore term:localshellpath because ShellPath is resolved only when wsh is enabled
getRemoteInfoAndShellType returns immediately when !union.WshEnabled (blockcontroller.go:401), so for a local connection with cmd:nowsh=true union.ShellPath stays "". The local branch sets `cmdOpts.ShellPath = connUnion.ShellPath` (583) and StartLocalShellProc falls back to DetectLocalShellPath() (shellexec.go:472-474)...
bug
medium
[ { "path": "pkg/blockcontroller/blockcontroller.go", "from_line": 400, "to_line": 418, "role": "cause" }, { "path": "pkg/blockcontroller/blockcontroller.go", "from_line": 581, "to_line": 588, "role": "symptom" } ]
blockcontroller.go:401 `if !union.WshEnabled { return nil }` precedes :414 `union.ShellPath = getLocalShellPath(blockMeta)`; :454 `rtn.WshEnabled = wshEnabled`; :583 `cmdOpts.ShellPath = connUnion.ShellPath`; shellexec.go:473-474 fallback to DetectLocalShellPath. Base set cmdOpts.ShellPath from settings/meta unconditio...
Must identify that the local shell path is not computed when wsh is disabled (cmd:nowsh), so the configured local shell is lost.
true
[]
[]
[ "C7", "C24", "N1", "N2" ]
null
null
null
wavetermdev/waveterm
90a57d552d15f1b2a4d92cdfc3a4308efcf5c57b
wavetermdev__waveterm@90a57d5
rest145
2
D3
A RemoteGetInfo failure in getConnUnion now aborts SSH/WSL terminal start instead of reaching the existing no-wsh fallback
getConnUnion calls getRemoteInfoAndShellType, which for wsh-enabled SSH/WSL connections issues RemoteGetInfoCommand with a 2s timeout and returns an error on failure (blockcontroller.go:404-410); setupAndStartShellProcess returns that error (481-484). In base the RemoteGetInfo call happened inside StartRemoteShellProc/...
bug
medium
[ { "path": "pkg/blockcontroller/blockcontroller.go", "from_line": 404, "to_line": 410, "role": "cause" }, { "path": "pkg/blockcontroller/blockcontroller.go", "from_line": 480, "to_line": 484, "role": "symptom" }, { "path": "pkg/blockcontroller/blockcontroller.go", "fro...
blockcontroller.go:406-409 `remoteInfo, err := wshclient.RemoteGetInfoCommand(...); if err != nil { return fmt.Errorf("unable to obtain remote info from connserver: %w", err) }`; :456-459 propagate; shellexec.go:330-332 StartRemoteShellProc's own RemoteGetInfo failure feeds the fallback at blockcontroller.go:560-565.
Must say that the new up-front remote-info lookup fails the whole start and bypasses the no-wsh fallback. A comment only about the 2s timeout value does not count.
false
[]
[]
[ "C16", "C26" ]
null
null
null
wavetermdev/waveterm
90a57d552d15f1b2a4d92cdfc3a4308efcf5c57b
wavetermdev__waveterm@90a57d5
rest145
2
D4
SSH branch ignores the block's cmd:nowsh: it tests conn.WshEnabled instead of connUnion.WshEnabled and now hands the block a JWT
getConnUnion folds cmd:nowsh into rtn.WshEnabled (blockcontroller.go:451) and the WSL branch uses connUnion.WshEnabled (515), but the SSH branch tests the raw connection flag `if !conn.WshEnabled.Load()` (544). A block with cmd:nowsh=true on a wsh-enabled SSH connection takes the wsh path, and unlike base (which only m...
bug
low
[ { "path": "pkg/blockcontroller/blockcontroller.go", "from_line": 542, "to_line": 559, "role": "cause" }, { "path": "pkg/blockcontroller/blockcontroller.go", "from_line": 449, "to_line": 451, "role": "other-site" } ]
blockcontroller.go:544 `if !conn.WshEnabled.Load() {` vs :515 `if !connUnion.WshEnabled {`; base SSH branch wrapped JWT creation in `if !blockMeta.GetBool(waveobj.MetaKey_CmdNoWsh, false)`.
Must say the SSH dispatch checks the connection's WshEnabled rather than the union's/block's cmd:nowsh-aware flag.
false
[]
[]
[ "C1", "C19", "C23", "N2", "N6" ]
null
null
null
wavetermdev/waveterm
90a57d552d15f1b2a4d92cdfc3a4308efcf5c57b
wavetermdev__waveterm@90a57d5
rest145
2
D5
Init-script shell type is derived from remoteInfo.Shell, not the shell the launcher actually runs (conn:shellpath)
For SSH/WSL, union.ShellPath = remoteInfo.Shell (blockcontroller.go:412) and ShellType is computed from it (416) to choose the cmd:initscript.<shell> key (makeSwapToken, 361). But StartRemoteShellProc/StartWslShellProc prefer conn.GetConfigShellPath() over remoteInfo.Shell (shellexec.go:340-348, 188-196). When conn:she...
bug
low
[ { "path": "pkg/blockcontroller/blockcontroller.go", "from_line": 411, "to_line": 416, "role": "cause" }, { "path": "pkg/shellexec/shellexec.go", "from_line": 340, "to_line": 348, "role": "other-site" } ]
blockcontroller.go:411-412 `// TODO allow overriding remote shell path` / `union.ShellPath = remoteInfo.Shell`; shellexec.go:340-343 `configShellPath := conn.GetConfigShellPath(); if shellPath == "" && configShellPath != "" { shellPath = configShellPath }`.
Must say the init-script (shell-type) selection uses the detected remote shell while the launched shell honours conn:shellpath.
false
[]
[]
[ "C12", "C22", "C30", "N2", "N3", "N8", "N14" ]
null
null
null
wavetermdev/waveterm
90a57d552d15f1b2a4d92cdfc3a4308efcf5c57b
wavetermdev__waveterm@90a57d5
rest145
2
D6
cmd:env and cmd:cwd are documented as nestable under "[conn]" but the code never reads the connection override for them
wtypemeta.go:54 adds `// these can be nested under "[conn]"` above CmdEnv, CmdCwd and the initscript keys, but only getCustomInitScript consults meta.GetConnectionOverride. resolveEnvMap takes connName and ignores it (blockcontroller.go:252-283), and cmd:cwd is read only from the top-level meta (293, 491). A per-connec...
incomplete-fix
low
[ { "path": "pkg/waveobj/wtypemeta.go", "from_line": 54, "to_line": 56, "role": "cause" }, { "path": "pkg/blockcontroller/blockcontroller.go", "from_line": 252, "to_line": 283, "role": "symptom" }, { "path": "pkg/blockcontroller/blockcontroller.go", "from_line": 293, ...
`git grep GetConnectionOverride` at head: only metamap.go and getCustomInitScript; resolveEnvMap reads `blockMeta.GetMap(waveobj.MetaKey_CmdEnv)` only; connName unused.
Must say per-connection ([conn]) env and/or cwd overrides are not honoured although the struct comment/init-script lookup implies they are. A comment only about unused parameters (C9/C31) or dotted JSON keys (R4) does not count.
true
[]
[]
[ "C6", "C15", "C21", "C29", "N2", "N5", "N13", "N16", "N17" ]
null
null
null
wavetermdev/waveterm
90a57d552d15f1b2a4d92cdfc3a4308efcf5c57b
wavetermdev__waveterm@90a57d5
rest145
2
D7
An env-file read error is now logged and ignored; the command starts without its configured environment instead of failing
Base createCmdStrAndOpts returned `error reading command env file` and the block failed to start. Now makeSwapToken calls resolveEnvMap and on error only logs (blockcontroller.go:354-357), then starts the process with none of the env-file/cmd:env variables (resolveEnvMap returns nil map on error), silently dropping var...
bug
low
[ { "path": "pkg/blockcontroller/blockcontroller.go", "from_line": 354, "to_line": 357, "role": "cause" } ]
blockcontroller.go:354-357 `envMap, err := resolveEnvMap(...); if err != nil { log.Printf("error resolving env map: %v\n", err) }`; :259-260 returns nil on read error (2s filestore timeout); base returned the error from createCmdStrAndOpts.
Must say the env read error is swallowed so the block starts with an incomplete environment rather than reporting the error.
false
[]
[]
[ "C3", "C11" ]
null
null
null
wavetermdev/waveterm
90a57d552d15f1b2a4d92cdfc3a4308efcf5c57b
wavetermdev__waveterm@90a57d5
rest145
2
D8
cmd:nowsh on a wsh-enabled WSL connection now routes to StartWslShellProcNoWsh, which drops the block's cmd and cwd
getConnUnion folds cmd:nowsh into rtn.WshEnabled (blockcontroller.go:422,435) and the WSL branch now dispatches on it: `if !connUnion.WshEnabled { shellexec.StartWslShellProcNoWsh(...) }` (blockcontroller.go:515-516). In base, cmd:nowsh only suppressed the JWT and the launcher was chosen by `wslConn.WshEnabled.Load()`,...
bug
low
[ { "path": "pkg/blockcontroller/blockcontroller.go", "from_line": 513, "to_line": 519, "role": "cause" }, { "path": "pkg/blockcontroller/blockcontroller.go", "from_line": 433, "to_line": 435, "role": "other-site" }, { "path": "pkg/shellexec/shellexec.go", "from_line": ...
head blockcontroller.go:515 `if !connUnion.WshEnabled {` -> `shellexec.StartWslShellProcNoWsh(ctx, rc.TermSize, cmdStr, cmdOpts, wslConn)`; shellexec.go:156 `ecmd := exec.Command("wsl.exe", "~", "-d", client.Name())` (cmdStr/cmdOpts unused); base blockcontroller.go:379-397 gated only the JWT on cmd:nowsh and chose the ...
Must say that setting cmd:nowsh on a WSL connection that has wsh now selects the no-wsh launcher (a behaviour change from base, where only the JWT was omitted) and that this launcher ignores the command and/or cwd. A claim only that StartWslShellProcNoWsh ignores cmdStr in general (the pre-existing fallback, excluded a...
false
[]
[]
[ "N4" ]
extension-2026-09-28
null
null
wavetermdev/waveterm
90a57d552d15f1b2a4d92cdfc3a4308efcf5c57b
wavetermdev__waveterm@61b0fb4
rest145
2
D1
PowerShell rc passes multi-line `wsh token` output as an array to Invoke-Expression, so the token-swap env script never runs
In PwshStartup_wavepwsh (pkg/util/shellutil/shellutil.go:156-159) the output of the native `wsh token ... pwsh` call is captured into $waveterm_swaptoken_output. PowerShell captures multi-line native output as an array of lines; passing that array to Invoke-Expression's [string] -Command parameter joins the lines with ...
bug
medium
[ { "path": "pkg/util/shellutil/shellutil.go", "from_line": 156, "to_line": 159, "role": "cause" }, { "path": "pkg/util/shellutil/tokenswap.go", "from_line": 131, "to_line": 141, "role": "other-site" } ]
shellutil.go:156 `$waveterm_swaptoken_output = wsh token $env:WAVETERM_SWAPTOKEN pwsh 2>$null`; :158 `Invoke-Expression $waveterm_swaptoken_output`; tokenswap.go encodeEnvVarsForPowerShell emits `fmt.Sprintf("$env:%s = %s\n", ...)` per var; blockcontroller.go makeSwapToken always sets >=4 env vars; wshcmd-token.go:35-3...
Must say that the pwsh token output is multi-line and is captured as an array / not joined with newlines, so Invoke-Expression fails or evaluates it wrongly. Comments only about suppressing stderr (2>$null) or about Remove-Item errors do not count.
false
[]
[]
[ "C21", "C35" ]
null
null
null
wavetermdev/waveterm
61b0fb4baec87c6fa91bdeadc43fab75fd29eb61
wavetermdev__waveterm@61b0fb4
rest145
2
D2
Connserver handshake reads the JWT status line from a stream that merges stderr, so an rc-install error line makes the client skip sending the JWT and connserver startup times out
StartConnServer points the SSH session's Stdout and Stderr at the same pipe (pkg/remote/conncontroller/conncontroller.go:297-298), then takes the next line after the version as the JWT status (conncontroller.go:333-339) and writes the JWT only if that line equals NEED-JWT; any other line is silently treated like HAVE-J...
bug
low
[ { "path": "pkg/remote/conncontroller/conncontroller.go", "from_line": 333, "to_line": 347, "role": "cause" }, { "path": "cmd/wsh/cmd/wshcmd-connserver.go", "from_line": 253, "to_line": 257, "role": "cause" }, { "path": "pkg/remote/conncontroller/conncontroller.go", "f...
conncontroller.go:297-298 `sshSession.Stdout = pipeWrite` / `sshSession.Stderr = pipeWrite`; :333 `jwtLine, err := wshutil.ReadLineWithTimeout(linesChan, 3*time.Second)`; :339 `if strings.TrimSpace(jwtLine) == wavebase.NeedJwtConst {` with no else. wshcmd-connserver.go:253-255 `installErr := wshutil.InstallRcFiles(); i...
Must say the status-line read can pick up something other than NEED-JWT/HAVE-JWT (stderr/log output on the same pipe, e.g. the rc-install error) and that the JWT is then not sent / connserver waits on stdin. The older-connserver compatibility claim (R7), a pure 3-second-timeout concern (C31) and 'rc install errors are ...
true
[]
[]
[ "C24", "C37", "C38" ]
null
null
null
wavetermdev/waveterm
61b0fb4baec87c6fa91bdeadc43fab75fd29eb61
wavetermdev__waveterm@61b0fb4
rest145
2
D3
SSH command blocks (and shells without a Wave rc file) no longer receive WAVETERM_JWT because the inline prefix was replaced by a swap token only rc files redeem
Before the PR, StartRemoteShellProc always prefixed the remote command with `WAVETERM_JWT=<jwt>` regardless of cmdStr. The PR removes that and prefixes only `WAVETERM_SWAPTOKEN=<packed>` (pkg/shellexec/shellexec.go:403-409). The swap token is redeemed only by the Wave bash/zsh/fish/pwsh rc files, which are not used whe...
bug
low
[ { "path": "pkg/shellexec/shellexec.go", "from_line": 403, "to_line": 409, "role": "cause" }, { "path": "pkg/shellexec/shellexec.go", "from_line": 393, "to_line": 396, "role": "symptom" }, { "path": "pkg/shellexec/shellexec.go", "from_line": 359, "to_line": 363, ...
Base shellexec.go (deleted lines ~443-449): `jwtToken, ok := cmdOpts.Env[wshutil.WaveJwtTokenVarName]` ... `cmdCombined = fmt.Sprintf(`%s=%s %s`, wshutil.WaveJwtTokenVarName, jwtToken, cmdCombined)`. Head :395 `session.Setenv(envKey, envVal)` with comment 'these might fail depending on server settings'; :408 prefixes o...
Must say that remote command-mode (cmdStr / -c) shells, or shells that do not source the Wave rc, no longer get WAVETERM_JWT because the inline JWT prefix was removed and Setenv may be rejected. Saying only that command blocks do not get the NEW block/workspace env vars (C25) does not count, since those vars were never...
false
[]
[]
[ "C20", "N4" ]
null
null
null
wavetermdev/waveterm
61b0fb4baec87c6fa91bdeadc43fab75fd29eb61
wavetermdev__waveterm@61b0fb4
rest145
2
D4
WSL path builds a swap token but never packs or registers it, so WSL shells cannot redeem the new startup env
setupAndStartShellProcess creates the swap token for every block and, on the WSL branch, even adds the JWT to swapToken.Env (pkg/blockcontroller/blockcontroller.go:363-364, 383), but sets no SockName/RpcContext and calls StartWslShellProc, which never calls PackForClient/AddTokenSwapEntry nor sets WAVETERM_SWAPTOKEN. T...
incomplete-fix
low
[ { "path": "pkg/blockcontroller/blockcontroller.go", "from_line": 377, "to_line": 386, "role": "cause" }, { "path": "pkg/shellexec/shellexec.go", "from_line": 154, "to_line": 240, "role": "other-site" } ]
blockcontroller.go:383 `swapToken.Env[wshutil.WaveJwtTokenVarName] = jwtStr` then :386 `shellexec.StartWslShellProc(ctx, rc.TermSize, cmdStr, cmdOpts, wslConn)`; StartWslShellProc still only passes `WAVETERM_JWT=...` via wsl.exe args and has no reference to SwapToken. wshcmd-root.go setupRpcClientWithToken rejects `tok...
Must say WSL shells do not get/redeem the swap token (not packed/registered, or no sockname), so the token-provided env is missing on WSL. A claim that WSL loses the JWT or wsh entirely is wrong (JWT is still passed inline).
false
[]
[]
[ "C13", "C23", "C36", "N2", "N6", "N7" ]
null
null
null
wavetermdev/waveterm
61b0fb4baec87c6fa91bdeadc43fab75fd29eb61
wavetermdev__waveterm@61b0fb4
rest145
2
D5
pwsh rc unconditionally runs Remove-Item Env:WAVETERM_SWAPTOKEN, printing an error in every pwsh shell where the variable was never set
The new PwshStartup_wavepwsh template (pkg/util/shellutil/shellutil.go:161) ends the token block with a bare `Remove-Item Env:WAVETERM_SWAPTOKEN`, with no existence check or -ErrorAction. PowerShell's Remove-Item on a non-existent Env: item writes a non-terminating error ("Cannot find path 'Env:WAVETERM_SWAPTOKEN' beca...
bug
low
[ { "path": "pkg/util/shellutil/shellutil.go", "from_line": 155, "to_line": 162, "role": "cause" }, { "path": "pkg/shellexec/shellexec.go", "from_line": 403, "to_line": 409, "role": "other-site" }, { "path": "pkg/shellexec/shellexec.go", "from_line": 187, "to_line":...
shellutil.go PwshStartup_wavepwsh: `Remove-Variable -Name waveterm_swaptoken_output` / `Remove-Item Env:WAVETERM_SWAPTOKEN` (no -ErrorAction SilentlyContinue, no Test-Path); shellexec.go remote: `shellPath = "& " + shellPath` then `cmdCombined = fmt.Sprintf(`%s=%s %s`, wavebase.WaveSwapTokenVarName, packedToken, cmdCom...
Must say the pwsh rc's unconditional Remove-Item of WAVETERM_SWAPTOKEN errors (visible error at startup) when the variable is absent, e.g. WSL or remote pwsh. Saying only that WSL lacks the swap token is D4; saying pwsh token output is mangled by Invoke-Expression is D1.
false
[]
[]
[ "N4" ]
extension-2026-09-28
null
null
wavetermdev/waveterm
61b0fb4baec87c6fa91bdeadc43fab75fd29eb61
wavetermdev__waveterm@4b7637f
rest145
2
D1
Copying a single file to a not-yet-existing 'dir/' destination on S3/wavefile writes it to key 'dir' instead of 'dir/<name>'
DetermineCopyDestPath (fsutil.go:137-160) computes destHasSlash but uses it only in the source-is-directory case: the basename is appended only when `destInfo.IsDir || (!destExists && !destHasSlash && srcInfo.IsDir)`. CleanPathPrefix drops the trailing slash (fsutil.go:196-206, fspath.Join of the split parts). So for a...
incomplete-fix
medium
[ { "path": "pkg/remote/fileshare/fsutil/fsutil.go", "from_line": 155, "to_line": 160, "role": "cause" }, { "path": "pkg/remote/fileshare/fsutil/fsutil.go", "from_line": 113, "to_line": 116, "role": "symptom" }, { "path": "pkg/remote/fileshare/fsutil/fsutil.go", "from_l...
fsutil.go:139 `destHasSlash := strings.HasSuffix(destConn.Path, fspath.Separator)`; :156 `if destInfo.IsDir || (!destExists && !destHasSlash && srcInfo.IsDir) { destPath = fspath.Join(destPath, fspath.Base(srcConn.Path)) }`. There is no branch for a file source with destHasSlash. CleanPathPrefix returns `fspath.Join(ne...
The comment must say that a trailing-slash (directory-intent) destination that does not exist is ignored for single-file copies, so the file lands at the directory name. General remarks about DetermineCopyDestPath complexity do not count, and neither does R4 (destPathPrefix ordering).
true
[]
[]
[ "C13", "C15", "N3", "N6", "N8" ]
null
null
null
wavetermdev/waveterm
4b7637fb17fb0f937d67f12a63f3f370a3343117
wavetermdev__waveterm@4b7637f
rest145
2
D2
Cross-connection move no longer enforces the recursive flag: a directory is copied and then recursively deleted even without -r
The PR removes the pre-check in fileshare.Move that refused `cannot move directory ... without recursive flag` for cross-host moves (base fileshare.go:132-139). Now Move calls CopyRemote and then `srcClient.Delete(ctx, srcConn, srcIsDir)` (fileshare.go:132-136), passing the returned is-directory flag as `recursive`. So...
contract
medium
[ { "path": "pkg/remote/fileshare/fileshare.go", "from_line": 131, "to_line": 136, "role": "cause" }, { "path": "pkg/wshrpc/wshremote/wshremote.go", "from_line": 742, "to_line": 743, "role": "other-site" }, { "path": "cmd/wsh/cmd/wshcmd-file.go", "from_line": 440, "...
Base fileshare.go: `recursive := data.Opts != nil && data.Opts.Recursive; if finfo.IsDir && data.Opts != nil && !recursive { return fmt.Errorf("cannot move directory %q to %q without recursive flag", ...) }` followed by `srcClient.Delete(ctx, srcConn, recursive)`. Head fileshare.go:132-136 `srcIsDir, err := destClient....
The comment must say that the recursive check for moving directories between connections was removed (or that Delete now uses srcIsDir regardless of opts.Recursive), so directories are moved/deleted without -r. Comments about the same-host wavefs/s3 MoveInternal paths alone do not count. C2 counts: it states cross-host...
true
[]
[]
[ "C2", "C16", "C18", "C21", "N3" ]
null
null
null
wavetermdev/waveterm
4b7637fb17fb0f937d67f12a63f3f370a3343117
wavetermdev__waveterm@4b7637f
rest145
2
D3
Recursive S3 delete now sends every listed key in one DeleteObjects call, which S3 rejects above 1,000 keys
The PR switches S3Client.Delete's recursive branch to the paginated listFilesPrefix (s3fs.go:719-727), so it now accumulates ALL keys under the prefix, then sends them in a single DeleteObjects request (s3fs.go:737-742). S3's DeleteObjects accepts at most 1,000 keys per request, so for any prefix with more than 1,000 o...
incomplete-fix
medium
[ { "path": "pkg/remote/fileshare/s3fs/s3fs.go", "from_line": 719, "to_line": 727, "role": "cause" }, { "path": "pkg/remote/fileshare/s3fs/s3fs.go", "from_line": 737, "to_line": 742, "role": "symptom" } ]
s3fs.go:719-727 `objects := make(...); err := c.listFilesPrefix(ctx, &s3.ListObjectsV2Input{...}, func(obj *types.Object) (bool, error) { objects = append(objects, types.ObjectIdentifier{Key: obj.Key}); return true, nil })`; :737 `c.client.DeleteObjects(ctx, &s3.DeleteObjectsInput{Bucket: ..., Delete: &types.Delete{Obj...
The comment must say that recursive delete now sends more than 1,000 keys in one DeleteObjects request (the S3 per-request limit), so large prefixes fail to delete or move. Comments only about checking output.Errors for per-key failures (C9) do not count, and neither do comments about per-object logging.
false
[]
[]
[ "C3", "C29", "C31", "N1", "N3", "N4", "N5" ]
null
null
null
wavetermdev/waveterm
4b7637fb17fb0f937d67f12a63f3f370a3343117
wavetermdev__waveterm@4b7637f
rest145
2
D4
PrefixCopyInternal no longer cleans the source path, so a bucket- or zone-root copy lists prefix '/' and silently copies nothing
Before the PR, PrefixCopyInternal ran the source through CleanPathPrefix, and a root source such as `s3://bucket/` (connparse Path "/") became "", so listing with prefix "" enumerated the whole bucket. DetermineCopyDestPath now returns the raw `srcPath = srcConn.Path` (fsutil.go:138). PrefixCopyInternal uses it as the ...
bug
low
[ { "path": "pkg/remote/fileshare/fsutil/fsutil.go", "from_line": 137, "to_line": 138, "role": "cause" }, { "path": "pkg/remote/fileshare/fsutil/fsutil.go", "from_line": 53, "to_line": 59, "role": "symptom" } ]
Head fsutil.go:138 `srcPath = srcConn.Path` (no CleanPathPrefix); base PrefixCopyInternal had `srcPath, err := CleanPathPrefix(srcConn.Path)`. connparse.ParseURI parseGenericPath sets remotePath = "/" for `s3://bucket/`. S3 Stat treats ""/"/" as the bucket and returns IsDir: true (s3fs.go:501-526). s3fs CopyInternal li...
The comment must say that the source path is no longer normalised/cleaned before the prefix listing, so a root or leading-slash source lists nothing and the copy succeeds empty. Comments about the destination-path cleaning do not count.
false
[]
[]
[ "C8", "C20" ]
null
null
null
wavetermdev/waveterm
4b7637fb17fb0f937d67f12a63f3f370a3343117
wavetermdev__waveterm@4b7637f
rest145
2
D5
GetParentPathString now returns "" for top-level paths, so an S3 bucket-root listing loses its '..' entry back to the bucket list
GetParentPathString previously returned "/" when the path had no inner slash (base fsutil.go:30-35). It now returns "" (fsutil.go:30-31, 40-41). S3 ListEntriesStream builds the '..' row from `parentPath := fsutil.GetParentPath(conn)` and emits it only `if parentPath != ""` (s3fs.go:456-457). For a listing of `s3://buck...
bug
low
[ { "path": "pkg/remote/fileshare/fsutil/fsutil.go", "from_line": 29, "to_line": 44, "role": "cause" }, { "path": "pkg/remote/fileshare/s3fs/s3fs.go", "from_line": 456, "to_line": 468, "role": "symptom" } ]
Head fsutil.go:30-31 `if hostAndPath == "" || hostAndPath == fspath.Separator { return "" }` and :40-41 `if lastSlash <= 0 { return "" }` (base returned fspath.Separator in both). s3fs.go:456-457 `parentPath := fsutil.GetParentPath(conn); if parentPath != "" {` emits the `Name: ".."` entry. connparse GetPathWithHost re...
The comment must connect the GetParentPathString return-value change to a caller, e.g. the missing '..' entry at the bucket root or a Dir field now empty instead of '/'. Just noting that the function changed does not count.
true
[]
[]
[ "C10" ]
null
null
null
wavetermdev/waveterm
4b7637fb17fb0f937d67f12a63f3f370a3343117
wavetermdev__waveterm@4b7637f
rest145
2
D6
Copying a directory to a not-yet-existing 'b/' destination lands at b/<contents> on a same-host prefix copy but at b/<dir>/<contents> on a cross-host copy
DetermineCopyDestPath (fsutil.go:155-159) appends the source basename for a directory source only when `destInfo.IsDir || (!destExists && !destHasSlash && srcInfo.IsDir)`, so for source `a` (no trailing slash) and a missing destination `b/` it leaves destPath = `b`. PrefixCopyInternal then strips prefixToRemove = `a/` ...
logic
low
[ { "path": "pkg/remote/fileshare/fsutil/fsutil.go", "from_line": 155, "to_line": 159, "role": "cause" }, { "path": "pkg/remote/fileshare/fsutil/fsutil.go", "from_line": 72, "to_line": 81, "role": "symptom" }, { "path": "pkg/remote/fileshare/fsutil/fsutil.go", "from_lin...
fsutil.go:156 `if destInfo.IsDir || (!destExists && !destHasSlash && srcInfo.IsDir) { destPath = fspath.Join(destPath, fspath.Base(srcConn.Path)) }`; PrefixCopyInternal :76-80 `prefixToRemove = fspath.Dir(srcPath) + fspath.Separator` ... `destFilePath := destPath + strings.TrimPrefix(path, prefixToRemove)`; PrefixCopyR...
The comment must say that a directory copied (without a source trailing slash) to a missing slash-terminated destination is placed differently by the same-host (PrefixCopyInternal: contents directly under b/) and cross-host (PrefixCopyRemote: under b/<dir>/) paths. D1 is the single-file variant of the ignored destinati...
false
[]
[]
[ "N3" ]
extension-2026-09-28
null
null
wavetermdev/waveterm
4b7637fb17fb0f937d67f12a63f3f370a3343117
n8n-io__n8n@ebe680f
rest145
2
D1
user-service.spec asserts lastName === 'User' but the helper's default is `User<nanoid>`, so the test always fails
UserApiHelper.create defaults lastName to `User${nanoid()}` (packages/testing/playwright/services/user-api-helper.ts:31, nanoid = 8 random chars) and returns it unchanged (:62). The new test 'should create a user with default values' asserts `expect(user.lastName).toBe('User')` (packages/testing/playwright/tests/ui/use...
build
high
[ { "path": "packages/testing/playwright/tests/ui/user-service.spec.ts", "from_line": 10, "to_line": 10, "role": "symptom" }, { "path": "packages/testing/playwright/services/user-api-helper.ts", "from_line": 31, "to_line": 31, "role": "cause" } ]
user-api-helper.ts:5 `const nanoid = customAlphabet('abcdefghijklmnopqrstuvwxyz0123456789', 8);`, :31 `lastName: options.lastName ?? `User${nanoid()}`,`, :62 `return { id, ...user };`; user-service.spec.ts:10 `expect(user.lastName).toBe('User');`
Must say the default-values test's lastName assertion (toBe('User')) conflicts with the randomised default `User`+nanoid so the test fails. A generic 'test may be flaky' does not count.
true
[]
[ "R19" ]
[ "C15", "C16", "N2", "N8", "N12" ]
null
null
{"bots": ["cubic"], "dataset_refs": ["R19"], "references": ["packages/testing/playwright/tests/ui/user-service.spec.ts:10-10:f417922003eb"], "hunt": true, "note": "Not scored. The cited AACR reference is a reworded review-bot comment from the original PR; the defect itself was checked against the code."}
n8n-io/n8n
ebe680fbcacd9210aa219ab01d98012ac1d6faae
n8n-io__n8n@ebe680f
rest145
2
D2
Migrated 'should login and logout' test no longer logs out or checks the member session
The removed Cypress test (cypress/e2e/group2/18-user-management.cy.ts:38-58, deleted) logged in as owner, logged out, logged in as a member and asserted the Users settings menu item is absent. The Playwright replacement (packages/testing/playwright/tests/ui/18-user-management.spec.ts:7-15) keeps the title 'should login...
incomplete-fix
low
[ { "path": "packages/testing/playwright/tests/ui/18-user-management.spec.ts", "from_line": 7, "to_line": 15, "role": "cause" } ]
18-user-management.spec.ts:7-14 ends at `await expect(n8n.workflows.getProjectName()).toBeVisible();`; base cypress test lines 48-57 clicked `user-menu-item-logout`, logged in as INSTANCE_MEMBERS[0] and asserted `#settings-users` does not exist.
Must point at the login/logout test and say the logout / member-login part of the original test was dropped (title promises logout, body does not). Comments about the separate 'prevent non-owners' test or other coverage gaps do not count.
false
[]
[]
[ "C5", "C19", "N7", "N9", "N12" ]
null
null
null
n8n-io/n8n
ebe680fbcacd9210aa219ab01d98012ac1d6faae
n8n-io__n8n@c8d45ad
rest145
2
D1
The lowercasing ran past the URLs and lowercased user-facing text after each link: sentence starts, link labels, 'IDs' and UI label names
In many descriptions the replacement lowercased everything after the href, not just the URL. Link labels ('More info' -> 'more info', 'Learn more', 'Example', 'See docs', 'View metric examples') and whole sentences after a link are now lowercased: 'Choose from the list, or specify IDs using ...' -> 'choose from the lis...
bug
medium
[ { "path": "packages/nodes-base/nodes/Freshservice/descriptions/AgentGroupDescription.ts", "from_line": 103, "to_line": 114, "role": "cause" }, { "path": "packages/nodes-base/nodes/Misp/descriptions/AttributeDescription.ts", "from_line": 321, "to_line": 321, "role": "cause" }, ...
Diff e.g. Freshservice AgentDescription `-... Choose from the list, or specify IDs using an <a ...>expression</a>.` `+... choose from the list, or specify ids using an <a ...>expression</a>.`; Misp `+... use only for when <code>sharing group</code> is selected in <code>distribution</code>.`; JavascriptCodeDescription `...
Must say non-URL text (sentence starts, link labels, 'IDs', 'Sharing Group'/'Distribution') got lowercased. Any single-site instance of this counts. A comment merely saying URLs are case-sensitive does not count, nor does the fragment case change (D2).
true
[]
[]
[ "C1", "C2", "C3", "C4", "C9", "C10", "C11", "C12", "C13", "C14", "C16", "C17", "C18", "C19", "N1", "N3" ]
null
null
null
n8n-io/n8n
c8d45ad42aebf937a8347aa32a84ca63416bfdd4
n8n-io__n8n@c8d45ad
rest145
2
D2
Lowercasing the API-reference fragment breaks the deep links in the n8n node's workflow JSON descriptions
N8n/WorkflowDescription.ts:127 and :352 change '#tag/Workflow/paths/~1workflows/post' to '#tag/workflow/...' and '~1workflows~1%7Bid%7D/put' to '#tag/workflow/paths/~1workflows~1%7bid%7d/put'. The fragment is a client-side anchor of the API reference generated from the OpenAPI spec, whose tag is 'Workflow' (packages/cl...
bug
low
[ { "path": "packages/nodes-base/nodes/N8n/WorkflowDescription.ts", "from_line": 127, "to_line": 127, "role": "cause" }, { "path": "packages/nodes-base/nodes/N8n/WorkflowDescription.ts", "from_line": 352, "to_line": 352, "role": "other-site" } ]
Diff `-#tag/Workflow/paths/~1workflows/post` `+#tag/workflow/paths/~1workflows/post`; `-#tag/Workflow/paths/~1workflows~1%7Bid%7D/put` `+#tag/workflow/paths/~1workflows~1%7bid%7d/put`; openapi.yml:25 `- name: Workflow`.
Must mention the fragment/anchor case change on the API-reference link.
true
[]
[]
[ "C5", "C6", "C8", "C15", "N2", "N3" ]
null
null
null
n8n-io/n8n
c8d45ad42aebf937a8347aa32a84ca63416bfdd4
n8n-io__n8n@f523897
rest145
2
D1
Members no longer receive isPending, so the editor treats invited (pending) users as active for members
userMemberSchema (packages/@n8n/api-types/src/schemas/user.schema.ts:25-31) omits isPending, and zod strips unknown keys, so GET /users for a caller without user:create returns other users without isPending (users.controller.ts:99-105). The editor's users store derives isPendingUser from it (`const _isPendingUser = (us...
contract
low
[ { "path": "packages/@n8n/api-types/src/schemas/user.schema.ts", "from_line": 25, "to_line": 34, "role": "cause" }, { "path": "packages/cli/src/controllers/users.controller.ts", "from_line": 99, "to_line": 106, "role": "cause" }, { "path": "packages/frontend/editor-ui/src/...
user.schema.ts:25-31 member schema has only id/firstName/lastName/email/role; :33-34 `export const userAdminSchema = userMemberSchema.extend({ isPending: z.boolean().optional(),`; users.controller.ts:104 `return userMemberSchema.parse(user);`; users.store.ts:35 `const _isPendingUser = (user: IUserResponse | null) => !!...
Must say that isPending is dropped for members (member schema lacks it) and that this changes how pending users are shown/treated for members. A generic 'the member schema removes fields' without naming isPending or the pending-user consequence does not count; R2's schema-typing point does not count.
true
[]
[]
[ "C5", "C9", "N1", "N2", "N4", "N6" ]
null
null
null
n8n-io/n8n
f523897785e1a45484b31c9bb16e66e060553601
n8n-io__n8n@f523897
rest145
2
D2
Hidden admin fields still leak to members through the list filter/sort (mfaEnabled filter, mfaEnabled/lastActiveAt sort)
The PR hides mfaEnabled and lastActiveAt from callers without user:create, but GET /users still accepts, for any caller with user:list, `filter={"mfaEnabled": true|false}` and `sortBy=mfaEnabled:*|lastActiveAt:*` (users-list-filter.dto.ts:16-19, :41). A member can therefore recover (e.g. filter by a colleague's email p...
incomplete-fix
low
[ { "path": "packages/cli/src/controllers/users.controller.ts", "from_line": 109, "to_line": 118, "role": "cause" }, { "path": "packages/@n8n/api-types/src/dto/user/users-list-filter.dto.ts", "from_line": 16, "to_line": 41, "role": "other-site" } ]
users-list-filter.dto.ts:16-19 `'mfaEnabled:asc', 'mfaEnabled:desc', 'lastActiveAt:asc', 'lastActiveAt:desc'`, :41 `mfaEnabled: z.boolean().optional(),`; users.controller.ts:110 `@GlobalScope('user:list')` then :116 `this.userRepository.buildUserQuery(listQueryOptions)` with no restriction by caller scope; existing tes...
Must say that members can still filter or sort by the now-hidden fields (mfaEnabled / lastActiveAt) and so infer them. Complaints about user:create being the wrong scope (R4) do not count.
true
[]
[]
[ "C2", "C8", "N3", "N5" ]
null
null
null
n8n-io/n8n
f523897785e1a45484b31c9bb16e66e060553601
n8n-io__n8n@77ece2e
rest145
2
D1
CODEOWNERS migration-review rule still points at the old cli migrations path
.github/CODEOWNERS:1 assigns `packages/cli/src/databases/migrations/` to @n8n-io/migrations-review. The PR moves every migration to packages/@n8n/db/src/migrations/ and leaves nothing under the old path, so the rule matches no file and future migration changes no longer request (or, with protection, require) the migrat...
maintainability
medium
[ { "path": ".github/CODEOWNERS", "from_line": 1, "to_line": 1, "role": "cause" }, { "path": "packages/@n8n/db/src/index.ts", "from_line": 25, "to_line": 30, "role": "other-site" } ]
.github/CODEOWNERS at head is the single line `packages/cli/src/databases/migrations/ @n8n-io/migrations-review`; ls-tree at head shows no packages/cli/src/databases/migrations directory; migrations now live under packages/@n8n/db/src/migrations/.
Must name CODEOWNERS / migration review ownership not following the move. A comment only about stale eslint override or jest coveragePathIgnorePatterns paths (C1) is a near-miss and does not count.
true
[]
[]
[ "C3" ]
null
null
null
n8n-io/n8n
77ece2e572096e6ad267e7f9363ebbf9f8ba46e8
n8n-io__n8n@77ece2e
rest145
2
D2
db-connection test spies on a re-exported @n8n/db binding that jest cannot redefine
packages/cli/src/databases/__tests__/db-connection.test.ts:2 now does `import * as migrationHelper from '@n8n/db'` and line ~85 calls `jest.spyOn(migrationHelper, 'wrapMigration')`. @n8n/db resolves to its tsc-compiled CommonJS dist (package.json main dist/index.js; tsconfig.common module commonjs), where `export { wra...
build
medium
[ { "path": "packages/cli/src/databases/__tests__/db-connection.test.ts", "from_line": 1, "to_line": 2, "role": "cause" }, { "path": "packages/cli/src/databases/__tests__/db-connection.test.ts", "from_line": 85, "to_line": 85, "role": "symptom" }, { "path": "packages/@n8n/d...
db-connection.test.ts head: `import * as migrationHelper from '@n8n/db';` ... `const wrapMigrationSpy = jest.spyOn(migrationHelper, 'wrapMigration').mockImplementation();`; @n8n/db/src/index.ts:29 `export { wrapMigration } from './migrations/migration-helpers';`; @n8n/db/package.json `"main": "dist/index.js"`; typescri...
Must say the spyOn on wrapMigration via the @n8n/db barrel fails / cannot replace the re-exported binding. Graded medium rather than high because it breaks one unit test and depends on runtime jest/TS emit behaviour, not production code.
false
[]
[]
[ "C4", "N3" ]
null
null
null
n8n-io/n8n
77ece2e572096e6ad267e7f9363ebbf9f8ba46e8
immich-app__immich@91b3b6a
rest145
2
D1
Unused `testAssetDirInternal` import in asset.e2e-spec.ts fails the e2e lint job
The PR adds `testAssetDirInternal` to the import at e2e/src/api/specs/asset.e2e-spec.ts:23 but nothing in the file uses it. The e2e ESLint config (typescript-eslint recommended, no-unused-vars error) runs with `--max-warnings 0` in the End-to-End Lint CI job, and prettier-plugin-organize-imports would also rewrite the ...
build
high
[ { "path": "e2e/src/api/specs/asset.e2e-spec.ts", "from_line": 23, "to_line": 23, "role": "cause" } ]
asset.e2e-spec.ts:23 `import { app, asBearerAuth, tempDir, testAssetDir, testAssetDirInternal, utils } from 'src/utils';` with no other occurrence of testAssetDirInternal in the file; e2e package lint script `eslint "src/**/*.ts" --max-warnings 0`.
Must identify the unused testAssetDirInternal import in asset.e2e-spec.ts; mentioning lint failure strengthens it but a plain 'unused import, remove it' counts.
true
[]
[ "R1" ]
[ "C4", "C15" ]
null
null
null
immich-app/immich
91b3b6aebd3a02a4ac158b21ce469138df893178
immich-app__immich@91b3b6a
rest145
2
D2
New 'should permanently delete an asset from trash' test asserts the whole trash is empty, but the previous test leaves a trashed asset
The new test (e2e/src/api/specs/asset.e2e-spec.ts:786-810) force-deletes its own asset and then asserts `getAssetStatistics({ isTrashed: true }).total === 0` (:808-809). The DB is reset only once for the file (setupTests at :82/:162; no reset in the DELETE /assets describe), and the immediately preceding test 'should m...
build
high
[ { "path": "e2e/src/api/specs/asset.e2e-spec.ts", "from_line": 808, "to_line": 809, "role": "symptom" }, { "path": "e2e/src/api/specs/asset.e2e-spec.ts", "from_line": 770, "to_line": 784, "role": "cause" } ]
asset.e2e-spec.ts:776-783 trashes an asset (DELETE /assets without force -> status TRASHED, deletedAt set, asset.service.ts deleteAll) and never restores it; :808 `const after = await getAssetStatistics({ isTrashed: true }, ...)`, :809 `expect(after.total).toBe(0);`; asset.repository.ts:506-510 `.andWhere('asset.delete...
Must say the account-wide trashed-count assertion in the new permanent-delete test cannot be 0 because other (earlier-test) trashed assets exist in the shared DB, so the test fails. A comment only asking for a more direct/robust check of the target asset (R2, C7) does not count.
false
[]
[]
[ "C3", "C10", "C14", "N6" ]
null
null
null
immich-app/immich
91b3b6aebd3a02a4ac158b21ce469138df893178
immich-app__immich@91b3b6a
rest145
2
D3
Trash test renamed 'should remove offline assets' asserts the asset survives, and the fix's disk-preservation check is only in an it.skip test
The PR renames the trash test to 'should remove offline assets' (e2e/src/api/specs/trash.e2e-spec.ts:76) while its body empties the trash and asserts the asset is still trashed and offline (:106-107). Offline assets keep status ACTIVE (library.service.ts:485 sets only isOffline/deletedAt) and trash empty only touches s...
maintainability
low
[ { "path": "e2e/src/api/specs/trash.e2e-spec.ts", "from_line": 76, "to_line": 108, "role": "cause" }, { "path": "e2e/src/api/specs/trash.e2e-spec.ts", "from_line": 110, "to_line": 147, "role": "other-site" } ]
trash.e2e-spec.ts:76 `it('should remove offline assets', ...` ... :107 `expect(assetAfter).toMatchObject({ isTrashed: true, isOffline: true });`; :110 `it.skip('should not delete offline assets from disk'` holding the only `existsSync(...)).toBe(true)` check; the base test was named 'should not delete offline-trashed a...
Must say the test name contradicts its assertion (asset remains after empty-trash), or that no running test exercises the offline deletion path / file preservation (only the skipped one does). R6's excluded-vs-missing naming point does not count.
true
[]
[]
[ "C9", "C16", "C12", "C18", "N4", "N7" ]
null
null
null
immich-app/immich
91b3b6aebd3a02a4ac158b21ce469138df893178
immich-app__immich@91b3b6a
rest145
2
D4
Blanket offline/deleteOnDisk=false guard also skips Immich-generated motion-video files, orphaning them on disk
handleAssetDeletion now never deletes the original of any offline asset (server/src/services/asset.service.ts:252-264) and forwards the parent's deleteOnDisk to its live-photo video (:244-246), which handleAssetDeletionCheck now sets false for offline parents (:191). Android motion videos extracted from external-librar...
resource
low
[ { "path": "server/src/services/asset.service.ts", "from_line": 255, "to_line": 260, "role": "cause" }, { "path": "server/src/services/asset.service.ts", "from_line": 191, "to_line": 191, "role": "cause" }, { "path": "server/src/services/asset.service.ts", "from_line":...
asset.service.ts:191 `deleteOnDisk: !asset.isOffline,`; :245 `data: { id: asset.livePhotoVideoId, deleteOnDisk }`; :255-260 `if (asset.isOffline) { ... willDelete = false; }`; metadata.service.ts `libraryId: asset.libraryId, ... originalPath: StorageCore.getAndroidMotionPath(asset, motionAssetId)`; library.service.ts:4...
Must say the offline guard / propagated deleteOnDisk=false also covers Immich-generated or Immich-managed motion video files (not user originals), so they are orphaned. Generic 'offline files are not deleted' restating the PR's intent does not count.
false
[]
[]
[ "C6", "C8", "N1", "N5" ]
null
null
null
immich-app/immich
91b3b6aebd3a02a4ac158b21ce469138df893178
immich-app__immich@5f47591
rest145
2
D1
mergePerson seeds `update` with { id }, so the `Object.keys(update).length > 0` guard is always true and every merge rewrites the primary person
person.service.ts:624 now initialises `const update = { id: primaryPerson.id }`; the guard at :633 `if (Object.keys(update).length > 0)` was written for the old empty initialiser and is now always true. Every merged person, even when no name/birthDate is copied, triggers personRepository.update (person.repository.ts:46...
bug
low
[ { "path": "server/src/services/person.service.ts", "from_line": 624, "to_line": 635, "role": "cause" } ]
head person.service.ts:624 `const update: Updateable<Person> & { id: string } = { id: primaryPerson.id };` ... :633 `if (Object.keys(update).length > 0) { primaryPerson = await this.personRepository.update(update); }`. Base: `const update: Partial<PersonEntity> = {};` and `update({ id: primaryPerson.id, ...update })` i...
Must say the key-count guard is always true because id is in the object, so the update always runs. A comment only saying `.set(person)` includes id in the repository update (R21) does not count.
true
[]
[ "R25" ]
[ "C3", "C8", "C9", "C10", "N1", "N3", "N4", "N5" ]
null
null
null
immich-app/immich
5f4759196534661bd332085514878d0efbb7ce84
immich-app__immich@5f47591
rest145
2
D2
Person-thumbnail failure log interpolates the person object instead of its id
handleGeneratePersonThumbnail logs `person ${person} has no face asset` (person.service.ts:553); `person` is undefined or an object, so the log reads 'person undefined' or 'person [object Object]' and the failing person id is lost (base logged person?.id). This single branch now covers missing person, missing face and ...
maintainability
low
[ { "path": "server/src/services/person.service.ts", "from_line": 552, "to_line": 555, "role": "cause" } ]
head person.service.ts:553 ``this.logger.error(`Could not generate person thumbnail: person ${person} has no face asset`);``; base ``person ${person?.id} has no face asset``.
Must point out the object (not the id / data.id) is interpolated, producing [object Object]/undefined.
true
[]
[ "R24" ]
[ "C2", "C7", "C14", "N4" ]
null
null
null
immich-app/immich
5f4759196534661bd332085514878d0efbb7ce84
immich-app__immich@5f47591
rest145
2
D3
'should skip a person without a face asset id' test still mocks getById, which the handler no longer calls, so it no longer exercises its case
handleGeneratePersonThumbnail now only calls getPersonForThumbnailGenerationJob (person.service.ts:551). The spec test at person.service.spec.ts:1056-1060 still sets `mocks.person.getById.mockResolvedValue(personStub.noThumbnail)`, so getPersonForThumbnailGenerationJob returns the default undefined and the test passes ...
maintainability
low
[ { "path": "server/src/services/person.service.spec.ts", "from_line": 1056, "to_line": 1060, "role": "cause" } ]
spec: `it('should skip a person without a face asset id', async () => { mocks.person.getById.mockResolvedValue(personStub.noThumbnail); ...` while service :551 `const person = await this.personRepository.getPersonForThumbnailGenerationJob(data.id);` and never calls getById.
Must say the test mocks getById (unused now) and so passes for the wrong reason / via the missing-person branch. Generic 'add tests' requests do not count.
false
[]
[]
[ "C15" ]
null
null
null
immich-app/immich
5f4759196534661bd332085514878d0efbb7ce84
immich-app__immich@9032c7e
rest145
2
D1
Entry-point route regex lists `maps` but the route is `/map`, so the map page never gets the cached app shell
The fetch handler decides which GETs are answered with the cached index via a hand-maintained regex of top-level routes (index.ts:40-46). It lists `maps`, but the SvelteKit route is web/src/routes/(user)/map and AppRoute.MAP = '/map' (web/src/lib/constants.ts:35), so `/map` and `/map/...` never match and are not served...
incomplete-fix
low
[ { "path": "web/src/service-worker/index.ts", "from_line": 40, "to_line": 46, "role": "cause" } ]
index.ts:41 `...|folders|maps|memory|...`; `git ls-tree` shows web/src/routes/(user)/map, no `maps`; constants.ts:35 `MAP = '/map'`.
Must point out `maps` vs the real `/map` route (or that the list misses /map). A generic 'hard-coded list may drift' without naming the mismatch is a near miss. The '/libraries' part of C17 is wrong (no such route directory) but its /map part counts.
true
[]
[]
[ "C5", "C17", "N3", "N7" ]
null
null
null
immich-app/immich
9032c7e021872a913e28de2e79bd9ab9806e7413
immich-app__immich@9032c7e
rest145
2
D2
The app shell ('/') is never precached, so a first offline visit to an entry point fails
addFilesToCache precaches only `build` and `files` (index.ts:14-17, 57-60); '/' is not among them and is not matched by the entry-point regex. ssr() (index.ts:62-77) only stores '/' after a successful online fetch triggered by an earlier controlled navigation to a matched route. If the worker installs and the next navi...
incomplete-fix
low
[ { "path": "web/src/service-worker/index.ts", "from_line": 57, "to_line": 60, "role": "cause" }, { "path": "web/src/service-worker/index.ts", "from_line": 62, "to_line": 69, "role": "symptom" } ]
index.ts:14-17 APP_RESOURCES = [...build, ...files]; :64-69 `new URL('/', origin)`, cache.match then fetch(url).
Must say the '/' shell/index document is not cached at install so an offline first navigation to a route fails. Not: generic 'fetch in ssr has no try/catch' (R5/C8), whose Response.error() alternative is the same network error.
false
[]
[]
[ "C10", "C11", "C12", "N1" ]
null
null
null
immich-app/immich
9032c7e021872a913e28de2e79bd9ab9806e7413
immich-app__immich@9032c7e
rest145
2
D3
The root route '/' (the PWA start_url) is not an intercepted entry point, so launching the installed app offline still fails
The fetch handler's entry-point regex (web/src/service-worker/index.ts:40-46) requires a named first segment, so a navigation to '/' itself is never matched and never answered with the cached shell, even after ssr() has cached '/'. But '/' is the app's primary entry point: web/static/manifest.json:34 sets "start_url": ...
incomplete-fix
low
[ { "path": "web/src/service-worker/index.ts", "from_line": 40, "to_line": 46, "role": "cause" }, { "path": "web/static/manifest.json", "from_line": 34, "to_line": 34, "role": "context" } ]
index.ts:41 regex `^(\/(link|auth|admin|...|utilities))(\/.*)?$` does not match '/'; manifest.json:34 `"start_url": "/"`; routes/+page.ts is the root page (ssr=false, redirects to /photos or /auth/login).
Must say that navigations to '/' itself (root / PWA start_url) are not intercepted/served from cache. Saying only that '/' is not precached at install so a first offline visit to e.g. /photos fails is D2, not this.
false
[]
[]
[ "N4", "N5" ]
extension-2026-09-28
null
null
immich-app/immich
9032c7e021872a913e28de2e79bd9ab9806e7413
immich-app__immich@d38f1f5
rest145
2
D1
Service worker caches every thumbnail/original with no expiry or size bound: ignores Cache-Control, serves stale images and grows storage with every original viewed or downloaded
immichAsset (web/src/service-worker/index.ts:43-67) answers from `cache.match(url)` whenever an entry exists and `cache.put`s every 200 response (59-60) into `cache-${version}`; entries are only removed when a new build activates (deleteOldCaches, 35-41). The server's `Cache-Control: private, max-age=86400` is ignored,...
resource
medium
[ { "path": "web/src/service-worker/index.ts", "from_line": 43, "to_line": 62, "role": "cause" }, { "path": "web/src/service-worker/index.ts", "from_line": 24, "to_line": 33, "role": "cause" }, { "path": "web/src/service-worker/index.ts", "from_line": 35, "to_line":...
index.ts:45-48 `let response = useCache ? await cache.match(url) : undefined; if (response) { return response; }`; :59-60 `if (response.status === 200) { cache.put(url, response.clone()); }`; :12 `const CACHE = `cache-${version}``; route test :30 `/^\/api\/assets\/[a-f0-9-]+\/(original|thumbnail)/`; asset-utils.ts:262 ...
Count a comment that says the SW cache never expires / ignores HTTP caching headers (stale thumbnails), or that it caches originals/all assets without size limit or eviction (unbounded storage / quota errors). A comment only about hardcoding `useCache` (R12, C6) or about logging in the catch does not count. The authori...
true
[]
[]
[ "C42", "N14" ]
null
null
null
immich-app/immich
d38f1f55f42d600d05058e70d6ccee9679623591
immich-app__immich@d38f1f5
rest145
2
D2
Cached private media is served by URL without re-checking authorization, surviving logout, account switches and revoked shares
Because immichAsset returns `cache.match(url)` (index.ts:45-48) before any request reaches the authenticated asset endpoint, and entries are keyed only by URL within `cache-${version}`, an image fetched under one session is served to any later request for the same URL from that browser: after logout (handleLogout in we...
security
low
[ { "path": "web/src/service-worker/index.ts", "from_line": 43, "to_line": 61, "role": "cause" }, { "path": "web/src/lib/utils/auth.ts", "from_line": 100, "to_line": 115, "role": "other-site" } ]
index.ts:45 `let response = useCache ? await cache.match(url) : undefined; if (response) { return response; }`; handleLogout clears only in-memory stores (resetSavedUser, foldersStore.clearCache, ...), never `caches`.
Must say that cached images are served without the server's authorization check, i.e. they remain available after logout/account switch/revocation. Staleness or storage-growth comments belong to D1.
true
[]
[]
[ "C11", "C18", "C20", "N1", "N7", "N11", "N14" ]
null
null
null
immich-app/immich
d38f1f55f42d600d05058e70d6ccee9679623591
immich-app__immich@d38f1f5
rest145
2
D3
pendingLoads keyed only by URL: concurrent same-URL loads overwrite/delete each other's AbortController, so a cancel can abort another consumer's request or fail to abort at all
Every immichAsset call does its own fetch and `pendingLoads.set(url, controller)` (index.ts:50-54), overwriting any existing entry, and its `finally` unconditionally deletes the key (66). There is no in-flight dedupe, so a preload racing the viewer's <img>, two tabs sharing the one worker, or duplicate thumbnails downl...
concurrency
low
[ { "path": "web/src/service-worker/index.ts", "from_line": 50, "to_line": 66, "role": "cause" }, { "path": "web/src/service-worker/index.ts", "from_line": 75, "to_line": 84, "role": "other-site" }, { "path": "web/src/lib/utils/sw-messaging.ts", "from_line": 3, "to_...
index.ts:54 `pendingLoads.set(url.toString(), cancelToken);`, :66 `pendingLoads.delete(url.toString());`, :80-83 `const pending = pendingLoads.get(url.toString()); if (pending) { pending.abort(); ... }`; sw-messaging.ts:4 posts only `{ type: 'cancel', url }`.
Must identify that same-URL requests share one map entry (overwritten or deleted by another request), so cancellation hits the wrong request / cannot identify the owner / breaks another consumer. Comments about cancelling superseded URLs of one component (R7, C23, C31, C46) or about the cache-lookup window (C9, C19) do...
true
[]
[]
[ "C2", "C14", "C15", "C21", "C24", "C30", "C33", "C41", "C44", "N12", "N14" ]
null
null
null
immich-app/immich
d38f1f55f42d600d05058e70d6ccee9679623591
immich-app__immich@d38f1f5
rest145
2
D4
Neighbour preloading silently stops whenever no running service worker receives the BroadcastChannel message (insecure origins, first visit, idle-terminated worker)
photo-viewer.svelte:72-78 replaced `new Image().src = ...` with preloadImageUrl, which only posts a BroadcastChannel message (sw-messaging.ts:6-8). The message does nothing unless a service worker is installed and currently running: on non-secure origins (e.g. self-hosted http://<lan-ip>:2283, where no worker can regis...
bug
medium
[ { "path": "web/src/lib/components/asset-viewer/photo-viewer.svelte", "from_line": 72, "to_line": 78, "role": "cause" }, { "path": "web/src/lib/utils/sw-messaging.ts", "from_line": 6, "to_line": 8, "role": "cause" }, { "path": "web/src/service-worker/index.ts", "from_l...
base photo-viewer.svelte `let img = new Image(); img.src = getAssetUrl(preloadAsset.id, targetSize, preloadAsset.thumbhash);` → head :75 `preloadImageUrl(getAssetUrl(...))`; sw-messaging.ts:6-7 `broadcast.postMessage({ type: 'preload', url });`; index.ts:85-88 `} else if (event.data.type === 'preload') { ... immichAsse...
Must say preloading now depends on an active service worker and is lost without one (insecure context / before install / worker not running), or that the broadcast-triggered preload is not kept alive by an extendable event so it can be dropped. Generic 'BroadcastChannel may be undefined' comments (R4, R10, C13) do not ...
false
[]
[]
[ "C4", "C7", "C26", "C37", "C3", "C29", "N3", "N14" ]
null
null
null
immich-app/immich
d38f1f55f42d600d05058e70d6ccee9679623591
immich-app__immich@b7a1255
rest145
2
D1
handleAlbumUpdate no longer checks the recipient is still an album member/owner, so removed members still get the update email
The old handler built recipients from album.albumUsers plus the owner and filtered by recipientIds, so anyone removed from the album during the 5-minute delay was dropped. The new handler (server/src/services/notification.service.ts:293-341) loads the album and owner but emails userRepository.get(recipientID) with no m...
security
medium
[ { "path": "server/src/services/notification.service.ts", "from_line": 305, "to_line": 341, "role": "cause" } ]
Base (removed): `const recipients = [...album.albumUsers.map((user) => user.user), owner].filter((user) => recipientIds.includes(user.id));`. Head :309 `const user = await this.userRepository.get(recipientID, { withDeleted: false });` then straight to preferences, renderEmail and SEND_EMAIL queue (:332-341) with no alb...
Must say the album-membership filter was dropped so a recipient removed from the album (during the delay) can still be emailed. Comments that merely say the owner lookup is unused do not count.
true
[]
[ "R7" ]
[ "C4", "C6", "C16", "N1", "N2", "N3", "N7" ]
null
null
null
immich-app/immich
b7a12558bc8e69c9c96b9a5b12f61f94689ea0e3
immich-app__immich@b7a1255
rest145
2
D2
removeJob dropped its error handling; a remove failure now throws out of the album.update event and fails addAssets (and skips remaining recipients)
removeJob (server/src/repositories/job.repository.ts:233-240) used to catch 'Missing key for job' from existing.remove() (the job finished/was removed between getJob and remove). It now propagates every remove failure. onAlbumUpdate awaits it (notification.service.ts:98) and EventRepository.onEvent awaits handlers with...
bug
low
[ { "path": "server/src/repositories/job.repository.ts", "from_line": 233, "to_line": 240, "role": "cause" }, { "path": "server/src/services/album.service.ts", "from_line": 173, "to_line": 175, "role": "symptom" } ]
Head: `const existingJob = await ...getJob(jobID); if (existingJob) { await existingJob.remove(); }`. Base had `try { await existingJob.remove(); } catch (error) { if (error.message?.includes('Missing key for job')) return; throw error; }`. event.repository.ts:244 `await handler(...event.args);`; album.service.ts:173-1...
Must point at the removed Missing-key try/catch or an unhandled remove failure (race/locked/active job) propagating to addAssets / aborting the remaining recipients. Note the locked-active-job rejection was already rethrown in base; a comment only about that case is a near-miss but is accepted because it describes the ...
true
[]
[]
[ "C8", "C9", "C10", "C14", "N1", "N6" ]
null
null
null
immich-app/immich
b7a12558bc8e69c9c96b9a5b12f61f94689ea0e3
immich-app__immich@b7a1255
rest145
2
D3
Album-update jobs already queued in the old shape are silently dropped on upgrade
Delayed NOTIFY_ALBUM_UPDATE jobs queued before the deploy carry `{id, recipientIds}` under jobId=albumId. After upgrade handleAlbumUpdate destructures `recipientID` (notification.service.ts:293), which is undefined, so userRepository.get(undefined) finds no user and the job is SKIPPED: those pending emails are never se...
compat
low
[ { "path": "server/src/services/notification.service.ts", "from_line": 293, "to_line": 311, "role": "cause" }, { "path": "server/src/repositories/job.repository.ts", "from_line": 208, "to_line": 213, "role": "other-site" } ]
types.ts INotifyAlbumUpdateJob now `recipientID: string`; no fallback for `recipientIds` anywhere in head (git grep). Base jobId for NOTIFY_ALBUM_UPDATE was `item.data.id`.
Must mention in-flight/queued jobs with the old payload shape or old jobId being lost/skipped/not replaced after deploy.
true
[]
[]
[ "C12", "C13", "C15", "N1", "N4", "N5", "N8" ]
null
null
null
immich-app/immich
b7a12558bc8e69c9c96b9a5b12f61f94689ea0e3
vllm-project__vllm@075f1b5
rest145
2
D1
Failed allocation touches then untouches prefix-hit blocks, moving them to the MRU tail of the free queue and changing LRU eviction order
allocate_slots now calls _touch(new_computed_blocks) before the capacity check (vllm/v1/core/kv_cache_manager.py:147-148); _touch removes every ref_cnt==0 hit from its position in free_block_queue (:421-422). When the check fails (:163-166), _untouch (:425-438) re-appends those blocks at the tail in forward order. The ...
performance
low
[ { "path": "vllm/v1/core/kv_cache_manager.py", "from_line": 425, "to_line": 438, "role": "cause" }, { "path": "vllm/v1/core/kv_cache_manager.py", "from_line": 146, "to_line": 166, "role": "other-site" } ]
kv_cache_manager.py:147-148 `if self.enable_caching: self._touch(new_computed_blocks)`; :163-166 `if num_new_blocks > self.free_block_queue.num_free_blocks: self._untouch(new_computed_blocks); return None`; :437-438 `if block.ref_cnt == 0: self.free_block_queue.append(block)`; :232 `ordered_blocks = reversed(blocks)`; ...
Must say that on allocation failure the touch/untouch changes the free-queue position or order of the prefix-hit blocks (appended to the tail, not restored to original position, LRU order changed). Docstring typos in _untouch do not count.
true
[]
[ "R3" ]
[ "C2", "C4", "C6", "N6", "N8", "N12" ]
null
null
null
vllm-project/vllm
075f1b5b8015e343f25b45d36ccff571cb39739b
vllm-project__vllm@a800045
rest145
2
D1
New online AIMO example requests Qwen/QwQ-32B from a section whose documented server serves Qwen/Qwen2-VL-7B-Instruct
The AIMO serving example (README.md:196-205) sits under 'Other HuggingFaceDataset Examples', whose only server command is `vllm serve Qwen/Qwen2-VL-7B-Instruct` (README.md:166), yet it passes `--model Qwen/QwQ-32B` with no matching `vllm serve` step. benchmark_serving.py sends that model name in its initial test reques...
maintainability
low
[ { "path": "benchmarks/README.md", "from_line": 196, "to_line": 205, "role": "cause" }, { "path": "benchmarks/README.md", "from_line": 166, "to_line": 166, "role": "other-site" } ]
README.md:166 `vllm serve Qwen/Qwen2-VL-7B-Instruct --disable-log-requests`; :199-200 `python3 vllm/benchmarks/benchmark_serving.py \ --model Qwen/QwQ-32B \`.
Counts: the new serving example's model does not match the server the section starts (needs its own vllm serve QwQ-32B). Script path prefix (vllm/benchmarks vs benchmarks) comments do not count.
false
[]
[]
[ "C5", "C7", "N4", "N5" ]
null
null
null
vllm-project/vllm
a800045d0e2473ce173865edb83967cd210dec4c
astral-sh__uv@61b521f
rest145
2
D1
The 'updated requirements.txt' step is dead: the original mock still wins and the assertion cannot tell the two bodies apart
wiremock selects among matching mocks by priority then mount order, and all mocks here have the default priority. The Flask mock with basic_auth (pip_install.rs:504-509) was mounted first and matches every authenticated GET /requirements.txt, so the later 'Update the mock server to serve the new requirements.txt' mock ...
maintainability
low
[ { "path": "crates/uv/tests/it/pip_install.rs", "from_line": 561, "to_line": 573, "role": "cause" }, { "path": "crates/uv/tests/it/pip_install.rs", "from_line": 504, "to_line": 509, "role": "other-site" }, { "path": "crates/uv/tests/it/pip_install.rs", "from_line": 575...
pip_install.rs:504-509 `Mock::given(method("GET")).and(path("/requirements.txt")).and(basic_auth(username, password)).respond_with(ResponseTemplate::new(200).set_body_string(requirements_txt))` with requirements_txt = "Flask", mounted first; :563 `// Update the mock server to serve the new requirements.txt` mounts an i...
Counts if the comment says the updated/second mock does not take effect (first-mounted mock still matches / server not reset) or that the final assertion cannot distinguish the new body from the old, so the step does not test the changed remote file. Generic 'add more tests' does not count.
true
[]
[]
[ "C2", "C5", "N1", "N4", "N6" ]
null
null
null
astral-sh/uv
61b521f4e9a1e8bdba760394740814f25cc108c2
dbeaver__dbeaver@ed40132
rest145
2
D1
Signature-aware matching applied only in the navigator; SQL completion and Go-to-object still filter by bare name
Only DBNDatabaseNode (DBNDatabaseNode.java:726-736) passes the overloaded name to DBSObjectFilter.matches. The same per-type object filters are reused by SQLCompletionAnalyzer (SQLCompletionAnalyzer.java:694 `filter.matches(proposal.getObject().getName())`) and GotoObjectDialog (GotoObjectDialog.java:214 `filter.matche...
incomplete-fix
low
[ { "path": "plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/navigator/DBNDatabaseNode.java", "from_line": 726, "to_line": 736, "role": "cause" }, { "path": "plugins/org.jkiss.dbeaver.model.sql/src/org/jkiss/dbeaver/model/sql/completion/SQLCompletionAnalyzer.java", "from_line":...
DBNDatabaseNode.java:729-733 `if (childItem instanceof DBPOverloadedObject overloadedObject) { isMatchingFilter = filter.matches(objectName, overloadedObject.getOverloadedName()); }`; SQLCompletionAnalyzer.java:694 and GotoObjectDialog.java:214 call matches with getName() only; NavigatorUtils.java:444-446 stores `node....
Must say other consumers of the same object filter (SQL completion, Go-to-object) still match only the plain name, so signature filters behave inconsistently between the navigator and those paths. Generic 'add tests' or binary-compat remarks do not count.
false
[]
[]
[ "C5", "N2" ]
null
null
null
dbeaver/dbeaver
ed40132dcb3c6ab5502056b7de0e47c0858ec016
dbeaver__dbeaver@dc67ca7
rest145
2
D1
Re-annotating getName/getSchema/getDescription in HANATable drops the inherited editable/optional/label attributes for every HANA table
plugins/org.jkiss.dbeaver.ext.hana/src/org/jkiss/dbeaver/ext/hana/model/HANATable.java:70-98 overrides getName, getTableType, getSchema and getDescription with fresh @Property annotations that only carry viewable/order/visibleIf. Method annotations are not inherited and DBeaver reads the most-derived annotated method, ...
bug
medium
[ { "path": "plugins/org.jkiss.dbeaver.ext.hana/src/org/jkiss/dbeaver/ext/hana/model/HANATable.java", "from_line": 70, "to_line": 98, "role": "cause" } ]
plugins/org.jkiss.dbeaver.ext.hana/src/org/jkiss/dbeaver/ext/hana/model/HANATable.java:72 `@Property(viewable = true, order = 1, visibleIf = HANANotPartitionedTable.class) public String getName()` vs AbstractTable.java:81 `@Property(viewable = true, editable = true, order = 1)`; plugins/org.jkiss.dbeaver.ext.hana/src/o...
Must say the overriding @Property annotations lose the original attributes (editable name, editable description, optional/labelProvider schema) and thus affect ordinary tables. Comments only about the visibleIf validator's name (R4, C4, C6) do not count.
true
[]
[]
[ "C13", "N13" ]
null
null
null
dbeaver/dbeaver
dc67ca7cf486ceaf45559318cdcbca193847188d
dbeaver__dbeaver@dc67ca7
rest145
2
D2
Partitions are HANATable objects named by PART_ID under the schema, so inherited table operations target a non-existent table SCHEMA."<partId>"
plugins/org.jkiss.dbeaver.ext.hana/src/org/jkiss/dbeaver/ext/hana/model/HANAPartition.java:44,65 makes each partition a HANATable via `super(table.getContainer(), String.valueOf(partId), ...)`: container = schema, name = partition number. The object inherits all table behaviour (data container, DDL, columns, row count,...
bug
low
[ { "path": "plugins/org.jkiss.dbeaver.ext.hana/src/org/jkiss/dbeaver/ext/hana/model/HANAPartition.java", "from_line": 44, "to_line": 65, "role": "cause" }, { "path": "plugins/org.jkiss.dbeaver.ext.hana/plugin.xml", "from_line": 42, "to_line": 45, "role": "symptom" } ]
plugins/org.jkiss.dbeaver.ext.hana/src/org/jkiss/dbeaver/ext/hana/model/HANAPartition.java:44 `public class HANAPartition extends HANATable implements DBSTablePartition`; :65 `super(table.getContainer(), String.valueOf(partId), table.getTableType(), dbResult);`. GenericTableBase builds its fully-qualified name from con...
Must say the partition object is exposed as a table named by its PART_ID so inherited table operations (data/DDL/row count/attributes) run against the wrong/non-existent name. A bare 'should not extend HANATable' remark without the consequence is a near-miss.
true
[]
[]
[ "C16", "C20", "N6", "N13" ]
null
null
null
dbeaver/dbeaver
dc67ca7cf486ceaf45559318cdcbca193847188d
dbeaver__dbeaver@dc67ca7
rest145
2
D3
HANATable exposes getPartitions but does not implement DBSPartitionContainer, so generic path lookup cannot resolve HANA partitions
plugins/org.jkiss.dbeaver.ext.hana/src/org/jkiss/dbeaver/ext/hana/model/HANATable.java:44,137-140 adds getPartitions without implementing DBSPartitionContainer, unlike the other drivers' partitioned tables (MySQLTable, DB2Table, OracleTablePhysical). DBUtils.findObjectByPath (DBUtils.java:610-617) only searches partiti...
contract
low
[ { "path": "plugins/org.jkiss.dbeaver.ext.hana/src/org/jkiss/dbeaver/ext/hana/model/HANATable.java", "from_line": 137, "to_line": 140, "role": "cause" }, { "path": "plugins/org.jkiss.dbeaver.ext.hana/src/org/jkiss/dbeaver/ext/hana/model/HANATable.java", "from_line": 44, "to_line": 44,...
DBUtils.java:610 `if (finalEntity instanceof DBSPartitionContainer partitionContainer) { … partitionContainer.getPartitions(monitor) …}`; HANATable.java:44 `public class HANATable extends GenericTable implements DBPObjectStatistics` (no DBSPartitionContainer).
Must say HANATable should implement DBSPartitionContainer / generic partition lookup cannot find these partitions.
false
[]
[]
[ "C5", "C9", "N1" ]
null
null
null
dbeaver/dbeaver
dc67ca7cf486ceaf45559318cdcbca193847188d
dbeaver__dbeaver@dc67ca7
rest145
2
D4
Multi-level range partitions show only the first populated level's bounds
plugins/org.jkiss.dbeaver.ext.hana/src/org/jkiss/dbeaver/ext/hana/model/HANAPartition.java:70-79 takes LEVEL_1 range min/max and only falls back to level 2/3 when level 1 is empty. For a RANGE-RANGE (multi-level range) table every second-level partition shares the same level-1 bounds, so distinct partitions display ide...
bug
low
[ { "path": "plugins/org.jkiss.dbeaver.ext.hana/src/org/jkiss/dbeaver/ext/hana/model/HANAPartition.java", "from_line": 70, "to_line": 79, "role": "cause" } ]
plugins/org.jkiss.dbeaver.ext.hana/src/org/jkiss/dbeaver/ext/hana/model/HANAPartition.java:70-75 `this.rangeStart = …LEVEL_1_RANGE_MIN_VALUE…; if (CommonUtils.isEmpty(this.rangeStart)) { …LEVEL_2… }`.
Must say that populated lower-level bounds are ignored when level 1 is non-empty (multi-level partitions display incomplete/identical ranges). R7 (claims level 3 overwrites level 2) and R8 (rangeEnd not checked) do not count.
false
[]
[]
[ "C19", "C21" ]
null
null
null
dbeaver/dbeaver
dc67ca7cf486ceaf45559318cdcbca193847188d
dbeaver__dbeaver@8224826
rest145
2
D1
setDefaultCatalog swallows DBCException, so a failed catalog switch is reported as success
DatabricksExecutionContext.setDefaultCatalog (DatabricksExecutionContext.java:59-71) wraps super.setDefaultCatalog in try/catch(DBCException) and only logs at debug level, though it still declares throws DBCException. GenericExecutionContext.setDefaultCatalog throws on SQLException or when the catalog cannot be changed...
contract
low
[ { "path": "plugins/org.jkiss.dbeaver.ext.databricks/src/org/jkiss/dbeaver/ext/databricks/DatabricksExecutionContext.java", "from_line": 65, "to_line": 70, "role": "cause" } ]
DatabricksExecutionContext.java:65-70 `try { super.setDefaultCatalog(monitor, catalog, schema); activeCatalogName = catalog.getName(); } catch (DBCException e) { log.debug("Error setting default catalog for Databricks", e); }`. GenericExecutionContext.setDefaultCatalog: `catch (SQLException e) { throw new DBCException(...
Must say the exception is swallowed / not rethrown so callers or users are not told the catalog change failed. A comment only asking for more logging detail or a different log level does not count.
true
[]
[ "R4" ]
[ "C3", "C4", "C5", "N4", "N5", "N6", "N7" ]
null
null
null
dbeaver/dbeaver
8224826969254a49e68e025cae82d3cf1574de38
filamentphp__filament@d47632c
rest145
2
D1
The new branch uses bare json_extract without json_unquote, so the search matches the JSON-encoded value (quotes/escapes) rather than the field's text
helpers.php:187 builds `json_extract({$field}{$path})`, whereas Laravel's own MySQL JSON selector (used for data->field when search is not forced case-insensitive) is json_unquote(json_extract(...)). json_extract returns a JSON value, so a string field is compared in its serialized form with surrounding double quotes a...
bug
low
[ { "path": "packages/support/src/helpers.php", "from_line": 184, "to_line": 188, "role": "cause" } ]
helpers.php:184-190 `if (in_array($driverName, ['mysql', 'mariadb'], true) && str_contains($column, '->')) { [$field, $path] = invade($databaseConnection->getQueryGrammar())->wrapJsonFieldAndPath($column); $column = "json_extract({$field}{$path})"; } $column = "lower({$column})";`. Laravel MySqlGrammar::wrapJsonSelecto...
Must say json_extract returns the JSON-encoded/quoted value and json_unquote (or equivalent text extraction) is needed so the search compares the actual text. Comments about double-wrapping json_extract columns or SQL injection do not count.
false
[]
[]
[ "C1", "C3", "N2" ]
null
null
null
filamentphp/filament
d47632c0583bac481d4ce7cc9b6b1711d0f8e0fc
filamentphp__filament@77874d0
rest145
2
D1
PostgreSQL exports sorted by a non-unique column lose the primary-key tie-breaker, so offset-chunked export can skip or repeat records
Previously the pgsql branch always ordered by the qualified key first, giving a total order. Now, with a user sort on column X (Filament's applySort adds only X), the query is reordered by X alone and any qualified-key order is rejected and never re-added (PrepareCsvExport.php:71-83). With one non-key order the export ...
data
medium
[ { "path": "packages/actions/src/Exports/Jobs/PrepareCsvExport.php", "from_line": 71, "to_line": 83, "role": "cause" }, { "path": "packages/actions/src/Exports/Jobs/PrepareCsvExport.php", "from_line": 161, "to_line": 175, "role": "symptom" } ]
:72 `->reject(fn (array $order): bool => in_array($order['column'] ?? null, [$qualifiedKeyName]))`; :79 `$query->reorder($originalOrders[0]['column'], $originalOrders[0]['direction']);` with no key order appended afterwards; :168 `$baseQuery->chunk($this->chunkSize, ...)` (offset pagination).
Must say the new ordering has no unique/deterministic tie-breaker (primary key no longer part of the order), so chunked/offset export can duplicate or miss rows. Generic 'sort behaviour changed' remarks do not count.
true
[]
[]
[ "C9", "N9" ]
null
null
null
filamentphp/filament
77874d0c3782a257101c3fb578144a6950f3dc9c
filamentphp__filament@77874d0
rest145
2
D2
DISTINCT on the key is skipped whenever the first order is not the key, so joined export queries dispatch duplicate records
The `$baseQuery->distinct($qualifiedKeyName)` call is now conditional on the first order being the primary key (PrepareCsvExport.php:153-155). For any export sorted by another column, key-level deduplication is gone; with a one-to-many join in the table query the chunk() path (:161-175) plucks the same key from several...
data
medium
[ { "path": "packages/actions/src/Exports/Jobs/PrepareCsvExport.php", "from_line": 153, "to_line": 155, "role": "cause" }, { "path": "packages/actions/src/Exports/Jobs/PrepareCsvExport.php", "from_line": 168, "to_line": 173, "role": "symptom" } ]
:153 `if (in_array($query->getQuery()->orders[0]['column'] ?? null, [$keyName, $qualifiedKeyName])) { $baseQuery->distinct($qualifiedKeyName); }` replacing the unconditional `$baseQuery->distinct($qualifiedKeyName);`; :171 `Arr::pluck($records->all(), $keyName)` feeds $dispatchRecords with no deduplication.
Must say dropping the DISTINCT (for non-key sorts) lets duplicate IDs/rows through, e.g. with joins. A comment only about the ordering tie-breaker is D1, not this.
true
[]
[]
[ "C3", "C4", "C5", "N5", "N7", "N8", "N10" ]
null
null
null
filamentphp/filament
77874d0c3782a257101c3fb578144a6950f3dc9c
filamentphp__filament@77874d0
rest145
2
D3
`$originalOrders[0]` assumes key 0 with column/direction: export fails when the first order was the rejected qualified key or is a raw order
Collection::reject() and unique() preserve keys, so when the query's first order is the qualified primary key (orders [table.id, X]) the remaining collection is {1: X}; `$originalOrders[0]` at PrepareCsvExport.php:79 hits an undefined key (ErrorException in Laravel) and the export job fails before dispatching anything ...
bug
medium
[ { "path": "packages/actions/src/Exports/Jobs/PrepareCsvExport.php", "from_line": 78, "to_line": 80, "role": "cause" } ]
:71-73 `collect($query->getQuery()->orders)->reject(...)->unique('column')` (key-preserving); :78-80 `if (! empty($originalOrders->all())) { $query->reorder($originalOrders[0]['column'], $originalOrders[0]['direction']); $originalOrders->forget(0); }`; :86 `if (blank($order['column'] ?? null) || blank($order['direction...
Counts if a comment says index 0 may not exist after reject/unique (keys preserved) and suggests first()/shift()/values(), or that the first order may be raw and lack column/direction. A pure style remark about [0] on a Collection counts only if it points at safety (R3 does).
true
[]
[ "R3" ]
[ "C1", "C2", "C7", "C8", "N2", "N3", "N4", "N6", "N7", "N11" ]
null
null
null
filamentphp/filament
77874d0c3782a257101c3fb578144a6950f3dc9c
dotnet__aspnetcore@0ce67cd
rest145
2
D1
GetPort sign-extends the port via (short), returning negative ports above 32767
Both GetPort overrides (SocketAddress.cs:40 and :62) cast the ushort sin_port/sin6_port to short and call IPAddress.NetworkToHostOrder(short), which returns a short; returning it as int sign-extends. Any port >= 32768 - including essentially every Windows client ephemeral port (49152-65535) - comes back negative (50000...
bug
high
[ { "path": "src/Shared/HttpSys/NativeInterop/SocketAddress.cs", "from_line": 40, "to_line": 40, "role": "cause" }, { "path": "src/Shared/HttpSys/NativeInterop/SocketAddress.cs", "from_line": 62, "to_line": 62, "role": "cause" }, { "path": "src/Servers/HttpSys/src/RequestPr...
SocketAddress.cs:40 `return IPAddress.NetworkToHostOrder((short)_sockaddr.sin_port);` in `internal override int GetPort()`; :62 the same for sin6_port. Base: `return (_buffer[2] << 8 & 0xFF00) | (_buffer[3]);`. Request.cs:325 `public int RemotePort => RemoteEndPoint.GetPort();`.
Must say the (short) cast / signed short result makes ports > 32767 negative, or that it must be ushort / masked. Comments only about byte-order correctness of the address do not count.
true
[]
[ "R3" ]
[ "C1", "C2", "C3", "C4", "N1", "N2", "N3", "N4" ]
null
null
null
dotnet/aspnetcore
0ce67cdee87e9fee014ba95c11e8e36b8913041c
dotnet__aspnetcore@2f372e8
rest145
2
D1
The redis-cli monitor container still runs the Docker Hub 'redis' image, so tests still pull from Docker Hub (now on every clean agent)
Only the server container was switched to the mirror (Docker.cs:116). Start() still launches the monitor with `run -i --name {_dockerMonitorContainerName} --link {_dockerContainerName}:redis --rm redis redis-cli ...` (Docker.cs:138), i.e. the unqualified Docker Hub image 'redis'. Before this PR that image had just been...
incomplete-fix
medium
[ { "path": "src/SignalR/server/StackExchangeRedis/test/Docker.cs", "from_line": 138, "to_line": 140, "role": "cause" }, { "path": "src/SignalR/server/StackExchangeRedis/test/Docker.cs", "from_line": 19, "to_line": 19, "role": "other-site" } ]
head Docker.cs:19 `_redisImageName = "dotnetdhmirror-f8bzbjakh8cga6ab.azurecr.io/library/redis:7.4"`; :116 `run --rm -p 6379:6379 --name {_dockerContainerName} -d {_redisImageName}`; :138 `RunProcess(_path, $"run -i --name {_dockerMonitorContainerName} --link {_dockerContainerName}:redis --rm redis redis-cli -h redis -...
Must point out that the monitor container (line 138) still uses the Docker Hub 'redis' image / should use _redisImageName. Comments only about the hard-coded mirror URL (R1) or the container name (R2/R3/R4) do not count.
true
[]
[]
[ "C2", "C4", "C5", "N2", "N3", "N4", "N6" ]
null
null
null
dotnet/aspnetcore
2f372e8ff137aa24114269576fc1912f12ff5402
microsoft__semantic-kernel@a712b62
rest145
2
D1
Agent path drops RetainArgumentTypes, so MCP tools receive stringified arguments
The existing direct invocation configures the MCP tools with `FunctionChoiceBehavior.Auto(options: new() { RetainArgumentTypes = true })` (Program.cs:67) precisely because the tools are MCP-backed. The new agent uses `FunctionChoiceBehavior.Auto()` (Program.cs:82) with the default RetainArgumentTypes=false, so the Open...
bug
medium
[ { "path": "dotnet/samples/Demos/ModelContextProtocolPlugin/Program.cs", "from_line": 82, "to_line": 82, "role": "cause" }, { "path": "dotnet/samples/Demos/ModelContextProtocolPlugin/Program.cs", "from_line": 67, "to_line": 67, "role": "other-site" } ]
Program.cs:67 `FunctionChoiceBehavior = FunctionChoiceBehavior.Auto(options: new() { RetainArgumentTypes = true })`; Program.cs:82 `Arguments = new KernelArguments(new PromptExecutionSettings() { FunctionChoiceBehavior = FunctionChoiceBehavior.Auto() })`; dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatComp...
Must say the agent's FunctionChoiceBehavior lacks RetainArgumentTypes = true (unlike the direct call), so MCP tool arguments are passed as strings. The 'GitGub' typo or README remarks do not count.
false
[]
[]
[ "C2", "C7", "C8", "N1", "N2", "N3", "N4" ]
null
null
null
microsoft/semantic-kernel
a712b62f7804121730a95d34195cad365eb350b7
kestra-io__kestra@0ec45f0
rest145
2
D1
fileEmpty reads the whole internal-storage file into memory (and decodes it to a String) just to decide emptiness
FileEmptyFunction.readAndCheckEmptyFileFromInternalStorage (FileEmptyFunction.java:74-76) does `new String(inputStream.readAllBytes(), StandardCharsets.UTF_8).isBlank()`. Internal-storage URIs are typically task outputs (downloads, query results) that can be very large; readAllBytes allocates the entire file and the UT...
performance
medium
[ { "path": "core/src/main/java/io/kestra/core/runners/pebble/functions/FileEmptyFunction.java", "from_line": 74, "to_line": 76, "role": "cause" } ]
FileEmptyFunction.java:74-75 `try (InputStream inputStream = storageInterface.get(flow.get("tenantId"), flow.get("namespace"), path)) { return new String(inputStream.readAllBytes(), StandardCharsets.UTF_8).isBlank(); }`; FileSizeFunction uses the cheap `storageInterface.getAttributes(...)` instead.
Must say the whole file is materialized in memory (readAllBytes / String decode) for an emptiness check, with a memory/OOM or large-file performance consequence. A comment only about blank-vs-empty semantics does not count.
true
[]
[]
[ "C3", "C11", "C21", "N3", "N4", "N6", "N11" ]
null
null
null
kestra-io/kestra
0ec45f028467c99d8d1efeee6c201210d9433e6d
kestra-io__kestra@0ec45f0
rest145
2
D2
Copy-pasted missing-argument error messages name the wrong function ('read' in fileEmpty, 'fileSize' in fileExists)
When fileEmpty/fileExists is called without a path argument, the PebbleException thrown (FileEmptyFunction.java:40, FileExistsFunction.java:38) uses an ERROR_MESSAGE copied from another function: FileEmptyFunction.java:22 says "The 'read' function expects an argument 'path' that is a path to a namespace file or an inte...
bug
low
[ { "path": "core/src/main/java/io/kestra/core/runners/pebble/functions/FileEmptyFunction.java", "from_line": 22, "to_line": 22, "role": "cause" }, { "path": "core/src/main/java/io/kestra/core/runners/pebble/functions/FileExistsFunction.java", "from_line": 19, "to_line": 19, "role"...
FileEmptyFunction.java:22 `ERROR_MESSAGE = "The 'read' function expects ..."` (verbatim copy of ReadFileFunction.java:23); FileExistsFunction.java:19 `ERROR_MESSAGE = "The 'fileSize' function expects ..."` (copy of FileSizeFunction.java:20).
Either file's wrong function name in the error message counts.
true
[]
[ "R3", "R6" ]
[ "C8", "C10", "C12", "C14", "C15", "C17", "N11" ]
null
null
null
kestra-io/kestra
0ec45f028467c99d8d1efeee6c201210d9433e6d
kestra-io__kestra@0ec45f0
rest145
2
D3
New docs examples use `output.download.uri` instead of `outputs.download.uri`
The three rows the PR adds to ui/src/assets/docs/basic.md:322-324 show `{{ fileSize(output.download.uri) }}`, `{{ fileExists(output.download.uri) }}` and `{{ fileEmpty(output.download.uri) }}`. Task outputs are exposed as `outputs.<taskId>...` (the same page documents `{{ outputs.taskId.outputAttribute }}` at basic.md:...
maintainability
low
[ { "path": "ui/src/assets/docs/basic.md", "from_line": 322, "to_line": 324, "role": "cause" } ]
basic.md:322 `| `fileSize` | `{{ fileSize(output.download.uri) }}` ...`, :323 fileExists, :324 fileEmpty; basic.md:214 `{{ outputs.taskId.outputAttribute }}`. The rows are new in this PR (absent from base basic.md).
Must point out the singular `output` vs `outputs` variable in the new doc examples.
false
[]
[]
[ "C7", "N11" ]
null
null
null
kestra-io/kestra
0ec45f028467c99d8d1efeee6c201210d9433e6d
kestra-io__kestra@3c2a276
rest145
2
D1
Interpreter and beforeCommands are applied twice: CommandsWrapper.run folds them into commands, then Process/Docker prepend them again
CommandsWrapper.run composes `this.commands = Property.of(scriptCommands(interpreter, before, commands))` (CommandsWrapper.java:169-179) but leaves the interpreter and beforeCommands fields set, then passes itself to realTaskRunner.run (line 185). Process.run (Process.java:140) and Docker (Docker.java:431, 783) call Ta...
bug
high
[ { "path": "script/src/main/java/io/kestra/plugin/scripts/exec/scripts/runners/CommandsWrapper.java", "from_line": 169, "to_line": 185, "role": "cause" }, { "path": "core/src/main/java/io/kestra/core/models/tasks/runners/TaskRunner.java", "from_line": 134, "to_line": 141, "role": ...
CommandsWrapper.java:179 `this.commands = Property.of(finalCommands);` with interpreter/beforeCommands untouched, then `realTaskRunner.run(taskRunnerRunContext, this, this.outputFiles)`; TaskRunner.java:139-140 `Stream.of(renderedInterpreter, renderedBeforeCommands, renderedCommands).flatMap(Collection::stream).toList(...
Must say the interpreter/beforeCommands end up in the argv twice (composed in CommandsWrapper.run and re-prepended by TaskRunner.renderCommands), or that leaving those fields set after merging them into commands makes the runner re-add them. A pure 'redundant rendering / performance' remark (R7) is a near-miss and does...
true
[]
[ "R11" ]
[ "C2", "C3", "C6", "C8", "C11", "N1", "N2", "N4" ]
null
null
null
kestra-io/kestra
3c2a2765fcd06d7fe127e362ddc9a706d4073047
kestra-io__kestra@3c2a276
rest145
2
D2
CommandsWrapper.run joins a commands-only argv into one element when no interpreter is set
CommandsWrapper.run always passes the rendered lists through ScriptService.scriptCommands (CommandsWrapper.java:173-178), which copies the interpreter and joins ALL beforeCommands+commands into ONE element with the line separator (ScriptService.java:161-172). With interpreter unset (the Property overload returns an emp...
bug
high
[ { "path": "script/src/main/java/io/kestra/plugin/scripts/exec/scripts/runners/CommandsWrapper.java", "from_line": 169, "to_line": 179, "role": "cause" }, { "path": "core/src/main/java/io/kestra/core/models/tasks/runners/ScriptService.java", "from_line": 161, "to_line": 172, "role...
CommandsWrapper.java:173 `ScriptService.scriptCommands(renderedInterpreter, renderedBeforeCommands, renderedCommands, ...)`; ScriptService.java:162-170 `new ArrayList<>(interpreter); commandsArgs.add(Stream.concat(before, commands).collect(Collectors.joining(targetOS.lineSeparator)))`; ScriptService.java:103 `commands ...
Must identify that with no interpreter, run() joins the whole command list into a single string/argv element, breaking callers that supply a full argv in commands. Distinct from D1 (duplication).
true
[]
[]
[ "C4", "C7", "N4" ]
null
null
null
kestra-io/kestra
3c2a2765fcd06d7fe127e362ddc9a706d4073047
kestra-io__kestra@3c2a276
rest145
2
D3
TaskRunner.renderCommands flat-concatenates interpreter, beforeCommands and commands instead of joining the script like scriptCommands
TaskRunner.renderCommands (TaskRunner.java:134-141) builds argv as interpreter ++ beforeCommands ++ commands as separate elements, whereas the established composition (ScriptService.scriptCommands, used by CommandsWrapper.run) joins beforeCommands and commands into ONE script argument after the interpreter. For a TaskC...
bug
medium
[ { "path": "core/src/main/java/io/kestra/core/models/tasks/runners/TaskRunner.java", "from_line": 134, "to_line": 141, "role": "cause" }, { "path": "core/src/main/java/io/kestra/core/models/tasks/runners/ScriptService.java", "from_line": 161, "to_line": 172, "role": "other-site" ...
TaskRunner.java:139 flatMap concat vs ScriptService.java:163-170 joining before+commands into one element.
Must point out that renderCommands concatenates the lists as separate argv entries instead of composing them like ScriptService.scriptCommands (wrong argv for direct-runner inputs with beforeCommands/multiple commands). A comment only about duplication counts for D1.
true
[]
[ "R5" ]
[ "C9", "C12", "N1", "N3", "N4" ]
null
null
null
kestra-io/kestra
3c2a2765fcd06d7fe127e362ddc9a706d4073047
kestra-io__kestra@3c2a276
rest145
2
D4
Commands supplied as Property.of(...) are no longer rendered with additionalVars (workingDir, outputDir, ...)
Base CommandsWrapper rendered each command string with `runContext.render(c, additionalVars)` (List overload, ScriptService.java:83-95). The new Property overload (ScriptService.java:97-107) only calls `runContext.render(commands).asList(String.class, additionalVars)`, and Property.asList returns the stored value untou...
compat
medium
[ { "path": "core/src/main/java/io/kestra/core/models/tasks/runners/ScriptService.java", "from_line": 97, "to_line": 107, "role": "cause" }, { "path": "script/src/main/java/io/kestra/plugin/scripts/exec/scripts/runners/CommandsWrapper.java", "from_line": 268, "to_line": 276, "role"...
ScriptService.java:103-105 `runContext.render(commands).asList(String.class, additionalVars).stream().map(... replaceInternalStorage(runContext, c, ...))` with no per-item render; Property.java:91-92 `p.value = value`; Property.java:143 `if (property.value == null) { ... }`; TestsUtils.java:248-249 propertyFromList bui...
Must say Property.of-built (pre-valued) commands skip rendering / the new overload does not render each command with additionalVars like the List overload did.
true
[]
[ "R1" ]
[]
null
null
null
kestra-io/kestra
3c2a2765fcd06d7fe127e362ddc9a706d4073047
kestra-io__kestra@3c2a276
rest145
2
D5
Rendering the serialized JSON list breaks commands whose interpolated values contain quotes or newlines
For expression-backed command Properties (the form produced when a flow's YAML list is deserialized, and by propertyFromList), Property.asList renders the whole JSON text of the list and only then parses it (Property.java:154 `MAPPER.readValue(runContext.render(property.expression, variables), List.class)`). The old Li...
bug
medium
[ { "path": "core/src/main/java/io/kestra/core/models/tasks/runners/ScriptService.java", "from_line": 103, "to_line": 105, "role": "cause" }, { "path": "script/src/main/java/io/kestra/plugin/scripts/exec/scripts/runners/CommandsWrapper.java", "from_line": 169, "to_line": 171, "role...
Property.java:154-155 renders the serialized expression then `MAPPER.readValue(..., List.class)`, catching JsonProcessingException into IllegalVariableEvaluationException (163-164); base ScriptService List overload `.map(c -> runContext.render(c, additionalVars))` rendered each already-parsed element.
Must say interpolated values are rendered inside the serialized list text, so quotes/newlines in a value produce invalid JSON / evaluation failure. Distinct from D4 (no rendering at all for Property.of).
false
[]
[]
[ "C1", "N6", "N7" ]
null
null
null
kestra-io/kestra
3c2a2765fcd06d7fe127e362ddc9a706d4073047
kestra-io__kestra@3c2a276
rest145
2
D6
TaskCommands.getCommands() return type changed and abstract getters added: breaks external TaskRunner/TaskCommands plugins
TaskCommands is the plugin SPI (TaskCommands.java:25-29). Changing getCommands() from List<String> to Property<List<String>> (a different JVM descriptor) and adding abstract getInterpreter()/getBeforeCommands() without defaults breaks source and binary compatibility of every plugin TaskRunner outside this repo that cal...
contract
medium
[ { "path": "core/src/main/java/io/kestra/core/models/tasks/runners/TaskCommands.java", "from_line": 25, "to_line": 29, "role": "cause" }, { "path": "script/src/main/java/io/kestra/plugin/scripts/exec/scripts/runners/CommandsWrapper.java", "from_line": 46, "to_line": 53, "role": "o...
TaskCommands.java head: `Property<List<String>> getInterpreter(); Property<List<String>> getBeforeCommands(); Property<List<String>> getCommands();` (base: `List<String> getCommands();`). The in-repo TaskRunnerTest implementation had to be updated with the new methods.
Must flag the breaking SPI/API (source or binary) change for external task runners/plugins. The unused lombok.With import (R3) does not count.
true
[]
[]
[ "C10", "C15" ]
null
null
null
kestra-io/kestra
3c2a2765fcd06d7fe127e362ddc9a706d4073047
kestra-io__kestra@3c2a276
rest145
2
D7
Docker renders the commands twice, the second time unconditionally after the container has started
Docker.configure renders the argv for withCmd (Docker.java:783), and run() calls renderCommands again after startContainerCmd (line 431) just to log it, even when debug logging is off. Each render re-runs internal-storage replacement, which downloads every `kestra://` file to a fresh temp file (ScriptService.saveOnLoca...
resource
low
[ { "path": "script/src/main/java/io/kestra/plugin/scripts/runner/docker/Docker.java", "from_line": 431, "to_line": 439, "role": "cause" }, { "path": "script/src/main/java/io/kestra/plugin/scripts/runner/docker/Docker.java", "from_line": 783, "to_line": 783, "role": "other-site" ...
Docker.java:429 `dockerClient.startContainerCmd(exec.getId()).exec();` :431 `List<String> renderedCommands = this.renderCommands(runContext, taskCommands);` (outside the isDebugEnabled check); :783 `.withCmd(this.renderCommands(runContext, taskCommands))`; ScriptService.saveOnLocalStorage creates a new temp file per ca...
Must say Docker calls renderCommands twice (configure + run) with a concrete cost: repeated internal-storage download / log differing from executed command / throw after container start. A bare 'Process re-renders already rendered commands' (R7) does not count.
false
[]
[ "R12" ]
[ "C5", "C13", "N5", "N8" ]
null
null
null
kestra-io/kestra
3c2a2765fcd06d7fe127e362ddc9a706d4073047
kestra-io__kestra@06e7c6e
rest145
2
D1
Assert parses the raw Property expression as a JSON list, so `conditions` supplied as a template expression fails with a JSON parse error
Assert.run reads `this.conditions.getExpression()` and parses it with Jackson as List<String> (Assert.java:88-89) instead of going through Property rendering. PropertyDeserializer (Property.java:365-376) stores a YAML list as JSON but a scalar as the raw string, so a flow that supplies conditions as an expression resol...
bug
medium
[ { "path": "core/src/main/java/io/kestra/plugin/core/execution/Assert.java", "from_line": 88, "to_line": 90, "role": "cause" }, { "path": "core/src/main/java/io/kestra/core/models/property/Property.java", "from_line": 40, "to_line": 41, "role": "other-site" } ]
Assert.java:88-89 `MAPPER.readValue(this.conditions.getExpression(), LIST_TYPE_REFERENCE)`; Property.java:374-376 `s = p.getValueAsString(); ... return new Property<>(s);` for a non-array scalar.
Must say that parsing getExpression() as JSON bypasses Property rendering so a templated/dynamic list breaks (or that it depends on the property's internal serialized form). Only disliking the public getter without the consequence is a near miss.
true
[]
[]
[ "C13", "C18", "C19", "C21", "N1", "N9", "N11", "N12" ]
null
null
null
kestra-io/kestra
06e7c6e48e22420da5bb0bf3188bc00f73974c9a
kestra-io__kestra@06e7c6e
rest145
2
D2
OutputValues documentation example corrupted: `{{ outputs.output_values.values.taskrun_data }}` replaced with `{{ outputs.output_values.²}}`
The PR accidentally edits the full-flow example in OutputValues' @Plugin annotation (OutputValues.java:54), replacing a valid Pebble expression with `{{ outputs.output_values.²}}`. The published example now references a non-existent output and fails to render/log the advertised taskrun_data value when copied.
maintainability
low
[ { "path": "core/src/main/java/io/kestra/plugin/core/output/OutputValues.java", "from_line": 54, "to_line": 54, "role": "cause" } ]
OutputValues.java:54 `{{ outputs.output_values.²}}` (base: `{{ outputs.output_values.values.taskrun_data }}`).
Any comment flagging the stray `²` / broken expression in the OutputValues example counts.
true
[]
[ "R3" ]
[ "C7", "C9", "C10", "N2", "N5", "N6", "N11" ]
null
null
null
kestra-io/kestra
06e7c6e48e22420da5bb0bf3188bc00f73974c9a
kestra-io__kestra@06e7c6e
rest145
2
D3
Assert's own @Example is malformed: `- id: fail\n" +` leaks into the published YAML
In Assert's @Example code (Assert.java:53) the string is `" - id: fail\\n\" +\n"`, so the rendered example contains the literal text ` - id: fail\n" +`, producing an invalid task id / broken YAML in the published docs example.
maintainability
low
[ { "path": "core/src/main/java/io/kestra/plugin/core/execution/Assert.java", "from_line": 53, "to_line": 53, "role": "cause" } ]
Assert.java:53 `" - id: fail\\n\" +\n" +`.
Counts if the reviewer notes the escaped/garbled `- id: fail` line in Assert's example.
true
[]
[]
[ "C3", "C8", "C12", "N7", "N8", "N10", "N11" ]
null
null
null
kestra-io/kestra
06e7c6e48e22420da5bb0bf3188bc00f73974c9a
kestra-io__kestra@06e7c6e
rest145
2
D4
Assertion-failure log passes the rendered value without a placeholder, so it is silently dropped
Assert.java:95 logs `"Assertion `{}` failed!"` with two arguments (s, renderer). SLF4J fills only the one placeholder, so the rendered value that made the assertion fail never appears in the log, defeating the evident intent of passing it.
bug
low
[ { "path": "core/src/main/java/io/kestra/plugin/core/execution/Assert.java", "from_line": 95, "to_line": 95, "role": "cause" } ]
Assert.java:95 `runContext.logger().error("Assertion `{}` failed!", s, renderer);`
Must note the extra `renderer` argument has no `{}` placeholder (value not logged).
false
[]
[]
[ "C14", "N11" ]
null
null
null
kestra-io/kestra
06e7c6e48e22420da5bb0bf3188bc00f73974c9a
juspay__hyperswitch@5e0fa17
rest145
2
D1
Renaming the public request field ctp_service_details.encypted_payload to encrypted_payload without a serde alias silently drops the payload for existing clients (and renames the key sent to the UAS service)
api_models::payments::CtpServiceDetails (crates/api_models/src/payments.rs:1169-1183) is deserialized from the payments request field `ctp_service_details` (:1157), has no deny_unknown_fields and no `#[serde(alias = "encypted_payload")]`. Clients integrated against the previously published key `encypted_payload` now ha...
contract
medium
[ { "path": "crates/api_models/src/payments.rs", "from_line": 1182, "to_line": 1182, "role": "cause" }, { "path": "crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs", "from_line": 24, "to_line": 24, "role": "cause" }, { "path": "cra...
payments.rs:1169 `#[derive(Clone, Debug, PartialEq, serde::Serialize, serde::Deserialize, ToSchema)] pub struct CtpServiceDetails {` ... :1182 `pub encrypted_payload: Option<Secret<String>>,` (base `encypted_payload`), no serde rename/alias and no deny_unknown_fields on this struct; payments.rs:1157 `pub ctp_service_de...
Must say renaming encypted_payload breaks the request/serialization contract (old key silently ignored or outbound key changed; needs a serde alias/rename). A comment only approving the typo fix does not count.
true
[]
[]
[ "C4", "C7", "C8", "C5", "C6", "N1", "N2", "N3", "N4" ]
null
null
null
juspay/hyperswitch
5e0fa17a5e9e977daa4b896e1dfc2de61f526113
juspay__hyperswitch@0231de6
rest145
2
D1
Checkout Google Pay pre-decrypt hardcodes ECI "06" and discards the decrypted token's eci_indicator
In the GooglePayDecrypt arm the request always sends `eci: Some("06".to_string())` (crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:369), although GPayPredecryptData carries the network-provided `eci_indicator: Option<String>` (crates/common_types/src/payments.rs:457-459), and the Apple Pay pre-de...
bug
medium
[ { "path": "crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs", "from_line": 369, "to_line": 369, "role": "cause" }, { "path": "crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs", "from_line": 405, "to_line": 405, "role": "other-site" } ]
transformers.rs:369 `eci: Some("06".to_string()),`; common_types/src/payments.rs:457-459 `/// Electronic Commerce Indicator ... pub eci_indicator: Option<String>,` on GPayPredecryptData; transformers.rs:405 Apple Pay uses `eci: decrypt_data.payment_data.eci_indicator`.
Must point at the hardcoded ECI '06' and say the decrypted eci_indicator should be forwarded (or that 06 is wrong for some tokens/networks). Comments on expiry validation, CardNumber typing or PAN_ONLY do not count.
true
[]
[]
[ "C2", "C6", "C13", "N1", "N2", "N3", "N4" ]
null
null
null
juspay/hyperswitch
0231de6ae6795ef7fa85e5ab87b6fe46a4955333