repo
string
pull_number
string
instance_id
string
issue_numbers
list
base_commit
string
patch
string
test_patch
string
problem_statement
string
hints_text
string
all_hints_text
string
commit_urls
list
created_at
string
commit_url
string
rebuild_cmds
list
test_cmds
list
print_cmds
list
log_parser
string
FAIL_TO_PASS
list
PASS_TO_PASS
list
docker_image
string
samtools/samtools
2235
samtools__samtools-2235
[ "1563" ]
abaa1583614a12cb446e8927b92723fdfde2025c
diff --git a/coverage.c b/coverage.c index 92f497dc8..7fcb34f7e 100644 --- a/coverage.c +++ b/coverage.c @@ -1,7 +1,7 @@ /* coverage.c -- samtools coverage subcommand Copyright (C) 2018,2019 Florian Breitwieser - Portions copyright (C) 2019-2021, 2023-2024 Genome Research Ltd. + Portions copyright (C) 201...
diff --git a/test/coverage/1.expected b/test/coverage/1.expected new file mode 100644 index 000000000..35cd07c2a --- /dev/null +++ b/test/coverage/1.expected @@ -0,0 +1,3 @@ +#rname startpos endpos numreads covbases coverage meandepth meanbaseq meanmapq +T1 1 40 6 19 47.5 0.725 7.62 36.7 +T2 1 40 6 8 20 0.4 7.12 49 dif...
Minimum depth threshold for "samtools coverage"? #### Is your feature request related to a problem? Please specify. I'd like a simple way to calculate the coverage stats for a bam file. The closest out-of-the-box thing I can find is `samtools coverage`. I run the command like so: ``` samtools coverage input.bam ...
Looks like a good idea, we'll consider it. Hi Did you implement it in Samtools? It doesn't look it, but this line is the thing you could manually tweak in a local copy: https://github.com/samtools/samtools/blob/develop/coverage.c#L603 If changed to `>=10` for example it'd need a minimum of 10 deep. However loo...
Looks like a good idea, we'll consider it. Hi Did you implement it in Samtools? It doesn't look it, but this line is the thing you could manually tweak in a local copy: https://github.com/samtools/samtools/blob/develop/coverage.c#L603 If changed to `>=10` for example it'd need a minimum of 10 deep. However loo...
[ "https://github.com/samtools/samtools/commit/3a769cfa9a71df943b00068566a171269e2789d3", "https://github.com/samtools/samtools/commit/6a807af098c28ef534b684aaa2b305e5776145d2" ]
2025-07-10T19:03:03Z
https://github.com/samtools/samtools/tree/abaa1583614a12cb446e8927b92723fdfde2025c
[ "autoheader && autoconf -Wno-syntax ; ./configure --with-htslib=htslib ; make" ]
[ "make test V=1 2>&1 | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results = {} # Match lines like: test_name: <command> .. ok / .. failed test_re = re.compile(r'^(?P<name>[^\s].*?):\s*$') status_re = re.compile(r'^\.\. (ok|failed)', re.IGNORECASE) current_test = None for line in log.splitlines(): m...
[ "test_coverage" ]
[ "test_large_positions", "test_merge", "test_collate", "test_reference", "test_split", "test_quickcheck", "test_markdup", "test_bedcov", "test_reheader", "test_addrprg", "test_sort", "test_dict", "test_head", "test_fixmate", "test_stats", "test_idxstat", "test_ampliconclip", "test_i...
starryzhang/sweb.eval.x86_64.samtools_1776_samtools-2235
micropython/micropython
17683
micropython__micropython-17683
[ "17657" ]
554f114f181ee942ee3c74e44cef653604abbaef
diff --git a/ports/webassembly/objpyproxy.js b/ports/webassembly/objpyproxy.js index 0eafd0dec53de..64703d78a5589 100644 --- a/ports/webassembly/objpyproxy.js +++ b/ports/webassembly/objpyproxy.js @@ -165,34 +165,35 @@ const py_proxy_handler = { if (prop === "_ref") { return target._ref; ...
diff --git a/tests/ports/webassembly/py_proxy_get.mjs b/tests/ports/webassembly/py_proxy_get.mjs new file mode 100644 index 0000000000000..825de7cabeb78 --- /dev/null +++ b/tests/ports/webassembly/py_proxy_get.mjs @@ -0,0 +1,14 @@ +// Test `<py-obj> get <attr>` on the JavaScript side, which tests PyProxy.get. + +const ...
webassembly: getting JS symbols implicitly also throws errors ### Port, board and/or hardware webassembly ### MicroPython version MicroPython webassembly latest from *npm* ### Reproduction In here we solved the `in` operation check https://github.com/micropython/micropython/pull/17604 but if any libraries tries to...
thanks @dpgeorge , any chance this can make it to npm too?
[ "https://github.com/micropython/micropython/commit/c72a3e528d7909c212596b52de5f9a5fe0161f17" ]
2025-07-15T08:45:08Z
https://github.com/micropython/micropython/tree/554f114f181ee942ee3c74e44cef653604abbaef
[ "make -C mpy-cross ; make -C ports/unix" ]
[ "make -C ports/unix test 2>&1 | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} for line in log.splitlines(): m = re.match(r'(pass|FAIL|skip)\s+(\S+)', line) if m: status_word, test_name = m.groups() status_word = status_word.lower() if status_word == "pass...
[ "micropython/heapalloc_fail_dict.py", "micropython/heapalloc_int_from_bytes.py", "float/float_divmod.py", "extmod/json_load.py", "extmod/re1.py", "float/cmath_dunder.py", "extmod/vfs_userfs.py", "float/builtin_float_minmax.py", "float/lexer.py", "basics/struct1.py", "basics/try_else.py", "micr...
[ "basics/memoryview1.py", "basics/int_big_rshift.py", "io/file_stdio.py", "extmod/re_sub.py", "basics/bytearray_construct_endian.py", "basics/dict_fromkeys.py", "micropython/viper_binop_arith_uint.py", "misc/non_compliant_lexer.py", "basics/int_big_add.py", "io/file_stdio2.py", "basics/class_dict...
starryzhang/sweb.eval.x86_64.micropython_1776_micropython-17683
timescale/timescaledb
8559
timescale__timescaledb-8559
[ "6902" ]
bbbebbfa978465bfdf6d0bac418ee4d269ad4da8
diff --git a/.unreleased/pr_8559 b/.unreleased/pr_8559 new file mode 100644 index 00000000000..79123483309 --- /dev/null +++ b/.unreleased/pr_8559 @@ -0,0 +1,2 @@ +Fixes: #8559 Fix `timestamp out of range` using `end_offset=NULL` on CAgg refresh policy +Thanks: @nofalx for reporting the error when using `end_offset=NUL...
diff --git a/tsl/test/expected/cagg_policy.out b/tsl/test/expected/cagg_policy.out index aaa6d5b8621..d85f7f4a24c 100644 --- a/tsl/test/expected/cagg_policy.out +++ b/tsl/test/expected/cagg_policy.out @@ -1400,3 +1400,72 @@ SELECT timescaledb_experimental.add_policies('cagg'); f (1 row) +-- Issue #6902 +-- Fix tim...
[Bug]: Continuous aggregates with time_bucket hourly and timezone fail to update ### What type of bug is this? Incorrect result, Unexpected error ### What subsystems and features are affected? Continuous aggregate ### What happened? I have a number of Continuous aggregates that uses hourly buckets ``` time_buck...
Thanks for the script, it reproduces for me. The error is related to the NULL value of the `end_offset`, so probably as a workaround you can set it to something far in the future but not null. @fabriziomello should the end point calculation follow the same logic as `cagg_get_time_min`? Currently the null end point...
Thanks for the script, it reproduces for me. The error is related to the NULL value of the `end_offset`, so probably as a workaround you can set it to something far in the future but not null. @fabriziomello should the end point calculation follow the same logic as `cagg_get_time_min`? Currently the null end point...
[ "https://github.com/timescale/timescaledb/commit/e39f398c62e9d3271ad15179f46aa4985ea54f4a" ]
2025-08-28T23:08:57Z
https://github.com/timescale/timescaledb/tree/bbbebbfa978465bfdf6d0bac418ee4d269ad4da8
[ "cmake --build build --parallel ; make -C build install" ]
[ "PATH=$PATH:/usr/lib/postgresql/17/bin pkill -u postgres postgres || true && rm -rf /tmp/pgdata && chown -R postgres:postgres /testbed/build && su - postgres -c \"PATH=$PATH:/usr/lib/postgresql/17/bin make -C /testbed/build installcheck\" 2>&1 | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results = {} for line in log.splitlines(): m = re.match(r'(ok|not ok)\s+\d+\s+\+?\s*([^\s]+)', line) if m: status_word, test_name = m.groups() status = "pass" if status_word == "ok" else "fail" results[test...
[ "cagg_policy" ]
[ "compression_qualpushdown", "chunk_column_stats", "cagg_deprecated_bucket_ng", "compress_default", "cagg_refresh_using_trigger", "cagg_policy_concurrent", "compression_sorted_merge", "modify_exclusion", "ordered_append-17", "compress_auto_sparse_index", "vector_agg_groupagg", "merge_append_par...
starryzhang/sweb.eval.x86_64.timescale_1776_timescaledb-8559
cilium/tetragon
4069
cilium__tetragon-4069
[ "4056" ]
67530967429bb42b665a7c7e69cdbc200247ccb4
diff --git a/api/v1/README.md b/api/v1/README.md index 6bf750caea6..85596fcf70f 100644 --- a/api/v1/README.md +++ b/api/v1/README.md @@ -919,6 +919,7 @@ found. | ----- | ---- | ----- | ----------- | | namespace | [string](#string) | | Kubernetes namespace of the Pod. | | name | [string](#string) | | Name of the Po...
diff --git a/pkg/process/podinfo_test.go b/pkg/process/podinfo_test.go index 46dba2c18b0..b06ec51faaf 100644 --- a/pkg/process/podinfo_test.go +++ b/pkg/process/podinfo_test.go @@ -57,6 +57,7 @@ func TestK8sWatcher_GetPodInfo(t *testing.T) { Workload: pod.OwnerReferences[0].Name, WorkloadKind: pod.OwnerRefere...
Include pod UID in the log ### Is there an existing issue for this? - [x] I have searched the existing issues ### Is your feature request related to a problem? _No response_ ### Describe the feature you would like Currently the Tetragon log includes IDs like a container ID. In other observability and security tool...
As discussed in Slack, to implement this you can get inspiration from this https://github.com/cilium/tetragon/pull/3527. You wouldn't even need to guard this with a flag in this case as I think it shouldn't grow the event too much.
As discussed in Slack, to implement this you can get inspiration from this https://github.com/cilium/tetragon/pull/3527. You wouldn't even need to guard this with a flag in this case as I think it shouldn't grow the event too much.
[ "https://github.com/cilium/tetragon/commit/3d566e06298cffff24f369932ac92e59f3049878" ]
2025-08-29T05:43:42Z
https://github.com/cilium/tetragon/tree/67530967429bb42b665a7c7e69cdbc200247ccb4
[ "export PATH=/usr/local/go/bin:$PATH ; make vendor ; make tetragon" ]
[ "go test ./... -v 2>&1 | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results = {} pattern = re.compile(r"---\s+(PASS|FAIL|SKIP):\s+([^\s]+)") for line in log.splitlines(): m = pattern.search(line) if m: status_word, test_name = m.groups() status_word = status_word.upper() ...
[ "TestK8sWatcher_GetPodInfo", "TestProcessCache" ]
[ "TestTracepointFieldParsing", "FuzzProtojsonCompatibility/636add9a0930f826", "FuzzProtojsonCompatibility/a5d941eb213bb971", "FuzzProtojsonCompatibility/994473e70f56d980", "TestEqual/Check_if_the_pod_and_podInfo_are_different/Pod_IP_changed", "TestIsMountFS//sys/fs/bpf_empty_directory", "TestBytesMatcher...
starryzhang/sweb.eval.x86_64.cilium_1776_tetragon-4069
quickjs-ng/quickjs
1113
quickjs-ng__quickjs-1113
[ "1112" ]
3d3b58d8815f0eef8122fad142a65f3bd21d273b
diff --git a/quickjs.c b/quickjs.c index 8b9a3b573..01eb10123 100644 --- a/quickjs.c +++ b/quickjs.c @@ -57144,6 +57144,7 @@ void JS_AddIntrinsicTypedArrays(JSContext *ctx) js_typed_array_base_funcs, countof(js_typed_array_base_funcs)); JS_SetConstruc...
diff --git a/tests/test_builtin.js b/tests/test_builtin.js index 3c37f5930..2e86cb4a2 100644 --- a/tests/test_builtin.js +++ b/tests/test_builtin.js @@ -569,6 +569,16 @@ function test_typed_array() assert(a.buffer, b.buffer); assert(a.toString(), "0,0,0,255"); assert(b.toString(), "0,0,255,255"); + + ...
Cannot extend TypedArray This should work: ```js var TypedArray = Object.getPrototypeOf(Uint8Array) var MyClass = class extends TypedArray {} // throws "TypeError: parent class must be constructor" ``` `TypedArray` is not expected to be instantiable (it's abstract) but it should be extendable. Upcoming test262 tests de...
[ "https://github.com/quickjs-ng/quickjs/commit/c5e673abf837fced6d324174d653dae7a8584814" ]
2025-06-24T20:23:51Z
https://github.com/quickjs-ng/quickjs/tree/3d3b58d8815f0eef8122fad142a65f3bd21d273b
[ "git submodule update --init --checkout --depth 1 ; make" ]
[ "./build/run-test262 -vv -m -a -c test262.conf -c test262-fast.conf test262 2>&1 | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} # Match lines that indicate a test was run run_re = re.compile(r'^(test262/\S+)\s+\(\d+\s+ms\)') for line in log.splitlines(): m = run_re.match(line.strip()) if m: testname = m.group(1) ...
[ "test262/test/language/expressions/class/dstr/async-gen-meth-dflt-ary-init-iter-get-err.js", "test262/test/language/statements/continue/S12.7_A8_T1.js", "test262/test/language/statements/async-generator/dstr/ary-ptrn-elem-obj-val-undef.js", "test262/test/language/statements/for-of/dstr/array-rest-nested-array...
[ "test262/test/built-ins/Array/fromAsync/this-constructor-with-unsettable-element-closes-sync-iterator.js", "test262/test/language/statements/for-of/dstr/const-ary-ptrn-elem-obj-val-undef.js", "test262/test/built-ins/Map/prototype/set/append-new-values-return-map.js", "test262/test/language/expressions/class/e...
starryzhang/sweb.eval.x86_64.quickjs-ng_1776_quickjs-1113
fluent/fluent-bit
10563
fluent__fluent-bit-10563
[ "10560" ]
c872957b57b2a8704e3b8cbc7f3994b430f96140
diff --git a/plugins/out_loki/loki.c b/plugins/out_loki/loki.c index 2bdcaba3539..ee7a4313a89 100644 --- a/plugins/out_loki/loki.c +++ b/plugins/out_loki/loki.c @@ -44,10 +44,16 @@ pthread_once_t initialization_guard = PTHREAD_ONCE_INIT; FLB_TLS_DEFINE(struct flb_loki_dynamic_tenant_id_entry, thread_...
diff --git a/tests/runtime/out_loki.c b/tests/runtime/out_loki.c index a440fc0b692..e177b01e675 100644 --- a/tests/runtime/out_loki.c +++ b/tests/runtime/out_loki.c @@ -644,6 +644,52 @@ void flb_test_remove_keys() flb_destroy(ctx); } +void flb_test_remove_keys_workers() +{ + int ret; + int i; + int siz...
Inconsistent `Remove_Keys` behavior when running Loki output with multiple workers / threads ## Bug Report **Describe the bug** Apparently there's some sort of race condition in Loki output, where the keys in `Remove_Keys` are not always removed (sometimes they are partially removed, at random) when running the Loki ...
Wow, that was fast! Thanks!
[ "https://github.com/fluent/fluent-bit/commit/f54cd8193712aed8eb64af38928ed76ef76e619f", "https://github.com/fluent/fluent-bit/commit/882a6f6133c4307c0cff51dfc3bb5a61b681139c" ]
2025-07-09T04:16:04Z
https://github.com/fluent/fluent-bit/tree/c872957b57b2a8704e3b8cbc7f3994b430f96140
[ "cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DFLB_DEV=On -DFLB_TESTS_RUNTIME=On -DFLB_TESTS_INTERNAL=On ; cmake --build build --parallel" ]
[ "ctest --test-dir build --output-on-failure | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} # Match lines like: "Test #19: flb-rt-in_http ...................................***Failed" test_line_re = re.compile(r"Test\s+#\d+:\s+(\S+).*?(Passed|\*\*\*Failed)", re.IGNORECASE) for line in log.splitlines(): ...
[ "flb-rt-out_stackdriver" ]
[ "flb-rt-out_null", "flb-rt-out_stdout", "flb-rt-core_accept_timeout", "flb-rt-custom_calyptia_input_test", "flb-rt-core_chunk_trace", "flb-rt-filter_sysinfo", "flb-rt-out_splunk", "flb-rt-filter_expect", "flb-rt-filter_kubernetes", "flb-rt-out_counter", "flb-rt-in_dummy", "flb-rt-filter_checkl...
starryzhang/sweb.eval.x86_64.fluent_1776_fluent-bit-10563
php/php-src
19478
php__php-src-19478
[ "19476" ]
9c754baa99c795a65f40b94e4183150889895218
diff --git a/NEWS b/NEWS index 77c1e32ff3a82..0180f5b3478a6 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,8 @@ PHP NEWS - Core: . Fixed bug GH-18850 (Repeated inclusion of file with __halt_compiler() triggers "Constant already defined" warning). ...
diff --git a/Zend/tests/pipe_operator_reference_context.phpt b/Zend/tests/pipe_operator_reference_context.phpt new file mode 100644 index 0000000000000..7d7572e2b2e59 --- /dev/null +++ b/Zend/tests/pipe_operator_reference_context.phpt @@ -0,0 +1,26 @@ +--TEST-- +Fix GH-19476: Pipe operator with function returning by re...
pipe operator (`|>`) fails to correctly handle returning by reference ### Description There appears to be a bug in how the new pipe operator (`|>`) handles functions that return by reference. An expression using the pipe operator is not behaving identically to its equivalent standard function call, specifically when a...
[ "https://github.com/php/php-src/commit/784755f5defdcaee7b7265bbf5c2d2c1ec3d2e42" ]
2025-08-14T11:24:49Z
https://github.com/php/php-src/tree/9c754baa99c795a65f40b94e4183150889895218
[ "apt-get install -y pkg-config build-essential autoconf bison re2c libxml2-dev libsqlite3-dev ; ./configure --enable-debug ; make -j$(nproc)" ]
[ "make test 2>&1 | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results = {} # Match lines like: TEST 1/16118 [tests/foo/bar.phpt]PASS description... test_re = re.compile(r"TEST\s+\d+/\d+\s+\[([^\]]+)\](PASS|FAIL|SKIP|WARN)", re.IGNORECASE) for line in log.splitlines(): m = test_re.search(line) if...
[ "Zend/tests/pipe_operator_reference_context.phpt" ]
[ "Zend/tests/dynamic_prop_deprecation_002.phpt", "ext/standard/tests/strings/utf8.phpt", "tests/lang/bug24499.phpt", "ext/reflection/tests/ReflectionParameter_ctor_cast.phpt", "ext/standard/tests/file/bug43522.phpt", "Zend/tests/backtrace/bug_debug_backtrace.phpt", "Zend/tests/in-de-crement/oss-fuzz-6186...
starryzhang/sweb.eval.x86_64.php_1776_php-src-19478
varnishcache/varnish-cache
4370
varnishcache__varnish-cache-4370
[ "4329" ]
c3b45a3140d340b2ed1a529b41253c2eb4ba70ae
diff --git a/bin/varnishd/cache/cache_req_fsm.c b/bin/varnishd/cache/cache_req_fsm.c index 803810210e..a8fa68be92 100644 --- a/bin/varnishd/cache/cache_req_fsm.c +++ b/bin/varnishd/cache/cache_req_fsm.c @@ -1007,6 +1007,7 @@ cnt_recv(struct worker *wrk, struct req *req) /* Attempts to cache req.body may fail */ if ...
diff --git a/bin/varnishtest/tests/f00001.vtc b/bin/varnishtest/tests/f00001.vtc index 2c756c9cd3..2cab540ba4 100644 --- a/bin/varnishtest/tests/f00001.vtc +++ b/bin/varnishtest/tests/f00001.vtc @@ -18,7 +18,7 @@ client c1 { send "0\r\n\r\n" rxresp - expect resp.status == 503 + expect resp.status == 400 } -run ...
Bad chunked encoding should cause 400 error, not 503 ### Expected Behavior Bad chunked encoding should cause a 400 error. ### Current Behavior The [test for VSV16](https://github.com/varnishcache/varnish-cache/blob/7d6cfa384d7296646e73c80e572fbe182274d701/bin/varnishtest/tests/f00016.vtc) shows that malformed chunke...
bugwash agrees.
bugwash agrees.
[ "https://github.com/varnishcache/varnish-cache/commit/dbdf05e0b7ec5cb7d4f7f8e991ebc670e011c257", "https://github.com/varnishcache/varnish-cache/commit/ab3d6d7aad509cd85b106c20ac8f5d22ac476192" ]
2025-07-21T12:26:30Z
https://github.com/varnishcache/varnish-cache/tree/c3b45a3140d340b2ed1a529b41253c2eb4ba70ae
[ "./configure ; make -j$(nproc)" ]
[ "make check VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results = {} for line in log.splitlines(): m = re.match(r'(PASS|FAIL|SKIP):\s+(\S+)', line) if m: status, test = m.groups() status = status.upper() if status == "PASS": results[test] = "pass...
[ "tests/r02722.vtc", "tests/f00001.vtc", "tests/f00016.vtc" ]
[ "vtest2/tests/a00002.vtc", "vtest2/tests/a02016.vtc", "tests/b00073.vtc", "tests/r00502.vtc", "tests/r00722.vtc", "tests/b00092.vtc", "tests/r01847.vtc", "tests/r00425.vtc", "tests/c00062.vtc", "tests/r00445.vtc", "tests/r02035.vtc", "tests/c00063.vtc", "tests/b00049.vtc", "tests/d00033.vt...
starryzhang/sweb.eval.x86_64.varnishcache_1776_varnish-cache-4370
rsyslog/rsyslog
6047
rsyslog__rsyslog-6047
[ "2424" ]
4b3ce60b76362c16f0bece97bafc57fe4aaa3922
diff --git a/grammar/rainerscript.c b/grammar/rainerscript.c index 82638305f4..b435b393f3 100644 --- a/grammar/rainerscript.c +++ b/grammar/rainerscript.c @@ -1994,6 +1994,9 @@ static void ATTR_NONNULL() doFunct_RandomGen(struct cnffunc *__restrict__ const "rainerscript: desired random-number range [0 - %l...
diff --git a/tests/rscript_random_warning.sh b/tests/rscript_random_warning.sh new file mode 100755 index 0000000000..02eeae58d0 --- /dev/null +++ b/tests/rscript_random_warning.sh @@ -0,0 +1,33 @@ +#!/bin/bash +## rscript_random_warning.sh +## Verify that random() warns when max exceeds platform limit +. ${srcdir:=.}/...
rainerscript: random() function does not provide user-visible warning when passed an unsupported value ### Expected behavior 1. Call `random()` function a value larger than what the underlying platform supports 1. A warning is emitted to debug and "normal" output ### Actual behavior 1. Call `random()` functio...
[ "https://github.com/rsyslog/rsyslog/commit/2f62e6e76b961ae755d4103d60c010af42eedd7b" ]
2025-08-28T10:26:55Z
https://github.com/rsyslog/rsyslog/tree/4b3ce60b76362c16f0bece97bafc57fe4aaa3922
[ "autoreconf -fvi ; ./configure --enable-imfile --enable-mysql --enable-usertools --enable-pgsql --enable-libdbi --enable-snmp --enable-elasticsearch --enable-gnutls --enable-mail --enable-imdiag --enable-mmjsonparse --enable-mmaudit --enable-mmanon --enable-mmrm1stspace --enable-mmutf8fix --enable-mmcount --enable-...
[ "./configure --enable-testbench --enable-imdiag --enable-omstdout && make -j$(nproc) && make check -j4 VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results = {} for line in log.splitlines(): m = re.match(r'(PASS|FAIL|SKIP):\s+(\S+)', line) if m: status, name = m.groups() status = status.upper() if status == "PASS": results[name] = "pass...
[ "omfwd-lb-1target-retry-full_buf.sh" ]
[ "rscript_substring.sh", "rscript_set_modify.sh", "imuxsock_logger_err.sh", "func-substring-invld-startpos.sh", "pipe_noreader.sh", "sparse_array_lookup_table-vg.sh", "lookup_table_rscript_reload_without_stub.sh", "key_dereference_on_uninitialized_variable_space.sh", "sndrcv_gzip.sh", "suspend-via-...
starryzhang/sweb.eval.x86_64.rsyslog_1776_rsyslog-6047
aws/s2n-tls
5481
aws__s2n-tls-5481
[ "5477" ]
795f4dc65335b56dfb356d6eaac9429fbae5b75b
diff --git a/tls/s2n_auth_selection.c b/tls/s2n_auth_selection.c index 5678f4ae82a..6971f9495e3 100644 --- a/tls/s2n_auth_selection.c +++ b/tls/s2n_auth_selection.c @@ -207,11 +207,17 @@ int s2n_is_cert_type_valid_for_auth(struct s2n_connection *conn, s2n_pkey_type c int s2n_select_certs_for_server_auth(struct s2n_con...
diff --git a/tests/integrationv2/common.py b/tests/integrationv2/common.py index 5b526a27fbd..26671136e91 100644 --- a/tests/integrationv2/common.py +++ b/tests/integrationv2/common.py @@ -634,6 +634,7 @@ def __str__(self): class Signatures(object): + NONE = Signature("None+None", max_protocol=Protocols.TLS13) ...
s2n-tls server reports signature scheme with RSA kex ### Security issue notifications If you discover a potential security issue in s2n we ask that you notify AWS Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue. #...
[ "https://github.com/aws/s2n-tls/commit/4f5133dc6c56030fd2b9691f75fd5e7f6259df09", "https://github.com/aws/s2n-tls/commit/c18f03252d5ca057699b297d2ef4d9de46a15f80" ]
2025-08-25T16:58:39Z
https://github.com/aws/s2n-tls/tree/795f4dc65335b56dfb356d6eaac9429fbae5b75b
[ "apt-get install -y libssl-dev ; cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release ; cmake --build build --parallel" ]
[ "ctest --test-dir build --verbose 2>&1 | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} # Match lines like: "Test #1: s2n_3des_test .................................... Passed 4.02 sec" pattern = re.compile(r"Test\s+#\d+:\s+(\S+).*?\b(Passed|Failed|Skipped)\b", re.IGNORECASE) for line in log.splitlines...
[ "s2n_signature_algorithms_test", "s2n_handshake_test" ]
[ "s2n_client_signature_algorithms_extension_test", "s2n_tls13_server_cert_test", "s2n_client_session_ticket_extension_test", "s2n_encrypted_extensions_test", "s2n_mem_usage_test", "s2n_rc4_test", "s2n_pkey_signing_test", "s2n_quic_transport_params_extension_test", "s2n_client_hello_request_test", "...
starryzhang/sweb.eval.x86_64.aws_1776_s2n-tls-5481
php/php-src
19316
php__php-src-19316
[ "19304" ]
6600d0e00fc874071b578e41b8cd2c6e0ab82ac2
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 19252c26f862e..e66389bc7ee5b 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -1393,7 +1393,6 @@ static zend_string *resolve_class_name(zend_string *name, zend_class_entry *scop * null byte here, to avoid larger parts of the type being omitted...
diff --git a/Zend/tests/gh19304.phpt b/Zend/tests/gh19304.phpt new file mode 100644 index 0000000000000..c77fc2d6facc2 --- /dev/null +++ b/Zend/tests/gh19304.phpt @@ -0,0 +1,18 @@ +--TEST-- +GH-19304: Incorrect anonymous class type name assertion +--FILE-- +<?php + +$foo = new class { + public self $v; +}; + +try { ...
Assertion failure in `zend_compile.c` found by `php-fuzz-execute` ### Description ### Description The following code: ```php <?php $foo = new class { public self $v; }; $foo->v= 0; ``` Resulted in this output: ``` php-fuzz-execute: /src/php-src/Zend/zend_compile.c:1396: zend_string *resolve_class_name(zend_stri...
[ "https://github.com/php/php-src/commit/11f7790449e312c11494075e6b133f9e39816b8a" ]
2025-07-30T15:45:04Z
https://github.com/php/php-src/tree/6600d0e00fc874071b578e41b8cd2c6e0ab82ac2
[ "./buildconf ; ./configure --enable-debug ; make -j$(nproc)" ]
[ "make test TEST_PHP_ARGS=-q | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results = {} # Match lines like: [path/to/test.phpt]PASS or SKIP or FAIL or WARN pattern = re.compile(r'\[([^\]]+\.phpt)\](PASS|FAIL|SKIP|WARN)', re.IGNORECASE) for line in log.splitlines(): m = pattern.search(line) if m: ...
[ "Zend/tests/gh19304.phpt" ]
[ "Zend/tests/dynamic_prop_deprecation_002.phpt", "ext/standard/tests/strings/utf8.phpt", "tests/lang/bug24499.phpt", "ext/reflection/tests/ReflectionParameter_ctor_cast.phpt", "ext/standard/tests/file/bug43522.phpt", "Zend/tests/backtrace/bug_debug_backtrace.phpt", "Zend/tests/in-de-crement/oss-fuzz-6186...
starryzhang/sweb.eval.x86_64.php_1776_php-src-19316
php/php-src
19154
php__php-src-19154
[ "19153" ]
5f8d648af6ef4e29a3c7f2b2029d08466c12bc6f
diff --git a/NEWS b/NEWS index 03711eb0a4691..fa0a98a01c6d9 100644 --- a/NEWS +++ b/NEWS @@ -62,6 +62,8 @@ PHP NEWS . The socket_set_timeout() alias function has been deprecated. (timwolla) . Passing null to to readdir(), rewinddir(), and clos...
diff --git a/Zend/tests/attributes/Attribute/Attribute_on_abstract.phpt b/Zend/tests/attributes/Attribute/Attribute_on_abstract.phpt new file mode 100644 index 0000000000000..547946c4e1300 --- /dev/null +++ b/Zend/tests/attributes/Attribute/Attribute_on_abstract.phpt @@ -0,0 +1,12 @@ +--TEST-- +#[Attribute] on an abstr...
#[\Attribute] validation should error on trait/interface/enum/abstract class ### Description See https://3v4l.org/99PhY ```php <?php #[Attribute] enum DemoEnum {} #[Attribute] trait DemoTrait {} #[Attribute] abstract class DemoAbstract {} #[Attribute] interface DemoInterface {} #[DemoEnum] #[DemoTrait] #[DemoAbst...
Cross link #15731 which had similar reasoning
Cross link #15731 which had similar reasoning
[ "https://github.com/php/php-src/commit/a4989bf355fd0bac3c5213778fec446623f763b9", "https://github.com/php/php-src/commit/ce3a6597e0418d3e1541d909f98948d3e35ec05e" ]
2025-07-17T00:37:49Z
https://github.com/php/php-src/tree/5f8d648af6ef4e29a3c7f2b2029d08466c12bc6f
[ "make -j$(nproc)" ]
[ "make TEST_PHP_ARGS=-q test 2>&1 | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results = {} # Match lines like: TEST 1/16083 [tests/run-test/extensions-shared.phpt]SKIP ... test_line_re = re.compile(r"TEST\s+\d+/\d+\s+\[([^\]]+)\](PASS|FAIL|SKIP|WARN)", re.IGNORECASE) for line in log.splitlines(): m = test_line_re.searc...
[ "Zend/tests/attributes/Attribute/Attribute_on_interface.phpt", "Zend/tests/attributes/Attribute/Attribute_on_enum.phpt", "Zend/tests/attributes/Attribute/Attribute_on_trait.phpt", "Zend/tests/attributes/Attribute/Attribute_on_abstract.phpt" ]
[ "Zend/tests/dynamic_prop_deprecation_002.phpt", "ext/standard/tests/strings/utf8.phpt", "tests/lang/bug24499.phpt", "ext/reflection/tests/ReflectionParameter_ctor_cast.phpt", "ext/standard/tests/file/bug43522.phpt", "Zend/tests/backtrace/bug_debug_backtrace.phpt", "Zend/tests/in-de-crement/oss-fuzz-6186...
starryzhang/sweb.eval.x86_64.php_1776_php-src-19154
DynamoRIO/dynamorio
7583
DynamoRIO__dynamorio-7583
[ "7582" ]
47d207c62cb24dad1fc1f12b4cc6bf947fcdbcbc
diff --git a/clients/drcachesim/CMakeLists.txt b/clients/drcachesim/CMakeLists.txt index 8a9a0c66f10..c9ef3436871 100644 --- a/clients/drcachesim/CMakeLists.txt +++ b/clients/drcachesim/CMakeLists.txt @@ -1275,6 +1275,15 @@ if (BUILD_TESTS) endif () add_win32_flags(tool.drcacheoff.burst_futex ON) u...
diff --git a/clients/drcachesim/tests/burst_sleep.cpp b/clients/drcachesim/tests/burst_sleep.cpp new file mode 100644 index 00000000000..04fb6f62e25 --- /dev/null +++ b/clients/drcachesim/tests/burst_sleep.cpp @@ -0,0 +1,309 @@ +/* ********************************************************** + * Copyright (c) 2019-2025 G...
Non-alarm signals can accumulate and cause lock problems For #7504 in my memtrace sleep test I have one thread in a sleep loop and another thread in a busy loop where it sends SIGUSR1 to the sleep thread to test EINTR. In some runs I see a rank order violaton: ``` Run 24 <rank order violation dynamo_areas(readwrite)@...
[ "https://github.com/DynamoRIO/dynamorio/commit/244c3e88b2af9d56e7a67032adc3a6b8a278a5f7", "https://github.com/DynamoRIO/dynamorio/commit/747d59af1afa6412f10cfe1a5d8a87d59c8e3b72", "https://github.com/DynamoRIO/dynamorio/commit/e1cd5d972a388b5b1e833f8ca705edf5f5c8bf5c", "https://github.com/DynamoRIO/dynamorio/...
2025-07-29T20:32:59Z
https://github.com/DynamoRIO/dynamorio/tree/47d207c62cb24dad1fc1f12b4cc6bf947fcdbcbc
[ "cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=17 ; cmake --build build --parallel" ]
[ "DISABLE_FORMAT_CHECKS=yes ./suite/runsuite_wrapper.pl automated_ci 64_only 2>&1 | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results = {} # Match lines like: Test #320: name .........***Failed or Passed pattern = re.compile(r"Test\s+#\d+:\s+(\S.*?)\s+(?:\.+\s*)?(?:\*\*\*(Failed|Skipped)|Passed)") for line in log.splitlines(): m = pattern.search(line) if m: ...
[ "code_api|client.annotation-concurrency", "code_api|client.annotation-concurrency.full-decode", "code_api|sample.callstack", "code_api|client.annotation-detection.full-decode", "code_api,satisfy_w_xor_x|tool.drcacheoff.simple", "code_api|client.drsyms-test", "code_api|client.vg-annot-opt.full-decode.tin...
[ "code_api|linux.signal1011", "code_api|security-common.selfmod-big", "code_api|linux.sigaction_nosignals", "code_api|tool.drpt2trace.sideband", "code_api|tool.drcacheoff.legacy-int-offs", "code_api|client.gonative", "code_api|api.detach_state", "code_api|sample.wrap", "code_api|client.annotation-det...
starryzhang/sweb.eval.x86_64.dynamorio_1776_dynamorio-7583
php/php-src
19611
php__php-src-19611
[ "19610" ]
dee0042502c0b9535bb58688be3d1cf2c92a12d2
diff --git a/NEWS b/NEWS index c5a7aba53d2e1..84f7de878cd58 100644 --- a/NEWS +++ b/NEWS @@ -8,6 +8,10 @@ PHP NEWS - Session: . Fix RC violation of session SID constant deprecation attribute. (ilutov) +- Standard: + . Fix GH-19610 (Deprecatio...
diff --git a/ext/standard/tests/http/http_response_header_deprecated_parameter.phpt b/ext/standard/tests/http/http_response_header_deprecated_parameter.phpt new file mode 100644 index 0000000000000..1dd032a30527e --- /dev/null +++ b/ext/standard/tests/http/http_response_header_deprecated_parameter.phpt @@ -0,0 +1,14 @@...
Deprecation warnings in functions taking $http_response_header as argument There seems to be an issue here @Girgias if you have a function taking $http_response_header as argument it warns about every usage.. See https://github.com/composer/composer/actions/runs/17278161064/job/49040109053 for the failures: ``` ...
[ "https://github.com/php/php-src/commit/18f80fb5ced6019979c5d7d391f66a9313702ded" ]
2025-08-27T22:52:09Z
https://github.com/php/php-src/tree/dee0042502c0b9535bb58688be3d1cf2c92a12d2
[ "apt-get install -y pkg-config build-essential autoconf bison re2c libxml2-dev libsqlite3-dev ; ./buildconf ; ./configure --enable-debug ; make -j$(nproc)" ]
[ "make TEST_PHP_ARGS=-q test | tee run-tests.log" ]
[ "cat run-tests.log" ]
def parser(log: str) -> dict[str, str]: import re results = {} # Match lines like: [tests/...phpt]PASS or SKIP or FAIL or WARN pattern = re.compile(r'\[([^\]]+\.phpt)\](PASS|FAIL|SKIP|WARN)', re.IGNORECASE) for line in log.splitlines(): m = pattern.search(line) if m: test...
[ "ext/standard/tests/http/http_response_header_deprecated_parameter.phpt" ]
[ "Zend/tests/dynamic_prop_deprecation_002.phpt", "ext/standard/tests/strings/utf8.phpt", "tests/lang/bug24499.phpt", "ext/reflection/tests/ReflectionParameter_ctor_cast.phpt", "ext/standard/tests/file/bug43522.phpt", "Zend/tests/backtrace/bug_debug_backtrace.phpt", "Zend/tests/in-de-crement/oss-fuzz-6186...
starryzhang/sweb.eval.x86_64.php_1776_php-src-19611
php/php-src
19297
php__php-src-19297
[ "17927" ]
c1b129bd182991515c78835249c1514b480cfbea
diff --git a/NEWS b/NEWS index 61c39295db5bd..190c10fbba893 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,9 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? ????, PHP 8.5.0beta1 +- Reflection: + . Fix...
diff --git a/Zend/tests/lazy_objects/skipLazyInitialization.phpt b/Zend/tests/lazy_objects/skipLazyInitialization.phpt index d4d564d9c6532..4fc47b13db671 100644 --- a/Zend/tests/lazy_objects/skipLazyInitialization.phpt +++ b/Zend/tests/lazy_objects/skipLazyInitialization.phpt @@ -227,7 +227,7 @@ getValue(): NULL setRa...
Reflection: have some indication of property hooks in `_property_string()` ### Description The following code (https://3v4l.org/1fUfI) ```php <?php interface IHookedDemo { public mixed $prop1 { get; } public mixed $prop2 { set; } public mixed $prop3 { get; set; } } abstract class HookedDemo { abstrac...
CC @iluuu1994 I figured before sending a patch it might be worth discussing how things should be shown - I propose something like ``` Property [ public mixed $prop1 { get; } ] Property [ public mixed $prop2 { set; }] Property [ public mixed $prop3 { get; set; } ] Property [ public mixed $prop1 { final get; } ] Proper...
CC @iluuu1994 I figured before sending a patch it might be worth discussing how things should be shown - I propose something like ``` Property [ public mixed $prop1 { get; } ] Property [ public mixed $prop2 { set; }] Property [ public mixed $prop3 { get; set; } ] Property [ public mixed $prop1 { final get; } ] Proper...
[ "https://github.com/php/php-src/commit/99d80180b4afe79f33c849ae1b2620488e839f12", "https://github.com/php/php-src/commit/69b343138a013b969ee1b3763fce448b6de961ab", "https://github.com/php/php-src/commit/d3d37ffe7e81d0fb416fa8c3e08b7b5c05cc71e9" ]
2025-07-30T02:37:39Z
https://github.com/php/php-src/tree/c1b129bd182991515c78835249c1514b480cfbea
[ "./buildconf ; ./configure ; make -j$(nproc)" ]
[ "make TEST_PHP_ARGS=\"-j$(nproc) -v\" test 2>&1 | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} # Match lines like: PASS description [path] or SKIP description [path] or FAIL description [path] pattern = re.compile(r'^(PASS|FAIL|SKIP)\s+.*\[(.+?)\]', re.MULTILINE) for match in pattern.finditer(log): status_w...
[ "ext/phar/tests/bug73035.phpt", "ext/fileinfo/tests/finfo_buffer_basic.phpt", "ext/phar/tests/mounteddir.phpt", "ext/reflection/tests/gh12908.phpt", "ext/phar/tests/cache_list/copyonwrite12.phar.phpt", "ext/opcache/tests/bug70237.phpt", "ext/simplexml/tests/bug72971.phpt", "ext/phar/tests/zip/phar_com...
[ "Zend/tests/dynamic_prop_deprecation_002.phpt", "tests/lang/bug24499.phpt", "Zend/tests/backtrace/bug_debug_backtrace.phpt", "Zend/tests/in-de-crement/oss-fuzz-61865_binop_declared_property_unset_error_handler.phpt", "ext/date/tests/gh10218.phpt", "ext/filter/tests/filter_input_array_001.phpt", "ext/jso...
starryzhang/sweb.eval.x86_64.php_1776_php-src-19297
Mbed-TLS/mbedtls
10361
Mbed-TLS__mbedtls-10361
[ "10308" ]
265e98da4568335522c086a56e0f2070db63c6bc
diff --git a/ChangeLog.d/runtime-version-interface.txt b/ChangeLog.d/runtime-version-interface.txt new file mode 100644 index 000000000000..1cf42665ca99 --- /dev/null +++ b/ChangeLog.d/runtime-version-interface.txt @@ -0,0 +1,9 @@ +API changes + * Change the signature of the runtime version information methods that t...
diff --git a/programs/test/cmake_package/cmake_package.c b/programs/test/cmake_package/cmake_package.c index f7d5230f4610..cd050e97bc18 100644 --- a/programs/test/cmake_package/cmake_package.c +++ b/programs/test/cmake_package/cmake_package.c @@ -18,10 +18,7 @@ * linkage works, but that is all. */ int main() { - ...
Simplify get-version string interface Ever since PolarSSL in 3ac1b2d952ea200e66187c40e58729ebc84d8f11, the interface to get the PolarSSL then Mbed TLS version string has been: ``` /** * Get the version string ("x.y.z"). * * \param string The string that will receive the value. * (Should be at l...
[ "https://github.com/Mbed-TLS/mbedtls/commit/b2ba9fa68b64afeed108dd41f94060edb614f3f2", "https://github.com/Mbed-TLS/mbedtls/commit/783d8adb15a8559c02ef99029775fa0096778b7c", "https://github.com/Mbed-TLS/mbedtls/commit/0e5fe877cc880e19a892c807170edd7af08d0913" ]
2025-08-18T09:48:19Z
https://github.com/Mbed-TLS/mbedtls/tree/265e98da4568335522c086a56e0f2070db63c6bc
[ "pip3 install -r scripts/basic.requirements.txt ; cmake --build build --parallel" ]
[ "make check V=1 | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} for line in log.splitlines(): m = re.match(r'(\S+)\s+\.+\s+(PASS|FAIL|SKIP)', line) if m: name, status = m.groups() status = status.upper() if status == "PASS": ...
[ "test_suite_pkcs1_v15", "test_suite_cipher.misc", "test_suite_block_cipher.psa", "test_suite_pem", "test_suite_psa_crypto_persistent_key", "test_suite_ccm", "test_suite_gcm.aes256_en", "test_suite_poly1305", "test_suite_platform", "test_suite_config.mbedtls_boolean", "test_suite_cipher.camellia"...
[]
starryzhang/sweb.eval.x86_64.mbed-tls_1776_mbedtls-10361
cc65/cc65
2791
cc65__cc65-2791
[ "2789" ]
5fc300b987defe50f087ab2e4293ca90715b161d
diff --git a/src/ca65/pseudo.c b/src/ca65/pseudo.c index 5ce4e8c6e9..88f609e25b 100644 --- a/src/ca65/pseudo.c +++ b/src/ca65/pseudo.c @@ -642,7 +642,7 @@ static void DoCharMap (void) /* Read the index as numerical value */ Index = ConstExpression (); - if (IsByteRange (Index)) { + if (!IsByteRange (I...
diff --git a/test/asm/val/charmap.s b/test/asm/val/charmap.s new file mode 100644 index 0000000000..0a908ef139 --- /dev/null +++ b/test/asm/val/charmap.s @@ -0,0 +1,43 @@ + .setcpu "6502" + + .import _exit + .export _main + + .charmap $41, 0 + .charmap $42, 1 + .charmap $43, 2 +mapped: + .byte "ABC...
ca65: .charmap regression after evaluation changes **Compiler and OS** ca65 V2.19 - Git 5fc300b98 Gentoo Linux **Describe the bug** The `.charmap` directive emits evaluation errors when using `.include "ascii_charmap.inc"`, as well as when trying to use it directly at all. **To Reproduce** Should exit without output,...
fix (and related regression test) coming up :) Thanks for reporting!
fix (and related regression test) coming up :) Thanks for reporting! Oops - my fault. Sorry and thanks for the fix!
[ "https://github.com/cc65/cc65/commit/907d8b26c584b8a46af0adc5b46d98562d10d347", "https://github.com/cc65/cc65/commit/c13f7dbdadb4cb52e7c29a939f6af567486f2bc2" ]
2025-07-11T16:46:24Z
https://github.com/cc65/cc65/tree/5fc300b987defe50f087ab2e4293ca90715b161d
[ "apt-get update && apt-get install -y linuxdoc-tools-info gcc-mingw-w64-x86-64 ; make -j2 bin QUIET=1 ; make -j2 util QUIET=1 ; make -j2 lib QUIET=1" ]
[ "make -j2 test QUIET=0 2>&1 | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results = {} for line in log.splitlines(): m = re.search(r'^(?:asm|misc|val|todo)/[^\s]+', line) if m: test_name = m.group(0) if 'FIXME' in line or 'Error:' in line: results[test_name] = 'fail' ...
[ "val/lib_common_strrchr.Osir.6502.prg", "val/postinc-8-16.Os.65c02.prg", "val/bug895.O.65c02.prg", "val/pr1461.Oir.65c02.prg", "val/nullptr.Oi.65c02.prg", "val/bug2461.Osir.6502.prg", "val/cq715.Osir.6502.prg", "val/bug1374.Osr.6502.prg", "val/bug975.Osr.6502.prg", "val/cq714.Osr.6502.prg", "val...
[ "asm/106-hibytes.bin", "asm/103-dbyt.bin", "asm/6502-cpudetect.bin", "asm/m740-opcodes.bin", "asm/138-errormsg.bin", "asm/107-lobytes.bin", "asm/070-include-repeat.bin", "asm/020-asciiz.bin", "asm/050-case-off-4.bin", "asm/034-assert-lderror7.bin", "asm/101-byt.bin", "asm/141-errormsg.bin", ...
starryzhang/sweb.eval.x86_64.cc65_1776_cc65-2791
redis/redis
14274
redis__redis-14274
[ "14267" ]
eac48279ad21b8612038953fefa0dcf926773efc
diff --git a/src/replication.c b/src/replication.c index 486d94a5dc1..767b3473d2b 100644 --- a/src/replication.c +++ b/src/replication.c @@ -1949,7 +1949,17 @@ static void rdbLoadEmptyDbFunc(void) { serverLog(LL_NOTICE, "MASTER <-> REPLICA sync: Flushing old data"); int empty_db_flags = server.repl_slave_lazy...
diff --git a/tests/unit/memefficiency.tcl b/tests/unit/memefficiency.tcl index 68c44c6b484..062bff09233 100644 --- a/tests/unit/memefficiency.tcl +++ b/tests/unit/memefficiency.tcl @@ -67,6 +67,14 @@ run_solo {defrag} { } } + proc discard_replies_every {rd count frequency discard_num} { + if {...
[CRASH] Redis 8.0.2 slave keep crashing when it startup. Notice! - If a Redis module was involved, please open an issue in the module's repo instead! - If you're using docker on Apple M1, please make sure the image you're using was compiled for ARM! **Crash report** Paste the complete crash log between the quotes be...
@onghongyao thx, can you backup this RDB file of the replica. it seems that this RDB was corrupted, please try to delete this RDB file(after backup) and restart it again. if it no longer crashes, then it's possible that the RDB was corrupted. It shouldn't be RDB file corrupted. Based on chatgpt suggestion, I try to ch...
@onghongyao thx, can you backup this RDB file of the replica. it seems that this RDB was corrupted, please try to delete this RDB file(after backup) and restart it again. if it no longer crashes, then it's possible that the RDB was corrupted. It shouldn't be RDB file corrupted. Based on chatgpt suggestion, I try to ch...
[ "https://github.com/redis/redis/commit/c9c093c1b637c8341015dc5a11ecd5b460aadf2e", "https://github.com/redis/redis/commit/7185f4385e4403bcee17047408ea9e58c7a91fb0", "https://github.com/redis/redis/commit/f35db2661ae140d4c670f6dfa2e33ed785c99687", "https://github.com/redis/redis/commit/41d094c8da770986cfd90e77c...
2025-08-13T15:59:44Z
https://github.com/redis/redis/tree/eac48279ad21b8612038953fefa0dcf926773efc
[ "apt-get install -y tcl8.6 tclx ; make REDIS_CFLAGS='-Werror'" ]
[ "./runtest --accurate --verbose --dump-logs 2>&1 | tee test-output.log && CFLAGS='-Werror' ./runtest-moduleapi --verbose --dump-logs 2>&1 | tee -a test-output.log && ./runtest-sentinel 2>&1 | tee -a test-output.log && ./runtest-cluster 2>&1 | tee -a test-output.log && ./src/redis-server test all --accurate 2>&1 | t...
[ "cat test-output.log" ]
import re def _normalize_redis_test_id(test: str) -> str: test = re.sub(r"\s*\(\d+(?:\.\d+)?\s*(?:ms|s)\)\s*$", "", test.strip()) # Tcl adds the source file to failures, but not to passing results. return re.sub(r"\s+in tests/\S+\.tcl(?::\d+)?$", "", test) def parser(log: str) -> dict[str, str]: """Re...
[ "Active defrag can't be triggered during replicaof database flush. See issue #14267" ]
[ "'x' should be '4' for EVALSHA being replicated by effects", "5 keys in, 5 keys out", "A field with TTL overridden with another value (TTL discarded) (hashtable)", "A field with TTL overridden with another value (TTL discarded) (listpackex)", "ACL #5998 regression: memory leaks adding / removing subcommands...
starryzhang/sweb.eval.x86_64.redis_1776_redis-14274
valkey-io/valkey
2370
valkey-io__valkey-2370
[ "2363" ]
663dac97a15449265c56c51f790b746317ea6e03
diff --git a/src/cluster_legacy.c b/src/cluster_legacy.c index ed2c4c3596..2fee695460 100644 --- a/src/cluster_legacy.c +++ b/src/cluster_legacy.c @@ -72,7 +72,7 @@ int clusterNodeAddReplica(clusterNode *primary, clusterNode *replica); int clusterAddSlot(clusterNode *n, int slot); int clusterDelSlot(int slot); int c...
diff --git a/tests/support/cluster_util.tcl b/tests/support/cluster_util.tcl index 960259e4fd..d69a195409 100644 --- a/tests/support/cluster_util.tcl +++ b/tests/support/cluster_util.tcl @@ -433,3 +433,21 @@ proc check_cluster_node_mark {flag ref_node_index instance_id_to_check} { proc get_slot_field {slot_output shar...
[test-failure] Slot-migration related ``` *** Migration source is auto-updated after failover in source shard in tests/unit/cluster/slot-migration.tcl *** Replica redirects key access in migrating slots in tests/unit/cluster/slot-migration.tcl *** Replica of migrating node returns ASK redirect after READONLY in tests/u...
@enjoy-binbin can you please take a look? oh, i did not realize it affect the slot migration, i will take a look when i have time (maybe this weekend) I think its a timing issue on `test-ubuntu-lttng` and `test-ubuntu-jemalloc-fortify` Seems like increasing the wait just enough solved for `fortify` however now for `l...
@enjoy-binbin can you please take a look? oh, i did not realize it affect the slot migration, i will take a look when i have time (maybe this weekend) I think its a timing issue on `test-ubuntu-lttng` and `test-ubuntu-jemalloc-fortify` Seems like increasing the wait just enough solved for `fortify` however now for `l...
[ "https://github.com/valkey-io/valkey/commit/55797c503b2dec7e72a13a12e424c147cfc7b2e1", "https://github.com/valkey-io/valkey/commit/fa2468d9e1072216b8740a0c4d00de95c712ae5e", "https://github.com/valkey-io/valkey/commit/abb328cb018980a125a0501d9dc44a528bc3ee47", "https://github.com/valkey-io/valkey/commit/e5137...
2025-07-21T12:37:47Z
https://github.com/valkey-io/valkey/tree/663dac97a15449265c56c51f790b746317ea6e03
[ "apt-get install -y tcl8.6 tclx ; make -j$(nproc) all-with-unit-tests" ]
[ "./runtest --verbose --dump-logs | tee test-output.log && ./runtest-moduleapi --verbose --dump-logs | tee -a test-output.log && ./runtest-sentinel --verbose --dump-logs | tee -a test-output.log && ./runtest-cluster --verbose --dump-logs | tee -a test-output.log && ./src/valkey-unit-tests --accurate | tee -a test-ou...
[ "cat test-output.log" ]
import re def _normalize_redis_test_id(test: str) -> str: test = re.sub(r"\s*\(\d+(?:\.\d+)?\s*(?:ms|s)\)\s*$", "", test.strip()) # Tcl adds the source file to failures, but not to passing results. return re.sub(r"\s+in tests/\S+\.tcl(?::\d+)?$", "", test) def parser(log: str) -> dict[str, str]: """Re...
[ "The role change and the slot ownership change should be an atomic operation" ]
[ "'x' should be '4' for EVALSHA being replicated by effects", "5 keys in, 5 keys out", "ACL #5998 regression: memory leaks adding / removing subcommands", "ACL CAT category - list all commands/subcommands that belong to category", "ACL CAT with illegal arguments", "ACL CAT without category - list all categ...
starryzhang/sweb.eval.x86_64.valkey-io_1776_valkey-2370
php/php-src
19215
php__php-src-19215
[ "15258" ]
702d18de99875a67d694058d4b345a3606f08632
diff --git a/NEWS b/NEWS index fa8db03972bdb..03711eb0a4691 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,8 @@ PHP NEWS been deprecated. (Girgias) . The $exclude_disabled parameter of the get_defined_functions() function has been deprecated, ...
diff --git a/ext/opcache/tests/issue0057.phpt b/ext/opcache/tests/issue0057.phpt index 20c2f2a10558a..ac73859b0d36e 100644 --- a/ext/opcache/tests/issue0057.phpt +++ b/ext/opcache/tests/issue0057.phpt @@ -15,9 +15,9 @@ class ZException extends Exception { function dummy($query) { try { switch ($query) { ...
Deprecate semicolons after case in switch statement ### Description Hello everyone :wave: Did you know that... > It's possible to use a semicolon instead of a colon after a case like: ```php <?php switch($beer) { case 'tuborg'; case 'carlsberg'; case 'heineken'; echo 'Good choice';...
This syntax can be used when using plain PHP templates, e.g. https://3v4l.org/7mKS8. While I would not recommend to use switch statements in such templates, some code might still rely on that, so I think dropping support for semicolons after case requires an RFC. There has not been any recent activity in this featu...
This syntax can be used when using plain PHP templates, e.g. https://3v4l.org/7mKS8. While I would not recommend to use switch statements in such templates, some code might still rely on that, so I think dropping support for semicolons after case requires an RFC. There has not been any recent activity in this featu...
[ "https://github.com/php/php-src/commit/27d889651c976a169f8ae752bf96e46946c6f8fe", "https://github.com/php/php-src/commit/21e7bd1bc02c23642af6bda379c6278fc92e12dd", "https://github.com/php/php-src/commit/dd5276a1f2410b8d4875530a7b67b59be9399d97", "https://github.com/php/php-src/commit/d19d10e6b00b83dfb9e236b7d...
2025-07-22T16:54:33Z
https://github.com/php/php-src/tree/702d18de99875a67d694058d4b345a3606f08632
[ "./buildconf ; ./configure ; make -j$(nproc)" ]
[ "sapi/cli/php run-tests.php -j4 -v tests > test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} # Match lines like: PASS description [path/to/test.phpt] pattern = re.compile(r'^(PASS|FAIL|SKIP|XFAIL|XPASS)\s+.*\[(.+?\.phpt)\]', re.MULTILINE) for match in pattern.finditer(log): status_raw, test_name = match.g...
[ "tests/lang/033.phpt" ]
[ "tests/run-test/test001.phpt", "tests/lang/foreachLoopIteratorAggregate.001.phpt", "tests/lang/passByReference_002.phpt", "tests/classes/autoload_009.phpt", "tests/classes/iterators_006.phpt", "tests/lang/bug24499.phpt", "tests/lang/005.phpt", "tests/classes/array_access_006.phpt", "tests/output/ob_...
starryzhang/sweb.eval.x86_64.php_1776_php-src-19215
redis/redis
14243
redis__redis-14243
[ "14208" ]
c55e33a99fa2efd5a9583964c45425ef0855182b
diff --git a/src/module.c b/src/module.c index 216030809aa..e1f40555dd4 100644 --- a/src/module.c +++ b/src/module.c @@ -14176,6 +14176,7 @@ int *RM_GetCommandKeysWithFlags(RedisModuleCtx *ctx, RedisModuleString **argv, i (*out_flags)[i] = moduleConvertKeySpecsFlags(result.keys[i].flags, 0); } + ...
diff --git a/tests/unit/moduleapi/getkeys.tcl b/tests/unit/moduleapi/getkeys.tcl --- a/tests/unit/moduleapi/getkeys.tcl +++ b/tests/unit/moduleapi/getkeys.tcl @@ -58,6 +58,29 @@ set _ $e } {*EINVAL*} + test "introspect with > MAX_KEYS_BUFFER keys triggers RM_GetCommandKeysWithFlags heap alloc" { + ...
[BUG] module.c RM_GetCommandKeysWithFlags should free keysResult **Describe the bug** redis module RM_GetCommandKeysWithFlags should always free keys result
do you mean there is a memory leak? yes, When the keys returned by cmd exceed the MAX_KEYS_BUFFER, getKeysResult.keys will be call zmalloc, but there will be not call free @brevin-yoke thx, feel free to make a PR to fix it and also create a test for it. @brevin-yoke It's been two weeks since this issue was created. ...
do you mean there is a memory leak? yes, When the keys returned by cmd exceed the MAX_KEYS_BUFFER, getKeysResult.keys will be call zmalloc, but there will be not call free @brevin-yoke thx, feel free to make a PR to fix it and also create a test for it. @brevin-yoke It's been two weeks since this issue was created. ...
[ "https://github.com/redis/redis/commit/2e3958f1b7abfe715850f71908dc361af79d0643", "https://github.com/redis/redis/commit/bbc4069709ec11825998ff491eadd30e55fb05ae" ]
2025-08-01T03:09:13Z
https://github.com/redis/redis/tree/c55e33a99fa2efd5a9583964c45425ef0855182b
[ "make REDIS_CFLAGS='-Werror' BUILD_TLS=yes" ]
[ "./runtest --accurate --verbose --dump-logs 2>&1 | tee test-output.log && CFLAGS='-Werror' ./runtest-moduleapi --verbose --dump-logs 2>&1 | tee -a test-output.log && ./runtest-sentinel 2>&1 | tee -a test-output.log && ./runtest-cluster 2>&1 | tee -a test-output.log && ./src/redis-server test all --accurate 2>&1 | t...
[ "cat test-output.log" ]
import re def _normalize_redis_test_id(test: str) -> str: test = re.sub(r"\s*\(\d+(?:\.\d+)?\s*(?:ms|s)\)\s*$", "", test.strip()) # Tcl adds the source file to failures, but not to passing results. return re.sub(r"\s+in tests/\S+\.tcl(?::\d+)?$", "", test) def parser(log: str) -> dict[str, str]: """Re...
[ "introspect with > MAX_KEYS_BUFFER keys triggers RM_GetCommandKeysWithFlags heap alloc" ]
[ "'x' should be '4' for EVALSHA being replicated by effects", "5 keys in, 5 keys out", "A field with TTL overridden with another value (TTL discarded) (hashtable)", "A field with TTL overridden with another value (TTL discarded) (listpackex)", "ACL #5998 regression: memory leaks adding / removing subcommands...
starryzhang/sweb.eval.x86_64.redis_1776_redis-14243
capstone-engine/capstone
2743
capstone-engine__capstone-2743
[ "2741" ]
56db8c2b690eb6372c91f8d76621f43a33c4dbe4
diff --git a/arch/SystemZ/SystemZMapping.c b/arch/SystemZ/SystemZMapping.c index fd90c65d36..a677436afe 100644 --- a/arch/SystemZ/SystemZMapping.c +++ b/arch/SystemZ/SystemZMapping.c @@ -321,6 +321,21 @@ void SystemZ_set_detail_op_reg(MCInst *MI, unsigned op_num, systemz_reg Reg) if (!detail_is_set(MI)) return; ...
diff --git a/tests/issues/issues.yaml b/tests/issues/issues.yaml index 749cdac918..f27bbe34da 100644 --- a/tests/issues/issues.yaml +++ b/tests/issues/issues.yaml @@ -6262,4 +6262,22 @@ test_cases: expected: insns: - - asm_text: "c.srli a4, 5" \ No newline at end of file + asm_tex...
s390x incorrect disassembly `exrl` inst since capstone 6.0.0a4 found during: https://github.com/pwndbg/pwndbg/issues/3088 Capstone6: ``` [nix-shell:/persist/capstone]# ./build/cstool -version cstool for Capstone Disassembler, v6.0.0 Capstone build: x86=1 arm=1 aarch64=1 mips=1 ppc=1 sparc=1 systemz=1 xcore=1 m68k=1 tm...
Possibly related to https://github.com/llvm/llvm-project/issues/44437 This should be `r0` I guess? Turns out they just never implemented it in the disassembler. See https://github.com/capstone-engine/capstone/blob/a25d4980b02d506f25d43c3f83f0c93f0973c722/arch/SystemZ/SystemZDisassembler.c#L82-L84 @patryk4815 Is r0 an ...
Possibly related to https://github.com/llvm/llvm-project/issues/44437 This should be `r0` I guess? Turns out they just never implemented it in the disassembler. See https://github.com/capstone-engine/capstone/blob/a25d4980b02d506f25d43c3f83f0c93f0973c722/arch/SystemZ/SystemZDisassembler.c#L82-L84 @patryk4815 Is r0 an ...
[ "https://github.com/capstone-engine/capstone/commit/04cce2a275309b3f041b80d4750fd986d04c67d0" ]
2025-06-25T08:07:11Z
https://github.com/capstone-engine/capstone/tree/56db8c2b690eb6372c91f8d76621f43a33c4dbe4
[ "cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCAPSTONE_BUILD_CSTEST=ON ; cmake --build build --parallel" ]
[ "ctest --test-dir build --output-on-failure | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} for line in log.splitlines(): m = re.match(r"\s*\d+/\d+\s+Test\s+#?\d+:\s+(\S+)\s+\.+\s+(Passed|Failed|Skipped)", line, re.IGNORECASE) if m: name, status = m.groups() status = status.lower(...
[ "IssueTests" ]
[ "legacy_test_customized_mnem", "legacy_test_skipdata", "unit_sstream", "DetailTests", "legacy_test_iter", "integration_compat_headers", "integration_test_litbase", "unit_utils", "FeaturesTests", "integration_cstest", "MCTests", "unit_cstest" ]
starryzhang/sweb.eval.x86_64.capstone-engine_1776_capstone-2743
valkey-io/valkey
2287
valkey-io__valkey-2287
[ "2106" ]
d37dc527d0b4865cf38ef9939551bd2b5cc16c72
diff --git a/src/acl.c b/src/acl.c index c33b5d1ed7..87a86724cf 100644 --- a/src/acl.c +++ b/src/acl.c @@ -1439,7 +1439,12 @@ int ACLCheckUserCredentials(robj *username, robj *password) { /* If `err` is provided, this is added as an error reply to the client. * Otherwise, the standard Auth error is added as a reply....
diff --git a/tests/unit/multi.tcl b/tests/unit/multi.tcl index 3a279840b7..f54ec5e837 100644 --- a/tests/unit/multi.tcl +++ b/tests/unit/multi.tcl @@ -955,6 +955,12 @@ start_server {tags {"multi"}} { $rd close } + test "AUTH errored inside MULTI will add the reply" { + r config set requirepass...
[BUG] missing response when AUTH is errored inside a transaction When we introduced module based authentication, we provided a way for the module to own the authentication and fail it in case needed. for this we do not write error reply in case the auth identify there are existing replies in the client reply list: ```...
so module auth can add reply in its callback, or not add reply and just return an err robj in its callback? And we have to figure a way to determine whether it has added a reply? > so module auth can add reply in its callback, or not add reply and just return an err robj in its callback? And we have to figure a way to ...
so module auth can add reply in its callback, or not add reply and just return an err robj in its callback? And we have to figure a way to determine whether it has added a reply? > so module auth can add reply in its callback, or not add reply and just return an err robj in its callback? And we have to figure a way to ...
[ "https://github.com/valkey-io/valkey/commit/671e834d348d4f73d338917f2332f7d10df4fa0c", "https://github.com/valkey-io/valkey/commit/5b29c2c3ef80b06467eed59cd45c9dd5237ad7e9" ]
2025-06-30T08:46:07Z
https://github.com/valkey-io/valkey/tree/d37dc527d0b4865cf38ef9939551bd2b5cc16c72
[ "apt-get update && apt-get install -y tcl8.6 tclx ; make -B all-with-unit-tests SERVER_CFLAGS='-Werror'" ]
[ "(./runtest --verbose --dump-logs && ./runtest-moduleapi --verbose --dump-logs && ./runtest-sentinel && ./runtest-cluster && ./src/valkey-unit-tests) 2>&1 | tee test-output.log" ]
[ "cat test-output.log" ]
import re def _normalize_redis_test_id(test: str) -> str: test = re.sub(r"\s*\(\d+(?:\.\d+)?\s*(?:ms|s)\)\s*$", "", test.strip()) # Tcl adds the source file to failures, but not to passing results. return re.sub(r"\s+in tests/\S+\.tcl(?::\d+)?$", "", test) def parser(log: str) -> dict[str, str]: """Re...
[ "AUTH errored inside MULTI will add the reply" ]
[ "'x' should be '4' for EVALSHA being replicated by effects", "5 keys in, 5 keys out", "ACL #5998 regression: memory leaks adding / removing subcommands", "ACL CAT category - list all commands/subcommands that belong to category", "ACL CAT with illegal arguments", "ACL CAT without category - list all categ...
starryzhang/sweb.eval.x86_64.valkey-io_1776_valkey-2287
fluent/fluent-bit
10767
fluent__fluent-bit-10767
[ "10750" ]
d725599d3dd41dda4567549c553b2fc1e081384c
diff --git a/src/opentelemetry/flb_opentelemetry_logs.c b/src/opentelemetry/flb_opentelemetry_logs.c index 8e7fde45aff..2c009f0c8ad 100644 --- a/src/opentelemetry/flb_opentelemetry_logs.c +++ b/src/opentelemetry/flb_opentelemetry_logs.c @@ -293,18 +293,18 @@ static int process_json_payload_log_records_entry( r...
diff --git a/tests/internal/opentelemetry.c b/tests/internal/opentelemetry.c index 5464d3ce1f5..28a70f90b43 100644 --- a/tests/internal/opentelemetry.c +++ b/tests/internal/opentelemetry.c @@ -22,6 +22,8 @@ #include <fluent-bit/flb_pack.h> #include <fluent-bit/flb_sds.h> #include <fluent-bit/flb_mem.h> +#include <fl...
OTEL traceId and spanId sent via HTTP/JSON are doubled in size and malformed ## Bug Report **Describe the bug** TraceId and spanId provided with OpenTelemetry logs are doubled in size and malformed. The first part looks correct, but the second part contains garbage data. **To Reproduce** Let’s use two Fluent Bit inst...
thanks for the report! fixed in v4.0.8: https://fluentbit.io/announcements/v4.0.8/
[ "https://github.com/fluent/fluent-bit/commit/7b64ee5ccba1cdb40a436fa24e916d9886677176", "https://github.com/fluent/fluent-bit/commit/665a6e935a08bcb5ad5b4c5511c192c9ea8ec447" ]
2025-08-21T00:29:16Z
https://github.com/fluent/fluent-bit/tree/d725599d3dd41dda4567549c553b2fc1e081384c
[ "cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DFLB_DEV=On -DFLB_TESTS_RUNTIME=On -DFLB_TESTS_INTERNAL=On ; cmake --build build --parallel" ]
[ "ctest --test-dir build --output-on-failure -V | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} # Match lines like: Test get_config_test... [ OK ] inline_re = re.compile(r"Test\s+([^\.\n]+)\.\.\.\s+\[\s*(OK|FAILED|SKIPPED)\s*\]", re.IGNORECASE) # Match summary lines like: Test #1: flb-rt-cu...
[ "mkdir", "template", "delimiter_ltsv", "flb-rt-out_stackdriver", "path_file", "flb-rt-out_kinesis", "flb-rt-out_firehose", "flb-rt-out_cloudwatch", "path" ]
[ "kube_annotations_parser_stderr_text_stderr", "flb-rt-custom_calyptia_input_test", "set_fleet_input_properties", "kube_annotations_parser_multiple_2_container_1_stdout", "kube_annotations_exclude_multiple_1_container_3_stderr", "in_tail_dockermode_splitted_line", "syslog_tcp_source_address", "flb-rt-o...
starryzhang/sweb.eval.x86_64.fluent_1776_fluent-bit-10767
valkey-io/valkey
2277
valkey-io__valkey-2277
[ "2139" ]
a739531106ec54681b2b31a272b91d4875b436c2
diff --git a/src/cluster_legacy.c b/src/cluster_legacy.c index bb5376283f..c541f8475d 100644 --- a/src/cluster_legacy.c +++ b/src/cluster_legacy.c @@ -1671,48 +1671,91 @@ clusterNode *createClusterNode(char *nodename, int flags) { node->tcp_port = 0; node->cport = 0; node->tls_port = 0; - node->fail_r...
diff --git a/tests/unit/cluster/failure-marking.tcl b/tests/unit/cluster/failure-marking.tcl index 787713b9fa..0ec85e9549 100644 --- a/tests/unit/cluster/failure-marking.tcl +++ b/tests/unit/cluster/failure-marking.tcl @@ -111,6 +111,16 @@ tags {external:skip tls:skip cluster singledb} { } r...
[NEW] Performance bottleneck in clusterNodeCleanupFailureReports under heavy failure load The current implementation of `clusterNodeCleanupFailureReports` walks the entire fail reports in the list on every invocation and performs a listDelNode() for each expired or non‑voting entry. When a cluster node has accumulated ...
Thanks @sungming2 for filing the issue. We had seen this as one of the major bottleneck during the failure of large number of nodes. > Use a priority queue with expiration time, so expired nodes can be removed in O(RlogN) rather than scanned in full. (R is # of actually expired reports) There will be cost associated w...
Thanks @sungming2 for filing the issue. We had seen this as one of the major bottleneck during the failure of large number of nodes. > Use a priority queue with expiration time, so expired nodes can be removed in O(RlogN) rather than scanned in full. (R is # of actually expired reports) There will be cost associated w...
[ "https://github.com/valkey-io/valkey/commit/040b3412b16c1a28c8bce416fcfde6399ad900a2", "https://github.com/valkey-io/valkey/commit/d7f8ca24465c3ec3e47bda5c8e394f9b2175ffe4", "https://github.com/valkey-io/valkey/commit/45a67fa83efe6ae2f025ec981737efbcf894d60a", "https://github.com/valkey-io/valkey/commit/0fa9b...
2025-06-26T09:31:15Z
https://github.com/valkey-io/valkey/tree/a739531106ec54681b2b31a272b91d4875b436c2
[ "apt-get update && apt-get install -y tcl8.6 tclx libssl-dev ; make distclean ; make -j$(nproc) BUILD_TLS=yes BUILD_UNIT_TESTS=yes" ]
[ "./runtest --verbose --tags -slow --dump-logs ; ./runtest-moduleapi --verbose --dump-logs ; ./runtest-sentinel ; ./runtest-cluster 2>&1 | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results = {} for line in log.splitlines(): line = line.strip() # Match [ok]: or [ignore]: patterns m = re.search(r"\[(ok|ignore)\]:\s*(.+?)(?:\s*\(\d+\s*ms\))?$", line, re.IGNORECASE) if m: status_word, name = m.gr...
[ "Restarting node #3", "Wait failover by #8 with old epoch 4", "Instance #5 is now a slave", "Wait for slave of #3 to sync", "Terminating node #5", "Terminating node #3", "Instance #3 is now a slave", "Restarting node #5" ]
[ "Cluster nodes hard reset", "Restarting node #0", "Cluster is writable again", "Verify 50000 keys after the restart", "Wait failover by #9 with old epoch 5", "Instance #4 is now a slave", "Wait failover by #5 with old epoch 1", "Each master should have two replicas attached", "Restarting node #4", ...
starryzhang/sweb.eval.x86_64.valkey-io_1776_valkey-2277
DynamoRIO/dynamorio
7561
DynamoRIO__dynamorio-7561
[ "7560" ]
976263ffce16acccb207a20481761405a951d4fd
diff --git a/clients/drcachesim/CMakeLists.txt b/clients/drcachesim/CMakeLists.txt index cf0fbf9396b..724998839ff 100644 --- a/clients/drcachesim/CMakeLists.txt +++ b/clients/drcachesim/CMakeLists.txt @@ -581,7 +581,8 @@ macro(add_drmemtrace name type static_DR no_main) target_link_libraries(${name} atomic) end...
diff --git a/clients/drcachesim/tests/CMakeLists.txt b/clients/drcachesim/tests/CMakeLists.txt index d68413bb0af..86bf232ba58 100644 --- a/clients/drcachesim/tests/CMakeLists.txt +++ b/clients/drcachesim/tests/CMakeLists.txt @@ -56,3 +56,11 @@ use_DynamoRIO_extension(analyzer_separate droption) # for droption.h use_Dy...
drmemtrace tracer libraries not exported The analyzer libraries are all exported, and we have a test of that. But the drmemtrace{,_static} libraries are not exported. This was hit by a user: https://groups.google.com/g/dynamorio-users/c/kZHTGiIUn8Y/m/rSurDOWeAQAJ Adding to our build-and-test test reproduces: ``` $ ctes...
I had to remove this from DynamoRIOConfig.cmake.in: ``` # Not really an extension, just for including drmemtrace.h # via use_DynamoRIO_extension(target, drmemtrace_static) set(DynamoRIO_EXT_drmemtrace_static_NOLIB ON) ``` Should use_DynamoRIO_drmemtrace_tracer() instead so I think that's no longer needed. I had to als...
I had to remove this from DynamoRIOConfig.cmake.in: ``` # Not really an extension, just for including drmemtrace.h # via use_DynamoRIO_extension(target, drmemtrace_static) set(DynamoRIO_EXT_drmemtrace_static_NOLIB ON) ``` Should use_DynamoRIO_drmemtrace_tracer() instead so I think that's no longer needed. I had to als...
[ "https://github.com/DynamoRIO/dynamorio/commit/755624500d2471e34e24a0cfe758aeadb7f5e3f5", "https://github.com/DynamoRIO/dynamorio/commit/4f4e7e665b98e1d134440a3582d46d09e75d9c50", "https://github.com/DynamoRIO/dynamorio/commit/023f02aa6638b0d6f32f8c10f1466f1d60860616", "https://github.com/DynamoRIO/dynamorio/...
2025-07-22T01:40:04Z
https://github.com/DynamoRIO/dynamorio/tree/976263ffce16acccb207a20481761405a951d4fd
[ "git submodule update --init --recursive ; DYNAMORIO_CROSS_AARCHXX_LINUX_ONLY=no DYNAMORIO_CROSS_ANDROID_ONLY=no DYNAMORIO_A64_ON_X86_ONLY=no ./suite/runsuite_wrapper.pl automated_ci 64_only nontest_only" ]
[ "./suite/runsuite_wrapper.pl automated_ci 64_only 2>&1 | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results = {} # Match lines like: Test #436: code_api|tool.drcacheoff.allasm-dyn-inject-view .................... Passed 34.90 sec test_line_re = re.compile(r"Test\s+#\d+:\s+(\S+)\s+.*?\s+(Passed|Failed|Skipped|\*\*\*Timeout)", re.IGNORECASE) for ...
[ "code_api,satisfy_w_xor_x|tool.drcacheoff.simple", "code_api|tool.drcacheoff.allasm-repstr-basic-counts", "code_api|tool.drpt2trace.sideband", "code_api|tool.drcacheoff.legacy-int-offs", "code_api|api.detach_state", "code_api,thread_private|client.events", "code_api|api.static_startstop", "code_api|to...
[ "code_api|linux.signal1011", "code_api|linux.sigsuspend", "code_api|client.crashmsg", "code_api|security-common.selfmod-big", "tool.drcacheoff.flexible_queue_tests", "code_api|linux.signal1110", "code_api|client.drbbdup-analysis-test", "tool.drcacheoff.record_filter_unit_tests", "code_api|linux.siga...
starryzhang/sweb.eval.x86_64.dynamorio_1776_dynamorio-7561
valkey-io/valkey
2431
valkey-io__valkey-2431
[ "2423" ]
8131c2b07bcff0dd62c79f8495e45563eacadec1
diff --git a/src/cluster_legacy.c b/src/cluster_legacy.c index 9aa001edbc..a24c7d25f3 100644 --- a/src/cluster_legacy.c +++ b/src/cluster_legacy.c @@ -3798,8 +3798,8 @@ int clusterProcessPacket(clusterLink *link) { /* This packet is stale so we avoid processing it anymore. Otherwise ...
diff --git a/tests/unit/cluster/manual-failover.tcl b/tests/unit/cluster/manual-failover.tcl --- a/tests/unit/cluster/manual-failover.tcl +++ b/tests/unit/cluster/manual-failover.tcl @@ -583,3 +583,213 @@ assert_equal [dict get [cluster_get_node_by_id 4 $R4_nodeid] slaveof] $R3_nodeid } } + +start_cluste...
[test-failure] AddressSanitizer test failure in cluster https://github.com/valkey-io/valkey/actions/runs/16720515261/job/47323708440 https://github.com/valkey-io/valkey/actions/runs/16699138137/job/47267407010 Observed a flaky crash during CI runs with the following AddressSanitizer error: ``` [err]: Sanitizer error:...
[ "https://github.com/valkey-io/valkey/commit/19a3ccb650823cecbd3c7d9a85c3c837afd090e4", "https://github.com/valkey-io/valkey/commit/739358fa1c6ab515977e84826470ebec30fafa54", "https://github.com/valkey-io/valkey/commit/c051d2e64da71f21278477fbb8523e24cf3ecc16", "https://github.com/valkey-io/valkey/commit/8d838...
2025-08-05T15:29:19Z
https://github.com/valkey-io/valkey/tree/8131c2b07bcff0dd62c79f8495e45563eacadec1
[ "apt-get update && apt-get install -y tcl8.6 tclx ; make -j$(nproc) all-with-unit-tests" ]
[ "./runtest --verbose --dump-logs | tee test-output.log" ]
[ "cat test-output.log" ]
import re def _normalize_redis_test_id(test: str) -> str: test = re.sub(r"\s*\(\d+(?:\.\d+)?\s*(?:ms|s)\)\s*$", "", test.strip()) # Tcl adds the source file to failures, but not to passing results. return re.sub(r"\s+in tests/\S+\.tcl(?::\d+)?$", "", test) def parser(log: str) -> dict[str, str]: """Re...
[ "Combined the test cases of #2279 and #2301 to test #2431" ]
[ "'x' should be '4' for EVALSHA being replicated by effects", "5 keys in, 5 keys out", "ACL #5998 regression: memory leaks adding / removing subcommands", "ACL CAT category - list all commands/subcommands that belong to category", "ACL CAT with illegal arguments", "ACL CAT without category - list all categ...
starryzhang/sweb.eval.x86_64.valkey-io_1776_valkey-2431
valkey-io/valkey
2458
valkey-io__valkey-2458
[ "2439" ]
bddc9db087a4540d577049871eb1c37b334994e5
diff --git a/src/cluster.c b/src/cluster.c index dd83a33244..33882b0b0a 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -1594,6 +1594,10 @@ void resetClusterStats(void) { if (!server.cluster_enabled) return; clusterSlotStatResetAll(); + + memset(server.cluster->stats_bus_messages_sent, 0, sizeof(server...
diff --git a/tests/unit/cluster/info.tcl b/tests/unit/cluster/info.tcl index 6c8f77b25b..43a2b7498e 100644 --- a/tests/unit/cluster/info.tcl +++ b/tests/unit/cluster/info.tcl @@ -63,6 +63,28 @@ start_cluster 3 0 {tags {external:skip cluster} overrides {cluster-node-timeout resume_process [srv -1 pid] ...
Make CONFIG RESETSTATS reset all cluster stats. Currently CONFIG RESET STATS only resets the slot statistics. I think we should also include: stats_bus_messages_sent stats_bus_messages_received
why we need to reset stats_pfail_nodes, we will reset it in clusterCron and re-calc it anyway I assigned it to myself for now since someone from my team want to make some contributions > we need to reset stats_pfail_nodes, we will reset it in clusterCron and re-calc it anyway I agree. I added it without lots of though...
why we need to reset stats_pfail_nodes, we will reset it in clusterCron and re-calc it anyway I assigned it to myself for now since someone from my team want to make some contributions > we need to reset stats_pfail_nodes, we will reset it in clusterCron and re-calc it anyway I agree. I added it without lots of though...
[ "https://github.com/valkey-io/valkey/commit/d307383a778e86b5cd9ba5863aa66e3551ca488a" ]
2025-08-08T10:52:32Z
https://github.com/valkey-io/valkey/tree/bddc9db087a4540d577049871eb1c37b334994e5
[ "apt-get install -y tcl8.6 tclx ; make all-with-unit-tests SERVER_CFLAGS='-Werror'" ]
[ "./runtest --verbose --dump-logs 2>&1 | tee test-output.log" ]
[ "cat test-output.log" ]
import re def _normalize_redis_test_id(test: str) -> str: test = re.sub(r"\s*\(\d+(?:\.\d+)?\s*(?:ms|s)\)\s*$", "", test.strip()) # Tcl adds the source file to failures, but not to passing results. return re.sub(r"\s+in tests/\S+\.tcl(?::\d+)?$", "", test) def parser(log: str) -> dict[str, str]: """Re...
[ "CONFIG RESETSTAT resets cluster related stats" ]
[ "'x' should be '4' for EVALSHA being replicated by effects", "5 keys in, 5 keys out", "ACL #5998 regression: memory leaks adding / removing subcommands", "ACL CAT category - list all commands/subcommands that belong to category", "ACL CAT with illegal arguments", "ACL CAT without category - list all categ...
starryzhang/sweb.eval.x86_64.valkey-io_1776_valkey-2458
cc65/cc65
2761
cc65__cc65-2761
[ "2231" ]
4899b6dc0cdee9cf4e94f985fa775225340a80da
diff --git a/src/cc65/pragma.c b/src/cc65/pragma.c index 49754fbe8d..51f7f3007f 100644 --- a/src/cc65/pragma.c +++ b/src/cc65/pragma.c @@ -48,6 +48,7 @@ #include "error.h" #include "global.h" #include "litpool.h" +#include "preproc.h" #include "scanner.h" #include "scanstrbuf.h" #include "symtab.h" @@ -866,24 +86...
diff --git a/test/val/bug2231.c b/test/val/bug2231.c new file mode 100644 index 0000000000..96a856a8dc --- /dev/null +++ b/test/val/bug2231.c @@ -0,0 +1,10 @@ +_Pragma("message/*Comment1*/ ( /*Comment2*/\"test message\" /*Comment3*/)") +/* We have no pragma without parenthesis but if there would be one, the +** followi...
cc65: Comments within _Pragma aren't accepted This should work, but doesn't: ```C _Pragma("warn(remap-zero, /* Comment */ on)") ``` Admittedly, this is rather obscure and may not be worth a fix, but it's a standard violation anyway.
Wow this IS obscure... how do you even find such things? :) I reread the relevant parts of the standard when looking at PR #2226 and found that this must work. Checked with gcc/clang and they both accept it. Fun fact: gcc 9.4.0 gets the location wrong, so it's not only cc65 that has problems with obscure stuff like ...
Wow this IS obscure... how do you even find such things? :) I reread the relevant parts of the standard when looking at PR #2226 and found that this must work. Checked with gcc/clang and they both accept it. Fun fact: gcc 9.4.0 gets the location wrong, so it's not only cc65 that has problems with obscure stuff like ...
[ "https://github.com/cc65/cc65/commit/64d35b6a8697531b7af92ba4b677a7561aa3f9d9" ]
2025-07-01T15:26:01Z
https://github.com/cc65/cc65/tree/4899b6dc0cdee9cf4e94f985fa775225340a80da
[ "apt-get update && apt-get install -y linuxdoc-tools-info gcc-mingw-w64-x86-64 gcc-mingw-w64-i686 ; make -j2 bin USER_CFLAGS=-Werror QUIET=1 ; make -j2 util QUIET=1 ; make -j2 lib QUIET=1" ]
[ "make -j2 test QUIET=1 VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results = {} # Match lines with test file names, optionally prefixed by FIXME and path file_re = re.compile(r'^(?:FIXME:\s+)?\s*(?:\.\./\.\./testwrk/)?([^\s]+)$') for line in log.splitlines(): m = file_re.match(line.strip()) if m: ...
[ "val/lib_common_strrchr.Osir.6502.prg", "val/postinc-8-16.Os.65c02.prg", "ref/macro.Osr.65c02.prg", "val/bug895.O.65c02.prg", "val/pr1461.Oir.65c02.prg", "val/nullptr.Oi.65c02.prg", "val/bug2461.Osir.6502.prg", "val/cq715.Osir.6502.prg", "val/bug1374.Osr.6502.prg", "val/bug975.Osr.6502.prg", "va...
[ "dasm/6502-reass.bin", "asm/106-hibytes.bin", "val/bug1108.g.6502.prg", "val/bitfield-union.g.6502.prg", "asm/103-dbyt.bin", "asm/err/jmp-indirect-6502-error.s", "val/and2.g.6502.prg", "val/bug1244.g.6502.prg", "val/bitfield-packing-char.g.6502.prg", "val/bug1652-optimizer.g.6502.prg", "val/add2...
starryzhang/sweb.eval.x86_64.cc65_1776_cc65-2761
zmkfirmware/zmk
2942
zmkfirmware__zmk-2942
[ "2921" ]
cef7af4408cc44c20fab93a0b2e20b3429d0a98e
diff --git a/app/src/behaviors/behavior_macro.c b/app/src/behaviors/behavior_macro.c index c16fb69a9e9..3e4d17321fa 100644 --- a/app/src/behaviors/behavior_macro.c +++ b/app/src/behaviors/behavior_macro.c @@ -129,7 +129,9 @@ static int behavior_macro_init(const struct device *dev) { LOG_DBG("Release will r...
diff --git a/app/tests/macros/param-then-no-param/events.patterns b/app/tests/macros/param-then-no-param/events.patterns new file mode 100644 index 00000000000..a23e05630c9 --- /dev/null +++ b/app/tests/macros/param-then-no-param/events.patterns @@ -0,0 +1,2 @@ +s/.*hid_listener_keycode/kp/p +s/.*mo_keymap_binding/mo/p...
[bug] parameterized macros do not function properly with layers hi, some members and i figured this out today in the discord server if you use a parameterized macro which contains any form of layer interaction, the value of the last used (we only tested with 1) parameter gets passed to the layer interaction instead of...
Here is a test that reproduces it and fails: https://github.com/caksoylar/zmk/commit/ce66de1e75437e9daef414cbfac37cce5668ba95 Also shows the wrong layer index for the macro release in logs: ```diff --- tests/macros/param-then-no-param/keycode_events.snapshot 2025-04-27 17:23:07.032002780 -0700 +++ ./build/tests/mac...
Here is a test that reproduces it and fails: https://github.com/caksoylar/zmk/commit/ce66de1e75437e9daef414cbfac37cce5668ba95 Also shows the wrong layer index for the macro release in logs: ```diff --- tests/macros/param-then-no-param/keycode_events.snapshot 2025-04-27 17:23:07.032002780 -0700 +++ ./build/tests/mac...
[ "https://github.com/zmkfirmware/zmk/commit/5edaaf56aaaa23bc2e1a65e120f8902f048f1167", "https://github.com/zmkfirmware/zmk/commit/9779b2cf24430d2aa9ab8826c67ab25446da01d1" ]
2025-05-15T06:32:15Z
https://github.com/zmkfirmware/zmk/tree/cef7af4408cc44c20fab93a0b2e20b3429d0a98e
[ "west update ; cd app && west build" ]
[ "west test 2>&1 | tee test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results = {} for line in log.splitlines(): m = re.match(r'PASS:\s+(.+)', line) if m: results[m.group(1).strip()] = "pass" continue m = re.match(r'FAILED:\s+(.+?)\s+did not build', line) if m: ...
[ "hold-tap/balanced/3c-kcdn-dn-kcup-up", "hold-tap/balanced/7-positional/2-dn-timer-up", "hold-tap/balanced/4a-dn-htdn-timer-htup-up", "hold-tap/balanced/4d-dn-kcdn-timer-up-kcup", "pointing/mouse-move/processors/move_diagonal_xy_swap", "hold-tap/balanced/4c-dn-kcdn-kcup-up", "backlight/config-brt", "p...
[ "hold-tap/tap-preferred/7-positional/2-dn-timer-up", "caps-word/deactivate-by-second-press", "hold-tap/hold-preferred/3d-kcdn-dn-kcup-timer-up", "macros/basic", "combo/press-release-long-combo-incomplete", "hold-tap/tap-unless-interrupted/1-dn-up", "sticky-keys/12-same-position-mods", "hold-tap/tap-un...
starryzhang/sweb.eval.x86_64.zmkfirmware_1776_zmk-2942
valkey-io/valkey
2553
valkey-io__valkey-2553
[ "2444" ]
1ba622bad5369ece4e88946e7a9b1d65541bc8db
diff --git a/src/defrag.c b/src/defrag.c index 5228143bbb..79a8b473d2 100644 --- a/src/defrag.c +++ b/src/defrag.c @@ -822,7 +822,7 @@ static doneStatus defragLaterStep(monotime endtime, void *privdata) { defragKeysCtx *ctx = privdata; unsigned int iterations = 0; - unsigned long long prev_defragged = se...
diff --git a/tests/unit/memefficiency.tcl b/tests/unit/memefficiency.tcl index 00508a4656..f7e353a133 100644 --- a/tests/unit/memefficiency.tcl +++ b/tests/unit/memefficiency.tcl @@ -183,7 +183,7 @@ run_solo {defrag} { proc perform_defrag_test {name args} { # This value should be 5 ms, but it was flaky in...
[Flaky test] High latency in active defrag tests Active defragmention should only run on the order of about 1ms, but we observed cases in tests where the latency metric was reporting single digit ms. We implemented a temporary fix in https://github.com/valkey-io/valkey/pull/2421/files, but we should investigate how to ...
big hash ``` [err]: Active Defrag big hash: standalone in tests/unit/memefficiency.tcl Expected 12 <= 5 (context: type proc line 18 cmd {assert {$max_latency <= $limit_ms}} proc ::validate_latency level 1) (Fast fail: test will exit now) [err]: Active Defrag big hash: standalone in tests/unit/memefficiency.tcl Expected...
big hash ``` [err]: Active Defrag big hash: standalone in tests/unit/memefficiency.tcl Expected 12 <= 5 (context: type proc line 18 cmd {assert {$max_latency <= $limit_ms}} proc ::validate_latency level 1) (Fast fail: test will exit now) [err]: Active Defrag big hash: standalone in tests/unit/memefficiency.tcl Expected...
[ "https://github.com/valkey-io/valkey/commit/bf034b7796144df772b46f78dbed5234154cafa8", "https://github.com/valkey-io/valkey/commit/f54c6af9477f6a1ab77509e3318decdf04530120", "https://github.com/valkey-io/valkey/commit/858e1dea67bd48e65fa73376de60ca5556aad9be", "https://github.com/valkey-io/valkey/commit/7263a...
2025-08-27T02:40:43Z
https://github.com/valkey-io/valkey/tree/1ba622bad5369ece4e88946e7a9b1d65541bc8db
[ "make all-with-unit-tests SERVER_CFLAGS='-Werror'" ]
[ "./runtest --verbose --dump-logs 2>&1 | tee test-output.log && ./runtest-moduleapi --verbose --dump-logs 2>&1 | tee -a test-output.log && ./src/valkey-unit-tests 2>&1 | tee -a test-output.log" ]
[ "cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} # Match integration test lines: [ok]: testname or [err]: testname for m in re.finditer(r"\[(ok|err)\]:\s+(.+?)(?:\s+\(|$)", log): status, name = m.groups() results[name.strip()] = "pass" if status == "ok" else...
[ "PSYNC2: Set #3 to replicate from #0", "TTL Persistence in AOF aof-use-rdb-preamble yes", "PSYNC2: [NEW LAYOUT] Set #0 as master" ]
[ "Test RO scripts are not blocked by pause RO", "EVAL - cmsgpack can pack double?", "HGETEX EXAT with multiple fields generates single notification", "SET with IFEQ conditional - with xx", "test RESP2/3 null protocol parsing", "Generated sets must be encoded correctly - intset", "{standalone} SCAN COUNT"...
starryzhang/sweb.eval.x86_64.valkey-io_1776_valkey-2553
cc65/cc65
2941
cc65__cc65-2941
[ "2946" ]
4232e7acc6aff0d4d7719048a18f0b15fd65ae54
diff --git a/src/cc65/codeoptutil.c b/src/cc65/codeoptutil.c index 0d3dba95c9..44174c5fcf 100644 --- a/src/cc65/codeoptutil.c +++ b/src/cc65/codeoptutil.c @@ -756,6 +756,10 @@ void ResetStackOpData (StackOpData* Data) Data->PushIndex = -1; Data->OpIndex = -1; + + /* Clear to prevent silent opti...
diff --git a/test/val/bug2395.c b/test/val/bug2395.c index 07c5cd7c5c..7cdf8b30bf 100644 --- a/test/val/bug2395.c +++ b/test/val/bug2395.c @@ -8,6 +8,7 @@ unsigned char a, b; unsigned char c = 199; unsigned char d = 100; +int i = 50; int main(void) { int fails = 0; @@ -38,6 +39,117 @@ int main(void) { ...
Optimizer confluence produces assertion failure in OptStackOps / Opt_a_tossub **Compiler and OS** Current cc65 head with MSYS / MINGW64_NT-10.0-19045 3.6.6-2369286a.x86_64 (but I do not believe OS or build system matters). **Describe the bug** Certain expressions involving arithmetic with a compare operator (>=) trigg...
What's happening is a sequence of optimizer transforms bringing the `a = c - (d >= 0)` code block into a form unexpected by `Opt_a_tossub()`: - `OptJumpTarget3` moves the target label because X is known to be 0 from the branch - `OptUnusedLoads` removes the `d` because `d >= 0` is const - `OptDupLoads` removes the rema...
[ "https://github.com/cc65/cc65/commit/1b778edee853f0367ebd26da03da4a3fe0ac8a4c", "https://github.com/cc65/cc65/commit/505698c45047769ac499f989948ab3d5cc795a0c", "https://github.com/cc65/cc65/commit/bf5d8c44e4432f7b7d417e0249570ce018b478dc", "https://github.com/cc65/cc65/commit/82d672e904d4fb897b4282689cb4c28df...
2026-03-11T22:58:55Z
https://github.com/cc65/cc65/tree/4232e7acc6aff0d4d7719048a18f0b15fd65ae54
[ "apt-get update && apt-get install -y linuxdoc-tools-info gcc-mingw-w64-x86-64 gcc-mingw-w64-i686 ; make -j2 bin USER_CFLAGS=-Werror QUIET=1 ; PATH=\"/testbed/bin:$PATH\" make -j2 lib QUIET=1" ]
[ "cd /testbed && PATH=\"/testbed/bin:$PATH\" make -C test -j2 QUIET=0 2>&1 | tee test-output.log" ]
[ "cd /testbed && cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} def mark(name: str, status: str): if not name: return if status not in ("pass", "fail", "skip"): status = "fail" prev = results.get(name) if prev == "fail": re...
[ "val/trampoline-params.Oir.6502.prg", "bug2018.c", "val/counter.Osr.6502.prg", "misc/bug2637.Oi.6502.prg", "ref/cc65110210.Osr.6502.prg", "val/bug1181-struct-field-null-cmp.Osir.6502.prg", "val/bug1397.Osi.6502.prg", "val/lib_common_atoi.Oir.65c02.prg", "val/rand.O.6502.prg", "ref/ifexpr.O.6502.pr...
[ "asm/err/jmp-indirect-6502-error.s", "asm/034-assert-lderror3.bin", "val/bug2151.g.6502.prg", "val/time-test.g.6502.prg", "val/bug1209-ind-goto-rev.O.6502.prg", "val/bug1462-biefield-assign-3.g.6502.prg", "dasm/huc6280-reass.bin", "asm/040-align.bin", "val/time-test2.g.6502.prg", "val/bitfield-uni...
starryzhang/sweb.eval.x86_64.cc65_1776_cc65-2941
libarchive/libarchive
2968
libarchive__libarchive-2968
[ "2937" ]
6411fc850084563026f5ef35a871e08ae7097497
diff --git a/libarchive/archive_write_set_format_iso9660.c b/libarchive/archive_write_set_format_iso9660.c index 359a27373..1e293588b 100644 --- a/libarchive/archive_write_set_format_iso9660.c +++ b/libarchive/archive_write_set_format_iso9660.c @@ -4910,20 +4910,29 @@ isofile_gen_utility_names(struct archive_write *a, ...
diff --git a/libarchive/test/test_write_format_iso9660.c b/libarchive/test/test_write_format_iso9660.c index 7b455794c..7df5a2605 100644 --- a/libarchive/test/test_write_format_iso9660.c +++ b/libarchive/test/test_write_format_iso9660.c @@ -154,7 +154,7 @@ DEFINE_TEST(test_write_format_iso9660) archive_entry_set_birt...
Heap Out-of-bounds Read in ISO9660 Virtual Directory Construction (isoent_tree) #### Description ### Summary A heap-based out-of-bounds read occurs in the ISO9660 writer during virtual parent directory construction. Specifically, in `isoent_tree()`, the function computes a substring length (`fn - p + l`) that may equal...
The PoC basically resolves to an entry of the type `dir0/..//dir0/dir1/file2` as added to test suite in https://github.com/libarchive/libarchive/pull/2968. Having a dot dot entry which points to the top directory with multiple slashes adjacent to it (`..//`) erroneously leads to an absolute path, which the path normali...
[ "https://github.com/libarchive/libarchive/commit/8ba3972efe90eba6ac12b1ff7f03eeaa9da15d83", "https://github.com/libarchive/libarchive/commit/8a1d019c0ff0149024236824c8668869b050faf4", "https://github.com/libarchive/libarchive/commit/29bc107209576d515edb7e5b250eefc9997408d5", "https://github.com/libarchive/lib...
2026-04-19T20:23:08Z
https://github.com/libarchive/libarchive/tree/6411fc850084563026f5ef35a871e08ae7097497
[ "cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release ; cmake --build build --parallel" ]
[ "cd /testbed && mkdir -p reports && ctest --test-dir build --output-on-failure --verbose --output-junit reports/ctest-junit.xml 2>&1 | tee reports/ctest-verbose.log" ]
[ "cd /testbed && cat reports/ctest-verbose.log" ]
def parser(log: str) -> dict[str, str]: import re from xml.etree import ElementTree as ET results: dict[str, str] = {} started: set[str] = set() def norm_status(s: str) -> str: s = (s or "").strip().lower() if s in ("pass", "passed", "ok", "success"): return "pass" ...
[ "#624: libarchive_test_write_format_iso9660" ]
[ "#814: bsdcpio_test_gcpio_compat", "#220: libarchive_test_read_format_7zip_lzma1", "#2: libarchive_test_acl_nfs4", "#250: libarchive_test_read_format_cpio_afio_broken", "#194: libarchive_test_read_extract", "#278: libarchive_test_read_format_cpio_svr4_gzip", "#583: libarchive_test_write_filter_gzip_time...
starryzhang/sweb.eval.x86_64.libarchive_1776_libarchive-2968
saghul/txiki.js
881
saghul__txiki.js-881
[ "880" ]
0b582683b74e4f4738e0ce4ed54b2c504795e3b5
diff --git a/src/mod_fswatch.c b/src/mod_fswatch.c index 114c6d76..a409587f 100644 --- a/src/mod_fswatch.c +++ b/src/mod_fswatch.c @@ -30,6 +30,7 @@ typedef struct { JSContext *ctx; uv_fs_event_t handle; JSValue callback; + JSValue this_val; int closed; int finalized; } TJSFsWatch; @@ -60,6...
diff --git a/tests/test-fswatch-gc.js b/tests/test-fswatch-gc.js new file mode 100644 index 00000000..ca4f8073 --- /dev/null +++ b/tests/test-fswatch-gc.js @@ -0,0 +1,46 @@ +import assert from 'tjs:assert'; +import path from 'tjs:path'; + +// Test that a FileWatcher survives GC even when no JS reference is held. +// Re...
FileWatcher stop working if the FileWatcher object is collected by GC The `FileWatcher` will stop working if the FileWatcher object is collected by GC, it should keep process running and only be cleaned up when `FW.close()` is called, just like `tjs.serve`. ```ts // define a variable to hold a reference of FileWatcher ...
[ "https://github.com/saghul/txiki.js/commit/b0112f58bcbf57523a0dbb12314feb029f420b03" ]
2026-03-26T10:04:17Z
https://github.com/saghul/txiki.js/tree/0b582683b74e4f4738e0ce4ed54b2c504795e3b5
[ "cd /testbed && npm ci --ignore-scripts && npm ci --ignore-scripts --prefix website ; cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=23 ; cmake --build build --parallel" ]
[ "cd /testbed && mkdir -p reports && TJS_TEST_TIMEOUT=600000 ./build/tjs test tests/ 2>&1 | tee reports/tjs-test.log" ]
[ "cd /testbed && cat reports/tjs-test.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} def norm_name(name: str) -> str: name = name.strip() name = re.sub(r"^(?:\./)+", "", name) return name def map_status(tok: str) -> str | None: t = tok.strip().lower() if t in {"ok", ...
[ "test-fswatch-gc.js" ]
[ "test-version.js", "test-xhr-abort.js", "test-web-streams-forawait.js", "test-cli.js", "test-xhr-basic.js", "test-wasm-externref.js", "test-fetch-gc-regression.js", "test-ffi-pointers-time.js", "test-tcp.js", "test-worker-echo.js", "test-serve-websocket.js", "test-webcrypto-aes-ctr.js", "tes...
starryzhang/sweb.eval.x86_64.saghul_1776_txiki.js-881
fluent/fluent-bit
11677
fluent__fluent-bit-11677
[ "11648" ]
3e414ac490531b42e5a4a35d19af83152d7b4966
diff --git a/src/flb_parser.c b/src/flb_parser.c index f13243f580f..c4b6b2d6036 100644 --- a/src/flb_parser.c +++ b/src/flb_parser.c @@ -1199,7 +1199,12 @@ int flb_parser_time_lookup(const char *time_str, size_t tsize, time_now = now; } - gmtime_r(&time_now, &tmy); + if (parser->ti...
diff --git a/tests/internal/parser.c b/tests/internal/parser.c index b7b4eab876b..8337e4f89fd 100644 --- a/tests/internal/parser.c +++ b/tests/internal/parser.c @@ -517,12 +517,84 @@ void test_mysql_unquoted() } +void test_parser_time_system_timezone_midnight() +{ + int ret; + time_t now; + time_t epoch; ...
Time_System_Timezone assigns wrong date to logs after midnight ## Bug Report **Describe the bug** When parsing logs that only contain time (`HH:MM:SS`) with no date component, using `Time_System_Timezone on` with a UTC+1/+2 timezone, the parser incorrectly assigns timestamps to the wrong date around midnight. Times ju...
[ "https://github.com/fluent/fluent-bit/commit/425e74c4f3e09ced3b698b4ce8ef29cc36f4e86d", "https://github.com/fluent/fluent-bit/commit/6a244e1722d8935bb77a2585cf017fc716466c63" ]
2026-04-06T08:47:42Z
https://github.com/fluent/fluent-bit/tree/3e414ac490531b42e5a4a35d19af83152d7b4966
[ "cd /testbed && cmake -S . -B build -G Ninja && cmake --build build --parallel" ]
[ "cd /testbed && mkdir -p reports && ctest --test-dir build --output-on-failure -VV --timeout 600 -E 'in_syslog_.*' --output-junit reports/ctest-junit.xml | tee reports/ctest-verbose.log" ]
[ "cd /testbed && cat reports/ctest-verbose.log" ]
def parser(log: str) -> dict[str, str]: import re # Map normalized status tokens to {pass, fail, skip} def norm_status(token: str) -> str: t = token.strip().lower() if t in ("passed", "pass"): return "pass" if t in ("skipped", "not run", "notrun", "disabled"): ...
[ "flb-it-parser" ]
[ "flb-it-reload", "flb-it-bucket_queue", "flb-it-aws_util", "flb-it-parser_logfmt", "flb-it-sds", "flb-it-gelf", "flb-rt-counter_parity_e2e", "flb-it-uri", "flb-it-random", "flb-it-flb_event_loop", "flb-it-storage_dlq", "flb-rt-out_elasticsearch", "flb-it-signv4", "flb-it-input_chunk", "f...
starryzhang/sweb.eval.x86_64.fluent_1776_fluent-bit-11677
rizinorg/rizin
6079
rizinorg__rizin-6079
[ "2205" ]
c6d566a44ae31f396d2ee5f603479c6e4529c9b4
diff --git a/librz/core/disasm.c b/librz/core/disasm.c index 9b196fd4c3f..a68512a28f2 100644 --- a/librz/core/disasm.c +++ b/librz/core/disasm.c @@ -319,6 +319,7 @@ static char *ds_esc_str(RzDisasmState *ds, const char *str, int len, const char static void ds_print_ptr(RzDisasmState *ds, int len, int idx); static voi...
diff --git a/test/unit/test_analysis_op.c b/test/unit/test_analysis_op.c index 1d9c0237d8f..87a937452ee 100644 --- a/test/unit/test_analysis_op.c +++ b/test/unit/test_analysis_op.c @@ -180,10 +180,63 @@ bool test_rz_core_print_disasm() { mu_end; } +bool test_rz_core_print_disasm_resolve_aav_symbols() { + RzCore *c...
Wrong `__stack_chk_guard` naming in ARMv7 binaries ### Work environment | Questions | Answers |------------------------------------------------------|-------------------- | OS/arch/bits (mandatory) | Debian ARMv7 | File format of the file you ...
@XVilka, is this issue still open? I want to work on this. @parthbansaliitr sure, go ahead
@XVilka, is this issue still open? I want to work on this. @parthbansaliitr sure, go ahead @notxvilka double check this, just in case
[ "https://github.com/rizinorg/rizin/commit/757d74755520a4279a2cdf76ca2d2fbbe69b2e65", "https://github.com/rizinorg/rizin/commit/8ccc73c80f767a7cd9673ef00fad7b9b86690106", "https://github.com/rizinorg/rizin/commit/739bd28eda35807c74e824d98eac37120774b96e", "https://github.com/rizinorg/rizin/commit/ada7d504aae00...
2026-03-23T14:07:03Z
https://github.com/rizinorg/rizin/tree/c6d566a44ae31f396d2ee5f603479c6e4529c9b4
[ "cd /testbed ; meson setup --reconfigure build ; ninja -C build" ]
[ "cd /testbed && mkdir -p build/meson-logs/reports && meson test -C build --print-errorlogs --verbose --logbase reports/meson-tests" ]
[ "sed -n '1,200000p' /testbed/build/meson-logs/reports/meson-tests.json" ]
def parser(log: str) -> dict[str, str]: import json, re from typing import Any def strip_ansi(s: str) -> str: # CSI + OSC + single-char escapes s = re.sub(r"\x1b\[[0-?]*[ -/]*[@-~]", "", s) s = re.sub(r"\x1b\][^\x07]*(?:\x07|\x1b\\)", "", s) s = re.sub(r"\x1b[@-Z\\-_]", "", ...
[ "rizin:unit / flags::test_rz_flag_get_preferred_item", "rizin:unit / flags::test_rz_flag_get_preferred_item_keep_aav_when_only_aav", "rizin:unit / flags::test_rz_flag_get_preferred_item_fallback_non_aav", "rizin:unit / analysis_op::test_rz_core_print_disasm_resolve_aav_symbols" ]
[ "rizin:unit / regex::test_rz_regex_named_matches", "rizin:unit / serialize_mark::test_mark_0_save", "rizin:integration / basefind::test_rz_basefind_no_core_load", "rizin:unit / str_search::test_rz_scan_strings_detect_ascii", "rizin:unit / unum::test_rz_num_minmax_swap", "rizin:unit / analysis_meta", "ri...
starryzhang/sweb.eval.x86_64.rizinorg_1776_rizin-6079
fluent/fluent-bit
11722
fluent__fluent-bit-11722
[ "11716" ]
63ed88ee65a1164b5be52b5ddab0344271a2825c
diff --git a/plugins/out_influxdb/influxdb.c b/plugins/out_influxdb/influxdb.c index 2e73d43276a..9fce46bf4b6 100644 --- a/plugins/out_influxdb/influxdb.c +++ b/plugins/out_influxdb/influxdb.c @@ -686,7 +686,7 @@ static struct flb_config_map config_map[] = { }, { - FLB_CONFIG_MAP_BOOL, "tag_keys", NULL,...
diff --git a/tests/runtime/out_influxdb.c b/tests/runtime/out_influxdb.c index c536d7ea4e0..e06e882cef9 100644 --- a/tests/runtime/out_influxdb.c +++ b/tests/runtime/out_influxdb.c @@ -170,6 +170,61 @@ static void cb_check_negative_int_as_float_value( flb_free(out); } +#define JSON_TAG_KEYS "[12345678, {\"ldap_...
Upgrade from 5.0.2 to 5.0.3 breaks usage of tag_keys in influxdb output plugin ## Bug Report After upgrading from 5.0.2 to 5.0.3 fluent-bit refuses to start with the error messages given below **To Reproduce** - Example log message if applicable: ``` [2026/04/15 15:59:24.195] [error] [config map] invalid value for boo...
[ "https://github.com/fluent/fluent-bit/commit/678055256486e413289dfee17c361376b869fb71", "https://github.com/fluent/fluent-bit/commit/240f18c21f9ec4c1fe0ff70bb584a25b35fa639b" ]
2026-04-16T10:46:17Z
https://github.com/fluent/fluent-bit/tree/63ed88ee65a1164b5be52b5ddab0344271a2825c
[ "cd /testbed ; apt-get update ; apt-get install -y --no-install-recommends flex bison libyaml-dev libssl-dev pkg-config libsystemd-dev netcat-openbsd ; cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=23 -DFLB_TESTS_RUNTIME=On -DFLB_TESTS_INTERNAL=On -DFLB_OUT_TD=Off -DFLB_OUT_ES=Off ; c...
[ "cd /testbed ; rm -rf reports ; mkdir -p reports ; ctest --test-dir build -V --output-on-failure --timeout 600 --output-log reports/ctest-verbose.log" ]
[ "cd /testbed ; cat reports/ctest-verbose.log" ]
def parser(log: str) -> dict[str, str]: import re from xml.etree import ElementTree as ET results: dict[str, str] = {} def norm_status(word: str) -> str: w = (word or "").strip().lower() w = w.strip("*") if w in ("passed", "pass", "success", "ok"): return "pass" ...
[ "flb-rt-out_influxdb" ]
[ "flb-it-reload", "flb-it-bucket_queue", "flb-it-aws_util", "flb-it-parser_logfmt", "flb-rt-core_internal_logger", "flb-it-sds", "flb-rt-out_null", "in_syslog_uds_dgram_plaintext_expect.sh", "flb-it-gelf", "flb-it-uri", "flb-it-flb_event_loop", "flb-rt-counter_parity_e2e", "in_syslog_udp_plai...
starryzhang/sweb.eval.x86_64.fluent_1776_fluent-bit-11722
xroche/httrack
817
xroche__httrack-817
[ "824" ]
e5c0918d5deeee376db8da71a78ebfe666c88baa
diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 0787ab17..056b8445 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -211,7 +211,7 @@ jobs: pass=0 fail=0 skip=0 failed="" skipped="" deadline=0 for t in 00_runn...
diff --git a/tests/106_engine-repair-rename.test b/tests/106_engine-repair-rename.test new file mode 100755 index 00000000..a58f283e --- /dev/null +++ b/tests/106_engine-repair-rename.test @@ -0,0 +1,173 @@ +#!/bin/bash +# +# #786: both cache-repair paths moved the recovered zip onto the cache without +# checking the m...
A cache repair that recovers nothing still replaces the cache with an empty archive `unzRepair()` (src/minizip/mztools.c:70) returns `Z_OK` with `entries == 0` when the source does not begin with a local file header: the scan loop breaks immediately, the end-of-central-directory record is written anyway, and `repair.zi...
[ "https://github.com/xroche/httrack/commit/28c103db701590989bae0472b5c091a7ef82587d", "https://github.com/xroche/httrack/commit/38161162e24b24ed53e33b100bfd5938eeb2b133", "https://github.com/xroche/httrack/commit/6be18f430e8ce5467734b90a4215e00b262c9c93", "https://github.com/xroche/httrack/commit/3ed88825f701d...
2026-07-27T12:08:52Z
https://github.com/xroche/httrack/tree/e5c0918d5deeee376db8da71a78ebfe666c88baa
[ "cd /testbed && ./bootstrap ; make -C /testbed/build -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat /testbed/build/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi_escape = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") test_line = re.compile( r"^\s*(PASS|FAIL|SKIP|ERROR|XFAIL|XPASS)\s*:\s*(\S(?:.*\S)?)\s*$", re.IGNORECASE, ) status_map = { "PASS": "pass", ...
[ "106_engine-repair-rename.test" ]
[ "01_engine-sniff.test", "01_engine-gmtime.test", "18_local-update.test", "01_engine-backswap.test", "01_engine-mime.test", "73_local-warc.test", "01_engine-direnum.test", "00_runnable.test", "01_zlib-cache-corrupt.test", "20_local-resume-loop.test", "01_engine-ftp-line.test", "01_engine-urlhac...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-817
AOMediaCodec/libavif
3273
AOMediaCodec__libavif-3273
[ "3265" ]
eb565694d376eabcf5bf452bc786e9839b25ed98
diff --git a/CHANGELOG.md b/CHANGELOG.md index 68f62f575b..0ba9e94748 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ The changes are relative to the previous release, unless the baseline is specifi ### Added since 1.4.2 * avifenc: add --ignore-alpha flag to discard alpha channel on encode +* avifgai...
diff --git a/tests/test_cmd_avifgainmaputil.sh b/tests/test_cmd_avifgainmaputil.sh index e108d8a46b..b25061da56 100755 --- a/tests/test_cmd_avifgainmaputil.sh +++ b/tests/test_cmd_avifgainmaputil.sh @@ -118,6 +118,42 @@ pushd ${TMP_DIR} LC_ALL=C sed 's/<rdf:li>1/<rdf:li>2/' "${INPUT_JPEG_GAINMAP_SDR}" > "${INPUT_JPE...
Bring `ignore-alpha` to avifgainmaputil Please bring `ignore-alpha` to avifgainmaputil, as it does in avifenc. Thanks!
[ "https://github.com/AOMediaCodec/libavif/commit/a6931473cf907f3e2b27ee46ebfea13b9f901466" ]
2026-06-19T08:28:02Z
https://github.com/AOMediaCodec/libavif/tree/eb565694d376eabcf5bf452bc786e9839b25ed98
[ "cmake --build build --parallel" ]
[ "cd /testbed ; rm -rf reports ; mkdir -p reports/gtest ; GTEST_OUTPUT=json:/testbed/reports/gtest/ ctest --test-dir build -V --output-junit /testbed/reports/ctest-junit.xml ; python3 -c 'import glob,json,xml.etree.ElementTree as ET; fs=glob.glob(\"reports/gtest/*.json\"); bins={f.rsplit(\"/\",1)[-1][:-5] for f in f...
[ "cd /testbed ; cat reports/all-results.json" ]
def parser(log: str) -> dict[str, str]: import json results: dict[str, str] = {} priority = {"pass": 0, "skip": 1, "fail": 2} pass_values = { "pass", "passed", "passing", "success", "successful", "succeeded", "ok" } skip_values = { "skip", "skipped", "disabled", "notrun", "not_...
[ "ctest::test_cmd_avifgainmaputil" ]
[ "avifrgbtoyuvthreadingtest::YUVToRGBThreadingTestInstance/YUVToRGBThreadingTest.TestIdentical/3252", "avifrgbtoyuvthreadingtest::YUVToRGBThreadingTestInstance/YUVToRGBThreadingTest.TestIdentical/2929", "avifrgbtoyuvthreadingtest::YUVToRGBThreadingTestInstance/YUVToRGBThreadingTest.TestIdentical/292", "avify4m...
starryzhang/sweb.eval.x86_64.aomediacodec_1776_libavif-3273
DynamoRIO/dynamorio
7945
DynamoRIO__dynamorio-7945
[ "7939" ]
0222df17acfddb5209c3fe109f92a2f6472f1192
diff --git a/core/arch/aarch64/aarch64.asm b/core/arch/aarch64/aarch64.asm index e4615fe318..9bff19948d 100644 --- a/core/arch/aarch64/aarch64.asm +++ b/core/arch/aarch64/aarch64.asm @@ -1,5 +1,5 @@ /* ********************************************************** - * Copyright (c) 2019-2025 Google, Inc. All rights reserv...
diff --git a/suite/tests/CMakeLists.txt b/suite/tests/CMakeLists.txt index 8e06d4d79f..dd084df28a 100644 --- a/suite/tests/CMakeLists.txt +++ b/suite/tests/CMakeLists.txt @@ -6206,6 +6206,13 @@ if (UNIX) endif() tobuild(pthreads.pthreads pthreads/pthreads.c) tobuild(pthreads.pthreads_exit pthreads/pthreads_exi...
CRASH x0 register clobber in aarch64's cleanup_and_terminate On AArch64, [cleanup_and_terminate()](https://github.com/DynamoRIO/dynamorio/blob/0adaf8ab6bc51e1b23d3924a9e480858f3c0d45e/core/arch/aarch64/aarch64.asm#L295)'s `cat_spin` loop keeps the address of `initstack_mutex` in x0 across the call to `atomic_swap`. `a...
Repro: ```c /* Build: gcc -O2 -pthread repro.c -o repro * Native execution (no DR) completes cleanly. */ #include <pthread.h> #define N 16 static pthread_barrier_t bar; static void *worker(void *arg) { pthread_barrier_wait(&bar); /* exit in lockstep */ return arg; } int main(void) { for (int r = 0; r <...
Repro: ```c /* Build: gcc -O2 -pthread repro.c -o repro * Native execution (no DR) completes cleanly. */ #include <pthread.h> #define N 16 static pthread_barrier_t bar; static void *worker(void *arg) { pthread_barrier_wait(&bar); /* exit in lockstep */ return arg; } int main(void) { for (int r = 0; r <...
[ "https://github.com/DynamoRIO/dynamorio/commit/2ad65d1f67c627d6398163de1e0262f338ff8e9c", "https://github.com/DynamoRIO/dynamorio/commit/6390677031b235b9b6c4d234f724addbe1670c91", "https://github.com/DynamoRIO/dynamorio/commit/e90e27eaa90cec32fae3aefe6ea5ec7fbc84bdf3" ]
2026-06-16T20:34:47Z
https://github.com/DynamoRIO/dynamorio/tree/0222df17acfddb5209c3fe109f92a2f6472f1192
[ "cmake --build build --parallel" ]
[ "cd /testbed; ctest --test-dir build --output-on-failure --output-junit /testbed/test-results.xml" ]
[ "cat /testbed/test-results.xml" ]
def parser(log: str) -> dict[str, str]: import re import xml.etree.ElementTree as ET results: dict[str, str] = {} rank = {"pass": 0, "skip": 1, "fail": 2} def add(name: str | None, status: str) -> None: if not name: return name = name.strip() if not name: ...
[ "code_api|tool.drcachesim.missfile-config-file" ]
[ "code_api|client.thread", "code_api|client.process-id", "code_api|linux.synchall-restore", "code_api|tool.drcacheoff.multiproc", "code_api|sample.instrace_simple", "code_api|tool.drcpusim.sse42", "code_api|client.events", "code_api|tool.drcacheoff.raw-none", "code_api|tool.drcacheoff.sysnums", "co...
starryzhang/sweb.eval.x86_64.dynamorio_1776_dynamorio-7945
DynamoRIO/dynamorio
7944
DynamoRIO__dynamorio-7944
[ "7943" ]
7f69df6509070b079369c51c7cc6d5c87c291433
diff --git a/clients/drcachesim/tools/view.cpp b/clients/drcachesim/tools/view.cpp index bd9f4defd5..8125a9e056 100644 --- a/clients/drcachesim/tools/view.cpp +++ b/clients/drcachesim/tools/view.cpp @@ -447,10 +447,33 @@ view_t::parallel_shard_memref(void *shard_data, const memref_t &memref) std::cerr << "...
diff --git a/clients/drcachesim/tests/view_test.cpp b/clients/drcachesim/tests/view_test.cpp index 8163d99ef9..1cfca492aa 100644 --- a/clients/drcachesim/tests/view_test.cpp +++ b/clients/drcachesim/tests/view_test.cpp @@ -912,6 +912,92 @@ run_regdeps_test(void *drcontext) return true; } +#ifdef AARCH64 +/* Tes...
drmemtrace view tool gets SVE disp wrong b/c doesn't set vector length While testing https://github.com/DynamoRIO/dynamorio/pull/7915 I noticed that DR prints this instruction with a 16-byte displacement: ``` 0x000000000040018c a401a03c ld1b +0x10(%x1)[1byte] %p0/z -> %z28.b ``` objdump says: ``` 0000000000400...
Xref #6646 which argues tools should not have to do this: the default should be something reasonable and not 0.
[ "https://github.com/DynamoRIO/dynamorio/commit/3393d3a4bf035afc4acde842fbc1342680d681d1", "https://github.com/DynamoRIO/dynamorio/commit/644865169d5753b83b0af55dbc557cfefc682c8b" ]
2026-06-16T01:51:46Z
https://github.com/DynamoRIO/dynamorio/tree/7f69df6509070b079369c51c7cc6d5c87c291433
[ "cmake --build build --parallel" ]
[ "cd /testbed; ctest --test-dir build --output-on-failure --output-junit /testbed/test-results.xml" ]
[ "cat /testbed/test-results.xml" ]
def parser(log: str) -> dict[str, str]: import re import xml.etree.ElementTree as ET results: dict[str, str] = {} rank = {"pass": 0, "skip": 1, "fail": 2} def add(name: str | None, status: str) -> None: if not name: return name = name.strip() if not name: ...
[ "code_api|tool.drcachesim.threads" ]
[ "code_api|client.thread", "code_api|client.process-id", "code_api|linux.synchall-restore", "code_api|tool.drcacheoff.multiproc", "code_api|sample.instrace_simple", "code_api|tool.drcpusim.sse42", "code_api|client.events", "code_api|tool.drcacheoff.raw-none", "code_api|tool.drcacheoff.sysnums", "co...
starryzhang/sweb.eval.x86_64.dynamorio_1776_dynamorio-7944
xroche/httrack
830
xroche__httrack-830
[ "823" ]
e5c0918d5deeee376db8da71a78ebfe666c88baa
diff --git a/src/htsftp.c b/src/htsftp.c index 830abc12..14572c29 100644 --- a/src/htsftp.c +++ b/src/htsftp.c @@ -149,6 +149,61 @@ void ftp_split_userpass(const char *src, const char *end, char *user, } } +/* Build "<verb> <path>", quoting a path the server could not parse bare. */ +static void ftp_command(char ...
diff --git a/tests/121_local-ftp-nocache-splice.test b/tests/121_local-ftp-nocache-splice.test new file mode 100755 index 00000000..3e30dd1b --- /dev/null +++ b/tests/121_local-ftp-nocache-splice.test @@ -0,0 +1,188 @@ +#!/bin/bash +# +# With no cache entry an FTP transfer resumed on the strength of the local +# file's...
An FTP resume can splice a changed remote when there is no cache entry When httrack holds a local FTP file but no cache entry for it (`--cache=0`, or an `hts-cache` that was deleted), `back_add()` takes `range_req_size` from the file size at src/htsback.c:2074 and the transfer resumes with `REST`. If the remote changed...
[ "https://github.com/xroche/httrack/commit/6a789861b470cc512741f4461274e77e528773b7", "https://github.com/xroche/httrack/commit/25ef2fc901cd7d3068b9797ff2914fa8509a99a3", "https://github.com/xroche/httrack/commit/c2ab96ed12c5f3e2c4ebb715fea6d1c798de94d2", "https://github.com/xroche/httrack/commit/20399aeb9d472...
2026-07-27T12:52:47Z
https://github.com/xroche/httrack/tree/e5c0918d5deeee376db8da71a78ebfe666c88baa
[ "cd /testbed && ./bootstrap ; make -C /testbed/build -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat /testbed/build/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi_escape = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") test_line = re.compile( r"^\s*(PASS|FAIL|SKIP|ERROR|XFAIL|XPASS)\s*:\s*(\S(?:.*\S)?)\s*$", re.IGNORECASE, ) status_map = { "PASS": "pass", ...
[ "121_local-ftp-nocache-splice.test" ]
[ "01_engine-sniff.test", "01_engine-gmtime.test", "18_local-update.test", "01_engine-backswap.test", "01_engine-mime.test", "73_local-warc.test", "01_engine-direnum.test", "00_runnable.test", "01_zlib-cache-corrupt.test", "20_local-resume-loop.test", "01_engine-ftp-line.test", "01_engine-urlhac...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-830
DynamoRIO/dynamorio
7903
DynamoRIO__dynamorio-7903
[ "7902" ]
d16eb5746a5fa087e529d870410e37f985d34a41
diff --git a/core/ir/x86/decode_table.c b/core/ir/x86/decode_table.c index 9b249d87db..e8015778b0 100644 --- a/core/ir/x86/decode_table.c +++ b/core/ir/x86/decode_table.c @@ -1625,7 +1625,7 @@ const instr_info_t * const op_instr[] = /* OP_vpopcntq, */ &evex_Wb_extensions[274][2], /* Supervisor Mode Access P...
diff --git a/suite/tests/api/ir_x86.c b/suite/tests/api/ir_x86.c index 7f871bb168..79d1587d3b 100644 --- a/suite/tests/api/ir_x86.c +++ b/suite/tests/api/ir_x86.c @@ -2927,6 +2927,68 @@ test_disasm_to_buffer(void *dc) ASSERT(len == expect_len - 2); } +static void +test_fred_instructions(void *dc) +{ +#ifdef X64...
x86 decoder: Add support for Intel FRED instructions (ERETS, ERETU, LKGS) ## Description Intel's [**FRED (Flexible Return and Event Delivery)** specification](https://cdrdv2.intel.com/v1/dl/getContent/819481?fileName=346446-009-flexible-return-and-event-delivery.pdf) introduces new x86 system instructions designed to ...
Most likely OP_clac needs to be replaced with a PREFIX_EXT entry that jumps to a new entry in prefix_extensions that can discriminate between CLAC/ERETS/ERETU. See e.g. how SERIALIZE/XSUSLDTRK work from the first entry in "rm extension 5" for an example.
Most likely OP_clac needs to be replaced with a PREFIX_EXT entry that jumps to a new entry in prefix_extensions that can discriminate between CLAC/ERETS/ERETU. See e.g. how SERIALIZE/XSUSLDTRK work from the first entry in "rm extension 5" for an example.
[ "https://github.com/DynamoRIO/dynamorio/commit/efca17e42a1b8cb3c2fae287a58006a570902aa3", "https://github.com/DynamoRIO/dynamorio/commit/e92c36e801257d7f97083cd915e68f5c3862ef61", "https://github.com/DynamoRIO/dynamorio/commit/3d05cd09a77206b656a13affef4fbff18239e789", "https://github.com/DynamoRIO/dynamorio/...
2026-05-20T22:51:41Z
https://github.com/DynamoRIO/dynamorio/tree/d16eb5746a5fa087e529d870410e37f985d34a41
[ "cmake --build build --parallel" ]
[ "cd /testbed; ctest --test-dir build --output-on-failure --output-junit /testbed/test-results.xml" ]
[ "cat /testbed/test-results.xml" ]
def parser(log: str) -> dict[str, str]: import re import xml.etree.ElementTree as ET results: dict[str, str] = {} rank = {"pass": 0, "skip": 1, "fail": 2} def add(name: str | None, status: str) -> None: if not name: return name = name.strip() if not name: ...
[ "code_api|client.drx_time_scale-test", "code_api|decenc.drdecode_decenc_x86_64" ]
[ "code_api|client.thread", "code_api|client.process-id", "code_api|linux.synchall-restore", "code_api|tool.drcacheoff.multiproc", "code_api|sample.instrace_simple", "code_api|tool.drcpusim.sse42", "code_api|client.events", "code_api|tool.drcacheoff.raw-none", "code_api|tool.drcacheoff.sysnums", "co...
starryzhang/sweb.eval.x86_64.dynamorio_1776_dynamorio-7903
c-ares/c-ares
1190
c-ares__c-ares-1190
[ "1181" ]
7edb590f06b994fa8a84bb49f10221e204f79c12
diff --git a/src/lib/ares_private.h b/src/lib/ares_private.h index 3dbdf7a177..fc9032af7a 100644 --- a/src/lib/ares_private.h +++ b/src/lib/ares_private.h @@ -537,10 +537,15 @@ void ares_gethostbyaddr_nolock(ares_channel_t *channel, const void *addr, * ares_free()'d by the caller. * \param[...
diff --git a/test/ares-test-parse-srv.cc b/test/ares-test-parse-srv.cc index 6956bebe46..2bb2e30b4a 100644 --- a/test/ares-test-parse-srv.cc +++ b/test/ares-test-parse-srv.cc @@ -312,5 +312,38 @@ TEST_F(LibraryTest, ParseSrvReplyAllocFail) { } } +// RFC 2782: the SRV TARGET must not use name compression. A respo...
SRV record should not allow name compression SUMMARY c-ares accepts a DNS SRV record whose TARGET field is encoded as a compression pointer and exposes it to applications as a fully resolved typed SRV RR. RFC 2782 explicitly prohibits name compression in SRV RDATA. c-ares's own ares_dns_rec_allow_name_comp() reflects ...
[ "https://github.com/c-ares/c-ares/commit/1b7882b6bece6dc73285a3b41eb690b111018b8c" ]
2026-07-03T17:52:22Z
https://github.com/c-ares/c-ares/tree/7edb590f06b994fa8a84bb49f10221e204f79c12
[ "cmake --build build --parallel" ]
[ "mkdir -p reports; GTEST_OUTPUT=json:/testbed/reports/arestest.json ctest --test-dir build --verbose --output-on-failure --output-junit /testbed/reports/ctest-junit.xml" ]
[ "cat reports/arestest.json; cat reports/ctest-junit.xml" ]
def parser(log: str) -> dict[str, str]: import json import re import xml.etree.ElementTree as ET results: dict[str, str] = {} precedence = {"pass": 0, "skip": 1, "fail": 2} def add(name, status): name = str(name or "").strip() if not name or status not in precedence: ...
[ "LibraryTest.ParseSvcbRejectsCompressedTarget", "LibraryTest.ParseSrvRejectsCompressedTarget" ]
[ "Misc.OnionDomain", "DefaultChannelTest.LiveGetNameInfoV4NoPort_virtualized", "LibraryTest.HtableSzvp", "AddressFamilies/MockEDNSChannelTest.RetryWithoutEDNS/ipv4_DefaultUDP", "AddressFamilies/MockEventThreadTest.ReInit/SELECT_ipv6_DefaultUDP", "AddressFamilies/MockTCPChannelTest.SearchOptVal/ipv4", "Ad...
starryzhang/sweb.eval.x86_64.c-ares_1776_c-ares-1190
timescale/timescaledb
9983
timescale__timescaledb-9983
[ "9977" ]
81914af75e2e4c91268e80d07a6784e356ec3357
diff --git a/.unreleased/pr_9983 b/.unreleased/pr_9983 new file mode 100644 index 00000000000..f26af024d2f --- /dev/null +++ b/.unreleased/pr_9983 @@ -0,0 +1,1 @@ +Fixes: #9977 Fix COPY WHERE into a hypertable with dropped columns diff --git a/src/copy.c b/src/copy.c index 75e76b1c1d5..b4654f3c67e 100644 --- a/src/copy...
diff --git a/test/expected/copy.out b/test/expected/copy.out index 653f40db7de..7d8413067d4 100644 --- a/test/expected/copy.out +++ b/test/expected/copy.out @@ -678,6 +678,41 @@ SELECT * FROM table_with_layout_change ORDER BY time, value7; 5 | 724 6 | 725 +-- COPY WHERE into a hypertable whose chunks ...
XX000 attribute number exceeds number of columns in COPY WHERE ``` CREATE TABLE sensor_readings ( recorded_at timestamptz NOT NULL, dropped_col int, sensor_name text, temperature int ); SELECT create_hypertable('sensor_readings', 'recorded_at'); ALTER TABLE sensor_readings DROP COL...
[ "https://github.com/timescale/timescaledb/commit/9231c2cdba4c3194c0f60ce33e92f12b39372f49" ]
2026-06-06T12:12:44Z
https://github.com/timescale/timescaledb/tree/81914af75e2e4c91268e80d07a6784e356ec3357
[ "cmake --build build --parallel ; cmake --install build" ]
[ "cd /testbed ; rm -f test-output.log ; chown -R postgres:postgres /testbed ; su postgres -c 'cd /testbed ; export PATH=/usr/lib/postgresql/17/bin:$PATH LANG=C.UTF-8 LC_ALL=C.UTF-8 PROVE=\"prove -v\" ; ninja -C build isolationcheck regresscheck provecheck installcheck-t' 2>&1 | tee test-output.log" ]
[ "cd /testbed ; cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} suite = "" tap_file = "" tap_assertions = 0 tap_file_status = "" # Keep the most severe result if the same case is reported more than once. rank = {"skip": 0, "pass": 1, "fail": 2} def record(name: str,...
[ "tsl/regression::compression_settings", "tsl/tap::t/004_truncate_or_delete_spin_lock.pl::2 validate inserted rows", "tsl/regression::ordered_append-17", "tsl/regression::foreign_keys_test-17", "tsl/regression::cagg_skip_invalidation", "shared/regression::transparent_decompress_chunk-17", "tsl/regression...
[ "core/regression::partition_coercion", "core/regression::pg_join", "core/regression::chunks", "core/regression::expand_hypertable_target", "core/regression::plan_expand_hypertable-17", "core/regression::generated_as_identity", "core/isolation::read_uncommitted_insert", "core/isolation::serializable_in...
starryzhang/sweb.eval.x86_64.timescale_1776_timescaledb-9983
colbymchenry/codegraph
1051
colbymchenry__codegraph-1051
[ "1044" ]
0da2dcec8ec07b1cf729f369c399963b71f1615b
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b7c0b9bb..831dd4208 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - C++ classes that inherit from a templated base — `class Widget : public Base<int>`, a CRTP base like `class App...
diff --git a/__tests__/cli-node-command.test.ts b/__tests__/cli-node-command.test.ts new file mode 100644 index 000000000..4d3485031 --- /dev/null +++ b/__tests__/cli-node-command.test.ts @@ -0,0 +1,80 @@ +/** + * `codegraph node` argument handling (#1044). + * + * File-read mode (`codegraph node -f <file>`) carries no...
Bug: `codegraph node -f <file>` rejects valid usage with "missing required argument 'name'" ## Bug: `codegraph node -f <file>` rejects valid usage with "missing required argument 'name'" The `--file` flag on the `node` CLI command is supposed to enable file-read mode (read a file with line numbers + dependents, same a...
Fixed in #1051 (merged to `main`) — thanks for the clear writeup and spot-on root-cause analysis, that made this a quick one. Exactly as you diagnosed: `node` was declared with a required `<name>` positional, so commander.js rejected file mode before the command even ran. The symbol name is now optional, so all of the...
[ "https://github.com/colbymchenry/codegraph/commit/79122027eabd77df8f5138d03e767d9edcf5f948" ]
2026-06-29T02:54:20Z
https://github.com/colbymchenry/codegraph/tree/0da2dcec8ec07b1cf729f369c399963b71f1615b
[ "npm install; npm run build" ]
[ "cd /testbed && npx vitest run --reporter=json --outputFile=vitest-results.json" ]
[ "cd /testbed && cat vitest-results.json" ]
def parser(log: str) -> dict[str, str]: import json import re results: dict[str, str] = {} def add(name: object, status: str) -> None: key = str(name).strip() or "<unnamed>" if key not in results: results[key] = status return # Preserve repeated tests r...
[ "__tests__/cli-node-command.test.ts::codegraph node — argument handling (#1044) file mode via -f reads the file (was rejected as \"missing required argument\")", "__tests__/cli-node-command.test.ts::codegraph node — argument handling (#1044) neither symbol nor file gives a usage error, not commander's cryptic one...
[ "__tests__/mcp-staleness-banner.test.ts::MCP staleness banner surfaces the degraded state as its own section in codegraph_status (#876)", "__tests__/offload.test.ts::reasoning offload CODEGRAPH_OFFLOAD_DISABLE kill-switch forces the offload off even when managed + signed in", "__tests__/installer-targets.test.t...
starryzhang/sweb.eval.x86_64.colbymchenry_1776_codegraph-1051
xroche/httrack
809
xroche__httrack-809
[ "797" ]
bc6c53598cc3b3be1c29bc324feb811ef3475f55
diff --git a/src/htsback.c b/src/htsback.c index d8ace590..d0fdbe79 100644 --- a/src/htsback.c +++ b/src/htsback.c @@ -391,6 +391,56 @@ int back_selftest_slot_swap(void) { CHECK(0, "the dummy test slot"); #undef CHECK + /* The swap round-trip must not lose the size of a slot whose body is already + at url_sa...
diff --git a/tests/110_local-ftp-parallel.test b/tests/110_local-ftp-parallel.test new file mode 100644 index 00000000..30aec935 --- /dev/null +++ b/tests/110_local-ftp-parallel.test @@ -0,0 +1,98 @@ +#!/bin/bash +# +# A completed FTP transfer used to end as a 0-byte file when its ready backlog +# slot was swapped to t...
A successful FTP transfer can be blanked when its backlog slot is swapped out A completed FTP transfer can end as a 0-byte file while the engine records it as a success. `hts-cache/new.txt` says `4109/4109 ... 200 added ('OK')`, the server sent every byte and answered 226, and the file on disk is empty. The FTP worker...
[ "https://github.com/xroche/httrack/commit/bea3f8a5610ddd5677bec88cf723d12ac5d44e94", "https://github.com/xroche/httrack/commit/03e2286254c5f939b7dcf6c172393e05f68fa88f", "https://github.com/xroche/httrack/commit/9259ff7382b6154b9bab947037c30e2a24bf6701" ]
2026-07-27T11:50:38Z
https://github.com/xroche/httrack/tree/bc6c53598cc3b3be1c29bc324feb811ef3475f55
[ "cd /testbed && ./bootstrap ; make -C /testbed/build -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat /testbed/build/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi_escape = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") test_line = re.compile( r"^\s*(PASS|FAIL|SKIP|ERROR|XFAIL|XPASS)\s*:\s*(\S(?:.*\S)?)\s*$", re.IGNORECASE, ) status_map = { "PASS": "pass", ...
[ "110_local-ftp-parallel.test" ]
[ "01_engine-sniff.test", "18_local-update.test", "01_engine-backswap.test", "01_engine-mime.test", "73_local-warc.test", "01_engine-direnum.test", "00_runnable.test", "01_zlib-cache-corrupt.test", "20_local-resume-loop.test", "01_engine-ftp-line.test", "01_engine-urlhack.test", "30_local-fragme...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-809
xroche/httrack
763
xroche__httrack-763
[ "748" ]
de8c0eebfc71f8652a4f416f66af5d1a18473429
diff --git a/src/htscore.c b/src/htscore.c index a904c6fe..1ef711ee 100644 --- a/src/htscore.c +++ b/src/htscore.c @@ -1980,10 +1980,9 @@ int httpmirror(char *url1, httrackp * opt) { } // ATTENTION C'EST ICI QU'ON SAUVE LE FICHIER!! - // An empty body must not overwrite the file when th...
diff --git a/tests/93_local-changes.test b/tests/93_local-changes.test index ba465bb3..63a6ed23 100644 --- a/tests/93_local-changes.test +++ b/tests/93_local-changes.test @@ -94,10 +94,7 @@ expect_counts_match() { echo "OK" } lines() { printf '%s\n' "$@" | sort; } -# A connection killed before the status line su...
A re-fetch that never gets a response truncates the mirrored file to zero on macOS On the macOS CI runner, a re-fetch whose connection dies before the status line arrives overwrites the mirrored file with zero bytes. The same crawl on Linux leaves the previous copy alone. Seen in run 30220185765 (job "build (macOS arm...
[ "https://github.com/xroche/httrack/commit/1373530f1792e61267ffb35dc952b496e0e5cd59", "https://github.com/xroche/httrack/commit/f118cd86d3cf567f5f17c216bb3a84b69270aace", "https://github.com/xroche/httrack/commit/6457828b720e0252a62e87559624a66eea45d48d", "https://github.com/xroche/httrack/commit/2ffe8d5582fa5...
2026-07-27T07:00:20Z
https://github.com/xroche/httrack/tree/de8c0eebfc71f8652a4f416f66af5d1a18473429
[ "cd /testbed && ./bootstrap ; make -C /testbed/build -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat /testbed/build/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi_escape = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") test_line = re.compile( r"^\s*(PASS|FAIL|SKIP|ERROR|XFAIL|XPASS)\s*:\s*(\S(?:.*\S)?)\s*$", re.IGNORECASE, ) status_map = { "PASS": "pass", ...
[ "96_local-refetch-keep.test" ]
[ "01_engine-sniff.test", "18_local-update.test", "01_engine-mime.test", "73_local-warc.test", "01_engine-direnum.test", "00_runnable.test", "01_zlib-cache-corrupt.test", "20_local-resume-loop.test", "01_engine-ftp-line.test", "01_engine-urlhack.test", "30_local-fragment-link.test", "15_local-ty...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-763
xroche/httrack
789
xroche__httrack-789
[ "778" ]
c65d1c43c700cd22caf66090032f3d8b7ce5e0b7
diff --git a/src/htswarc.c b/src/htswarc.c index 4cf3efe7..c3cb1c45 100644 --- a/src/htswarc.c +++ b/src/htswarc.c @@ -127,24 +127,32 @@ static void wbuf_free(wbuf *b) { b->len = b->cap = 0; } -/* Append n bytes; returns 0 on success, -1 on OOM/overflow. */ -static int wbuf_add(wbuf *b, const void *p, size_t n) {...
diff --git a/src/htsselftest.c b/src/htsselftest.c index 1c8eb9c0..f7fa4381 100644 --- a/src/htsselftest.c +++ b/src/htsselftest.c @@ -4944,6 +4944,101 @@ static int st_warc_surt(httrackp *opt, int argc, char **argv) { return err; } +/* A URL longer than the old 1024-byte header-format buffer must still reach the...
server-not-modified revisit records carry no WARC-Refers-To-Target-URI, so replay cannot resolve them A 304 revisit is written with a `WARC-Profile` and nothing else that says what it stands for: ``` WARC-Type: revisit WARC-Target-URI: http://host/mini304/index.html WARC-Profile: http://netpreserve.org/warc/1.1/revisi...
[ "https://github.com/xroche/httrack/commit/d0769d40300c11d3621a65b2a215f0aa226ec33a", "https://github.com/xroche/httrack/commit/e01e4713114abe4293959b3b1418a1f6f21326ac", "https://github.com/xroche/httrack/commit/37897c67f87eb71d1a512abce1b69cf5bb96742d", "https://github.com/xroche/httrack/commit/eb7ca170cc3eb...
2026-07-27T08:33:52Z
https://github.com/xroche/httrack/tree/c65d1c43c700cd22caf66090032f3d8b7ce5e0b7
[ "cd /testbed && ./bootstrap ; make -C /testbed/build -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat /testbed/build/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi_escape = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") test_line = re.compile( r"^\s*(PASS|FAIL|SKIP|ERROR|XFAIL|XPASS)\s*:\s*(\S(?:.*\S)?)\s*$", re.IGNORECASE, ) status_map = { "PASS": "pass", ...
[ "104_engine-warc-longurl.test", "73_local-warc.test" ]
[ "01_engine-sniff.test", "18_local-update.test", "01_engine-backswap.test", "01_engine-mime.test", "01_engine-direnum.test", "00_runnable.test", "01_zlib-cache-corrupt.test", "20_local-resume-loop.test", "01_engine-ftp-line.test", "01_engine-urlhack.test", "30_local-fragment-link.test", "15_loc...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-789
xroche/httrack
803
xroche__httrack-803
[ "787" ]
83079b788da9c0d50cb22c43a59aaa5be57fef8c
diff --git a/html/fcguide.html b/html/fcguide.html index 0b22b465..f7a30e6f 100644 --- a/html/fcguide.html +++ b/html/fcguide.html @@ -237,7 +237,7 @@ <h2> Basics </h2> x replace external html links by error pages (--replace-external) %x do not include any password for external password protected websites (%x0 i...
diff --git a/tests/23_local-errpage.test b/tests/23_local-errpage.test index 32e5e621..0365968b 100644 --- a/tests/23_local-errpage.test +++ b/tests/23_local-errpage.test @@ -13,7 +13,10 @@ bash "$top_srcdir/tests/local-crawl.sh" --errors 1 \ --not-found 'errpage/missing.html' \ httrack 'BASEURL/errpage/index...
The -o help text promises a generated error page; the engine stores the server's `src/htshelp.c:563` describes `-o` as "generate output html file in case of error (404..)". The same line is regenerated into `man/httrack.1:223` and `html/httrack.man.html`, and appears four times in `html/fcguide.html`. The engine gener...
[ "https://github.com/xroche/httrack/commit/f98a3d1e63878cf873e696a8f55d21fe392b5ace", "https://github.com/xroche/httrack/commit/1cfd022cf3c936be0d5d7a849a837cc57581c294" ]
2026-07-27T11:39:52Z
https://github.com/xroche/httrack/tree/83079b788da9c0d50cb22c43a59aaa5be57fef8c
[ "cd /testbed && ./bootstrap ; make -C /testbed/build -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat /testbed/build/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi_escape = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") test_line = re.compile( r"^\s*(PASS|FAIL|SKIP|ERROR|XFAIL|XPASS)\s*:\s*(\S(?:.*\S)?)\s*$", re.IGNORECASE, ) status_map = { "PASS": "pass", ...
[ "28_local-pause.test" ]
[ "01_engine-sniff.test", "18_local-update.test", "01_engine-backswap.test", "01_engine-mime.test", "73_local-warc.test", "01_engine-direnum.test", "00_runnable.test", "01_zlib-cache-corrupt.test", "20_local-resume-loop.test", "01_engine-ftp-line.test", "01_engine-urlhack.test", "30_local-fragme...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-803
xroche/httrack
810
xroche__httrack-810
[ "798" ]
536d7515ed69a9ae51ed350c11b65eab4b950afa
diff --git a/src/htsftp.c b/src/htsftp.c index f3c57e07..830abc12 100644 --- a/src/htsftp.c +++ b/src/htsftp.c @@ -483,16 +483,19 @@ int run_launch_ftp(FTPDownloadStruct * pStruct) { back->r.totalsize = size; } } - // REST? - if (fex...
diff --git a/tests/111_local-ftp-update-rest.test b/tests/111_local-ftp-update-rest.test new file mode 100644 index 00000000..8a488b4c --- /dev/null +++ b/tests/111_local-ftp-update-rest.test @@ -0,0 +1,125 @@ +#!/bin/bash +# +# FTP resumed with REST whenever the mirrored file merely existed, so an +# --update over a c...
An FTP --update resumes a complete mirror with REST and splices the old file into the new body run_launch_ftp() sends `REST <local size>` whenever the mirrored file merely exists (`src/htsftp.c:487`). On an `--update` pass every previously mirrored file exists, so a complete copy is treated as an interrupted download a...
[ "https://github.com/xroche/httrack/commit/6a789861b470cc512741f4461274e77e528773b7", "https://github.com/xroche/httrack/commit/25ef2fc901cd7d3068b9797ff2914fa8509a99a3", "https://github.com/xroche/httrack/commit/c2ab96ed12c5f3e2c4ebb715fea6d1c798de94d2" ]
2026-07-27T11:50:40Z
https://github.com/xroche/httrack/tree/536d7515ed69a9ae51ed350c11b65eab4b950afa
[ "cd /testbed && ./bootstrap ; make -C /testbed/build -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat /testbed/build/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi_escape = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") test_line = re.compile( r"^\s*(PASS|FAIL|SKIP|ERROR|XFAIL|XPASS)\s*:\s*(\S(?:.*\S)?)\s*$", re.IGNORECASE, ) status_map = { "PASS": "pass", ...
[ "111_local-ftp-update-rest.test" ]
[ "01_engine-sniff.test", "18_local-update.test", "01_engine-backswap.test", "01_engine-mime.test", "73_local-warc.test", "01_engine-direnum.test", "00_runnable.test", "01_zlib-cache-corrupt.test", "20_local-resume-loop.test", "01_engine-ftp-line.test", "01_engine-urlhack.test", "15_local-types....
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-810
xroche/httrack
815
xroche__httrack-815
[ "814" ]
2e67587ec71d0763e8333badd79c445a67ac0ae2
diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 056b8445..10a0268d 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -211,7 +211,8 @@ jobs: pass=0 fail=0 skip=0 failed="" skipped="" deadline=0 for t in 00_runn...
diff --git a/src/htsselftest.c b/src/htsselftest.c index 8d809a39..0a9c59b5 100644 --- a/src/htsselftest.c +++ b/src/htsselftest.c @@ -6973,9 +6973,10 @@ static int st_changes_race(httrackp *opt, int argc, char **argv) { return err; } -/* The x[strlen(x) - 1] class (#770). The string starts mid-arena so the byte ...
Backward scans from strlen(s) - 1 walk off the front of the buffer Two loops start at the last character of a string and decrement with no lower bound, so both run past the front when the string is nothing but separators. `optinclude_file()` (htsalias.c) right-trims every config line: ```c a = line + strlen(line) - 1...
[ "https://github.com/xroche/httrack/commit/4e77ad962b992289ea80aa8b4a7fec4f59e662dc", "https://github.com/xroche/httrack/commit/d198950b8e509140933fca3ed12d88ba5cdc8c65", "https://github.com/xroche/httrack/commit/59b8ae7d40c24b55c3f844694ced9e4f74e9ab4f", "https://github.com/xroche/httrack/commit/164c21e626cf4...
2026-07-27T12:00:48Z
https://github.com/xroche/httrack/tree/2e67587ec71d0763e8333badd79c445a67ac0ae2
[ "cd /testbed && ./bootstrap ; make -C /testbed/build -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat /testbed/build/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi_escape = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") test_line = re.compile( r"^\s*(PASS|FAIL|SKIP|ERROR|XFAIL|XPASS)\s*:\s*(\S(?:.*\S)?)\s*$", re.IGNORECASE, ) status_map = { "PASS": "pass", ...
[ "01_zlib-repair-shift.test", "01_zlib-cache-writefail.test", "01_engine-gmtime.test", "52_local-socks5.test", "01_engine-fsize.test", "01_engine-cmdline-split.test", "18_local-update.test", "01_engine-entities.test", "103_teardown-status.test", "01_engine-savename.test", "22_local-broken-size.te...
[]
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-815
xroche/httrack
876
xroche__httrack-876
[ "875" ]
8d51e11c6ef16e9c9fda3e88fb3d3bc332d1c98b
diff --git a/src/htsserver.c b/src/htsserver.c index 3f09c56e..4f8bcc5e 100644 --- a/src/htsserver.c +++ b/src/htsserver.c @@ -101,21 +101,53 @@ extern void webhttrack_main(char *cmd); extern void webhttrack_lock(void); extern void webhttrack_release(void); -static int is_image(const char *file) { - return strstr(...
diff --git a/tests/142_webhttrack-content-type.test b/tests/142_webhttrack-content-type.test new file mode 100644 index 00000000..f7c6a93c --- /dev/null +++ b/tests/142_webhttrack-content-type.test @@ -0,0 +1,203 @@ +#!/bin/bash +# +# htsserver must type each file it serves from its whole extension, and must +# not exp...
htsserver labels every PNG as image/gif, and serves JPEG as a download `htsserver` picks the response content type from the filename in `src/htsserver.c:1462-1476`, and the image branch is wrong twice. `is_image()` (`:104`) matches `.gif` and `.png`, but the header it selects, `ok_img` (`:992`), hardcodes `Content-typ...
[ "https://github.com/xroche/httrack/commit/34822c0df6687cf3988d6d09c5ed72e8d7c67b89", "https://github.com/xroche/httrack/commit/9453880ca6de43cf9142a1091fa82591f57300eb" ]
2026-07-29T15:41:44Z
https://github.com/xroche/httrack/tree/8d51e11c6ef16e9c9fda3e88fb3d3bc332d1c98b
[ "cd /testbed && ./bootstrap ; make -C /testbed/build -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat /testbed/build/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi_escape = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") test_line = re.compile( r"^\s*(PASS|FAIL|SKIP|ERROR|XFAIL|XPASS)\s*:\s*(\S(?:.*\S)?)\s*$", re.IGNORECASE, ) status_map = { "PASS": "pass", ...
[ "142_webhttrack-content-type.test" ]
[ "01_zlib-repair-shift.test", "133_engine-reentrant-time.test", "01_zlib-cache-writefail.test", "01_engine-gmtime.test", "52_local-socks5.test", "01_engine-cmdline-split.test", "01_engine-fsize.test", "132_local-bak-space-collision.test", "01_engine-entities.test", "18_local-update.test", "103_te...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-876
xroche/httrack
829
xroche__httrack-829
[ "828" ]
91d12d404096406fefeb3bec8a0bcd1ddadde157
diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 418cdc11..f575e157 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -262,11 +262,11 @@ jobs: # tested nothing: pin the skips, and floor the passes in case the glob empties...
diff --git a/tests/120_local-proxytrack-webdav-default.test b/tests/120_local-proxytrack-webdav-default.test new file mode 100755 index 00000000..f36f9791 --- /dev/null +++ b/tests/120_local-proxytrack-webdav-default.test @@ -0,0 +1,121 @@ +#!/bin/bash +# +# A PROPFIND whose path is an exact cache entry enumerates that...
A PROPFIND on an exact cache entry crashes proxytrack `PT_Enumerate()` reports the folder's default document as a zero-length name. The listing loop in `proxytrack_process_DAV_Request()` then evaluates `thisUrl[thisUrlLen - 1]` with an unsigned length of 0, which reads 4 GB past the string, and the process dies. It tak...
[ "https://github.com/xroche/httrack/commit/ad3f051ac6b22a7ba8b213c83cdd82246d3c0e5f", "https://github.com/xroche/httrack/commit/db89c82d793e41fc7541ef0205c6db57f190b63d", "https://github.com/xroche/httrack/commit/13953867e8206c793bc2b3603f5a7e0754d2c994", "https://github.com/xroche/httrack/commit/f7d45027a85a4...
2026-07-27T12:41:03Z
https://github.com/xroche/httrack/tree/91d12d404096406fefeb3bec8a0bcd1ddadde157
[ "cd /testbed && ./bootstrap ; make -C /testbed/build -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat /testbed/build/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi_escape = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") test_line = re.compile( r"^\s*(PASS|FAIL|SKIP|ERROR|XFAIL|XPASS)\s*:\s*(\S(?:.*\S)?)\s*$", re.IGNORECASE, ) status_map = { "PASS": "pass", ...
[ "120_local-proxytrack-webdav-default.test" ]
[ "01_zlib-repair-shift.test", "01_zlib-cache-writefail.test", "01_engine-gmtime.test", "52_local-socks5.test", "01_engine-cmdline-split.test", "01_engine-fsize.test", "01_engine-entities.test", "18_local-update.test", "103_teardown-status.test", "01_engine-savename.test", "22_local-broken-size.te...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-829
xroche/httrack
784
xroche__httrack-784
[ "779" ]
56389103bf4c52a3a0c43f7b729ea89e6d2f0236
diff --git a/src/htslib.c b/src/htslib.c index 34a7e2d2..ada29e86 100644 --- a/src/htslib.c +++ b/src/htslib.c @@ -6648,9 +6648,12 @@ int hts_rename_utf8(const char *oldpath, const char *newpath) { LPWSTR wnewpath = hts_pathToUCS2(newpath); if (woldpath != NULL && wnewpath != NULL) { const int result = _wren...
diff --git a/src/htsselftest.c b/src/htsselftest.c index 371e1e64..0576cb79 100644 --- a/src/htsselftest.c +++ b/src/htsselftest.c @@ -5955,6 +5955,104 @@ static int st_mirrorio(httrackp *opt, int argc, char **argv) { return 0; } +static void ro_put(const char *path, const char *data) { + FILE *const fp = FOPEN(...
hts_rename_over() deletes the destination when the source is missing `hts_rename_over()` in `src/htstools.c` deletes its destination when the source does not exist: ```c if (RENAME(csrc, cdst) == 0) return HTS_TRUE; /* RENAME does not clobber an existing target on Windows. */ (void) UNLINK(cdst); return RE...
[ "https://github.com/xroche/httrack/commit/0e6285c87b66412f081d68d283905483f4b80ed4", "https://github.com/xroche/httrack/commit/e20f906900ae3313ecf9912c1c1e182a3c5c2ab7", "https://github.com/xroche/httrack/commit/ad9030f6133579c7c7c004fa03c8c045b4ab964b", "https://github.com/xroche/httrack/commit/a8e6c8306ceed...
2026-07-27T08:26:05Z
https://github.com/xroche/httrack/tree/56389103bf4c52a3a0c43f7b729ea89e6d2f0236
[ "cd /testbed && ./bootstrap ; make -C /testbed/build -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat /testbed/build/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi_escape = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") test_line = re.compile( r"^\s*(PASS|FAIL|SKIP|ERROR|XFAIL|XPASS)\s*:\s*(\S(?:.*\S)?)\s*$", re.IGNORECASE, ) status_map = { "PASS": "pass", ...
[ "01_engine-renameover.test" ]
[ "01_engine-sniff.test", "18_local-update.test", "01_engine-mime.test", "73_local-warc.test", "01_engine-direnum.test", "00_runnable.test", "01_zlib-cache-corrupt.test", "20_local-resume-loop.test", "01_engine-ftp-line.test", "01_engine-urlhack.test", "30_local-fragment-link.test", "15_local-ty...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-784
xroche/httrack
807
xroche__httrack-807
[ "772" ]
2e67587ec71d0763e8333badd79c445a67ac0ae2
diff --git a/src/htsthread.c b/src/htsthread.c index dc0e8180..8435490e 100644 --- a/src/htsthread.c +++ b/src/htsthread.c @@ -148,20 +148,23 @@ HTSEXT_API int hts_newthread(void (*fun) (void *arg), void *arg) { const size_t stackSize = 1024 * 1024 * 8; pthread_attr_t attr; pthread_t handle = 0; - int...
diff --git a/tests/113_engine-threadattr-leak.test b/tests/113_engine-threadattr-leak.test new file mode 100644 index 00000000..96bc7b06 --- /dev/null +++ b/tests/113_engine-threadattr-leak.test @@ -0,0 +1,62 @@ +#!/bin/bash +# +# Issue #772: hts_newthread() destroyed the pthread attributes object only when +# the thre...
hts_newthread() leaves the pthread attributes object undestroyed when thread creation fails `hts_newthread()` (src/htsthread.c) initialises a `pthread_attr_t`, sets a stack size on it, creates the thread, and destroys the attributes only on the success path: ```c if (pthread_attr_init(&attr) != 0 || pthrea...
[ "https://github.com/xroche/httrack/commit/7cad35c097bfd117d8db45cd164538318116339d", "https://github.com/xroche/httrack/commit/a48fa4cc7b488eaed809b9b6a19a9480ca34478e", "https://github.com/xroche/httrack/commit/cbe0a17b382aa50636d6d5e406511334a3f5f30c", "https://github.com/xroche/httrack/commit/ccf271762cfd0...
2026-07-27T11:50:04Z
https://github.com/xroche/httrack/tree/2e67587ec71d0763e8333badd79c445a67ac0ae2
[ "cd /testbed && ./bootstrap ; make -C /testbed/build -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat /testbed/build/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi_escape = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") test_line = re.compile( r"^\s*(PASS|FAIL|SKIP|ERROR|XFAIL|XPASS)\s*:\s*(\S(?:.*\S)?)\s*$", re.IGNORECASE, ) status_map = { "PASS": "pass", ...
[ "113_engine-threadattr-leak.test" ]
[ "01_zlib-repair-shift.test", "01_zlib-cache-writefail.test", "01_engine-gmtime.test", "52_local-socks5.test", "01_engine-cmdline-split.test", "01_engine-fsize.test", "01_engine-entities.test", "18_local-update.test", "103_teardown-status.test", "01_engine-savename.test", "22_local-broken-size.te...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-807
xroche/httrack
837
xroche__httrack-837
[ "826" ]
be9d9927a619d0278ac171d90a172b35d55e4409
diff --git a/src/htsback.c b/src/htsback.c index c7460c8b..77efafee 100644 --- a/src/htsback.c +++ b/src/htsback.c @@ -4082,6 +4082,11 @@ void back_wait(struct_back * sback, httrackp * opt, cache_back * cache, memset(&tmp, 0, sizeof(tmp)); back_connxfr(&back[i].r, &tmp); ...
diff --git a/src/htscache_selftest.c b/src/htscache_selftest.c index 7ef7ce04..17abf6be 100644 --- a/src/htscache_selftest.c +++ b/src/htscache_selftest.c @@ -309,6 +309,72 @@ static int disk_fallback_selftest(httrackp *opt) { return fail; } +/* A cache miss sends cache_read_including_broken() to the serialized r...
A 304 revisit loses its WARC request and response headers, and cache_read_including_broken returns freed pointers Two pre-existing problems found while reviewing #808, both outside that PR's scope and unchanged by it. A 304 revisit WARC record loses `warc_reqhdr` and `warc_resphdr`. The struct assignment in the `HTTP_...
[ "https://github.com/xroche/httrack/commit/92b2a29f2c134369b47e6b6b87faf4e515e4a47b", "https://github.com/xroche/httrack/commit/8b7130ca4fac4bc0957b62a5a86970d92446fa09", "https://github.com/xroche/httrack/commit/8cf06da54a4a80e680051b6283db358346c0f1d3", "https://github.com/xroche/httrack/commit/59372cd6f19da...
2026-07-27T13:10:37Z
https://github.com/xroche/httrack/tree/be9d9927a619d0278ac171d90a172b35d55e4409
[ "cd /testbed && ./bootstrap ; make -C /testbed/build -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat /testbed/build/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi_escape = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") test_line = re.compile( r"^\s*(PASS|FAIL|SKIP|ERROR|XFAIL|XPASS)\s*:\s*(\S(?:.*\S)?)\s*$", re.IGNORECASE, ) status_map = { "PASS": "pass", ...
[ "01_zlib-repair-shift.test", "01_zlib-cache-writefail.test", "01_engine-gmtime.test", "52_local-socks5.test", "01_engine-fsize.test", "01_engine-cmdline-split.test", "18_local-update.test", "01_engine-entities.test", "103_teardown-status.test", "01_engine-savename.test", "22_local-broken-size.te...
[]
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-837
xroche/httrack
849
xroche__httrack-849
[ "838", "839" ]
22e95206366136b078f96b70d7a57000cf040356
diff --git a/src/htsback.c b/src/htsback.c index 2eccedc6..a59072a0 100644 --- a/src/htsback.c +++ b/src/htsback.c @@ -1283,6 +1283,7 @@ void back_connxfr(htsblk * src, htsblk * dst) { src->keep_alive_t = 0; dst->debugid = src->debugid; src->debugid = 0; + dst->address = src->address; // peer IP survives the ...
diff --git a/tests/134_local-warc-revisit-ip.test b/tests/134_local-warc-revisit-ip.test new file mode 100755 index 00000000..91590d7f --- /dev/null +++ b/tests/134_local-warc-revisit-ip.test @@ -0,0 +1,15 @@ +#!/bin/bash +# A 304 revisit record must name the peer it revisited (#838). +set -eu + +: "${top_srcdir:=..}" ...
A 304 revisit record names no peer IP `warc_write_backtransaction()` reads the peer address from `back->r.address`, which the 304 path in `back_wait()` loses along with everything else the cache entry overwrites. `back_connxfr()` moves the socket and keep-alive members across the swap, not the address, so every revisit...
[ "https://github.com/xroche/httrack/commit/92b2a29f2c134369b47e6b6b87faf4e515e4a47b", "https://github.com/xroche/httrack/commit/8b7130ca4fac4bc0957b62a5a86970d92446fa09", "https://github.com/xroche/httrack/commit/8cf06da54a4a80e680051b6283db358346c0f1d3", "https://github.com/xroche/httrack/commit/59372cd6f19da...
2026-07-27T19:21:45Z
https://github.com/xroche/httrack/tree/22e95206366136b078f96b70d7a57000cf040356
[ "cd /testbed && ./bootstrap ; make -C /testbed/build -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat /testbed/build/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi_escape = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") test_line = re.compile( r"^\s*(PASS|FAIL|SKIP|ERROR|XFAIL|XPASS)\s*:\s*(\S(?:.*\S)?)\s*$", re.IGNORECASE, ) status_map = { "PASS": "pass", ...
[ "134_local-warc-revisit-ip.test", "136_local-warc-cache-priority.test", "135_local-warc-forced-notmodified.test" ]
[ "01_zlib-repair-shift.test", "133_engine-reentrant-time.test", "01_zlib-cache-writefail.test", "01_engine-gmtime.test", "52_local-socks5.test", "01_engine-cmdline-split.test", "01_engine-fsize.test", "01_engine-entities.test", "18_local-update.test", "103_teardown-status.test", "01_engine-savena...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-849
xroche/httrack
851
xroche__httrack-851
[ "840" ]
f0cd4b5089a86bc3a49d1a66164cf3bed851c858
diff --git a/src/htsback.c b/src/htsback.c index a59072a0..097067a5 100644 --- a/src/htsback.c +++ b/src/htsback.c @@ -791,6 +791,12 @@ hts_boolean back_finalize_backup(httrackp *opt, lien_back *const back, return commit == wanted ? HTS_TRUE : HTS_FALSE; } +/* A chunked body is framed by its terminating zero-leng...
diff --git a/tests/130_local-chunked-truncated.test b/tests/130_local-chunked-truncated.test new file mode 100644 index 00000000..d5f7131d --- /dev/null +++ b/tests/130_local-chunked-truncated.test @@ -0,0 +1,59 @@ +#!/bin/bash +# +# A chunked response cut before its terminating zero-length chunk must be refused +# lik...
A chunked response cut at a chunk boundary is stored and cached as complete `back_finalize()`'s incomplete-transfer guard (`src/htsback.c`) is gated on `r.totalsize >= 0`, so it only fires for a response that declared a Content-Length. A chunked response has `totalsize == -1` and never reaches it. That is correct for t...
[ "https://github.com/xroche/httrack/commit/626ff3d6c6b1ff0936461427c8d95b94e1b7ebae", "https://github.com/xroche/httrack/commit/8128012b61b228ce094b2bfaec7775e8d557735c", "https://github.com/xroche/httrack/commit/baaf0f906f90f6fefa8129c554fe2fd7583a288e", "https://github.com/xroche/httrack/commit/c1430380ecab1...
2026-07-27T19:30:13Z
https://github.com/xroche/httrack/tree/f0cd4b5089a86bc3a49d1a66164cf3bed851c858
[ "cd /testbed && ./bootstrap ; make -C /testbed/build -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat /testbed/build/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi_escape = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") test_line = re.compile( r"^\s*(PASS|FAIL|SKIP|ERROR|XFAIL|XPASS)\s*:\s*(\S(?:.*\S)?)\s*$", re.IGNORECASE, ) status_map = { "PASS": "pass", ...
[ "130_local-chunked-truncated.test" ]
[ "01_zlib-repair-shift.test", "133_engine-reentrant-time.test", "01_zlib-cache-writefail.test", "01_engine-gmtime.test", "52_local-socks5.test", "01_engine-cmdline-split.test", "01_engine-fsize.test", "01_engine-entities.test", "18_local-update.test", "103_teardown-status.test", "01_engine-savena...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-851
xroche/httrack
893
xroche__httrack-893
[ "892" ]
8f383f4caff72f79c3c75fdc40c8d93df5fc181b
diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 1c3bb610..35318a59 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -269,11 +269,13 @@ jobs: # badmtime needs a filesystem that stores an mtime past gmtime's range; ...
diff --git a/tests/143_engine-backtrace-empty.test b/tests/143_engine-backtrace-empty.test new file mode 100644 index 00000000..89a20ff1 --- /dev/null +++ b/tests/143_engine-backtrace-empty.test @@ -0,0 +1,70 @@ +#!/bin/bash +# An empty backtrace() must still leave a report; a silent one reads as a +# handler that died...
armhf crash reports have no frames, and the empty backtrace fails the build The Debian 3.49.15-1 armhf build failed the test suite ([buildd log](https://buildd.debian.org/status/fetch.php?pkg=httrack&arch=armhf&ver=3.49.15-1&stamp=1785404564&raw=0)), leaving armhf the only architecture stuck at Build-Attempted: ``` FA...
[ "https://github.com/xroche/httrack/commit/bda2ef2beb362310f9f7c9ce6271afd294cdaa8c", "https://github.com/xroche/httrack/commit/a9554cfbb9bfb929210715e2ea8d5e3f6cffdaf0", "https://github.com/xroche/httrack/commit/12742b9eba4b5dddd5ae972e50eba6501af72537", "https://github.com/xroche/httrack/commit/74a43bbeb8616...
2026-07-30T15:24:27Z
https://github.com/xroche/httrack/tree/8f383f4caff72f79c3c75fdc40c8d93df5fc181b
[ "cd /testbed && ./bootstrap ; make -C /testbed/build -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat /testbed/build/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi_escape = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") test_line = re.compile( r"^\s*(PASS|FAIL|SKIP|ERROR|XFAIL|XPASS)\s*:\s*(\S(?:.*\S)?)\s*$", re.IGNORECASE, ) status_map = { "PASS": "pass", ...
[ "143_engine-backtrace-empty.test" ]
[ "01_zlib-repair-shift.test", "133_engine-reentrant-time.test", "01_zlib-cache-writefail.test", "01_engine-gmtime.test", "52_local-socks5.test", "01_engine-cmdline-split.test", "01_engine-fsize.test", "132_local-bak-space-collision.test", "01_engine-entities.test", "18_local-update.test", "103_te...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-893
xroche/httrack
835
xroche__httrack-835
[ "825" ]
db4d4294682963de5edad578b1e98b15ad639b86
diff --git a/src/proxy/store.c b/src/proxy/store.c index 0a70e5b9..a4124410 100644 --- a/src/proxy/store.c +++ b/src/proxy/store.c @@ -888,6 +888,31 @@ static PT_Element PT_ReadCache__New(PT_Index index, const char *url, int flags) } \ } while(0) +/* Set path (capacity size) to filename's parent directory, separat...
diff --git a/tests/119_local-proxytrack-ndx-fields2.test b/tests/119_local-proxytrack-ndx-fields2.test new file mode 100644 index 00000000..fc4be855 --- /dev/null +++ b/tests/119_local-proxytrack-ndx-fields2.test @@ -0,0 +1,155 @@ +#!/bin/bash +# Two bounds in the .ndx/.dat reader: a position field that did not parse l...
ProxyTrack .ndx parse reads an uninitialized offset and bounds a strncat by its source Two pre-existing problems in `src/proxy/store.c`, found while reviewing #811 and outside that PR's invariant. `pos` at :1589 is read at :1592 without having been initialized, on the path where the `sscanf` meant to set it fails. `s...
[ "https://github.com/xroche/httrack/commit/1193a7f599003ec7c67e488081854c71333b3a13", "https://github.com/xroche/httrack/commit/a18e4f9d0cb9ccb391430b8f9703ee4a8f938fa0", "https://github.com/xroche/httrack/commit/46acc091047e6a4271599535043b2709710a431c", "https://github.com/xroche/httrack/commit/1b408f007db3c...
2026-07-27T13:03:07Z
https://github.com/xroche/httrack/tree/db4d4294682963de5edad578b1e98b15ad639b86
[ "cd /testbed && ./bootstrap ; make -C /testbed/build -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat /testbed/build/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi_escape = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") test_line = re.compile( r"^\s*(PASS|FAIL|SKIP|ERROR|XFAIL|XPASS)\s*:\s*(\S(?:.*\S)?)\s*$", re.IGNORECASE, ) status_map = { "PASS": "pass", ...
[ "119_local-proxytrack-ndx-fields2.test" ]
[ "01_zlib-repair-shift.test", "01_zlib-cache-writefail.test", "01_engine-gmtime.test", "52_local-socks5.test", "01_engine-cmdline-split.test", "01_engine-fsize.test", "01_engine-entities.test", "18_local-update.test", "103_teardown-status.test", "01_engine-savename.test", "22_local-broken-size.te...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-835
xroche/httrack
765
xroche__httrack-765
[ "746" ]
99bd9bb674b7ae9062a03e56f38f6204d789f9c4
diff --git a/src/htsback.c b/src/htsback.c index 646082a8..1257427f 100644 --- a/src/htsback.c +++ b/src/htsback.c @@ -585,6 +585,19 @@ static int create_back_tmpfile(httrackp *opt, lien_back *const back, return 0; } +/* Did the fetch fail to produce a response, as opposed to the engine + deliberately passing t...
diff --git a/tests/96_local-refetch-keep.test b/tests/96_local-refetch-keep.test index 02bba14d..a493069f 100644 --- a/tests/96_local-refetch-keep.test +++ b/tests/96_local-refetch-keep.test @@ -1,19 +1,16 @@ #!/bin/bash # -# A re-fetch cut mid-header must leave the mirrored file alone (#748): unfixed, -# the aborted...
--purge-old deletes a mirrored file when the connection drops before the response A re-fetch whose connection closes before any response arrives leaves the mirrored copy untouched: nothing is written, nothing is cached. The file never reaches `hts-cache/new.lst` either, so the end-of-session purge (`opt->delete_old`, o...
[ "https://github.com/xroche/httrack/commit/1373530f1792e61267ffb35dc952b496e0e5cd59", "https://github.com/xroche/httrack/commit/f118cd86d3cf567f5f17c216bb3a84b69270aace", "https://github.com/xroche/httrack/commit/6457828b720e0252a62e87559624a66eea45d48d", "https://github.com/xroche/httrack/commit/1a7effce495d4...
2026-07-27T07:07:33Z
https://github.com/xroche/httrack/tree/99bd9bb674b7ae9062a03e56f38f6204d789f9c4
[ "cd /testbed && ./bootstrap ; make -C /testbed/build -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat /testbed/build/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi_escape = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") test_line = re.compile( r"^\s*(PASS|FAIL|SKIP|ERROR|XFAIL|XPASS)\s*:\s*(\S(?:.*\S)?)\s*$", re.IGNORECASE, ) status_map = { "PASS": "pass", ...
[ "96_local-refetch-keep.test" ]
[ "01_engine-sniff.test", "18_local-update.test", "01_engine-mime.test", "73_local-warc.test", "01_engine-direnum.test", "00_runnable.test", "01_zlib-cache-corrupt.test", "20_local-resume-loop.test", "01_engine-ftp-line.test", "01_engine-urlhack.test", "30_local-fragment-link.test", "15_local-ty...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-765
xroche/httrack
850
xroche__httrack-850
[ "806" ]
91d12d404096406fefeb3bec8a0bcd1ddadde157
diff --git a/src/htsback.c b/src/htsback.c index c7460c8b..df8591cb 100644 --- a/src/htsback.c +++ b/src/htsback.c @@ -993,16 +993,15 @@ int back_finalize(httrackp * opt, cache_back * cache, struct_back * sback, char flags[32]; char s[256]; time_t tt; - struct tm *A; + ...
diff --git a/src/htsselftest.c b/src/htsselftest.c index 4df937a1..a06bbf7a 100644 --- a/src/htsselftest.c +++ b/src/htsselftest.c @@ -6852,6 +6852,149 @@ static int st_gmtime(httrackp *opt, int argc, char **argv) { return err; } +/* #806: hts_localtime() must own its output too, same rationale as + hts_gmtime(...
Four time helpers still read libc's shared gmtime/localtime static #794 moved the four `gmtime()` sites that copied out of the CRT static onto a reentrant `hts_gmtime()` helper. Several callers still hold a pointer into libc's static across other work, and glibc's `gmtime`/`localtime` buffer is process-wide rather than...
[ "https://github.com/xroche/httrack/commit/3dafb36b02ca6136197cb5fdd129a78d66dea06e" ]
2026-07-27T19:25:51Z
https://github.com/xroche/httrack/tree/91d12d404096406fefeb3bec8a0bcd1ddadde157
[ "cd /testbed && ./bootstrap ; make -C /testbed/build -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat /testbed/build/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi_escape = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") test_line = re.compile( r"^\s*(PASS|FAIL|SKIP|ERROR|XFAIL|XPASS)\s*:\s*(\S(?:.*\S)?)\s*$", re.IGNORECASE, ) status_map = { "PASS": "pass", ...
[ "01_zlib-repair-shift.test", "01_zlib-cache-writefail.test", "01_engine-gmtime.test", "52_local-socks5.test", "01_engine-fsize.test", "01_engine-cmdline-split.test", "18_local-update.test", "01_engine-entities.test", "103_teardown-status.test", "01_engine-savename.test", "22_local-broken-size.te...
[]
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-850
timescale/timescaledb
9908
timescale__timescaledb-9908
[ "9907" ]
e8ba528f15fdee4ce18886179a2001e9722b41e0
diff --git a/.unreleased/pr_9908 b/.unreleased/pr_9908 new file mode 100644 index 00000000000..829b8676e7b --- /dev/null +++ b/.unreleased/pr_9908 @@ -0,0 +1,1 @@ +Fixes: #9908 Skip `ColumnarIndexScan` when the qual contains a SubPlan diff --git a/tsl/src/nodes/columnar_index_scan/columnar_index_scan.c b/tsl/src/nodes/...
diff --git a/tsl/test/expected/chunk_column_stats.out b/tsl/test/expected/chunk_column_stats.out index 6d21749e5ef..e11fa0222e6 100644 --- a/tsl/test/expected/chunk_column_stats.out +++ b/tsl/test/expected/chunk_column_stats.out @@ -158,7 +158,6 @@ SELECT * from _timescaledb_catalog.chunk_column_stats WHERE chunk_id = ...
wrong result with columnar index scan and condition on segmentby column ``` -- ColumnarIndexScan drops the SubPlan Filter on compressed hypertables. -- WHERE dev NOT IN (SELECT ...) returns wrong COUNT(*). DROP TABLE IF EXISTS h CASCADE; CREATE TABLE h(ts timestamptz NOT NULL, dev int); SELECT create_hypertable('h','t...
[ "https://github.com/timescale/timescaledb/commit/30684a3ced6d2635076eed6fd4e92a6236b9965d" ]
2026-05-26T18:33:27Z
https://github.com/timescale/timescaledb/tree/e8ba528f15fdee4ce18886179a2001e9722b41e0
[ "cmake --build build --parallel ; cmake --install build" ]
[ "cd /testbed ; rm -f test-output.log ; chown -R postgres:postgres /testbed ; su postgres -c 'cd /testbed ; export PATH=/usr/lib/postgresql/17/bin:$PATH LANG=C.UTF-8 LC_ALL=C.UTF-8 PROVE=\"prove -v\" ; ninja -C build isolationcheck regresscheck provecheck installcheck-t' 2>&1 | tee test-output.log" ]
[ "cd /testbed ; cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} suite = "" tap_file = "" tap_assertions = 0 tap_file_status = "" # Keep the most severe result if the same case is reported more than once. rank = {"skip": 0, "pass": 1, "fail": 2} def record(name: str,...
[ "tsl/tap::t/001_job_crash_log.pl::2", "shared/regression::gapfill-17", "tsl/tap::t/002_logrepl_decomp_marker.pl::7 insert into uncompressed chunk 2", "shared/regression::constraint_exclusion_prepared-17", "tsl/tap::t/002_logrepl_decomp_marker.pl::6 recompress chunk", "tsl/tap::t/004_truncate_or_delete_spi...
[ "tsl/regression::decompress_index", "tsl/regression::cagg_policy", "core/regression::ddl_extra", "core/regression::histogram_test-17", "tsl/regression::columnstore_aliases", "tsl/regression::compress_compbloom_hash_pushdown", "tsl/regression::cagg_query-17", "tsl/regression::modify_exclusion-17", "t...
starryzhang/sweb.eval.x86_64.timescale_1776_timescaledb-9908
timescale/timescaledb
9988
timescale__timescaledb-9988
[ "9971" ]
1d77b0e31e7ee11d1ab01761dc205d1f97efa01a
diff --git a/.unreleased/fix_9988 b/.unreleased/fix_9988 new file mode 100644 index 00000000000..cb11daf7b44 --- /dev/null +++ b/.unreleased/fix_9988 @@ -0,0 +1,1 @@ +Fixes: #9988 Fix time_bucket_gapfill function detection diff --git a/src/func_cache.c b/src/func_cache.c index ad9c0881922..2d2407fa06d 100644 --- a/src/...
diff --git a/tsl/test/shared/expected/gapfill_bug.out b/tsl/test/shared/expected/gapfill_bug.out index 364273b3b0f..d204d04e189 100644 --- a/tsl/test/shared/expected/gapfill_bug.out +++ b/tsl/test/shared/expected/gapfill_bug.out @@ -510,3 +510,78 @@ GROUP BY 1, 2, 3; -> Seq Scan on gf_t1 t2...
A user can trigger asserion failure by creating a function named `time_bucket_gapfill` While this is not some useful case, it's valid and our code should be robust to it. ``` CREATE TABLE temperature_readings (sensor_id int); INSERT INTO temperature_readings VALUES (1), (2), (3); CREATE FUNCTION public.time_bucket_ga...
[ "https://github.com/timescale/timescaledb/commit/66d02189ad19e7d24afeac79699e7a2fa0358500" ]
2026-06-07T06:58:54Z
https://github.com/timescale/timescaledb/tree/1d77b0e31e7ee11d1ab01761dc205d1f97efa01a
[ "cmake --build build --parallel ; cmake --install build" ]
[ "cd /testbed ; rm -f test-output.log ; chown -R postgres:postgres /testbed ; su postgres -c 'cd /testbed ; export PATH=/usr/lib/postgresql/17/bin:$PATH LANG=C.UTF-8 LC_ALL=C.UTF-8 PROVE=\"prove -v\" ; ninja -C build isolationcheck regresscheck provecheck installcheck-t' 2>&1 | tee test-output.log" ]
[ "cd /testbed ; cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} suite = "" tap_file = "" tap_assertions = 0 tap_file_status = "" # Keep the most severe result if the same case is reported more than once. rank = {"skip": 0, "pass": 1, "fail": 2} def record(name: str,...
[ "tsl/isolation::deadlock_drop_index_vacuum", "tsl/isolation::reorder_vs_insert_other_chunk", "tsl/tap::t/002_logrepl_decomp_marker.pl::15 decompress chunk after disabling markers", "tsl/tap::t/002_logrepl_decomp_marker.pl::4 recompress chunk (NOOP)", "tsl/tap::t/004_truncate_or_delete_spin_lock.pl::7 verify...
[ "tsl/regression::decompress_index", "tsl/regression::cagg_policy", "core/regression::ddl_extra", "shared/regression::gapfill-17", "core/regression::histogram_test-17", "tsl/regression::columnstore_aliases", "tsl/regression::compress_compbloom_hash_pushdown", "tsl/regression::cagg_query-17", "tsl/reg...
starryzhang/sweb.eval.x86_64.timescale_1776_timescaledb-9988
timescale/timescaledb
9955
timescale__timescaledb-9955
[ "9922" ]
1dd7df939f294ad50602541bf4a77d48f7f93ced
diff --git a/.unreleased/pr_9955 b/.unreleased/pr_9955 new file mode 100644 index 00000000000..b3d16b495bd --- /dev/null +++ b/.unreleased/pr_9955 @@ -0,0 +1,1 @@ +Fixes: #9955 Fix wrong results when using Batch Sorted Merge with no first-last index on a non-leading order by column diff --git a/tsl/src/nodes/columnar_s...
diff --git a/tsl/test/expected/compression_sorted_merge.out b/tsl/test/expected/compression_sorted_merge.out index c62c9d9a49e..8a095c46d5b 100644 --- a/tsl/test/expected/compression_sorted_merge.out +++ b/tsl/test/expected/compression_sorted_merge.out @@ -1365,6 +1365,7 @@ SELECT "time","hin"::text,"model"::text,"bloc...
wrong order produced by batch sorted merge in multi-column orderby ``` CREATE TABLE bsm_segby(ts timestamptz NOT NULL, grp int NOT NULL, name text NOT NULL); SELECT create_hypertable('bsm_segby','ts',chunk_time_interval=>in...
Batch Sorted Merge currently relies on minmax batches order which may produce batches overlapping on multikey minmax, and BSM doesn't deal with it correctly. Quickest fix could be to not use BSM on multikey Order By on chunks with no **firstlast** indexes. The issue does not manifest with **firstlast** because batche...
Batch Sorted Merge currently relies on minmax batches order which may produce batches overlapping on multikey minmax, and BSM doesn't deal with it correctly. Quickest fix could be to not use BSM on multikey Order By on chunks with no **firstlast** indexes. The issue does not manifest with **firstlast** because batche...
[ "https://github.com/timescale/timescaledb/commit/770fff8de8d79d6f3302003c0045b73fe3837497" ]
2026-06-02T20:47:06Z
https://github.com/timescale/timescaledb/tree/1dd7df939f294ad50602541bf4a77d48f7f93ced
[ "cmake --build build --parallel ; cmake --install build" ]
[ "cd /testbed ; rm -f test-output.log ; chown -R postgres:postgres /testbed ; su postgres -c 'cd /testbed ; export PATH=/usr/lib/postgresql/17/bin:$PATH LANG=C.UTF-8 LC_ALL=C.UTF-8 PROVE=\"prove -v\" ; ninja -C build isolationcheck regresscheck provecheck installcheck-t' 2>&1 | tee test-output.log" ]
[ "cd /testbed ; cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} suite = "" tap_file = "" tap_assertions = 0 tap_file_status = "" # Keep the most severe result if the same case is reported more than once. rank = {"skip": 0, "pass": 1, "fail": 2} def record(name: str,...
[ "tsl/isolation::deadlock_drop_index_vacuum", "tsl/isolation::reorder_vs_insert_other_chunk", "tsl/tap::t/002_logrepl_decomp_marker.pl::15 decompress chunk after disabling markers", "tsl/tap::t/002_logrepl_decomp_marker.pl::4 recompress chunk (NOOP)", "tsl/tap::t/004_truncate_or_delete_spin_lock.pl::7 verify...
[ "tsl/regression::decompress_index", "tsl/regression::cagg_policy", "core/regression::ddl_extra", "core/regression::histogram_test-17", "tsl/regression::columnstore_aliases", "tsl/regression::compress_compbloom_hash_pushdown", "tsl/regression::cagg_query-17", "tsl/regression::modify_exclusion-17", "t...
starryzhang/sweb.eval.x86_64.timescale_1776_timescaledb-9955
xroche/httrack
811
xroche__httrack-811
[ "793" ]
8c5b208facd64787af052a1ebf436f02de13b139
diff --git a/src/proxy/store.c b/src/proxy/store.c index ff6ed610..18f6b477 100644 --- a/src/proxy/store.c +++ b/src/proxy/store.c @@ -259,7 +259,6 @@ static int binput(char *buff, char *s, int max) { int count = 0; int destCount = 0; - // Note: \0 will return 1 while(destCount < max && buff[count] != '\0' ...
diff --git a/tests/117_local-proxytrack-ndx-cursor.test b/tests/117_local-proxytrack-ndx-cursor.test new file mode 100644 index 00000000..73c0c053 --- /dev/null +++ b/tests/117_local-proxytrack-ndx-cursor.test @@ -0,0 +1,107 @@ +#!/bin/bash +# Issue #793: binput() stepped its caller's cursor over a byte it never +# con...
Reading an .ndx cache with full-length URL fields reads past the buffer `binput()` returns `count + 1`, which assumes it consumed a separator. When it stops because it filled its `max` instead, that `+1` skips a byte that is not a separator and the caller's cursor drifts forward. In `PT_LoadCache__Old` the cursor ends ...
[ "https://github.com/xroche/httrack/commit/01b69ebc8385898737d61caf210ca74652b6c5c5", "https://github.com/xroche/httrack/commit/ac675d3f6b9167b4b1c63d08f955804f6b37e60c", "https://github.com/xroche/httrack/commit/7381f3186bd53eeb69998637c1319e2ae48c43dc", "https://github.com/xroche/httrack/commit/9586f39cce73d...
2026-07-27T11:52:12Z
https://github.com/xroche/httrack/tree/8c5b208facd64787af052a1ebf436f02de13b139
[ "cd /testbed && ./bootstrap ; make -C /testbed/build -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat /testbed/build/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi_escape = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") test_line = re.compile( r"^\s*(PASS|FAIL|SKIP|ERROR|XFAIL|XPASS)\s*:\s*(\S(?:.*\S)?)\s*$", re.IGNORECASE, ) status_map = { "PASS": "pass", ...
[ "84_webhttrack-mirror-verbatim.test", "117_local-proxytrack-ndx-cursor.test" ]
[ "01_engine-sniff.test", "01_engine-gmtime.test", "18_local-update.test", "01_engine-backswap.test", "01_engine-mime.test", "73_local-warc.test", "01_engine-direnum.test", "00_runnable.test", "01_zlib-cache-corrupt.test", "20_local-resume-loop.test", "01_engine-ftp-line.test", "01_engine-urlhac...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-811
AOMediaCodec/libavif
3300
AOMediaCodec__libavif-3300
[ "3297" ]
970e58afc8630e110f23919e6f32ff216b675eb6
diff --git a/CHANGELOG.md b/CHANGELOG.md index 649c6f6c50..3ac57ac54c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ The changes are relative to the previous release, unless the baseline is specifi * Add the ignoreICC option to avifDecoder * avifenc: add --ignore-alpha flag to discard alpha channel on...
diff --git a/tests/test_cmd_avifgainmaputil.sh b/tests/test_cmd_avifgainmaputil.sh index b25061da56..a5da841220 100755 --- a/tests/test_cmd_avifgainmaputil.sh +++ b/tests/test_cmd_avifgainmaputil.sh @@ -59,11 +59,25 @@ pushd ${TMP_DIR} "${AVIFGAINMAPUTIL}" tonemap "${INPUT_AVIF_GAINMAP_SDR}" "${PNG_OUTPUT}" --headro...
Bring `ignore-xmp/exif` to avifgainmaputil Please bring `--ignore-xmp` and `--ignore-exif` to avifgainmaputil, as it does in avifenc. Thanks!
[ "https://github.com/AOMediaCodec/libavif/commit/1c21cec6aeb251ff0f9dcd213efa7d0680eaaa71", "https://github.com/AOMediaCodec/libavif/commit/63cbb49c413e137ac68651929d3abafcec43c0b7" ]
2026-07-15T15:22:30Z
https://github.com/AOMediaCodec/libavif/tree/970e58afc8630e110f23919e6f32ff216b675eb6
[ "cmake --build build --parallel" ]
[ "cd /testbed ; rm -rf reports ; mkdir -p reports/gtest ; GTEST_OUTPUT=json:/testbed/reports/gtest/ ctest --test-dir build -V --output-junit /testbed/reports/ctest-junit.xml ; python3 -c 'import glob,json,xml.etree.ElementTree as ET; fs=glob.glob(\"reports/gtest/*.json\"); bins={f.rsplit(\"/\",1)[-1][:-5] for f in f...
[ "cd /testbed ; cat reports/all-results.json" ]
def parser(log: str) -> dict[str, str]: import json results: dict[str, str] = {} priority = {"pass": 0, "skip": 1, "fail": 2} pass_values = { "pass", "passed", "passing", "success", "successful", "succeeded", "ok" } skip_values = { "skip", "skipped", "disabled", "notrun", "not_...
[ "ctest::test_cmd_avifgainmaputil" ]
[ "avifrgbtoyuvthreadingtest::YUVToRGBThreadingTestInstance/YUVToRGBThreadingTest.TestIdentical/4386", "avifrgbtoyuvthreadingtest::YUVToRGBThreadingTestInstance/YUVToRGBThreadingTest.TestIdentical/7110", "avifrgbtoyuvthreadingtest::YUVToRGBThreadingTestInstance/YUVToRGBThreadingTest.TestIdentical/6697", "avifme...
starryzhang/sweb.eval.x86_64.aomediacodec_1776_libavif-3300
fluent/fluent-bit
12029
fluent__fluent-bit-12029
[ "12026" ]
aac11fcd3e36668032ef3fa2c32de5e6fa0e9fad
diff --git a/plugins/filter_rewrite_tag/rewrite_tag.c b/plugins/filter_rewrite_tag/rewrite_tag.c index 080a096a4f7..3697fee4cce 100644 --- a/plugins/filter_rewrite_tag/rewrite_tag.c +++ b/plugins/filter_rewrite_tag/rewrite_tag.c @@ -414,7 +414,8 @@ static int process_record(const char *tag, int tag_len, msgpack_object ...
diff --git a/tests/runtime/filter_rewrite_tag.c b/tests/runtime/filter_rewrite_tag.c index 08cf37511a8..cef9ac38cc8 100644 --- a/tests/runtime/filter_rewrite_tag.c +++ b/tests/runtime/filter_rewrite_tag.c @@ -348,8 +348,10 @@ static void flb_test_heavy_input_pause_emitter() TEST_MSG("callback is not invoked");...
Silent record loss in rewrite_tag when the shared in_emitter is paused (FLB_EMITTER_BUSY / -2 not handled) ## Bug Report **Describe the bug** `rewrite_tag` silently and permanently loses records when its `in_emitter` is paused (`Emitter_Mem_Buf_Limit` reached). When the emitter is paused, `in_emitter_add_record()` r...
[ "https://github.com/fluent/fluent-bit/commit/d4d9a9cca3c4956f14f5cf3533c63f9fc7c11ced", "https://github.com/fluent/fluent-bit/commit/7d32c11b692e9ac0fe535fb62cf9644b4ce32cb1", "https://github.com/fluent/fluent-bit/commit/521ad5a9ed552e4a5b729c15ab515bd62f986ad6", "https://github.com/fluent/fluent-bit/commit/0...
2026-07-02T05:45:33Z
https://github.com/fluent/fluent-bit/tree/aac11fcd3e36668032ef3fa2c32de5e6fa0e9fad
[ "cmake --build build --parallel 2" ]
[ "cd /testbed ; mkdir -p reports build/reports ; ctest --test-dir build --parallel 8 --verbose --output-on-failure --output-junit reports/ctest-junit.xml 2>&1 | tee reports/ctest-verbose.log" ]
[ "cd /testbed ; cat reports/ctest-verbose.log" ]
def parser(log: str) -> dict[str, str]: import re # Remove terminal formatting that can otherwise interrupt regex matches. ansi_re = re.compile(r"\x1b(?:\[[0-?]*[ -/]*[@-~]|\][^\x07]*(?:\x07|\x1b\\))") lines = [ansi_re.sub("", line).rstrip("\r") for line in log.splitlines()] suites: dict[int, str]...
[ "flb-rt-filter_rewrite_tag::busy_emitter_keeps_original" ]
[ "flb-rt-out_s3::putobject_success", "flb-it-pipe::pipe_usage", "flb-it-record_accessor::ra_string_copy", "flb-rt-out_loki::label_keys", "flb-rt-in_tail::in_tail_dockermode", "flb-it-sds::sds_cat_utf8", "flb-rt-out_forward::forward_mode_traces_options", "flb-rt-filter_checklist::ignore_case", "flb-it...
starryzhang/sweb.eval.x86_64.fluent_1776_fluent-bit-12029
c-ares/c-ares
1197
c-ares__c-ares-1197
[ "1152" ]
8027870ca777d2061662d320681cac52b7c9696d
diff --git a/src/lib/ares_close_sockets.c b/src/lib/ares_close_sockets.c index 347f43e6fc..7bb72c31ec 100644 --- a/src/lib/ares_close_sockets.c +++ b/src/lib/ares_close_sockets.c @@ -112,11 +112,11 @@ void ares_check_cleanup_conns(const ares_channel_t *channel) do_cleanup = ARES_TRUE; } - /* If t...
diff --git a/test/ares-test-mock.cc b/test/ares-test-mock.cc index 5b9c15eb43..3b63d1b65a 100644 --- a/test/ares-test-mock.cc +++ b/test/ares-test-mock.cc @@ -526,6 +526,69 @@ TEST_P(MockUDPMaxQueriesTest, GetHostByNameParallelLookups) { } } +// Regression test for #1152. A transient failure (a single query time...
v1.34.6 regression: ares_fetch_connection rejects connections when consec_failures > 0, causing UDP socket exhaustion under load A regression introduced in v1.34.6 (via #1032) causes c-ares to open a new UDP socket for every DNS query when the DNS server has any consecutive failures, instead of reusing existing connect...
can you elaborate a bit more on your scenario here? what is causing the socket to have failures so frequently in your case that this causes any sort of issue? > can you elaborate a bit more on your scenario here? what is causing the socket to have failures so frequently in your case that this causes any sort of issue?...
can you elaborate a bit more on your scenario here? what is causing the socket to have failures so frequently in your case that this causes any sort of issue? > can you elaborate a bit more on your scenario here? what is causing the socket to have failures so frequently in your case that this causes any sort of issue?...
[ "https://github.com/c-ares/c-ares/commit/13b32ff90659911d2b16d55f417ea947d534c029" ]
2026-07-04T22:19:05Z
https://github.com/c-ares/c-ares/tree/8027870ca777d2061662d320681cac52b7c9696d
[ "cmake --build build --parallel" ]
[ "mkdir -p reports; GTEST_OUTPUT=json:/testbed/reports/arestest.json ctest --test-dir build --verbose --output-on-failure --output-junit /testbed/reports/ctest-junit.xml" ]
[ "cat reports/arestest.json; cat reports/ctest-junit.xml" ]
def parser(log: str) -> dict[str, str]: import json import re import xml.etree.ElementTree as ET results: dict[str, str] = {} precedence = {"pass": 0, "skip": 1, "fail": 2} def add(name, status): name = str(name or "").strip() if not name or status not in precedence: ...
[ "AddressFamilies/MockUDPTransientFailureTest.NoSocketExplosionOnTimeout/ipv4", "AddressFamilies/MockUDPTransientFailureTest.NoSocketExplosionOnTimeout/ipv6" ]
[ "AddressFamilies/MockEventThreadTest.SearchNoDataThenFail/POLL_ipv6_ForceTCP", "TransportModes/NoRotateMultiMockTest.ServerNoResponseFailover/ipv6_ForceTCP", "AddressFamilies/MockChannelTest.ReInit/ipv4_DefaultUDP", "AddressFamiliesAI/MockUDPChannelTestAI.TriggerResendThenConnFailEDNS/ipv4", "AddressFamilie...
starryzhang/sweb.eval.x86_64.c-ares_1776_c-ares-1197
colbymchenry/codegraph
951
colbymchenry__codegraph-951
[ "778" ]
ace8d8a0d0597d61ee07472371b35ca87f5714c7
diff --git a/CHANGELOG.md b/CHANGELOG.md index 64d20a793..140f02376 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Fixes +- MCP tool results no longer show up as oversized headings in Markdown-rendering clients (such as ...
diff --git a/__tests__/adaptive-explore-sizing.test.ts b/__tests__/adaptive-explore-sizing.test.ts index 809a885cf..1d76e611c 100644 --- a/__tests__/adaptive-explore-sizing.test.ts +++ b/__tests__/adaptive-explore-sizing.test.ts @@ -35,15 +35,16 @@ import CodeGraph from '../src/index'; // (the steer-to-explore phrasin...
MCP tool results use ATX Markdown headings (##/###) — render as oversized fonts in Markdown-rendering clients ### Summary The MCP tools return result text using ATX Markdown headings (`##`, `###`). In MCP clients that render tool output as rich Markdown (e.g. the Claude Code VSCode extension), every heading is shown a...
Confirmed locally on `main`: the ATX headings come from `src/mcp/tools.ts` — e.g. `## Search Results` and the per-hit `### <name> (<kind>)` (around L3325/L3331), `## CodeGraph Status` (L2886) — plus a number of `###`/`####` headers elsewhere in that file and in `src/context/formatter.ts`. Happy to pick this up. Before...
Confirmed locally on `main`: the ATX headings come from `src/mcp/tools.ts` — e.g. `## Search Results` and the per-hit `### <name> (<kind>)` (around L3325/L3331), `## CodeGraph Status` (L2886) — plus a number of `###`/`####` headers elsewhere in that file and in `src/context/formatter.ts`. Happy to pick this up. Before...
[ "https://github.com/colbymchenry/codegraph/commit/d0fb80e1619699b70bc8acc4716dfc17d558935c" ]
2026-06-22T17:06:24Z
https://github.com/colbymchenry/codegraph/tree/ace8d8a0d0597d61ee07472371b35ca87f5714c7
[ "npm install; npm run build" ]
[ "cd /testbed && npx vitest run --reporter=json --outputFile=vitest-results.json" ]
[ "cd /testbed && cat vitest-results.json" ]
def parser(log: str) -> dict[str, str]: import json import re results: dict[str, str] = {} def add(name: object, status: str) -> None: key = str(name).strip() or "<unnamed>" if key not in results: results[key] = status return # Preserve repeated tests r...
[ "__tests__/explore-corroboration-ranking.test.ts::codegraph_explore — multi-term corroboration tier still leads with the backend file when the query names its symbol directly", "__tests__/adaptive-explore-sizing.test.ts::adaptive codegraph_explore sizing — sibling skeletonization skeletonizes off-spine polymorphi...
[ "__tests__/mcp-catchup-gate.test.ts::MCP catch-up gate does not hang the first call when catch-up runs past the timeout (#905)", "__tests__/value-reference-edges.test.ts::value-reference edges edges readers to a top-level let and static let in enum/struct, not an instance let (Swift)", "__tests__/value-referenc...
starryzhang/sweb.eval.x86_64.colbymchenry_1776_codegraph-951
c-ares/c-ares
1189
c-ares__c-ares-1189
[ "1137" ]
9fb88588590127f5c069d3f299b9c2aa570f9225
diff --git a/src/lib/record/ares_dns_parse.c b/src/lib/record/ares_dns_parse.c index 18c254221b..113438ffb3 100644 --- a/src/lib/record/ares_dns_parse.c +++ b/src/lib/record/ares_dns_parse.c @@ -1690,6 +1690,22 @@ static ares_status_t ares_dns_parse_buf(ares_buf_t *buf, unsigned int flags, } } + /* RFC 6891 ...
diff --git a/test/ares-test-parse.cc b/test/ares-test-parse.cc index 399c94dd56..b00fe62f0c 100644 --- a/test/ares-test-parse.cc +++ b/test/ares-test-parse.cc @@ -395,5 +395,33 @@ TEST_F(LibraryTest, ParseRejectsName256) { EXPECT_EQ(nullptr, dnsrec); } +// A single OPT record in the additional section is valid (E...
Multiple OPT records accepted in a single DNS response (RFC 6891 violation) Currently, c-ares accepts multiple OPT records in a single DNS response without rejecting the message. According to RFC 6891 Section 6.1.1: *"There MUST be at most one OPT pseudo-RR in the Additional Data section of a message. If a query mess...
[ "https://github.com/c-ares/c-ares/commit/3fd337df973e4e057b13cf0370f8a5e395fd0d66" ]
2026-07-03T17:41:58Z
https://github.com/c-ares/c-ares/tree/9fb88588590127f5c069d3f299b9c2aa570f9225
[ "cmake --build build --parallel" ]
[ "mkdir -p reports; GTEST_OUTPUT=json:/testbed/reports/arestest.json ctest --test-dir build --verbose --output-on-failure --output-junit /testbed/reports/ctest-junit.xml" ]
[ "cat reports/arestest.json; cat reports/ctest-junit.xml" ]
def parser(log: str) -> dict[str, str]: import json import re import xml.etree.ElementTree as ET results: dict[str, str] = {} precedence = {"pass": 0, "skip": 1, "fail": 2} def add(name, status): name = str(name or "").strip() if not name or status not in precedence: ...
[ "LibraryTest.ParseMultipleOptRejected" ]
[ "AddressFamilies/MockEventThreadTest.SearchNoDataThenFail/POLL_ipv6_ForceTCP", "TransportModes/NoRotateMultiMockTest.ServerNoResponseFailover/ipv6_ForceTCP", "AddressFamilies/MockChannelTest.ReInit/ipv4_DefaultUDP", "AddressFamiliesAI/MockUDPChannelTestAI.TriggerResendThenConnFailEDNS/ipv4", "AddressFamilie...
starryzhang/sweb.eval.x86_64.c-ares_1776_c-ares-1189
AOMediaCodec/libavif
3270
AOMediaCodec__libavif-3270
[ "3261" ]
94fcbb3fbc186cab1d7419c6a8559a0d7e1dc90d
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fe22344d2..68f62f575b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,9 @@ The changes are relative to the previous release, unless the baseline is specifi files when SVT-AV1 is built with MSVC. See https://github.com/AOMediaCodec/libavif/issues/3255. * L...
diff --git a/tests/test_cmd_avifgainmaputil.sh b/tests/test_cmd_avifgainmaputil.sh index 30be221790..e108d8a46b 100755 --- a/tests/test_cmd_avifgainmaputil.sh +++ b/tests/test_cmd_avifgainmaputil.sh @@ -48,7 +48,10 @@ pushd ${TMP_DIR} "${AVIFGAINMAPUTIL}" combine "${INPUT_JPEG_GAINMAP_SDR}" "${INPUT_AVIF_GAINMAP_HDR...
Incorrect resolution indicator when creating grid gain map avif When creating a grid gain map avif, e.g. (resolution of 6720x4480 with 3x2 grid), the resolution indicator is incorrect, as the following. ``` Creating a gain map of size 6720 x 4480 Preparing to encode a 3x2 grid (6 cells)... AVIF to be written: * Resol...
Good catch! Thanks for the bug report. Thanks for the quick response! The new code seemed to introduce another bug. The intended gain map size is 6720 x 4480. `Creating a gain map of size 6720 x 4480` This part is correct ... `* Gain map : 2240x2240 pixels, 10 bit, YUV444, Full Range, Matrix Coeffs. 2...` 2240...
Good catch! Thanks for the bug report. Thanks for the quick response! The new code seemed to introduce another bug. The intended gain map size is 6720 x 4480. `Creating a gain map of size 6720 x 4480` This part is correct ... `* Gain map : 2240x2240 pixels, 10 bit, YUV444, Full Range, Matrix Coeffs. 2...` 2240...
[ "https://github.com/AOMediaCodec/libavif/commit/c08cd2537cfb63466826559195ffac241ed3936f" ]
2026-06-18T10:37:45Z
https://github.com/AOMediaCodec/libavif/tree/94fcbb3fbc186cab1d7419c6a8559a0d7e1dc90d
[ "cmake --build build --parallel" ]
[ "cd /testbed ; rm -rf reports ; mkdir -p reports/gtest ; GTEST_OUTPUT=json:/testbed/reports/gtest/ ctest --test-dir build -V --output-junit /testbed/reports/ctest-junit.xml ; python3 -c 'import glob,json,xml.etree.ElementTree as ET; fs=glob.glob(\"reports/gtest/*.json\"); bins={f.rsplit(\"/\",1)[-1][:-5] for f in f...
[ "cd /testbed ; cat reports/all-results.json" ]
def parser(log: str) -> dict[str, str]: import json results: dict[str, str] = {} priority = {"pass": 0, "skip": 1, "fail": 2} pass_values = { "pass", "passed", "passing", "success", "successful", "succeeded", "ok" } skip_values = { "skip", "skipped", "disabled", "notrun", "not_...
[ "ctest::test_cmd_avifgainmaputil" ]
[ "avifrgbtoyuvthreadingtest::YUVToRGBThreadingTestInstance/YUVToRGBThreadingTest.TestIdentical/4386", "avifrgbtoyuvthreadingtest::YUVToRGBThreadingTestInstance/YUVToRGBThreadingTest.TestIdentical/7110", "avifrgbtoyuvthreadingtest::YUVToRGBThreadingTestInstance/YUVToRGBThreadingTest.TestIdentical/6697", "avifme...
starryzhang/sweb.eval.x86_64.aomediacodec_1776_libavif-3270
colbymchenry/codegraph
1066
colbymchenry__codegraph-1066
[ "1065" ]
738d2dc4ad84254b147aeb4a2c34879d60d524da
diff --git a/CHANGELOG.md b/CHANGELOG.md index 143f8e92f..ba90a8ec4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Fixes + +- CodeGraph again respects `.gitignore` for nested repositories that git tracks a...
diff --git a/__tests__/extraction.test.ts b/__tests__/extraction.test.ts index 927ecfef1..15fb9e4b6 100644 --- a/__tests__/extraction.test.ts +++ b/__tests__/extraction.test.ts @@ -9,7 +9,7 @@ import * as fs from 'fs'; import * as path from 'path'; import * as os from 'os'; import { CodeGraph } from '../src'; -impor...
v1.1.3 still indexes gitignored embedded repos; ignored benchmark corpus triggers resolving-refs watchdog ## Summary On CodeGraph v1.1.3, a root `.gitignore` rule for a directory that contains embedded git repositories is not honored by CodeGraph's scanner. The installed package's exported `scanDirectory()` still retu...
Fixed in #1066 (merged to `main`) — will ship in **v1.1.4**. You nailed the diagnosis. The repos under `benchmark/repos/` are **tracked gitlinks** (mode `160000`) — clones that got `git add`ed (the *"you've added another git repository"* warning) and stayed tracked even after the `.gitignore` rule was added, which is ...
[ "https://github.com/colbymchenry/codegraph/commit/db254f392857a4b845a2ddaf4ecd76b0fd94f5ca" ]
2026-06-29T21:54:13Z
https://github.com/colbymchenry/codegraph/tree/738d2dc4ad84254b147aeb4a2c34879d60d524da
[ "npm install; npm run build" ]
[ "cd /testbed && npx vitest run --reporter=json --outputFile=vitest-results.json" ]
[ "cd /testbed && cat vitest-results.json" ]
def parser(log: str) -> dict[str, str]: import json import re results: dict[str, str] = {} def add(name: object, status: str) -> None: key = str(name).strip() or "<unnamed>" if key not in results: results[key] = status return # Preserve repeated tests r...
[ "__tests__/extraction.test.ts::Nested gitlink repos (#1031, #1033) does not index a gitlink under a gitignored directory by default (#1065)" ]
[ "__tests__/mcp-catchup-gate.test.ts::MCP catch-up gate does not hang the first call when catch-up runs past the timeout (#905)", "__tests__/value-reference-edges.test.ts::value-reference edges edges readers to a top-level let and static let in enum/struct, not an instance let (Swift)", "__tests__/value-referenc...
starryzhang/sweb.eval.x86_64.colbymchenry_1776_codegraph-1066
colbymchenry/codegraph
1207
colbymchenry__codegraph-1207
[ "1159" ]
8db8ad5e905b1f743aa060f0e97fed18c1f503b5
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ecf8f2e3..4137492a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,6 +51,7 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - Heavily-reflected Unreal Engine C++ classes are no longer dropped from the index. Reflection markup that decora...
diff --git a/__tests__/extraction.test.ts b/__tests__/extraction.test.ts index 309bf2d30..8619d12d7 100644 --- a/__tests__/extraction.test.ts +++ b/__tests__/extraction.test.ts @@ -150,6 +150,31 @@ describe('Language Detection', () => { expect(isSourceFile('default.nix')).toBe(true); }); + it('should detect ...
UE-style single-line export-macro class headers (class ENGINE_API Foo : public Bar) are misdetected as C and their class definitions are dropped ## Summary In a `.h` header, a class declared with an all-caps export/visibility macro between the `class`/`struct` keyword and the type name — the ubiquitous Unreal Engine /...
[ "https://github.com/colbymchenry/codegraph/commit/7cc5725c6ddc1f7c40c1fe45b5b3b1df6aafa94f" ]
2026-07-07T17:18:34Z
https://github.com/colbymchenry/codegraph/tree/8db8ad5e905b1f743aa060f0e97fed18c1f503b5
[ "npm install; npm run build" ]
[ "cd /testbed && npx vitest run --reporter=json --outputFile=vitest-results.json" ]
[ "cd /testbed && cat vitest-results.json" ]
def parser(log: str) -> dict[str, str]: import json import re results: dict[str, str] = {} def add(name: object, status: str) -> None: key = str(name).strip() or "<unnamed>" if key not in results: results[key] = status return # Preserve repeated tests r...
[ "__tests__/extraction.test.ts::Language Detection should detect a .h whose only C++ signal is an export-macro class as cpp" ]
[ "__tests__/mcp-catchup-gate.test.ts::MCP catch-up gate does not hang the first call when catch-up runs past the timeout (#905)", "__tests__/value-reference-edges.test.ts::value-reference edges edges readers to a top-level let and static let in enum/struct, not an instance let (Swift)", "__tests__/value-referenc...
starryzhang/sweb.eval.x86_64.colbymchenry_1776_codegraph-1207
colbymchenry/codegraph
894
colbymchenry__codegraph-894
[ "874" ]
ab107b325a8c2548351e7dbc468d3318bf3987b7
diff --git a/CHANGELOG.md b/CHANGELOG.md index 201dfc6f6..7b0c5e11c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Fixes +- `codegraph index` now rebuilds the full graph from scratch, so it produces the same result as a ...
diff --git a/__tests__/index-command.test.ts b/__tests__/index-command.test.ts new file mode 100644 index 000000000..9e0ce7953 --- /dev/null +++ b/__tests__/index-command.test.ts @@ -0,0 +1,107 @@ +/** + * Regression coverage for issue #874: `codegraph index` produced 0 nodes / 0 + * edges while `codegraph init` worked...
Bug: `codegraph index` produces 0 nodes / 0 edges while `codegraph init` works correctly **Version:** 1.0.1 **OS:** Windows 11 (PowerShell 7.6.1) **Installed via:** `irm https://raw.githubusercontent.com/colbymchenry/codegraph/main/install.ps1 | iex` **Description** After running `codegraph init`, the index is pop...
Fixed in #894 (merged to `main`, will ship in the next release). Thank you for the unusually thorough report — the side-by-side `init` vs `index` screenshots across three repos made the root cause obvious. **What was happening:** `index` and `init` build the graph with the same routine, but `init` runs it on a brand-n...
[ "https://github.com/colbymchenry/codegraph/commit/cbf2c3138bca9a14acb4bea24269637caf04b419" ]
2026-06-15T05:44:52Z
https://github.com/colbymchenry/codegraph/tree/ab107b325a8c2548351e7dbc468d3318bf3987b7
[ "npm install; npm run build" ]
[ "cd /testbed && npx vitest run --reporter=json --outputFile=vitest-results.json" ]
[ "cd /testbed && cat vitest-results.json" ]
def parser(log: str) -> dict[str, str]: import json import re results: dict[str, str] = {} def add(name: object, status: str) -> None: key = str(name).strip() or "<unnamed>" if key not in results: results[key] = status return # Preserve repeated tests r...
[ "__tests__/index-command.test.ts::codegraph index — full re-index keeps the graph populated (#874) reproduces init's node/edge counts instead of emptying the index" ]
[ "__tests__/extraction.test.ts::DFM/FMX Extraction Full fixture: MainForm.dfm should extract all components", "__tests__/resolution.test.ts::Resolution Module Objective-C chained message-send call resolution (#645/#608 mechanism) resolves a chained message whose method is inherited from a superclass (via conforman...
starryzhang/sweb.eval.x86_64.colbymchenry_1776_codegraph-894
xroche/httrack
856
xroche__httrack-856
[ "854" ]
22e95206366136b078f96b70d7a57000cf040356
diff --git a/src/htscharset.c b/src/htscharset.c index e9264deb..c36cf790 100644 --- a/src/htscharset.c +++ b/src/htscharset.c @@ -296,16 +296,41 @@ LPWSTR hts_convertUTF8StringToUCS2(const char *s, int size, int *pwsize) { return hts_convertStringToUCS2(s, size, CP_UTF8, pwsize); } -char *hts_convertUCS2StringTo...
diff --git a/tests/139_local-query-charref.test b/tests/139_local-query-charref.test new file mode 100755 index 00000000..f7a2b8e0 --- /dev/null +++ b/tests/139_local-query-charref.test @@ -0,0 +1,127 @@ +#!/bin/bash +# Issue #854: a character reference the page charset can not represent must be +# percent-escaped in a...
A query-string character reference the page charset cannot represent is left unescaped, changing the query's parse On a document with no declared charset (fallback iso-8859-1), HTTrack leaves an HTML character reference that iso-8859-1 cannot represent as literal source text in the query string, instead of percent-enco...
[ "https://github.com/xroche/httrack/commit/f0433c3a94c5c2ff7ba7330073dee3c0a510e41d", "https://github.com/xroche/httrack/commit/9a98985a47ba3846033249cf08f555a0ea109a19", "https://github.com/xroche/httrack/commit/d92aed807c7e0795eec63d56a58dfa8c94e3fadb", "https://github.com/xroche/httrack/commit/419695d608702...
2026-07-27T20:22:46Z
https://github.com/xroche/httrack/tree/22e95206366136b078f96b70d7a57000cf040356
[ "cd /testbed && ./bootstrap ; make -C /testbed/build -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cat /testbed/build/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi_escape = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") test_line = re.compile( r"^\s*(PASS|FAIL|SKIP|ERROR|XFAIL|XPASS)\s*:\s*(\S(?:.*\S)?)\s*$", re.IGNORECASE, ) status_map = { "PASS": "pass", ...
[ "139_local-query-charref.test" ]
[ "01_zlib-repair-shift.test", "133_engine-reentrant-time.test", "01_zlib-cache-writefail.test", "01_engine-gmtime.test", "52_local-socks5.test", "01_engine-cmdline-split.test", "01_engine-fsize.test", "01_engine-entities.test", "18_local-update.test", "103_teardown-status.test", "01_engine-savena...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-856
colbymchenry/codegraph
868
colbymchenry__codegraph-868
[ "848" ]
64ff7597d00b534e6b415786fc3c09b70f56e055
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3113c059d..60ac01277 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Fixes +- Git worktrees nested inside your project — like the `.claude/worktrees/` that Claude Code create...
diff --git a/__tests__/multi-repo-workspace.test.ts b/__tests__/multi-repo-workspace.test.ts index db1fba2a2..73e2330a0 100644 --- a/__tests__/multi-repo-workspace.test.ts +++ b/__tests__/multi-repo-workspace.test.ts @@ -108,6 +108,29 @@ describe('multi-repo workspaces (#514)', () => { expect(files).toContain('mai...
Git worktrees nested in the project (e.g. Claude Code's .claude/worktrees/) are indexed as N duplicate embedded repos, with no way to exclude them ## Summary When a project contains git worktrees nested inside its own tree, codegraph indexes each worktree as a full embedded repo, producing N near-identical copies of e...
Fixed in #868 (merged to `main`) — and thank you for the unusually well-diagnosed report; your option 1 was exactly the fix. CodeGraph now classifies each nested `.git` before indexing it: - `.git` **directory** → a genuine embedded clone → indexed (unchanged, #514/#622) - `.git` **file → `…/.git/worktrees/…`** → a g...
[ "https://github.com/colbymchenry/codegraph/commit/da28fbedc2ba702f38c8fd3b093891da5fdf7b32" ]
2026-06-13T20:58:48Z
https://github.com/colbymchenry/codegraph/tree/64ff7597d00b534e6b415786fc3c09b70f56e055
[ "npm install; npm run build" ]
[ "cd /testbed && npx vitest run --reporter=json --outputFile=vitest-results.json" ]
[ "cd /testbed && cat vitest-results.json" ]
def parser(log: str) -> dict[str, str]: import json import re results: dict[str, str] = {} def add(name: object, status: str) -> None: key = str(name).strip() or "<unnamed>" if key not in results: results[key] = status return # Preserve repeated tests r...
[ "__tests__/multi-repo-workspace.test.ts::multi-repo workspaces (#514) skips nested git worktrees instead of indexing them as duplicate embedded repos (#848)" ]
[ "__tests__/extraction.test.ts::DFM/FMX Extraction Full fixture: MainForm.dfm should extract all components", "__tests__/resolution.test.ts::Resolution Module Objective-C chained message-send call resolution (#645/#608 mechanism) resolves a chained message whose method is inherited from a superclass (via conforman...
starryzhang/sweb.eval.x86_64.colbymchenry_1776_codegraph-868
colbymchenry/codegraph
1314
colbymchenry__codegraph-1314
[ "1284" ]
8dcf92f285a88bf307b8948ec947dce45ff16805
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1da973b10..cecc9ba0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Fixes +- `codegraph node <symbol> -f <file>` now prints the symbol's source body. Pinning an ambiguous na...
diff --git a/__tests__/cli-node-command.test.ts b/__tests__/cli-node-command.test.ts index 4d3485031..dfd28acf8 100644 --- a/__tests__/cli-node-command.test.ts +++ b/__tests__/cli-node-command.test.ts @@ -78,3 +78,42 @@ describe('codegraph node — argument handling (#1044)', () => { expect(stderr).not.toMatch(/miss...
problem with showing node content in c++ hello I've got this problem when trying to read content of a function. please help to check I want to read a content of a function which many files has that function name when using only function it can show content codegraph node setState ...
codegraph verion 1.4.1
codegraph verion 1.4.1 Fixed in #1314 (merged to main, ships in the next release) — you found a real bug, and your command was exactly right. `codegraph node setState -f external/icu/icu4c/source/i18n/formattedvalue.cpp` was correctly narrowing to that file's definition, but the CLI forgot to ask the underlying engine...
[ "https://github.com/colbymchenry/codegraph/commit/fa05e12e5c21e19b64a79382af30dabf0860f00b" ]
2026-07-16T20:30:15Z
https://github.com/colbymchenry/codegraph/tree/8dcf92f285a88bf307b8948ec947dce45ff16805
[ "npm install; npm run build" ]
[ "cd /testbed && npx vitest run --reporter=json --outputFile=vitest-results.json" ]
[ "cd /testbed && cat vitest-results.json" ]
def parser(log: str) -> dict[str, str]: import json import re results: dict[str, str] = {} def add(name: object, status: str) -> None: key = str(name).strip() or "<unnamed>" if key not in results: results[key] = status return # Preserve repeated tests r...
[ "__tests__/swift-objc-bridge.test.ts::ObjC selector → Swift base name candidates (reverse map) \"initWithName:\" → includes \"init\"", "__tests__/spring-event-synthesizer.test.ts::spring-event synthesizer bridges publishEvent(new X) to every listener form of X, ignoring unheard events and non-listeners", "__tes...
[ "__tests__/node-file-view.test.ts::codegraph_node file-view (Read replacement) reads a whole file like Read by default — `<n>\\t<line>` lines (no pad), imports + gaps included", "__tests__/value-reference-edges.test.ts::value-reference edges does NOT edge a Swift static const shadowed by a function-local let of t...
starryzhang/sweb.eval.x86_64.colbymchenry_1776_codegraph-1314
colbymchenry/codegraph
1201
colbymchenry__codegraph-1201
[ "1200" ]
1b13d79d1d24fa7fb9b19dac24b398e431447378
diff --git a/CHANGELOG.md b/CHANGELOG.md index 451e87d00..58b4a8711 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - `codegraph init` and `codegraph index` no longer get killed by the safety watchdog at the "Resolving refs" st...
diff --git a/__tests__/daemon-client-liveness.test.ts b/__tests__/daemon-client-liveness.test.ts index 1a3b7dee0..63e8c2cc9 100644 --- a/__tests__/daemon-client-liveness.test.ts +++ b/__tests__/daemon-client-liveness.test.ts @@ -108,3 +108,74 @@ describe('Daemon.reapDeadClients', () => { expect(d.clients.has(s)).t...
Daemon inactivity backstop reaps live-but-quiet MCP sessions (silent degrade to in-process) ### Summary The shared daemon's 30-minute "inactivity backstop" (`CODEGRAPH_DAEMON_MAX_IDLE_MS`, `startLivenessTimers` in `src/mcp/daemon.ts`) shuts the daemon down after 30 min of no **inbound query bytes**, even when a client...
[ "https://github.com/colbymchenry/codegraph/commit/10bbb3fb9b5776a67f26f0fee60b74d746c19c01" ]
2026-07-07T14:13:10Z
https://github.com/colbymchenry/codegraph/tree/1b13d79d1d24fa7fb9b19dac24b398e431447378
[ "npm install; npm run build" ]
[ "cd /testbed && npx vitest run --reporter=json --outputFile=vitest-results.json" ]
[ "cd /testbed && cat vitest-results.json" ]
def parser(log: str) -> dict[str, str]: import json import re results: dict[str, str] = {} def add(name: object, status: str) -> None: key = str(name).strip() or "<unnamed>" if key not in results: results[key] = status return # Preserve repeated tests r...
[ "__tests__/mcp-daemon.test.ts::Shared MCP daemon (issue #411) does NOT reap a live-but-quiet client on the inactivity backstop (#692)", "__tests__/daemon-client-liveness.test.ts::Daemon.backstopShouldExit does not exit with zero clients (the idle timer owns that case)", "__tests__/daemon-client-liveness.test.ts...
[ "__tests__/mcp-catchup-gate.test.ts::MCP catch-up gate does not hang the first call when catch-up runs past the timeout (#905)", "__tests__/value-reference-edges.test.ts::value-reference edges edges readers to a top-level let and static let in enum/struct, not an instance let (Swift)", "__tests__/value-referenc...
starryzhang/sweb.eval.x86_64.colbymchenry_1776_codegraph-1201
colbymchenry/codegraph
1370
colbymchenry__codegraph-1370
[ "1351" ]
ce0ae30e09b8f495219893e716ae3974eacd2bd4
diff --git a/CHANGELOG.md b/CHANGELOG.md index e51d91235..f7c85dd85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Fixes +- Codex installs, upgrades, and uninstalls now preserve TOML array-of-table sections that appear a...
diff --git a/__tests__/installer-targets.test.ts b/__tests__/installer-targets.test.ts index e11efd3cc..6db793d65 100644 --- a/__tests__/installer-targets.test.ts +++ b/__tests__/installer-targets.test.ts @@ -876,6 +876,48 @@ describe('Installer targets — partial-state idempotency', () => { expect(after).not.toCon...
Codex installer: findNextTableHeader skips past [[array-of-tables]], silently deleting sibling [[...]] blocks in ~/.codex/config.toml on install/upgrade/uninstall — verified ## Summary The Codex installer's TOML block finder, `findNextTableHeader` in `src/installer/targets/toml.ts`, **skips past** `[[array-of-tables]]...
Suggested label for triage (I lack permission to apply it myself): `bug`. I am working on a focused fix for this: treat a trailing [[array-of-tables]] header as the end of the CodeGraph table, with regression coverage for rewrite and removal plus an Unreleased changelog entry.
Suggested label for triage (I lack permission to apply it myself): `bug`. I am working on a focused fix for this: treat a trailing [[array-of-tables]] header as the end of the CodeGraph table, with regression coverage for rewrite and removal plus an Unreleased changelog entry.
[ "https://github.com/colbymchenry/codegraph/commit/090dda5fbabad8e789ae0b29f5b46fcf9ed64c80" ]
2026-07-20T05:07:28Z
https://github.com/colbymchenry/codegraph/tree/ce0ae30e09b8f495219893e716ae3974eacd2bd4
[ "npm install; npm run build" ]
[ "cd /testbed && npx vitest run --reporter=json --outputFile=vitest-results.json" ]
[ "cd /testbed && cat vitest-results.json" ]
def parser(log: str) -> dict[str, str]: import json import re results: dict[str, str] = {} def add(name: object, status: str) -> None: key = str(name).strip() or "<unnamed>" if key not in results: results[key] = status return # Preserve repeated tests r...
[ "__tests__/installer-targets.test.ts::Installer targets — TOML serializer (Codex backbone) upsert replaces the managed table without consuming trailing array-of-tables siblings", "__tests__/installer-targets.test.ts::Installer targets — TOML serializer (Codex backbone) remove preserves trailing array-of-tables si...
[ "__tests__/node-file-view.test.ts::codegraph_node file-view (Read replacement) reads a whole file like Read by default — `<n>\\t<line>` lines (no pad), imports + gaps included", "__tests__/value-reference-edges.test.ts::value-reference edges does NOT edge a Swift static const shadowed by a function-local let of t...
starryzhang/sweb.eval.x86_64.colbymchenry_1776_codegraph-1370
colbymchenry/codegraph
1318
colbymchenry__codegraph-1318
[ "1295" ]
c472cfb52e476a31189211266ed21dbecd080926
diff --git a/CHANGELOG.md b/CHANGELOG.md index 536110e7c..61633871a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Fixes +- `codegraph.json`'s `includeIgnored` works again for the "folder of repos" layout: when one `.git...
diff --git a/__tests__/multi-repo-workspace.test.ts b/__tests__/multi-repo-workspace.test.ts index 2e6b3c63d..282834038 100644 --- a/__tests__/multi-repo-workspace.test.ts +++ b/__tests__/multi-repo-workspace.test.ts @@ -120,6 +120,45 @@ describe('multi-repo workspaces (#514) + .gitignore-respect default (#970, #976) ...
includeIgnored in codegraph.json does not revive embedded git repos on init/index (v1.4.1) ## Summary `codegraph.json`'s `includeIgnored` (introduced in v1.1.1 per #970/#980) no longer opts gitignored embedded git repos back into the index. `codegraph init`/`codegraph index` report the repos as excluded and print the ...
Fixed in #1318 (merged to main, ships in the next release). Your workaround observation pinpointed it: the `include` walk matches per-file, but `includeIgnored` gated on nested-repo discovery — and that gate tested your patterns against the **parent** ignored directory only. With `.gitignore: /repos/`, git reports a si...
[ "https://github.com/colbymchenry/codegraph/commit/26674e5b40993f2b0e018719ffe9d0750861b660" ]
2026-07-16T21:01:06Z
https://github.com/colbymchenry/codegraph/tree/c472cfb52e476a31189211266ed21dbecd080926
[ "npm install; npm run build" ]
[ "cd /testbed && npx vitest run --reporter=json --outputFile=vitest-results.json" ]
[ "cd /testbed && cat vitest-results.json" ]
def parser(log: str) -> dict[str, str]: import json import re results: dict[str, str] = {} def add(name: object, status: str) -> None: key = str(name).strip() or "<unnamed>" if key not in results: results[key] = status return # Preserve repeated tests r...
[ "__tests__/multi-repo-workspace.test.ts::multi-repo workspaces (#514) + .gitignore-respect default (#970, #976) opt-in: codegraph.json includeIgnored re-includes a gitignored dir (#622, #699) child-pattern spelling revives repos whose PARENT dir carries the gitignore rule (#1295)", "__tests__/multi-repo-workspace...
[ "__tests__/node-file-view.test.ts::codegraph_node file-view (Read replacement) reads a whole file like Read by default — `<n>\\t<line>` lines (no pad), imports + gaps included", "__tests__/value-reference-edges.test.ts::value-reference edges does NOT edge a Swift static const shadowed by a function-local let of t...
starryzhang/sweb.eval.x86_64.colbymchenry_1776_codegraph-1318
colbymchenry/codegraph
1317
colbymchenry__codegraph-1317
[ "1230" ]
41c20297987416201a1de665eced2bf0dad1571b
diff --git a/CHANGELOG.md b/CHANGELOG.md index 955349b47..536110e7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Fixes +- Method calls on literals (`", ".join(...)` in Python, `"x".split(...)` in JavaScript, and the li...
diff --git a/__tests__/resolution.test.ts b/__tests__/resolution.test.ts index 3965ea9d2..eca1778ff 100644 --- a/__tests__/resolution.test.ts +++ b/__tests__/resolution.test.ts @@ -2541,6 +2541,57 @@ func main() { }); }); + describe('Literal receivers and nested-local scope (#1230)', () => { + // Two stac...
[python] matching built-ins Input ```python def format_fields(values): # nested local helper, only reachable inside format_fields def join(vals): return "-".join(sorted(vals)) return join(values) def report_missing(unresolved): # str.join on a literal: no relation to...
Perhaps this can help people trying to fix this? Was my minimal viable solution: https://github.com/h8d13/codegraph/commit/f59ae3c2e9ef0d2577005d7d613234e97f5cd0bb
Perhaps this can help people trying to fix this? Was my minimal viable solution: https://github.com/h8d13/codegraph/commit/f59ae3c2e9ef0d2577005d7d613234e97f5cd0bb Fixed in #1317 (merged to main, ships in the next release). Both of your proposed fixes landed — they turned out to be independent defects, so it's an "and...
[ "https://github.com/colbymchenry/codegraph/commit/17bb56154720c6d57499137b6a99cf6db9ec9882" ]
2026-07-16T20:55:36Z
https://github.com/colbymchenry/codegraph/tree/41c20297987416201a1de665eced2bf0dad1571b
[ "npm install; npm run build" ]
[ "cd /testbed && npx vitest run --reporter=json --outputFile=vitest-results.json" ]
[ "cd /testbed && cat vitest-results.json" ]
def parser(log: str) -> dict[str, str]: import json import re results: dict[str, str] = {} def add(name: object, status: str) -> None: key = str(name).strip() or "<unnamed>" if key not in results: results[key] = status return # Preserve repeated tests r...
[ "__tests__/resolution.test.ts::Resolution Module Literal receivers and nested-local scope (#1230) str-literal builtin calls don't bind to project symbols; nested locals only resolve from inside their container" ]
[ "__tests__/node-file-view.test.ts::codegraph_node file-view (Read replacement) reads a whole file like Read by default — `<n>\\t<line>` lines (no pad), imports + gaps included", "__tests__/value-reference-edges.test.ts::value-reference edges does NOT edge a Swift static const shadowed by a function-local let of t...
starryzhang/sweb.eval.x86_64.colbymchenry_1776_codegraph-1317
xroche/httrack
610
xroche__httrack-610
[ "602" ]
18bdc24d150b2693850c3d08df3b63e7a116cae1
diff --git a/src/htslib.c b/src/htslib.c index 55899b264..090d18a35 100644 --- a/src/htslib.c +++ b/src/htslib.c @@ -65,6 +65,7 @@ Please visit our Website: http://www.httrack.com #endif /* _WIN32 */ #include <stdarg.h> +#include <ctype.h> #include <string.h> #include <time.h> #include <stdarg.h> @@ -3747,6 +374...
diff --git a/tests/01_engine-proxyurl.test b/tests/01_engine-proxyurl.test index 41a5329aa..2548a23dc 100755 --- a/tests/01_engine-proxyurl.test +++ b/tests/01_engine-proxyurl.test @@ -71,3 +71,23 @@ p 'http://a]b:c@host' 'name=http://a]b:c@host port=8080 host=host kind=http' # a lone ':' must not underflow the back...
An out-of-range -P proxy port parses to a garbage port instead of being rejected `hts_parse_proxy` reads the port with `sscanf(a, "%d", &p)`. A value past `INT_MAX` is signed-overflow UB, and in practice yields a garbage port rather than being rejected: ``` $ httrack -#test=proxyurl 'http://host:99999999999999' name=h...
[ "https://github.com/xroche/httrack/commit/b9b188d83b34330e2e64ebb5eecb6fa13034ef00", "https://github.com/xroche/httrack/commit/87f178e65d6d7b45f7510e88a931ceeca05a273f" ]
2026-07-16T16:59:20Z
https://github.com/xroche/httrack/tree/18bdc24d150b2693850c3d08df3b63e7a116cae1
[ "cd /testbed && sh ./bootstrap && cd build && ../configure && make -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee /testbed/test-output.log" ]
[ "cat /testbed/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} severity = {"pass": 0, "skip": 1, "fail": 2} ansi = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") result_line = re.compile( r"^\s*(PASS(?:ED)?|OK|SKIP(?:PED)?|" r"FAIL(?:ED)?|XFAIL|XPASS|ERROR|UNRESOLVED)" ...
[ "01_engine-proxyurl.test" ]
[ "01_engine-doitlog.test", "01_engine-escape-room.test", "20_local-resume-loop.test", "01_engine-hashtable.test", "01_engine-filelist.test", "01_zlib-cache-corrupt.test", "01_engine-status.test", "01_engine-selftest-dispatch.test", "01_engine-inplace-escape.test", "01_engine-urlhack.test", "01_zl...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-610
colbymchenry/codegraph
939
colbymchenry__codegraph-939
[ "926" ]
b218f625f72c71dc6ed124499b0e1a6eb3f12726
diff --git a/CHANGELOG.md b/CHANGELOG.md index 443d3a62c..ee6beab4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,7 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - `codegraph index` now rebuilds the full graph from scratch, so it produces the same result as a fresh `codegrap...
diff --git a/__tests__/worktree-detection.test.ts b/__tests__/worktree-detection.test.ts index 6be3f2a5a..98d44db9b 100644 --- a/__tests__/worktree-detection.test.ts +++ b/__tests__/worktree-detection.test.ts @@ -187,3 +187,78 @@ describe('worktree mismatch surfaces on hot read tools (issue #155)', () => { } })...
MCP projectPath worktree queries falsely warn that a valid local worktree index belongs to the main repo ## Summary When an MCP call uses `projectPath` that points at a git worktree with its own valid local `.codegraph/` index, the MCP tools still warn that the index "belongs to a different git working tree" and claim...
Fixed on `main` (#939) — thanks for the precise repro and the "CLI is right, MCP is wrong, only a restart fixes it" detail; that was the key to it. **Root cause:** a long-lived MCP server (the shared daemon) cached two things for its whole lifetime — the resolved project handle and the worktree-vs-index verdict — keye...
[ "https://github.com/colbymchenry/codegraph/commit/08654226f71b0fe19568f9f22756500b993be14c" ]
2026-06-21T18:37:17Z
https://github.com/colbymchenry/codegraph/tree/b218f625f72c71dc6ed124499b0e1a6eb3f12726
[ "npm install; npm run build" ]
[ "cd /testbed && npx vitest run --reporter=json --outputFile=vitest-results.json" ]
[ "cd /testbed && cat vitest-results.json" ]
def parser(log: str) -> dict[str, str]: import json import re results: dict[str, str] = {} def add(name: object, status: str) -> None: key = str(name).strip() or "<unnamed>" if key not in results: results[key] = status return # Preserve repeated tests r...
[ "__tests__/worktree-detection.test.ts::worktree mismatch verdict re-resolves when the index root changes (issue #926) drops the stale \"borrowed the main index\" warning once the index root flips to the worktree" ]
[ "__tests__/value-reference-edges.test.ts::value-reference edges edges readers to a top-level let and static let in enum/struct, not an instance let (Swift)", "__tests__/value-reference-edges.test.ts::value-reference edges does NOT edge a Java class const shadowed by a method-local of the same name", "__tests__/...
starryzhang/sweb.eval.x86_64.colbymchenry_1776_codegraph-939
xroche/httrack
618
xroche__httrack-618
[ "615" ]
18bdc24d150b2693850c3d08df3b63e7a116cae1
diff --git a/src/htscoremain.c b/src/htscoremain.c index 314b99fc1..ccd3ba72f 100644 --- a/src/htscoremain.c +++ b/src/htscoremain.c @@ -113,6 +113,7 @@ HTSEXT_API int hts_main(int argc, char **argv) { } static int hts_main_internal(int argc, char **argv, httrackp * opt); +static hts_boolean cmdl_shortopt_has(const...
diff --git a/tests/01_engine-cmdline.test b/tests/01_engine-cmdline.test index 549bd97a1..cb04465e7 100755 --- a/tests/01_engine-cmdline.test +++ b/tests/01_engine-cmdline.test @@ -54,6 +54,13 @@ refused() { ! echo "FAIL: $1 (exit $RC)" || exit 1 } +# assert continue mode was entered: it drops the URL list,...
httrack <URL> --build-top-index exits 255 with the usage screen instead of crawling Any option whose expansion contains a lowercase `i` is mistaken for `-i` (continue) when it appears after the URL. The URL list is wiped and httrack prints the usage screen: ``` $ httrack http://example.com/ -O /tmp/d --build-top-index...
[ "https://github.com/xroche/httrack/commit/1a020911dbc11ed57d40cfbc3459c87dc0e646a3", "https://github.com/xroche/httrack/commit/5083991f5ab453722899d1ff39c5992a2d8c481b" ]
2026-07-16T21:43:57Z
https://github.com/xroche/httrack/tree/18bdc24d150b2693850c3d08df3b63e7a116cae1
[ "cd /testbed && sh ./bootstrap && cd build && ../configure && make -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee /testbed/test-output.log" ]
[ "cat /testbed/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} severity = {"pass": 0, "skip": 1, "fail": 2} ansi = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") result_line = re.compile( r"^\s*(PASS(?:ED)?|OK|SKIP(?:PED)?|" r"FAIL(?:ED)?|XFAIL|XPASS|ERROR|UNRESOLVED)" ...
[ "01_engine-cmdline.test" ]
[ "01_engine-doitlog.test", "01_engine-escape-room.test", "20_local-resume-loop.test", "01_engine-hashtable.test", "01_engine-filelist.test", "01_zlib-cache-corrupt.test", "01_engine-status.test", "01_engine-selftest-dispatch.test", "01_engine-inplace-escape.test", "01_engine-urlhack.test", "01_zl...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-618
DynamoRIO/dynamorio
8017
DynamoRIO__dynamorio-8017
[ "8016" ]
25ad71237ceab5f536518ecdcca51b0ed077e914
diff --git a/api/docs/annotations.dox b/api/docs/annotations.dox index ba83f2ab7d..8bf8922036 100644 --- a/api/docs/annotations.dox +++ b/api/docs/annotations.dox @@ -67,7 +67,7 @@ invoked anyway. #define ANNOTATION_FUNCTION_CLOBBER_LIST "%rax","%rcx","%rdx","%rsi","%rdi","%r8","%r9" #define _CALL_TYPE #define DR_AN...
diff --git a/suite/tests/client-interface/drcallstack-test.c b/suite/tests/client-interface/drcallstack-test.c index 13b54d8fee..328458b0bd 100644 --- a/suite/tests/client-interface/drcallstack-test.c +++ b/suite/tests/client-interface/drcallstack-test.c @@ -33,7 +33,7 @@ #include "tools.h" #ifdef LINUX -# defin...
Change `noinline` attributes to the double-underscore variant to avoid conflicts with the Linux kernel Currently there are several `noinline` attributes used in the code base, like https://github.com/DynamoRIO/dynamorio/blob/25ad71237ceab5f536518ecdcca51b0ed077e914/core/lib/globals_api.h#L172 However, in the linux ker...
[ "https://github.com/DynamoRIO/dynamorio/commit/a71eaba1320a4d7ccc707fc6e562b94753024644" ]
2026-07-20T21:36:18Z
https://github.com/DynamoRIO/dynamorio/tree/25ad71237ceab5f536518ecdcca51b0ed077e914
[ "cd /testbed && git submodule update --init --recursive ; cmake --build build --parallel" ]
[ "cd /testbed ; mkdir -p reports ; ctest --test-dir build -V -j2 --output-junit /testbed/reports/ctest-junit.xml" ]
[ "cd /testbed ; cat reports/ctest-junit.xml" ]
def parser(log: str) -> dict[str, str]: import html import re import xml.etree.ElementTree as ET results: dict[str, str] = {} priority = {"pass": 0, "skip": 1, "fail": 2} fail_words = { "fail", "failed", "failure", "error", "errored", "timeout", "timedout", "timed_out", "aborte...
[ "linux.xarch" ]
[ "code_api|tool.drcacheoff.view", "code_api|client.drbbdup-emul-reg-clobber-test", "code_api|api.static_maps_mixup_yesvars", "code_api|client.drsyms-dwarf4-test", "code_api|client.events", "code_api|linux.signal1101", "code_api|client.annotation-concurrency.prof-pcs", "code_api|pthreads.ptsig", "code...
starryzhang/sweb.eval.x86_64.dynamorio_1776_dynamorio-8017
colbymchenry/codegraph
1313
colbymchenry__codegraph-1313
[ "1285" ]
18f0745f81548a601282a432e3ccfda44dfb475a
diff --git a/CHANGELOG.md b/CHANGELOG.md index a2e7c46ee..1da973b10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Fixes +- Deleting a whole directory is now picked up by watch mode: the files inside it are removed from ...
diff --git a/__tests__/watcher.test.ts b/__tests__/watcher.test.ts index 9eb0b621d..10e1b6085 100644 --- a/__tests__/watcher.test.ts +++ b/__tests__/watcher.test.ts @@ -438,8 +438,11 @@ describe('FileWatcher', () => { watcher.start(); await watcher.waitUntilReady(); - // A non-source-file event — F...
Directory deletion not cascading to child file records in index ## Summary When a **subdirectory containing source files** is deleted from the project, CodeGraph fails to detect the change and does not update the SQLite index. The deleted files remain in the database, and index counts (files, nodes, edges) stay unchan...
Fixed in #1313 (merged to main, ships in the next release) — and thanks for the live-monitor tool, it made the failure mode easy to see. One clarification on the mechanics: the database side was already cascading correctly — a manual `codegraph sync` removes a deleted directory's file records fine. The gap was the **w...
[ "https://github.com/colbymchenry/codegraph/commit/7b85fc632da075d83d32909c730f929c53802a87" ]
2026-07-16T20:27:08Z
https://github.com/colbymchenry/codegraph/tree/18f0745f81548a601282a432e3ccfda44dfb475a
[ "npm install; npm run build" ]
[ "cd /testbed && npx vitest run --reporter=json --outputFile=vitest-results.json" ]
[ "cd /testbed && cat vitest-results.json" ]
def parser(log: str) -> dict[str, str]: import json import re results: dict[str, str] = {} def add(name: object, status: str) -> None: key = str(name).strip() or "<unnamed>" if key not in results: results[key] = status return # Preserve repeated tests r...
[ "__tests__/watcher.test.ts::FileWatcher filtering end-to-end: deleting a subdirectory removes its files from the index via watch sync (#1285)", "__tests__/watcher.test.ts::FileWatcher filtering a deleted directory schedules a sync so child records get removed (#1285)", "__tests__/erlang-behaviour-synthesizer.te...
[ "__tests__/node-file-view.test.ts::codegraph_node file-view (Read replacement) reads a whole file like Read by default — `<n>\\t<line>` lines (no pad), imports + gaps included", "__tests__/value-reference-edges.test.ts::value-reference edges does NOT edge a Swift static const shadowed by a function-local let of t...
starryzhang/sweb.eval.x86_64.colbymchenry_1776_codegraph-1313
colbymchenry/codegraph
804
colbymchenry__codegraph-804
[ "774" ]
9a0f1447702709b5027ce346110f4dc86a7f1eb1
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f790c7c3..4aca757b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -58,6 +58,7 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - `codegraph affected` now reports the tests and files that actually depend on your changes. It used to follow on...
diff --git a/__tests__/graph.test.ts b/__tests__/graph.test.ts index 5ddbd028f..bc25942ac 100644 --- a/__tests__/graph.test.ts +++ b/__tests__/graph.test.ts @@ -293,6 +293,25 @@ export { main }; expect(Array.isArray(callees)).toBe(true); }); + + it('treats class instantiation as a caller/callee of the ...
Python: class instantiation ClassName() is not a caller edge; impact <Class> returns containment, not dependents ## Summary In Python, **instantiating a class is not recorded as a caller edge**. `callers <ClassName>` returns "No callers found" even when the constructor is called from many sites, and `impact <ClassName...
Filed alongside #773 — the silent FK-drop edge corruption (different root cause).
Filed alongside #773 — the silent FK-drop edge corruption (different root cause). Fixed in #804 (now merged to `main`), @Mikecranesync — thanks for the precise report and the modeling suggestion, which is essentially what landed. You were right that this is a modeling gap, not data loss. What was actually happening: t...
[ "https://github.com/colbymchenry/codegraph/commit/71eb89a38e97228a536d3d1c51a5a2777f0cf965" ]
2026-06-11T16:23:52Z
https://github.com/colbymchenry/codegraph/tree/9a0f1447702709b5027ce346110f4dc86a7f1eb1
[ "npm install ; npm run build" ]
[ "cd /testbed ; npm test -- --reporter=json --outputFile=vitest-results.json" ]
[ "cd /testbed ; cat vitest-results.json" ]
def parser(log: str) -> dict[str, str]: import json import re results: dict[str, str] = {} decoder = json.JSONDecoder() def find_report(): # Fast path for a clean JSON report. text = log.lstrip("\ufeff \t\r\n") try: value, _ = decoder.raw_decode(text) ...
[ "__tests__/graph.test.ts::Graph Queries getCallers() and getCallees() treats class instantiation as a caller/callee of the class (#774)" ]
[ "__tests__/node-file-view.test.ts::codegraph_node file-view (Read replacement) reads a whole file like Read by default — `<n>\\t<line>` lines (no pad), imports + gaps included", "__tests__/drupal.test.ts::drupalResolver.detect returns true when composer.json has a drupal/ dependency", "__tests__/extraction.test...
starryzhang/sweb.eval.x86_64.colbymchenry_1776_codegraph-804
xroche/httrack
584
xroche__httrack-584
[ "562" ]
991d2599813811f554b4007ffa9c63955d06025f
diff --git a/src/htsback.c b/src/htsback.c index 6ddee3d9c..11ee4b2c0 100644 --- a/src/htsback.c +++ b/src/htsback.c @@ -628,6 +628,10 @@ int back_finalize(httrackp * opt, cache_back * cache, struct_back * sback, back[p].r.size, back[p].url_adr, back[p].url_fil); } back_finalize_bac...
diff --git a/tests/54_local-update-truncate-purge.test b/tests/54_local-update-truncate-purge.test new file mode 100644 index 000000000..4b679f611 --- /dev/null +++ b/tests/54_local-update-truncate-purge.test @@ -0,0 +1,23 @@ +#!/bin/bash +# +# An --update re-fetch that comes in short must not delete the mirrored file ...
--update: an incomplete transfer deletes the previously-mirrored file When `--update` re-fetches an already-mirrored URL and the transfer comes up short (the server declares a `Content-Length` it does not deliver, or the connection drops mid-body), httrack correctly refuses to store the partial body and logs: > incomp...
[ "https://github.com/xroche/httrack/commit/676ee634770f3dddb8c72699fdad13882adce5cd", "https://github.com/xroche/httrack/commit/90459313ce718c00cb27f580ad072f5c78e1ae56", "https://github.com/xroche/httrack/commit/84d75fd2d1cb152cf97d772ee054c6fefd1533a2" ]
2026-07-15T06:54:50Z
https://github.com/xroche/httrack/tree/991d2599813811f554b4007ffa9c63955d06025f
[ "cd /testbed && sh ./bootstrap && cd build && ../configure && make -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee /testbed/test-output.log" ]
[ "cat /testbed/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} severity = {"pass": 0, "skip": 1, "fail": 2} ansi = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") result_line = re.compile( r"^\s*(PASS(?:ED)?|OK|SKIP(?:PED)?|" r"FAIL(?:ED)?|XFAIL|XPASS|ERROR|UNRESOLVED)" ...
[ "54_local-update-truncate-purge.test" ]
[ "01_engine-doitlog.test", "01_engine-escape-room.test", "20_local-resume-loop.test", "01_engine-hashtable.test", "01_engine-filelist.test", "01_zlib-cache-corrupt.test", "01_engine-status.test", "01_engine-selftest-dispatch.test", "01_engine-inplace-escape.test", "01_engine-urlhack.test", "01_zl...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-584
DeusData/codebase-memory-mcp
632
DeusData__codebase-memory-mcp-632
[ "631" ]
7824e505c192023a21b3e90bcb98ca6210629b64
diff --git a/src/cli/cli.c b/src/cli/cli.c index aee12edca..71468d17a 100644 --- a/src/cli/cli.c +++ b/src/cli/cli.c @@ -1795,9 +1795,15 @@ static const char *const cmm_gemini_old_matchers[] = { NULL, }; -/* Check if a hook array entry is ours (current matcher or a known old one). */ +/* Check if a hook array e...
diff --git a/tests/test_cli.c b/tests/test_cli.c index 6ce79ce2c..c3a98936c 100644 --- a/tests/test_cli.c +++ b/tests/test_cli.c @@ -1750,6 +1750,75 @@ TEST(cli_gemini_session_hook_parity) { PASS(); } +/* Claude SubagentStart reminder: subagents spawned via the Agent tool do not + * fire SessionStart, so this h...
Subagents don't receive the codebase-memory-mcp code-discovery reminder ### Problem The installer registers a `SessionStart` reminder hook for Claude Code (matchers `startup`/`resume`/`clear`/`compact`) that tells the agent to prefer codebase-memory-mcp tools (`search_graph`, `trace_path`, `get_code_snippet`, …) over ...
Thanks. I’ve accepted this as an editor integration enhancement and linked it under #395. The right shape is Claude-specific `SubagentStart` plumbing with tool-neutral guidance and fail-open behavior for older clients.
[ "https://github.com/DeusData/codebase-memory-mcp/commit/64af0b8c7eff9f8bb10020387d732f7a7be0eee6", "https://github.com/DeusData/codebase-memory-mcp/commit/3466ba02e861ec12ad5f86b13b3c013df5643e23", "https://github.com/DeusData/codebase-memory-mcp/commit/5255939a958f9e54af626dfd4a9a5c8b193ea705" ]
2026-06-25T17:07:35Z
https://github.com/DeusData/codebase-memory-mcp/tree/7824e505c192023a21b3e90bcb98ca6210629b64
[ "npm install --prefix graph-ui; npm run build --prefix graph-ui; make -j\"$(nproc)\" -f Makefile.cbm cbm" ]
[ "cd /testbed; CBM_SKIP_PERF=1 ASAN_OPTIONS=quarantine_size_mb=32:malloc_context_size=10 ./build/c/test-runner > c-test-output.log 2>&1; c_rc=$?; npm test --prefix graph-ui -- --reporter=json --outputFile=../vitest-results.json; ui_rc=$?; : > shell-test-output.log; shell_rc=0; for t in tests/test_parent_watchdog.sh ...
[ "cd /testbed; cat test-results.tsv" ]
def parser(log: str) -> dict[str, str]: import re status_map = { "PASS": "pass", "PASSED": "pass", "OK": "pass", "SUCCESS": "pass", "XPASS": "fail", "FAIL": "fail", "FAILED": "fail", "FAILURE": "fail", "ERROR": "fail", "ABORT": "fa...
[ "shell::tests/test_parent_watchdog.sh" ]
[ "c::mcp::tool_get_architecture_path_scoping", "c::pipeline::registry_fuzzy_confidence_distance", "c::py_lsp::pylsp_round2_walrus_binds", "c::yaml::yaml_smoke_cgrconfig", "c::c_lsp::clsp_c_func_ptr_param", "c::c_lsp::clsp_gap_v2_c_static_func", "c::convergence_probe::cp_grpc_calls_go_user_service", "c:...
starryzhang/sweb.eval.x86_64.deusdata_1776_codebase-memory-mcp-632
colbymchenry/codegraph
948
colbymchenry__codegraph-948
[ "946" ]
2bdc169ce43e8a95a6e177b0dae658528e931dbd
diff --git a/CHANGELOG.md b/CHANGELOG.md index 33cc12a6c..87d364466 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,6 +42,7 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - A long-running MCP server now recovers when your index is deleted and rebuilt at the same path. If `.codegraph/...
diff --git a/__tests__/extraction.test.ts b/__tests__/extraction.test.ts index df825f529..b2cf85d9b 100644 --- a/__tests__/extraction.test.ts +++ b/__tests__/extraction.test.ts @@ -2582,6 +2582,63 @@ std::unique_ptr<Widget> makeWidget() { return nullptr; } }); }); + describe('C++ macro-prefixed class/struct ...
C++: class with export macro + inheritance mislabeled as kind=function in header ### Problem A C++ class declaration in a header file that uses an **export macro** (e.g. `__attribute__((visibility("default")))`) **and** inherits from a base class is indexed as `kind=function` instead of `kind=class`. Its `qualified_na...
Fixed in #948 (merged to `main`) — thanks for the clean minimal reproduction, it made the root cause easy to pin down. Confirmed by dumping the parse tree: tree-sitter doesn't expand macros, so `class MAPCORE_EXPORT LocalDataProvider : public DataProvider` is read as an *elaborated type specifier* (`class MAPCORE_EXPO...
[ "https://github.com/colbymchenry/codegraph/commit/0bd4893928c75ba56c734aaf9b5696bac26078c2", "https://github.com/colbymchenry/codegraph/commit/1731880e18267a7c0959dc27e0d4246ff73666fa" ]
2026-06-22T13:39:14Z
https://github.com/colbymchenry/codegraph/tree/2bdc169ce43e8a95a6e177b0dae658528e931dbd
[ "npm install; npm run build" ]
[ "cd /testbed && npx vitest run --reporter=json --outputFile=vitest-results.json" ]
[ "cd /testbed && cat vitest-results.json" ]
def parser(log: str) -> dict[str, str]: import json import re results: dict[str, str] = {} def add(name: object, status: str) -> None: key = str(name).strip() or "<unnamed>" if key not in results: results[key] = status return # Preserve repeated tests r...
[ "__tests__/extraction.test.ts::Import Extraction C++ macro-prefixed class/struct misparse (#946) drops the struct variant too, without dropping a genuine class", "__tests__/extraction.test.ts::Import Extraction C++ macro-prefixed class/struct misparse (#946) does not mint a phantom function for a macro-annotated ...
[ "__tests__/value-reference-edges.test.ts::value-reference edges edges readers to a top-level let and static let in enum/struct, not an instance let (Swift)", "__tests__/value-reference-edges.test.ts::value-reference edges does NOT edge a Java class const shadowed by a method-local of the same name", "__tests__/...
starryzhang/sweb.eval.x86_64.colbymchenry_1776_codegraph-948
xroche/httrack
560
xroche__httrack-560
[ "557" ]
9ec5a3a067c663351a04b85a429633e46331ef5d
diff --git a/src/htsback.c b/src/htsback.c index d7c942865..da1db3ba6 100644 --- a/src/htsback.c +++ b/src/htsback.c @@ -557,6 +557,14 @@ static int create_back_tmpfile(httrackp *opt, lien_back *const back, return 0; } +/* Move src onto dst; RENAME does not clobber an existing target on Windows. */ +static hts_bo...
diff --git a/tests/51_local-update-codec.test b/tests/51_local-update-codec.test new file mode 100644 index 000000000..3b5e023ab --- /dev/null +++ b/tests/51_local-update-codec.test @@ -0,0 +1,38 @@ +#!/bin/bash +# +# A coded re-fetch that fails to decode must not destroy the mirrored file (#557). +# Pass 1 mirrors fro...
--update: a compressed re-fetch that fails to decode destroys the previously-mirrored file `--update` re-fetches a URL and, if the new response is compressed, decodes it before writing the result. When that decode fails (a truncated or corrupt gzip stream, or a coding httrack can't handle), the previously-mirrored copy...
[ "https://github.com/xroche/httrack/commit/11c214bcfd02367cef937185e456beeaa3ac71f6", "https://github.com/xroche/httrack/commit/0141fb7f66fb80722b46386f919d9f0a5279a8ce", "https://github.com/xroche/httrack/commit/814f4e7b2e11bb67076d48f317897f9875cbb79a", "https://github.com/xroche/httrack/commit/8b1ac5791610a...
2026-07-14T06:56:47Z
https://github.com/xroche/httrack/tree/9ec5a3a067c663351a04b85a429633e46331ef5d
[ "cd /testbed && sh ./bootstrap && cd build && ../configure && make -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee /testbed/test-output.log" ]
[ "cat /testbed/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} severity = {"pass": 0, "skip": 1, "fail": 2} ansi = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") result_line = re.compile( r"^\s*(PASS(?:ED)?|OK|SKIP(?:PED)?|" r"FAIL(?:ED)?|XFAIL|XPASS|ERROR|UNRESOLVED)" ...
[ "51_local-update-codec.test" ]
[ "01_engine-status.test", "01_zlib-cache-writefail.test", "01_engine-ftp-userpass.test", "22_local-broken-size.test", "01_engine-cmdline.test", "30_local-fragment-link.test", "45_local-maxsize-recv.test", "01_engine-selftest-dispatch.test", "01_zlib-cache-golden.test", "01_engine-hashtable.test", ...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-560
colbymchenry/codegraph
749
colbymchenry__codegraph-749
[ "608" ]
75ae1e8bd91c60747a9aacf8a16274d70ed636a9
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f73044cd..c5c47ed32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Fixes +- PHP: a method called through a chained static factory — `Cls::for($x)->method(...)`, the canonic...
diff --git a/__tests__/extraction.test.ts b/__tests__/extraction.test.ts index e9231963b..aae1d9e62 100644 --- a/__tests__/extraction.test.ts +++ b/__tests__/extraction.test.ts @@ -2406,6 +2406,30 @@ end }); }); + describe('PHP return type capture (#608)', () => { + it('captures self/static factory return...
PHP: `codegraph_callers` misses chained calls on static-factory return values (`Cls::for($x)->method(...)`) — common Laravel per-credential client pattern ## Summary On PHP, a call made through a **chained static-factory expression** — `Cls::for($x)->method(...)` where `for()` is a static factory returning `: self` — ...
Fixed in #749 (merged to `main`) — thanks for the exemplary report: the behavior matrix, the root-cause hypothesis, and the real-world Laravel evidence all landed exactly where the fix needed to go. Your hypothesis was spot on — the receiver of `->createOrder` is the `Cls::for(...)` static call, and its result type wa...
[ "https://github.com/colbymchenry/codegraph/commit/e4fa8d7b17504a48911cfa4c338d4ca38769b998" ]
2026-06-09T03:09:46Z
https://github.com/colbymchenry/codegraph/tree/75ae1e8bd91c60747a9aacf8a16274d70ed636a9
[ "npm install ; npm run build" ]
[ "cd /testbed ; npm test -- --reporter=json --outputFile=vitest-results.json" ]
[ "cd /testbed ; cat vitest-results.json" ]
def parser(log: str) -> dict[str, str]: import json import re results: dict[str, str] = {} decoder = json.JSONDecoder() def find_report(): # Fast path for a clean JSON report. text = log.lstrip("\ufeff \t\r\n") try: value, _ = decoder.raw_decode(text) ...
[ "__tests__/resolution.test.ts::Resolution Module PHP chained static-factory call resolution (#608) resolves Cls::for($x)->method() via the factory's `: self` return (#608)", "__tests__/extraction.test.ts::Import Extraction PHP return type capture (#608) captures self/static factory returns as the `self` marker; p...
[ "__tests__/node-file-view.test.ts::codegraph_node file-view (Read replacement) reads a whole file like Read by default — `<n>\\t<line>` lines (no pad), imports + gaps included", "__tests__/drupal.test.ts::drupalResolver.detect returns true when composer.json has a drupal/ dependency", "__tests__/extraction.test...
starryzhang/sweb.eval.x86_64.colbymchenry_1776_codegraph-749
xroche/httrack
596
xroche__httrack-596
[ "564" ]
ed05faaaa802f70ddd8250e076d57de11ee344b5
diff --git a/html/server/option10.html b/html/server/option10.html index 540f086d1..feff629a6 100644 --- a/html/server/option10.html +++ b/html/server/option10.html @@ -103,6 +103,7 @@ <h2 align="center"><em>${LANG_O2} - ${LANG_IOPT10}</em></h2> title='${html:LANG_PROXYTYPETIP}' onMouseOver="info('${html:LANG_PROXY...
diff --git a/src/htsselftest.c b/src/htsselftest.c index 1e093d7be..1eb801ae1 100644 --- a/src/htsselftest.c +++ b/src/htsselftest.c @@ -1365,9 +1365,12 @@ static int st_proxyurl(httrackp *opt, int argc, char **argv) { return 1; } hts_parse_proxy(argv[0], name, sizeof(name), &port); - // host= is what the c...
Plain http through a CONNECT-only proxy (tor HTTPTunnelPort) is refused ## Symptom Mirroring a plain `http://` site through a tor daemon fails, while `https://` sites through the same proxy work. The failure looks like a broken or refusing proxy, so the natural conclusion is that the proxy setting is ignored, which se...
[ "https://github.com/xroche/httrack/commit/59c01680afd784c7ecfa8bcdd9f136d5e5bc6e88", "https://github.com/xroche/httrack/commit/a47b11a382493433af515f5896768de37f383793", "https://github.com/xroche/httrack/commit/3f2c9f8fd0d7e7bef62247e43b11408e77c71f36" ]
2026-07-16T06:28:19Z
https://github.com/xroche/httrack/tree/ed05faaaa802f70ddd8250e076d57de11ee344b5
[ "cd /testbed && sh ./bootstrap && cd build && ../configure && make -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee /testbed/test-output.log" ]
[ "cat /testbed/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} severity = {"pass": 0, "skip": 1, "fail": 2} ansi = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") result_line = re.compile( r"^\s*(PASS(?:ED)?|OK|SKIP(?:PED)?|" r"FAIL(?:ED)?|XFAIL|XPASS|ERROR|UNRESOLVED)" ...
[ "52_local-socks5.test", "01_zlib-cache-legacy.test", "23_local-errpage.test", "01_engine-pause.test", "01_engine-doitlog.test", "01_engine-parse.test", "01_engine-escape-room.test", "47_local-crange-overflow.test", "01_engine-rcfile.test", "20_local-resume-loop.test", "01_engine-hashtable.test",...
[]
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-596
colbymchenry/codegraph
461
colbymchenry__codegraph-461
[ "456" ]
8876defbc1f1bd2e0a6c65ff42a2216719d845ca
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d7a8aa88..6d3ac79f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] ### Fixed +- **Hermes Agent: `codegraph install --target hermes` no longer corrupts `~/.hermes...
diff --git a/__tests__/installer-targets.test.ts b/__tests__/installer-targets.test.ts index 2683cbb99..82155eab5 100644 --- a/__tests__/installer-targets.test.ts +++ b/__tests__/installer-targets.test.ts @@ -635,6 +635,86 @@ describe('Installer targets — partial-state idempotency', () => { expect(body).toContain(...
Bug: `codegraph install --target hermes` corrupts `config.yaml` — drops `hermes-cli` and breaks nested YAML indentation Description Running `codegraph install --target hermes -y` corrupts the `platform_toolsets` section of Hermes Agent's `~/.hermes/config.yaml`. The installer: 1. **Drops `hermes-cli`** from the `cli`...
Fixed in #461 — thanks for the detailed report (and especially for capturing the diff against a backup, which made the root cause easy to confirm). **Root cause**: Hermes serializes `config.yaml` with PyYAML's default block style, where list items sit at the *same* indent as the parent mapping key: ```yaml platform_t...
[ "https://github.com/colbymchenry/codegraph/commit/83e73187aa9dc876d24fde930e8fe3467fce9889" ]
2026-05-26T17:20:53Z
https://github.com/colbymchenry/codegraph/tree/8876defbc1f1bd2e0a6c65ff42a2216719d845ca
[ "npm install ; npm run build" ]
[ "cd /testbed ; npx vitest run --reporter=json --outputFile=vitest-results.json" ]
[ "cd /testbed ; cat vitest-results.json" ]
def parser(log: str) -> dict[str, str]: import json import re def find_reports(value): reports = [] if isinstance(value, dict): if isinstance(value.get("testResults"), list): reports.append(value) for child in value.values(): if isinst...
[ "__tests__/installer-targets.test.ts::Installer targets — partial-state idempotency hermes: install preserves PyYAML-default list-at-same-indent style (issue #456)" ]
[ "__tests__/pr19-improvements.test.ts::Arrow Function Body Traversal should extract unresolved references from arrow function bodies", "__tests__/swift-objc-bridge.test.ts::Swift → ObjC selector bridging (auto-name rules) objcAccessorsForSwiftProperty getter = name, setter = setName:", "__tests__/graph.test.ts::...
starryzhang/sweb.eval.x86_64.colbymchenry_1776_codegraph-461
xroche/httrack
522
xroche__httrack-522
[ "521" ]
c07b19bc3d76e980ca2d664b5ab9689d1119326e
diff --git a/src/htsback.c b/src/htsback.c index 529458bd0..fc0ec6dcb 100644 --- a/src/htsback.c +++ b/src/htsback.c @@ -533,22 +533,22 @@ int back_nsoc_overall(const struct_back * sback) { /* generate temporary file on lien_back */ /* Note: utf-8 */ -static int create_back_tmpfile(httrackp * opt, lien_back *const ...
diff --git a/tests/43_local-update-truncate.test b/tests/43_local-update-truncate.test new file mode 100644 index 000000000..c3d6fe9a0 --- /dev/null +++ b/tests/43_local-update-truncate.test @@ -0,0 +1,24 @@ +#!/bin/bash +# +# -M hard-abort must not destroy already-complete files (#77 follow-up). +# Pass 1 mirrors bigt...
-M/-E abort during --update can destroy already-complete files When an `--update` run is stopped by the `-M` overall-size cap (or the `-E` time cap), the hard-abort that tears down in-flight transfers can wipe out files that were already fully mirrored. It happens two ways: - An incomplete re-fetch opens the real fil...
[ "https://github.com/xroche/httrack/commit/7776f4b1bd48b17e683c9ba22dd12b44b26d2cda" ]
2026-07-11T09:13:16Z
https://github.com/xroche/httrack/tree/c07b19bc3d76e980ca2d664b5ab9689d1119326e
[ "apt-get build-dep -y --no-install-recommends . ; sh ./bootstrap ; make -C build -j\"$(nproc)\"" ]
[ "cd /testbed && make -C build check VERBOSE=1 2>&1 | tee test-output.log" ]
[ "cd /testbed && cat test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} ansi = re.compile(r"\x1b(?:\[[0-?]*[ -/]*[@-~]|\][^\x07]*(?:\x07|\x1b\\))") record = re.compile( r"^\s*(PASS|SKIP|FAIL|ERROR|XFAIL|XPASS)\s*:\s*(.*?)\s*$", re.IGNORECASE, ) for raw_line in log.splitl...
[ "43_local-update-truncate.test" ]
[ "01_engine-doitlog.test", "01_engine-escape-room.test", "20_local-resume-loop.test", "01_engine-hashtable.test", "01_engine-filelist.test", "01_zlib-cache-corrupt.test", "01_engine-status.test", "01_engine-selftest-dispatch.test", "01_engine-inplace-escape.test", "01_engine-urlhack.test", "01_zl...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-522
xroche/httrack
530
xroche__httrack-530
[ "520" ]
145ea4769f5146d5ae63d7589e733a1a3b868837
diff --git a/src/htsback.c b/src/htsback.c index 8436d73a8..c883ee4c6 100644 --- a/src/htsback.c +++ b/src/htsback.c @@ -4178,10 +4178,13 @@ static int back_maxtime_grace(const int maxtime) { No floor (unlike the time grace): a size overrun should abort promptly. */ static LLint back_maxsize_grace(const LLint maxs...
diff --git a/tests/45_local-maxsize-recv.test b/tests/45_local-maxsize-recv.test new file mode 100755 index 000000000..2ce04bcef --- /dev/null +++ b/tests/45_local-maxsize-recv.test @@ -0,0 +1,16 @@ +#!/bin/bash +# +# -M caps received volume, not saved 200-only bytes (#520): links to large 404 +# bodies pump received >...
-M overall-size cap measures saved bytes, undercounting redirect/plugin-heavy crawls The `-M` / `--max-size` cap is enforced against `HTS_STAT.stat_bytes`, which only counts bytes written to disk for HTTP 200 responses (minus robots.txt). On crawls dominated by redirects, error bodies, or plugin-written files, that cou...
[ "https://github.com/xroche/httrack/commit/b7ef1457b0a1d721b735906efca6a2c1af3a0d75", "https://github.com/xroche/httrack/commit/b974a737fc36671f7a5a1aac31da397cb916d3c2" ]
2026-07-11T14:53:13Z
https://github.com/xroche/httrack/tree/145ea4769f5146d5ae63d7589e733a1a3b868837
[ "cd /testbed && sh ./bootstrap && cd build && ../configure && make -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee /testbed/test-output.log" ]
[ "cat /testbed/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} severity = {"pass": 0, "skip": 1, "fail": 2} ansi = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") result_line = re.compile( r"^\s*(PASS(?:ED)?|OK|SKIP(?:PED)?|" r"FAIL(?:ED)?|XFAIL|XPASS|ERROR|UNRESOLVED)" ...
[ "45_local-maxsize-recv.test" ]
[ "01_engine-doitlog.test", "01_engine-escape-room.test", "20_local-resume-loop.test", "01_engine-hashtable.test", "01_engine-filelist.test", "01_zlib-cache-corrupt.test", "01_engine-status.test", "01_engine-selftest-dispatch.test", "01_engine-inplace-escape.test", "01_engine-urlhack.test", "01_zl...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-530
xroche/httrack
599
xroche__httrack-599
[ "598" ]
938a873e19e0c99875974bcf076bc33be254eb66
diff --git a/src/htslib.c b/src/htslib.c index ddf5f6f42..55899b264 100644 --- a/src/htslib.c +++ b/src/htslib.c @@ -3754,12 +3754,12 @@ void hts_parse_proxy(const char *arg, char *name, size_t name_size, int *port) { if (name_size == 0) return; - // scan back to the port ':' (or userinfo '@'), but never pas...
diff --git a/tests/01_engine-proxyurl.test b/tests/01_engine-proxyurl.test index 1bab54ac3..41a5329aa 100755 --- a/tests/01_engine-proxyurl.test +++ b/tests/01_engine-proxyurl.test @@ -51,5 +51,23 @@ p 'socks5://us%3Aer:pass@host:1080' 'name=socks5://us%3Aer:pass@host port=1080 h p 'socks5://a@b:c@host:1080' 'name=soc...
A -P proxy given as a bracketed IPv6 literal with no port parses to a truncated host and port 1 `hts_parse_proxy` scans backward from the end of the `-P` argument looking for the port colon, stopping at the authority start or a userinfo `@`. Nothing stops it at a `]`, so for a bracketed IPv6 literal with no explicit po...
[ "https://github.com/xroche/httrack/commit/a4f03169b1ab4e9275404d31ba3aa9141a3186b8", "https://github.com/xroche/httrack/commit/2fe570e1ec7f21304204acde6ea0e86d3f89d42a", "https://github.com/xroche/httrack/commit/ba8f246a60968dce48f313ae92e809f0e2572a3c" ]
2026-07-16T08:24:06Z
https://github.com/xroche/httrack/tree/938a873e19e0c99875974bcf076bc33be254eb66
[ "cd /testbed && sh ./bootstrap && cd build && ../configure && make -j\"$(nproc)\"" ]
[ "cd /testbed/build ; jobs=$(( $(nproc) * 2 )); [ \"$jobs\" -le 16 ] || jobs=16; make check -j\"$jobs\" VERBOSE=1 2>&1 | tee /testbed/test-output.log" ]
[ "cat /testbed/test-output.log" ]
def parser(log: str) -> dict[str, str]: import re results: dict[str, str] = {} severity = {"pass": 0, "skip": 1, "fail": 2} ansi = re.compile(r"\x1b\[[0-?]*[ -/]*[@-~]") result_line = re.compile( r"^\s*(PASS(?:ED)?|OK|SKIP(?:PED)?|" r"FAIL(?:ED)?|XFAIL|XPASS|ERROR|UNRESOLVED)" ...
[ "01_engine-proxyurl.test" ]
[ "01_engine-doitlog.test", "01_engine-escape-room.test", "20_local-resume-loop.test", "01_engine-hashtable.test", "01_engine-filelist.test", "01_zlib-cache-corrupt.test", "01_engine-status.test", "01_engine-selftest-dispatch.test", "01_engine-inplace-escape.test", "01_engine-urlhack.test", "01_zl...
starryzhang/sweb.eval.x86_64.xroche_1776_httrack-599
colbymchenry/codegraph
462
colbymchenry__codegraph-462
[ "455" ]
e76cc547b0291eba6b34c4416f5d17814b033cbc
diff --git a/src/db/queries.ts b/src/db/queries.ts index 9419a313f..131f2894d 100644 --- a/src/db/queries.ts +++ b/src/db/queries.ts @@ -21,6 +21,8 @@ import { safeJsonParse } from '../utils'; import { kindBonus, nameMatchBonus, scorePathRelevance } from '../search/query-utils'; import { parseQuery, boundedEditDistan...
diff --git a/__tests__/db-perf.test.ts b/__tests__/db-perf.test.ts index 256cf92c5..1dc3f1eb6 100644 --- a/__tests__/db-perf.test.ts +++ b/__tests__/db-perf.test.ts @@ -7,6 +7,7 @@ * doesn't serve a stale cached row on next `getNodeById`. * 3. `runMaintenance` runs `PRAGMA optimize` + `wal_checkpoint(PASSIVE...
FOREIGN KEY constraint failed during watch sync (v0.9.5 — regression from #28/#42/#53) ## Summary `FOREIGN KEY constraint failed` errors during watch sync, identical to previously fixed #28/#42/#53. However, this occurs on **v0.9.5** (latest), where the fix from PR #62 should already be included. ## Environment - **...
Fixed in #463, on `main`. **Root cause.** PR #62 filtered out stale-target edges at the extraction-layer `insertEdges` site (your `unresolved_refs` table is clean), but the resolution-layer `insertEdges` — the one watch sync hits — wasn't guarded the same way. Some framework resolvers cache native `Node` references in...
[ "https://github.com/colbymchenry/codegraph/commit/9ae645ba860d3b9dfb8a299beeb81360edd518b4" ]
2026-05-26T17:46:20Z
https://github.com/colbymchenry/codegraph/tree/e76cc547b0291eba6b34c4416f5d17814b033cbc
[ "npm install ; npm run build" ]
[ "cd /testbed ; npx vitest run --reporter=json --outputFile=vitest-results.json" ]
[ "cd /testbed ; cat vitest-results.json" ]
def parser(log: str) -> dict[str, str]: import json import re def find_reports(value): reports = [] if isinstance(value, dict): if isinstance(value.get("testResults"), list): reports.append(value) for child in value.values(): if isinst...
[ "__tests__/db-perf.test.ts::insertEdges endpoint validation skips edges with missing endpoints instead of failing the whole batch", "__tests__/db-perf.test.ts::insertEdges endpoint validation does not trust stale cached nodes when validating edge endpoints" ]
[ "__tests__/pr19-improvements.test.ts::Arrow Function Body Traversal should extract unresolved references from arrow function bodies", "__tests__/swift-objc-bridge.test.ts::Swift → ObjC selector bridging (auto-name rules) objcAccessorsForSwiftProperty getter = name, setter = setName:", "__tests__/graph.test.ts::...
starryzhang/sweb.eval.x86_64.colbymchenry_1776_codegraph-462