instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
thanos-io__objstore__115
thanos-io/objstore
115
defect
e8336a5fd5f38f13281cb69ee7c3a4262450d4fb
3fddfd756889545d77c513f9cc4bcc8a3a742884
GCS: Fix creation of bucket with GRPC connections
## Summary Some recent changes introduced a regression for folks using GRPC connections to GCS. In this PR I am fixing that issue and introducing test covering creation of the bucket using the **public** constructor. * [x] I added CHANGELOG entry for this change. * [ ] Change is not relevant to the end user.
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5889578b2e..072aafc1d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re ## Unreleased ### Fixed +- [#115](https://github.com/thanos-io/objstore/pull/115) GCS: Fix creation of...
3
3
1
[{"id": "G0", "claim": "The storage client library should probably not be updated in this pull request, or the update should be mentioned in the CHANGELOG.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The error return on the htransport.NewTran...
null
thanos-io__objstore__140
thanos-io/objstore
140
defect
fd105025a2e5016129631a456071c79929b09dbe
f2f0217f183f5d4a1db10a86cbb48919a61b5646
Add support for custom roundtripper
<!-- Keep PR title verbose enough and add prefix telling about what components it touches e.g "s3:" or ".*:" --> <!-- Don't forget about CHANGELOG! Changelog entry format: - [#<PR-id>](<PR-URL>) Thanos Objstore <Component> ... <PR-id> Id of your pull request. <PR-URL> URL of y...
diff --git a/client/factory.go b/client/factory.go index 9e1adec977..cfecd67c18 100644 --- a/client/factory.go +++ b/client/factory.go @@ -6,6 +6,7 @@ package client import ( "context" "fmt" + "net/http" "strings" "github.com/thanos-io/objstore" @@ -49,7 +50,7 @@ type BucketConfig struct { // NewBucket in...
6
5
1
[{"id": "G0", "claim": "The if/else in getContainerClient should be restructured as suggested: build the default transport first and then override it if conf.HTTPConfig.Transport is set.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The ErrorRo...
null
thanos-io__objstore__150
thanos-io/objstore
150
defect
5f04b8b0b52ae2a388afe834544d8dffe267747f
11940f6df4c9fd43016c7ea1d6254ee804a767c6
Added roundtripper wrapper as param
<!-- Keep PR title verbose enough and add prefix telling about what components it touches e.g "s3:" or ".*:" --> <!-- Don't forget about CHANGELOG! Changelog entry format: - [#<PR-id>](<PR-URL>) Thanos Objstore <Component> ... <PR-id> Id of your pull request. <PR-URL> URL of y...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4686a47002..75cbd83411 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -52,6 +52,7 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re - [#116](https://github.com/thanos-io/objstore/pull/116) Azure: Add new storage_create_container configur...
2
2
0
[{"id": "G0", "claim": "Hide the Rt_err variable and expose a helper function IsMockedError wrapping errors.Is against a private rtErr, since the sentinel is not a constant and this is more maintainable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
thanos-io__objstore__157
thanos-io/objstore
157
defect
d1dd89d41f973650d71b8e0a0314cbd9fe4a6aec
534e3b1e16835753c96b34d722a6ecf82f71f8a5
Azure: Add new `az_tenant_id`, `client_id` and `client_secret` configs
<!-- Don't forget about CHANGELOG! Changelog entry format: - [#<PR-id>](<PR-URL>) Thanos Objstore <Component> ... <PR-id> Id of your pull request. <PR-URL> URL of your PR such as https://github.com/thanos-io/objstore/pull/<PR-id> <Component> Component affected by your changes such as s...
diff --git a/CHANGELOG.md b/CHANGELOG.md index f0904faa19..ea3964fa6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re ## Unreleased - [#38](https://github.com/thanos-io/objstore/pull/38) GCS: Upgrade cloud.google.com/go/st...
2
2
1
[{"id": "G0", "claim": "When authenticating with `ClientSecret`, a new dedicated `ClientID` field should be added instead of reusing `UserAssignedID`, to make the intent explicit.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The tenant_id YAML config f...
null
thanos-io__objstore__25
thanos-io/objstore
25
defect
a53cb72ffecca9eaeef9d59e0fd9a75aa310efa7
55c8089efaa075725e492b182564e41d1f68ce2d
S3: Support specifying S3 storage class
* [x] I added CHANGELOG entry for this change. * [ ] Change is not relevant to the end user. ## Changes <!-- Keep PR title verbose enough and add prefix telling about what components it touches e.g "s3:" or ".*:" --> <!-- Don't forget about CHANGELOG! Changelog entry format: - [#<P...
diff --git a/CHANGELOG.md b/CHANGELOG.md index d1a3726e09..14dbdb0c11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re ### Added - [#15](https://github.com/thanos-io/objstore/pull/15) Add Oracle Cloud Infrastructure Objec...
2
2
1
[{"id": "G0", "claim": "The new CHANGELOG entry should read \"S3: Support specifying S3 storage class.\" instead of \"Thanos Objstore S3: Support specifying S3 storage class.\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The loop extracting th...
null
thanos-io__objstore__3
thanos-io/objstore
3
defect
045c8d7a602bb5ceb3c72e58ef4085652f878753
c58f94941a96b6ebf3711e916534f361db8f8929
Switch to new Azure SDK and refactor Azure implementation
This is a larger refactor of the Azure implementation which switches to the new Azure Go SDK. A lot of function names are the same its for the most part that interface that has changed to become more idiomatic Go. The main benefit of switching is that the new SDK does not require ADAL and instead fully supports [aziden...
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 7c34046b2a..d2aacfb363 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -37,6 +37,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 + - name:...
6
3
2
[{"id": "G0", "claim": "The new Azure SDK makes MSI Resource and User Assigned ID an either-or choice, which will affect the pull request's config validation.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request still needs tests for the ...
null
thanos-io__objstore__61
thanos-io/objstore
61
defect
ff1b35b9841a0f085056d7bb6241f4c7665d8397
90f9ddf8d2ccb4d9638637233345998cb333cc29
Add OTel tracing bucket
- Refactor client.NewBucket. This changes the behaviour of `client.NewBucket`. Now it returns, uninstrumented and untraced bucket. - Add OpenTelemetry TracingBucket. Now you can combine `objstore.WrapWithMetrics` and `tracing/{opentelemetry,opentracing}.WrapWithTraces` to have old behavior. Signed-off-by: Kemal ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 270f6d4f02..1c6c3296d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,7 +22,8 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re - [#43](https://github.com/thanos-io/objstore/pull/43) filesystem: abort filesystem bucket operations if ...
8
4
1
[{"id": "G0", "claim": "The HuaweiCloud OBS section's generated config example reads `type: COS`, contradicting the OBS documentation above it, and the command generating the doc should be fixed.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Trac...
null
thanos-io__objstore__63
thanos-io/objstore
63
defect
eb01c83b89a468b19b04fe913c97c495ddc73fc4
79ce4620a516fadc9617693f1aa34486e6886668
Add support for object attributes in Iter call
Add support for IterWithAttributes This commit adds support for an IterWithAttributes on the bucket client. The method allows iterating through objects and getting multiple attributes into the callback function, removing the need to do an Iter followed by Attrs. For now, we only support getting the last updated...
diff --git a/go.mod b/go.mod index 7ae1f6d7dd..a531fc20e5 100644 --- a/go.mod +++ b/go.mod @@ -81,7 +81,7 @@ require ( github.com/rs/xid v1.4.0 // indirect github.com/sirupsen/logrus v1.9.0 // indirect github.com/sony/gobreaker v0.5.0 // indirect - github.com/stretchr/objx v0.2.0 // indirect + github.com/stretchr...
4
4
4
[{"id": "G0", "claim": "The PrefixedBucket's Iter should pass the underlying bucket's object attributes through to f rather than always substituting EmptyObjectAttributes.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Since the Iter signature is be...
null
thanos-io__objstore__68
thanos-io/objstore
68
defect
d0c43443ecda0d8cffbd4d215569a0dba9ba39ec
25a6c5ad5588787c716c547f5915a4a224b2d7b4
Only register fetched_bytes metrics for Get/GetRange
The other operations are not exposing the fetched bytes.
diff --git a/objstore.go b/objstore.go index 2a0fe4dc5b..783c16f984 100644 --- a/objstore.go +++ b/objstore.go @@ -455,6 +455,11 @@ func WrapWithMetrics(b Bucket, reg prometheus.Registerer, name string) *metricBu bkt.ops.WithLabelValues(op) bkt.opsFailures.WithLabelValues(op) bkt.opsDuration.WithLabelValues(op...
1
1
0
[{"id": "G0", "claim": "The fetched-bytes registration should be folded into the existing loop below that also registers transferred bytes, rather than using an extra loop, unless the extra loop is needed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
thanos-io__objstore__86
thanos-io/objstore
86
defect
37752ee64d98958ceb6e3f547620e64452024a06
09d7eab551348177d7103f425f3ee4b7a2752ef3
GCS: Adds HTTP Config similar to S3
<!-- Keep PR title verbose enough and add prefix telling about what components it touches e.g "s3:" or ".*:" --> <!-- Don't forget about CHANGELOG! Changelog entry format: - [#<PR-id>](<PR-URL>) Thanos Objstore <Component> ... <PR-id> Id of your pull request. <PR-URL> URL of y...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 60d9fa90d2..2408922dd1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re - [#51](https://github.com/thanos-io/objstore/pull/51) Azure: Support using connection string authenticat...
2
1
1
[{"id": "G0", "claim": "Making GCS use the new shared exthttp.DefaultHTTPConfig may lead to an unexpected breaking change for every provider other than S3, and the reviewer asks what the defaults for GCS currently are.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "...
null
thanos-io__objstore__89
thanos-io/objstore
89
defect
37752ee64d98958ceb6e3f547620e64452024a06
f01e268612c24e6f24db14ee6d836ceb28c937b2
Update google storage library
This commit updates cloud.google.com/go/storage to 1.35. <!-- Keep PR title verbose enough and add prefix telling about what components it touches e.g "s3:" or ".*:" --> <!-- Don't forget about CHANGELOG! Changelog entry format: - [#<PR-id>](<PR-URL>) Thanos Objstore <Component> ... ...
diff --git a/.bingo/Variables.mk b/.bingo/Variables.mk index 8f8a0263d9..7e9e075b7f 100644 --- a/.bingo/Variables.mk +++ b/.bingo/Variables.mk @@ -41,11 +41,11 @@ $(GOIMPORTS): $(BINGO_DIR)/goimports.mod @echo "(re)installing $(GOBIN)/goimports-v0.0.0-20200526224456-8b020aee10d2" @cd $(BINGO_DIR) && GOWORK=off $(GO...
1
1
1
[{"id": "G0", "claim": "The mdox-generated README code block no longer matches objstore.go (the IsAccessDeniedErr method line was dropped from the captured range and its comment carries a typo), so the mdox line above needs editing.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "intr...
null
thanos-io__thanos__5356
thanos-io/thanos
5,356
defect
efb99e83daeba44873cd196929c1930bc4ec468f
36ba9ec543c9ad4dec7e2c2fc3334a6ff212643b
Group memcached keys based on server when performing batch gets
Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com> ## Changes Order and group keys during batch get operations based on the memcached server they will be sharded to. This reduces the number of connections that must be made within each batch of get operations. ## Verification * Unit tests added ...
diff --git a/pkg/cacheutil/memcached_client.go b/pkg/cacheutil/memcached_client.go index bde0ef56eda..4fc1fb92967 100644 --- a/pkg/cacheutil/memcached_client.go +++ b/pkg/cacheutil/memcached_client.go @@ -88,6 +88,14 @@ type memcachedClientBackend interface { Set(item *memcache.Item) error } +// updatableServerSel...
3
2
0
[{"id": "G0", "claim": "The grouping helper and its call site should use 'sort' nomenclature instead of 'group' because the function does not return groups.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The updatableServerSelector interface sho...
null
thanos-io__thanos__5555
thanos-io/thanos
5,555
defect
fd275f8ac3d906c4ebb3c3f8be9db8701a71eabd
44219e77a3e26cec7ca4f692d1249d1f08a1b316
Flag to add active query tracker.
Signed-off-by: Aditi Ahuja <ahuja.aditi@gmail.com> Fixes #5521 <!-- Keep PR title verbose enough and add prefix telling about what components it touches e.g "query:" or ".*:" --> <!-- Don't forget about CHANGELOG! Changelog entry format: - [#<PR-id>](<PR-URL>) Thanos <Component> ... ...
diff --git a/cmd/thanos/query.go b/cmd/thanos/query.go index 38c6d918824..84ec5e7412d 100644 --- a/cmd/thanos/query.go +++ b/cmd/thanos/query.go @@ -161,6 +161,8 @@ func registerQuery(app *extkingpin.App) { enableMetricMetadataPartialResponse := cmd.Flag("metric-metadata.partial-response", "Enable partial response fo...
7
6
2
[{"id": "G0", "claim": "The pull request should also fix the documentation and add a changelog entry for the new --query.active-query-path flag.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The --query.active-query-path flag should not be always...
null
thanos-io__thanos__5641
thanos-io/thanos
5,641
defect
ee512aed1fece177b9257e80ba6c6c5d5986620a
3eb116c9f7a6eecd174e800b2721d8180a84513c
Remove hardcoded labels in store shard matcher and inject unshardable label in query analyzer
Signed-off-by: haanhvu <haanh6594@gmail.com> fixes #5625 * [ ] I added CHANGELOG entry for this change. * [ ] Change is not relevant to the end user. ## Changes Remove hardcoded `__name__` label in store shard matcher to make it shardable. Inject unshardable `le` label in query analyzer. ## Verification
diff --git a/pkg/querysharding/analyzer.go b/pkg/querysharding/analyzer.go index 233f3b74c51..baf04308948 100644 --- a/pkg/querysharding/analyzer.go +++ b/pkg/querysharding/analyzer.go @@ -5,6 +5,7 @@ package querysharding import ( "fmt" + "strings" "github.com/prometheus/prometheus/promql/parser" ) @@ -55,12...
6
6
1
[{"id": "G0", "claim": "The added doc comment should end in a period (godot finding).", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The file is not gofmt-ed with -s (trailing whitespace after the excludeLabelsBasedOnPrefix call).", "category": "m...
null
thanos-io__thanos__5658
thanos-io/thanos
5,658
defect
4d081306b2346d08431b8bb6c8e78891a7172fb8
4dce28c13d20a24c14bca4db695af05ccb90e7a0
Query Frontend: dynamic horizontal query sharding
<!-- Don't forget about CHANGELOG! Changelog entry format: - [#<PR-id>](<PR-URL>) Thanos <Component> ... <PR-id> Id of your pull request. <PR-URL> URL of your PR such as https://github.com/thanos-io/thanos/pull/<PR-id> <Component> Component affected by your changes such as Query, Store...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 655ee73571b..a2f42366b90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re - [#5655](https://github.com/thanos-io/thanos/pull/5655) Receive: Fix recreating already pruned tenants...
13
13
2
[{"id": "G0", "claim": "pkg/queryfrontend/config_test.go's import block is not goimports-formatted.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CHANGELOG entry for #5658 should say the change is for the Query Frontend only, not 'Query/Que...
null
thanos-io__thanos__5674
thanos-io/thanos
5,674
defect
a947f33e1420d7ad4e171c4300b81a0dac1b083a
cc87a8bb4715a4f8a0c177755bdfbbc8c19d4aba
query frontend, store: Add TLS support to redis_client
<!-- Keep PR title verbose enough and add prefix telling about what components it touches e.g "query:" or ".*:" --> <!-- Don't forget about CHANGELOG! Changelog entry format: - [#<PR-id>](<PR-URL>) Thanos <Component> ... <PR-id> Id of your pull request. <PR-URL> URL of your PR...
diff --git a/pkg/cacheutil/redis_client.go b/pkg/cacheutil/redis_client.go index 962c57712ab..eb4d8b13625 100644 --- a/pkg/cacheutil/redis_client.go +++ b/pkg/cacheutil/redis_client.go @@ -20,6 +20,7 @@ import ( "github.com/thanos-io/thanos/pkg/extprom" "github.com/thanos-io/thanos/pkg/gate" + thanos_tls "github....
4
4
0
[{"id": "G0", "claim": "The redis TLS settings the PR adds as flat fields would be better structured under a nested `tls_config` subobject, following the same idiom as the `http_config` block.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Go files a...
null
thanos-io__thanos__5799
thanos-io/thanos
5,799
defect
35a3e3d58217fed35e83f72c913f55b633ad444a
7caa8bd08c9ce2f994ba77bcc83eef05fe78d352
Fix sharding behavior for vector matches
Fixes #5798 When analyzing a query composed of boolean expression with a non-"on" vector match, the current vertical sharding logic is incorrectly scoping to labels in the vector match and changing the semantics of the query. Example: ``` foo and without (lbl) bar ``` ## Changes - Prevents the vertical sha...
diff --git a/pkg/querysharding/analyzer.go b/pkg/querysharding/analyzer.go index f93a103fcfe..dd35716f03d 100644 --- a/pkg/querysharding/analyzer.go +++ b/pkg/querysharding/analyzer.go @@ -97,7 +97,7 @@ func (a *QueryAnalyzer) Analyze(query string) (QueryAnalysis, error) { return fmt.Errorf("expressions with %s ar...
2
1
1
[{"id": "G0", "claim": "A unit test case should be added covering the new `VectorMatching.On` condition in the BinaryExpr sharding logic.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `__name__` exclusion for non-`On` vector matches may also need t...
null
thanos-io__thanos__6137
thanos-io/thanos
6,137
defect
0edbf2beab8a98426f418648d11f27c23e4c6c87
e67d4d25cd8c971a69af2c75e991b522f1ab9b23
Repair non-empty XOR chunks during 1h downsampling
Fixes #5482 <!-- Keep PR title verbose enough and add prefix telling about what components it touches e.g "query:" or ".*:" --> <!-- Don't forget about CHANGELOG! Changelog entry format: - [#<PR-id>](<PR-URL>) Thanos <Component> ... <PR-id> Id of your pull request. <PR-URL...
diff --git a/pkg/compact/downsample/downsample.go b/pkg/compact/downsample/downsample.go index 07cf294f06e..c93c03d7d8e 100644 --- a/pkg/compact/downsample/downsample.go +++ b/pkg/compact/downsample/downsample.go @@ -167,10 +167,23 @@ func Downsample( // https://github.com/thanos-io/thanos/issues/5272 lev...
2
2
2
[{"id": "G0", "claim": "The test should verify that after running Downsample the non-empty XOR chunks actually become AggrChunks in the newly created downsampled block, instead of testing expandChunkIterator and DownsampleRaw separately before running Downsample.", "category": "testing", "verdict": "supported", "priori...
null
thanos-io__thanos__6185
thanos-io/thanos
6,185
defect
b1d083f611552724807d48859dd25206e623724c
ff35acd69b533eac38da3625326771d710386861
[tracing] tracing in OTLP support configuring service_name
* [x] I added CHANGELOG entry for this change. * [ ] Change is not relevant to the end user. ## Changes fix #6184 add `service_name` to OTLP tracing config to improve the readiness of the trace data. ![image](https://user-images.githubusercontent.com/11855957/223021738-f7c43480-61ea-4be2-9e1d-26b62d8eab39....
diff --git a/pkg/tracing/otlp/config_yaml.go b/pkg/tracing/otlp/config_yaml.go index ed471612f03..caa9ceb5ba8 100644 --- a/pkg/tracing/otlp/config_yaml.go +++ b/pkg/tracing/otlp/config_yaml.go @@ -21,6 +21,7 @@ type retryConfig struct { type Config struct { ClientType string `yaml:"client_type"`...
2
2
1
[{"id": "G0", "claim": "The PR adds a new config field to the OTLP tracing configuration, so the generated documentation in docs/tracing.md needs regenerating via `make docs` to stay in sync.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The chan...
null
thanos-io__thanos__6972
thanos-io/thanos
6,972
defect
32f227a45b802f347b317328c628636461b8e6cf
290800be29888e7f64217a16727d718f7b4a2a96
Add streaming series limit at block series client
<!-- Keep PR title verbose enough and add prefix telling about what components it touches e.g "query:" or ".*:" --> <!-- Don't forget about CHANGELOG! Changelog entry format: - [#<PR-id>](<PR-URL>) Thanos <Component> ... <PR-id> Id of your pull request. <PR-URL> URL of your PR...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 10eb9b8435d..e0b3e2ff1de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re - [#6925](https://github.com/thanos-io/thanos/pull/6925) Store Gateway: Support float native histogram....
1
1
1
[{"id": "G0", "claim": "The streaming series limit should not be exposed through a separate --store.streaming-series-limit config flag; the store gateway should apply a limiter itself when lazy postings are enabled (streaming limiter for lazy postings and the original one for eager postings, configurable in the constru...
null
thanos-io__thanos__7009
thanos-io/thanos
7,009
defect
480c8d9199079338050ee780c03e7dc7ebd5f97a
e39ae8eeb30d7b1ed3311ca6111efb529cae8a7b
Rule: Fix URI encoding of strings
* [ ] I added CHANGELOG entry for this change. * [ ] Change is not relevant to the end user. ## Changes Should fix #7002 Added how the URI should treat `+` as it is ignored by `url.QueryEscape` [Reference](https://forum.golangbridge.org/t/html-template-may-invalidate-urls-encoded-using-url-queryescape/4219)
diff --git a/cmd/thanos/rule.go b/cmd/thanos/rule.go index e8f867347b7..4bbb6626695 100644 --- a/cmd/thanos/rule.go +++ b/cmd/thanos/rule.go @@ -936,7 +936,7 @@ func reloadRules(logger log.Logger, func tableLinkForExpression(tmpl string, expr string) (string, error) { // template example: "/graph?g0.expr={{.Expr}}...
3
3
2
[{"id": "G0", "claim": "Add a test case for the space-encoding fix in Test_tableLinkForExpression (the reviewer also questioned why the URL needs re-encoding at all).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Render the link with text/template inst...
null
thanos-io__thanos__7011
thanos-io/thanos
7,011
defect
a59a3ef4f2ed1435c8144d69ae36efcfce0cb83b
d04eddc4c335bdbcbdc4ce660f6d95d629f014a0
Query Frontend: queries with negative offset should check whether it is cacheable or not
<!-- Keep PR title verbose enough and add prefix telling about what components it touches e.g "query:" or ".*:" --> <!-- Don't forget about CHANGELOG! Changelog entry format: - [#<PR-id>](<PR-URL>) Thanos <Component> ... <PR-id> Id of your pull request. <PR-URL> URL of your PR...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 64b849f9b17..d317bbfaf1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re ### Fixed +- [#7011] (https://github.com/thanos-io/thanos/pull/7011) Query Frontend: queries with n...
4
4
0
[{"id": "G0", "claim": "The new isOffsetCachable logs 'failed to parse query, considering @ modifier as not cachable', a copied-over message that wrongly speaks of the @ modifier instead of the offset.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":...
null
thanos-io__thanos__7334
thanos-io/thanos
7,334
defect
038a0b22c5f326682c65ab38b2023c90830e3597
4cd5ff648e2c90bef7c6a80feb37905a8af15a08
compact/planner: fix issue 6775
It doesn't make sense to vertically compact downsampled blocks so mark them with the no compact marker if downsampled blocks were detected in the plan. Seems like the Planner is the best place for this logic - I just repeated the previous pattern with the large index file filter. Closes #6775 .
diff --git a/cmd/thanos/compact.go b/cmd/thanos/compact.go index f1437efc645..43fecdebc1e 100644 --- a/cmd/thanos/compact.go +++ b/cmd/thanos/compact.go @@ -369,13 +369,20 @@ func runCompact( conf.blockFilesConcurrency, conf.compactBlocksFetchConcurrency, ) + var planner compact.Planner + tsdbPlanner := compa...
3
1
0
[{"id": "G0", "claim": "Instead of creating a new planner that marks downsampled blocks no-compact, downsampled blocks should be filtered out of metasByMinTime before planning, since compacting downsampled blocks would turn them into raw blocks that need downsampling again.", "category": "design", "verdict": "opposed",...
null
thanos-io__thanos__7552
thanos-io/thanos
7,552
defect
35c0dbec856f97683a846e9c53f83156a3a44ff3
2f7095b662d0313eba0713c7a71b3116e3c4410c
*: Fix issue #7550 - Check correct error when opening rule files in tools
<!-- Keep PR title verbose enough and add prefix telling about what components it touches e.g "query:" or ".*:" --> <!-- Don't forget about CHANGELOG! Changelog entry format: - [#<PR-id>](<PR-URL>) Thanos <Component> ... <PR-id> Id of your pull request. <PR-URL> URL of your PR...
diff --git a/cmd/thanos/testdata/rules-files/unreadable_valid.yaml b/cmd/thanos/testdata/rules-files/unreadable_valid.yaml new file mode 100755 index 00000000000..fb75e799e23 --- /dev/null +++ b/cmd/thanos/testdata/rules-files/unreadable_valid.yaml @@ -0,0 +1,18 @@ +groups: + - name: test-alert-group + partial_resp...
2
1
0
[{"id": "G0", "claim": "The empty log statement (level.Info(logger).Log()) in the os.Open error branch of checkRulesFiles can be removed as well.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The removal of the empty log statements may be uni...
null
thanos-io__thanos__7832
thanos-io/thanos
7,832
defect
9c925bfae108019dd9aabfb554e98653b1a892e1
9355e26d29c8e458e64ee533587381cc5e19abc0
query-frontend: Fix cache keys for dynamic split intervals
* [x] I added CHANGELOG entry for this change. * [ ] Change is not relevant to the end user. ## Changes The same interval is used for query splitting and cache key generation (the split interval is stored in requests created during the split). Split interval has been added to cache keys to avoid overlaps for qu...
diff --git a/CHANGELOG.md b/CHANGELOG.md index e24d1b488f8..c619ef666a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re - [#7644](https://github.com/thanos-io/thanos/pull/7644) fix(ui): add null check to find overlapping bl...
2
2
0
[{"id": "G0", "claim": "The switch's default branch (an unsupported request type) should panic instead of returning the cache key \"request_type_not_supported\", since that condition should never be hit in production.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",...
null
thanos-io__thanos__8378
thanos-io/thanos
8,378
defect
be2f408d9e3ad3d69cdaccb5db1909f7a7ab7efd
3a0a9deff5a0404b9e3ebe89652115f394716bf6
Store: fix the reuse of dirty posting slices
<!-- Keep PR title verbose enough and add prefix telling about what components it touches e.g "query:" or ".*:" --> <!-- Don't forget about CHANGELOG! Changelog entry format: - [#<PR-id>](<PR-URL>) Thanos <Component> ... <PR-id> Id of your pull request. <PR-URL> URL of your PR...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d27e1e779b..a80b34611ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re ### Fixed +- [#8378](https://github.com/thanos-io/thanos/pull/8378): Store: fix the reuse of dirty ...
4
2
1
[{"id": "G0", "claim": "A test should be created for the fix, e.g. covering that no goroutines leak when an error occurs.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The respSets should be closed unconditionally at the end of Series (e.g. via a defer...
null
thanos-io__thanos__8486
thanos-io/thanos
8,486
defect
2228202b6bcb5508ca1eaffdbb3f9509ef99c33c
8e7ca65d1a3d338cea1b30d09bcc65e8991fb335
receive: Fix missing exemplar labels receive capnproto
<!-- Keep PR title verbose enough and add prefix telling about what components it touches e.g "query:" or ".*:" --> <!-- Don't forget about CHANGELOG! Changelog entry format: - [#<PR-id>](<PR-URL>) Thanos <Component> ... <PR-id> Id of your pull request. <PR-URL> URL of your PR...
diff --git a/pkg/receive/capnproto_writer.go b/pkg/receive/capnproto_writer.go index e3f1fd6929f..e8b16f4c9d6 100644 --- a/pkg/receive/capnproto_writer.go +++ b/pkg/receive/capnproto_writer.go @@ -114,8 +114,16 @@ func (r *CapNProtoWriter) Write(ctx context.Context, tenantID string, wreq *writ for _, ex := range se...
1
1
1
[{"id": "G0", "claim": "The new exemplar label copy loop should sort/validate the labels instead of assuming they are already sorted and valid (call validateLabels on the copied labels).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
thanos-io__thanos__8585
thanos-io/thanos
8,585
defect
075fb99ac76a95a082f430c4dbe0eb5cc3d9c8a6
2d770a90d3a4a5bfa1b2e20af32d4e440f86e8c5
query: introduce GC delay for gRPC conns
See query/endpointset.go for rationale. We currently immediately kill gRPC connections on Close() but they might still be used. :/ Wait until the query timeout duration before closing them. Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
diff --git a/cmd/thanos/endpointset.go b/cmd/thanos/endpointset.go index 800171c15f2..f8a182d316e 100644 --- a/cmd/thanos/endpointset.go +++ b/cmd/thanos/endpointset.go @@ -197,6 +197,7 @@ func setupEndpointSet( dnsSDInterval time.Duration, unhealthyTimeout time.Duration, endpointTimeout time.Duration, + queryTim...
7
2
1
[{"id": "G0", "claim": "Questions whether the synctest.Wait() call in TestEndpointCloseGCTime is needed at all, implying it should be removed if it serves no purpose.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment in endpointRef.Close saying...
null
thanos-io__thanos__8625
thanos-io/thanos
8,625
defect
60d82ffbc654b6864343bbf617e6984b28f38032
f9389ab62978ffcc7a42f45bc43f22e59428931c
Add projection hints and propagate via Querier
<!-- Keep PR title verbose enough and add prefix telling about what components it touches e.g "query:" or ".*:" --> <!-- Don't forget about CHANGELOG! Changelog entry format: - [#<PR-id>](<PR-URL>) Thanos <Component> ... <PR-id> Id of your pull request. <PR-URL> URL of your PR...
diff --git a/pkg/query/querier.go b/pkg/query/querier.go index 0e2a798d96e..855c73b82d2 100644 --- a/pkg/query/querier.go +++ b/pkg/query/querier.go @@ -353,6 +353,8 @@ func (q *querier) selectFn(ctx context.Context, hints *storage.SelectHints, ms . ShardInfo: q.shardInfo, PartialResponseStrategy: q...
1
1
1
[{"id": "G0", "claim": "The projection labels fields added at the top level of SeriesRequest should be part of the query_hints instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
thanos-io__thanos__8630
thanos-io/thanos
8,630
defect
49dde505913b6b838ca0cd77bb63dd50b8b6fdba
dab9ac4c59cec4a9140971bc1d4e9f1c784e8859
receive: make shuffle sharding stable on scale
<!-- Keep PR title verbose enough and add prefix telling about what components it touches e.g "query:" or ".*:" --> Fixes shuffle sharding stability when scaling ingesters. Previously, adding or removing a single node could cause tenants to be reassigned to a completely different set of nodes. Now, at most ...
diff --git a/pkg/receive/hashring.go b/pkg/receive/hashring.go index bafde6ed75d..02be456d2c6 100644 --- a/pkg/receive/hashring.go +++ b/pkg/receive/hashring.go @@ -596,15 +596,41 @@ func (s *shuffleShardHashring) getTenantShardCached(tenant string) (*ketamaHashr } // getTenantShard returns or creates a consistent ...
5
5
0
[{"id": "G0", "claim": "The nodeIndexByAddr map added in getTenantShard is not used anywhere and should be removed (or its purpose explained).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The inner loop should use the modern range-over-int for...
null
thanos-io__thanos__8648
thanos-io/thanos
8,648
defect
8e7542a5fbac4785f5416f7038ec276ec64b86ed
a2aada171423a465a48bf9628ec7c2a6bb9285c9
query: fix race in endpointset status vs update
"Update" spawns multiple concurrent writers all trying to acquire the write mutex for the different endpoints we are updating. If concurrently we serve two "GetEndpointStatus" calls we might end up in a situation where "GetEndpointStatus" A blocks "Update" for some endpoint with a read lock, now Update is a blocked wri...
diff --git a/pkg/query/endpointset.go b/pkg/query/endpointset.go index c723981b013..198e0a29bc1 100644 --- a/pkg/query/endpointset.go +++ b/pkg/query/endpointset.go @@ -340,7 +340,6 @@ func (e *EndpointSet) Update(ctx context.Context) { ) for _, spec := range e.endpointSpecs() { - if er, existingRef := e.endpo...
1
1
0
[{"id": "G0", "claim": "The RWMutex guarding the endpoint status read in GetEndpointStatus should live on and be managed by the endpoint (endpointRef) itself, e.g. via a self-locking Status() method, rather than being locked in the endpointset loop.", "category": "design", "verdict": "supported", "priority": "P2", "sco...
null
thanos-io__thanos__8663
thanos-io/thanos
8,663
defect
72ffb4afa5c4b57bd9527efad510fc8fcc371b35
aec55f085af8fa75fb0cb32ab83fd341dd214c91
logging: implement `--log.format=journald` for native systemd journal integration
<!-- Keep PR title verbose enough and add prefix telling about what components it touches e.g "query:" or ".*:" --> <!-- Don't forget about CHANGELOG! Changelog entry format: - [#<PR-id>](<PR-URL>) Thanos <Component> ... <PR-id> Id of your pull request. <PR-URL> URL of your PR...
diff --git a/cmd/thanos/main.go b/cmd/thanos/main.go index 7e0b48acbaa..e7ffafb2ff1 100644 --- a/cmd/thanos/main.go +++ b/cmd/thanos/main.go @@ -46,8 +46,8 @@ func main() { debugName := app.Flag("debug.name", "Name to add as prefix to log lines.").Hidden().String() logLevel := app.Flag("log.level", "Log filtering l...
4
3
1
[{"id": "G0", "claim": "The TestReloader_ConfigRollback failure seen in CI looks like a flaky test, not a break caused by this pull request.", "category": "testing", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The pull request's code comments read like LLM filler and shoul...
null
thanos-io__thanos__8704
thanos-io/thanos
8,704
defect
13eb4b9b83d51270aa51f03ff83bcf5164b15684
57a2770236fb130662a72d0db153071e66595394
receive/multitsdb: refactor inner workings
Create a proper "spec" for how multitsdb should work and a tenant should transition from one stage to another: - Move syncing one level lower - to the tenant's level - Create a grace period between tenant marked for GC and removing tenant See comments for more info. The main part of this refactoring is that i...
diff --git a/cmd/thanos/receive.go b/cmd/thanos/receive.go index be211d15885..63896c6df7f 100644 --- a/cmd/thanos/receive.go +++ b/cmd/thanos/receive.go @@ -692,10 +692,7 @@ func startTSDBAndUpload(g *run.Group, } else { level.Info(logger).Log("msg", "storage is flushed successfully") } - if err := dbs.C...
5
2
2
[{"id": "G0", "claim": "The DELETE_DATA/KEEP_DATA constants should follow Go naming convention (camelCase/PascalCase) instead of SCREAMING_SNAKE_CASE.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "shouldBeMarkedInactive() calls t.tsdb.Head() wi...
null
thanos-io__thanos__8720
thanos-io/thanos
8,720
defect
0d19922bb0997e81ddbeebdad99e585c3b052b84
9ac9c18efc7feb0020dab52ff9e3f5c1839464b8
fix(receive): resolve 503 errors during ingestor restarts
<!-- Keep PR title verbose enough and add prefix telling about what components it touches e.g "query:" or ".*:" --> <!-- Don't forget about CHANGELOG! Changelog entry format: - [#<PR-id>](<PR-URL>) Thanos <Component> ... <PR-id> Id of your pull request. <PR-URL> URL of your PR...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 569205d9891..ad1150d7f83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ It is recommend to upgrade the storage components first (Receive, Store, etc.) a - [#8714](https://github.com/thanos-io/thanos/pull/8714): Tracing: Fix `tls_config` fields (`ca_file`...
4
3
2
[{"id": "G0", "claim": "RemoteWrite should use errors.Is(err, context.DeadlineExceeded) instead of the bare `ctx.Err() != nil` check, so a canceled context is not also reported as DeadlineExceeded.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null
the-open-agent__openagent__1117
the-open-agent/openagent
1,117
defect
2a58007839b5225567b150afce53ae624f0b7b55
ae4b8cb7097543460a92c33720ede67b297523ae
feat: add Markdown splitter to casibase
feat: add Markdown splitter to casibase Fix: #1027
diff --git a/split/default.go b/split/default.go index fe431e88e7..0a8936bd6a 100644 --- a/split/default.go +++ b/split/default.go @@ -21,10 +21,18 @@ import ( "github.com/casibase/casibase/model" ) -type DefaultSplitProvider struct{} +type DefaultSplitProvider struct { + TextType string +} -func NewDefaultSplit...
7
7
4
[{"id": "G0", "claim": "The new markdown tests are gated behind a //go:build !skipCi tag so they do not run in CI; the reviewer wants them to run in CI.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The PR should not add the split/testdata/MarkdownText...
null
the-open-agent__openagent__259
the-open-agent/openagent
259
defect
75a8dfcd538f8972f40e54228c7853e36d90ddb1
3a4d699d12d61f7d263bb9c90d48c5c9088ac773
feat: Add auto-generated topic tags
http://82.156.7.146:7000/ usename:hsluoyz password:123
diff --git a/Tag_test.go b/Tag_test.go new file mode 100644 index 0000000000..4432afef2f --- /dev/null +++ b/Tag_test.go @@ -0,0 +1,32 @@ +package main + +import ( + "testing" + + "github.com/astaxie/beego" + "github.com/casbin/casnode/object" + "github.com/casbin/casnode/service" +) + +var adapter *object.Adapter + +f...
9
7
3
[{"id": "G0", "claim": "The lazy dictionary-loading helper (Loaddic with sync.Once) could instead be a Go init function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When filterword is empty (no word longer than 1 rune), Keyword returns the wh...
null
the-tcpdump-group__libpcap__1113
the-tcpdump-group/libpcap
1,113
defect
4c1e516dd2971810918babcd871e428db53383e4
07e19258eca019caa3281bc076397a7d1bf1b92b
Close the eventfd if we are non-blocking
The eventfd is used to break out of a poll() before it times out, used by pcap_breakloop(). If we are non-blocking, then the eventfd is never needed, so we close it. (And open a new eventfd if we switch to blocking).
diff --git a/pcap-linux.c b/pcap-linux.c index 8dbf89bca3..cc61795dff 100644 --- a/pcap-linux.c +++ b/pcap-linux.c @@ -842,7 +842,10 @@ static void pcap_cleanup_linux( pcap_t *handle ) handlep->device = NULL; } - close(handlep->poll_breakloop_fd); + if (handlep->poll_breakloop_fd != -1) { + close(handlep->poll_...
2
2
2
[{"id": "G0", "claim": "The attempt to (re)open the eventfd when switching to blocking mode should be checked for failure and return an error, with the FD reopened before the timeout is changed so non-blocking mode is left on when it fails.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope":...
null
the-tcpdump-group__libpcap__1129
the-tcpdump-group/libpcap
1,129
defect
d09102e61a868f96fb68dea8fcf08b06388bb450
38185c896b55613294064cf2b2b282e376749730
fuzz: Generate unique temporary file names to enable parallel fuzzing
This PR enables parallel fuzzing with libFuzzer. Previously the same pcap file name was used to write data buffer. So, parallel libFuzzer workers were overwriting the same file. Now all workers have their own unique temporary file.
diff --git a/testprogs/fuzz/fuzz_both.c b/testprogs/fuzz/fuzz_both.c index 59e3d40410..35af1434c6 100644 --- a/testprogs/fuzz/fuzz_both.c +++ b/testprogs/fuzz/fuzz_both.c @@ -3,6 +3,7 @@ #include <fcntl.h> #include <errno.h> #include <string.h> +#include <unistd.h> #include <pcap/pcap.h> @@ -39,9 +40,10 @@ void...
1
1
1
[{"id": "G0", "claim": "The fuzz-testing infrastructure must not be compiled on Windows (or an unistd.h alternative found), since Windows has no unistd.h and the Windows build is failing with this pull request.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
the-tcpdump-group__libpcap__1351
the-tcpdump-group/libpcap
1,351
defect
3bb233f54c75d10fa703c439cf7b595a8ebf42f2
8d1bdc15b722888a53fd6b90aab447b88f860447
Call WSAStartup and WSACleanup for each use. Fixes #1333
`WSACleanup` cannot be called from `atexit()` because that's run in `DllMain` context. Instead, start and cleanup at each use, using existing reference counting functions from `sockutils.c`. Performance impact ought to be small because these are not frequently-called functions in the lifetime of a capture handle, an...
diff --git a/gencode.c b/gencode.c index ac6681e29a..d543d97a9c 100644 --- a/gencode.c +++ b/gencode.c @@ -726,9 +726,6 @@ int pcap_compile(pcap_t *p, struct bpf_program *program, const char *buf, int optimize, bpf_u_int32 mask) { -#ifdef _WIN32 - static int done = 0; -#endif compiler_state_t cstate; const...
6
3
1
[{"id": "G0", "claim": "Have static inline pcapint_sockinit() and pcapint_sockcleanup() helpers in portability.h that unconditionally call WSAStartup()/WSACleanup() and replace sockutils.c's ref-counted sock_init()/sock_cleanup(), since libpcap should also build without remote capture support.", "category": "design", "...
null
the-tcpdump-group__libpcap__1448
the-tcpdump-group/libpcap
1,448
defect
e3d34e7e69b2aa37cbc124411ec7a862ee3694b3
480d54691eb28c122b7f49c9e2a28763b7c8f0a5
Require a live capture for all Linux BPF extensions.
Please proof-read, this looks correct to me, but the changes concern all live captures on Linux, so it is desirable not to break things. This is one of the related imperfections discussed in #1430.
diff --git a/CHANGES b/CHANGES index 75fcd17ef6..4d6366b566 100644 --- a/CHANGES +++ b/CHANGES @@ -48,6 +48,7 @@ DayOfTheWeek, Month DD, YYYY / The Tcpdump Group Require "[wlan] dir" integer value to be within range. Fix the != comparison for ATM and MTP field values. Deprecate bpf_filter(). + ...
1
1
0
[{"id": "G0", "claim": "Compiled bytecode that uses Linux BPF extensions is unsuitable for pcap_offline_filter(), and the man pages should be updated to explain this semantics and suggest compiling with a separate dead pcap_t for offline filtering.", "category": "documentation", "verdict": "supported", "priority": "P2"...
null
the-tcpdump-group__libpcap__1449
the-tcpdump-group/libpcap
1,449
defect
b7af3524d2ad694021d68f91aa8cc4894f837c1a
b63f02337ca6ab3e31207793975eca29464c53b8
PPPoE, ARCnet, DECnet and MTP3 assorted improvements
This addresses some of the semi-related points raised in #1430.
diff --git a/etherent.c b/etherent.c index fd228b81f6..f367c9ddf6 100644 --- a/etherent.c +++ b/etherent.c @@ -28,6 +28,7 @@ #include <string.h> #include "pcap-int.h" +#include "nametoaddr.h" #include <pcap/namedb.h> @@ -40,18 +41,6 @@ static inline int skip_space(FILE *); static inline int skip_line(FILE *)...
4
2
2
[{"id": "G0", "claim": "The bpf_u_int32 ARCnet address value needs to be constrained to fit a 1-byte address field and explicitly cast (or pcapint_atoan() should fill a uint8_t instead) so the conversion stops drawing the C4242 data-loss warning on MSVC/Appveyor.", "category": "correctness", "verdict": "supported", "pr...
null
the-tcpdump-group__libpcap__1601
the-tcpdump-group/libpcap
1,601
defect
6870404f35da32d63a0a8789edb010842dd6b208
c2721b9194ca7ef008c0db4189aa51e28f9d9f14
Introduce and use translatetest.
These changes cover the latest bug fixes with some tests. This is is going to be merged soon.
diff --git a/CHANGES b/CHANGES index 4a3a4afb31..7b94b8f879 100644 --- a/CHANGES +++ b/CHANGES @@ -97,6 +97,7 @@ DayOfTheWeek, Month DD, YYYY / The Tcpdump Group filtertest: Add support for stdin as "-" to the -F option. Rename CMake option to ENABLE_PROTOCHAIN to match Autoconf. Remove the "disabl...
2
1
1
[{"id": "G0", "claim": "The new test program does not build on Windows: it includes <arpa/inet.h>, which Windows does not have, so htons() has to come from somewhere else (the reviewer asks for winsock2.h; the author proposes the extract.h-style _WIN32 guard), and once the include is worked around the compiler still re...
null
the-tcpdump-group__libpcap__1603
the-tcpdump-group/libpcap
1,603
defect
8cabfec370045d8064f025b82e042cb380708164
3be79e47cab23835add0c1b4f7157c17965e6434
Introduce a routine to parse decimal numbers in a string.
This wraps strtoul() to do more error checking. It's currently used only in one place, but there are other places where it could be useful. Make translatetest's getopt() code do the standard "add optind to argv and subtract it frm argc" after the loop, so the first argument after the option arguments is argv[0] a...
diff --git a/pcap-bt-linux.c b/pcap-bt-linux.c index 67d357c4d8..789c7275e3 100644 --- a/pcap-bt-linux.c +++ b/pcap-bt-linux.c @@ -150,7 +150,7 @@ bt_create(const char *device, char *ebuf, int *is_ours) { const char *cp; char *cpend; - long devnum; + unsigned devnum; pcap_t *p; /* Does this look like a Bluet...
7
5
3
[{"id": "G0", "claim": "The function should also treat a leading space followed by a sign as invalid input, not only a sign in the very first character.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Perhaps the new function could be reused in more ...
null
the-tcpdump-group__libpcap__1618
the-tcpdump-group/libpcap
1,618
defect
a22678ae4ffdeb7e916332cbffa39c964e30811a
b0e9f03acca66413c3e7c05e4dad45072db150a9
Free p->opt.device on close, not on cleanup.
That way, if a failed pcap_activate() cleans up anything done by the activate by calling the module's cleanup routine, which should always call pcapint_cleanup_live_common(), p->opt.device, which is set by pcap_create() and shouldn't be freed or modified until the pcap_t is closed, will be left alone. Commit e333a60...
diff --git a/pcap.c b/pcap.c index 644cb3dc1c..a2e511c32c 100644 --- a/pcap.c +++ b/pcap.c @@ -4159,10 +4159,6 @@ pcapint_breakloop_common(pcap_t *p) void pcapint_cleanup_live_common(pcap_t *p) { - if (p->opt.device != NULL) { - free(p->opt.device); - p->opt.device = NULL; - } if (p->buffer != NULL) { free(p-...
1
1
0
[{"id": "G0", "claim": "The comment added in testprogs/activatetest.c reads \"crashafter\" (and the commit message says \"creash\") and should read \"crash after\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
the-tcpdump-group__libpcap__1649
the-tcpdump-group/libpcap
1,649
defect
d8194030872fab6337d2795449dd8031856807e1
f77a8701ae3c8e004d5caaf7ac1237f27ec7c29d
Add filter tests for filters generated for savefiles.
Add a -S flag to filtertest to have it test the filters generated for savefiles, in unswapped and swapped byte orders. Test DLT_NULL, DLT_LOOP, and DLT_PFLOG. (DLT_ENC uses the same code path as DLT_NULL.)
diff --git a/testprogs/TESTrun b/testprogs/TESTrun index d4af0c8630..f18a0295d9 100755 --- a/testprogs/TESTrun +++ b/testprogs/TESTrun @@ -9440,6 +9440,12 @@ my @filter_accept_blocks = ( # DLT_NULL and DLT_ENC depend on the values of AF_INET and AF_INET6, # which are OS-specific, and on the host byte order. Exerci...
6
6
0
[{"id": "G0", "claim": "The -d/-g/-l-with--r no-op warnings should be hard errors because such invocations indicate incorrect usage.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new Perl test-block key should be documented in the long comment in TE...
null
the-tcpdump-group__libpcap__710
the-tcpdump-group/libpcap
710
defect
0ebd4af7b963087850c1393867bad9218e0f7755
1d978758af81c536746a6f9b2634168e6ace4e1d
Add -Wformat-nonliteral and fix most warnings that come up
The remaining ocurrences are genuine and intentional. I have no idea why a "const char *" doesn't qualify but I replaced it with a #define warning: format string is not a string literal [-Wformat-nonliteral]
diff --git a/CMakeLists.txt b/CMakeLists.txt index ed675148f0..fbc452e7a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1676,6 +1676,7 @@ if(EXISTS ${CMAKE_SOURCE_DIR}/.devel OR EXISTS ${CMAKE_BINARY_DIR}/.devel) # check_and_add_compiler_option(-Wcovered-switch-default) check_and_add_compiler_o...
1
1
0
[{"id": "G0", "claim": "Asks whether a `static const char ljerr[]` array would work instead of the `#define LJERR` macro for the block-local relative jump error format string.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
the-tcpdump-group__libpcap__800
the-tcpdump-group/libpcap
800
defect
0777c0d7d8fa4155bd6d37046e027add56834c1d
491913fb08b955490d89263844c8d318ac91aa6f
Fuzz rpcap
The interesting target seems to be the server. There is still performance optimization to be done. This pull request also includes a small leak fix in pcap-linux.c (as well as the buffer overflows in #797)
diff --git a/pcap-rpcap.c b/pcap-rpcap.c index 836681a10c..c084962165 100644 --- a/pcap-rpcap.c +++ b/pcap-rpcap.c @@ -417,7 +417,11 @@ static int pcap_read_nocb_remote(pcap_t *p, struct pcap_pkthdr *pkt_header, u_ch */ FD_SET(pr->rmt_sockdata, &rfds); +#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION + retval...
4
3
1
[{"id": "G0", "claim": "The pull request does not build with CMake on Travis on Linux or macOS, nor on AppVeyor on Windows, so the CMake build work is still to be done.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "It would probably be cleaner to w...
null
the-void-ia__void-box__35
the-void-ia/void-box
35
defect
bb61ae92d959a7a7ab126be4e0e9ba5a9ef03a11
0bd565574934335a03b0f2d0636f5af413ffcd34
Improve interactive shell PTY handling and terminal lifecycle
## Description Improve interactive `voidbox shell` PTY handling and terminal lifecycle across macOS/VZ and Linux/KVM. This PR replaces the old host PTY relay with a single poll-based loop, adds terminal resize forwarding, cleans up interactive log and guest-console routing so TUIs do not get corrupted, makes Clau...
diff --git a/AGENTS.md b/AGENTS.md index 4afa7f68..73ba4ccf 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -37,6 +37,25 @@ fn my_fn() { } ``` +### Data model and policy design + +Prefer **explicit single-source models** over overlapping flags that create +ambiguous or invalid states. If a feature has a small closed set ...
1
1
0
[{"id": "G0", "claim": "The reviewer suggests applying the best practices added to AGENTS.md's 'Data model and policy design' section in the repo's existing rust-style and rustdoc SKILL.md files.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
the-void-ia__void-box__44
the-void-ia/void-box
44
defect
0e4abe20ca2ae4b0d1938fe7f667deb500e5f8aa
37f55261bbe2ec9652ebf351329096df063f35de
perf/startup: cold 4.9s→252ms (-95%), warm 607ms→138ms (-77%)
## Summary Three-step startup-latency compression on KVM, landing cold p50 under 300 ms and warm p50 under 150 ms end-to-end: | Path | Baseline (main) | **This PR** | Δ | |------|-----------------|-------------|---| | Cold p50 | ~4.9 s | **252 ms** | **−95%** (19×) | | Cold p95 | — | 259 ms | — | | Warm p50 |...
diff --git a/.claude/skills/verify/SKILL.md b/.claude/skills/verify/SKILL.md index 673df80c..b1e2ee9c 100644 --- a/.claude/skills/verify/SKILL.md +++ b/.claude/skills/verify/SKILL.md @@ -1,6 +1,6 @@ --- name: verify -description: Run the full quality gate for this repo — format check, clippy, tests, and security audi...
2
2
1
[{"id": "G0", "claim": "The build-dependency check omits xz/xz-utils even though the script downloads a .tar.xz and extracts it with tar -xf, so extraction can fail after the check passes; add xz to the tool list and the error hints.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intro...
null
theOehrly__Fast-F1__159
theOehrly/Fast-F1
159
defect
0514beb47c2f3cc2e486e25157969afa2bf713c9
75b0a61601e95eb8129be50e97d5468d5e883b16
Add driver_colors function for easier plotting of lines from same team drivers
Pull request from this discussion https://github.com/theOehrly/Fast-F1/discussions/145
diff --git a/fastf1/plotting.py b/fastf1/plotting.py index 13ae056e4..fe53a938e 100644 --- a/fastf1/plotting.py +++ b/fastf1/plotting.py @@ -95,6 +95,55 @@ def warn_change(self): 'HAA': 'haas', 'WIL': 'williams'} """Mapping of team names to theirs respective abbreviations.""" +DRIVER_COLORS = { + ...
3
3
1
[{"id": "G0", "claim": "Remove the sponsors mention from the driver_color docstring example, as it is not applicable there.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Args description of driver_color's identifier parameter should say drive...
null
theOehrly__Fast-F1__220
theOehrly/Fast-F1
220
defect
f935c198e824b2a0c93c0817b89d5f89caf5bb5a
a578ecff6e6b7a2962ab9e0e3754b59f28278fc6
Add get_events_remaining function
Suggesting a useful helper function `get_events_remaining` which returns the remaining events for the season. I was doing some experimentation and thought this could be a useful for me and maybe for others.
diff --git a/fastf1/__init__.py b/fastf1/__init__.py index 0d85e280d..3f9173ee6 100644 --- a/fastf1/__init__.py +++ b/fastf1/__init__.py @@ -63,6 +63,7 @@ from fastf1.events import (get_session, # noqa: F401 get_testing_session, get_event, + ...
4
4
3
[{"id": "G0", "claim": "The body calls the private `_get_schedule` where the signature-matching public `get_event_schedule` was meant, and this mismatch is causing the test failures, so it must be fixed.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim":...
null
theOehrly__Fast-F1__287
theOehrly/Fast-F1
287
defect
90825c871fcef88202d48fd55505ee955a97c935
56156c34e248d73f16db087d737df92778767874
Added some type hinting
I added a bunch of type hinting, and then tried to fix flake8, but it looks like it was already messed up so I'm submitting as is. Should go a long way to fixing #286
diff --git a/conftest.py b/conftest.py index b9b56c51c..9bd1515df 100644 --- a/conftest.py +++ b/conftest.py @@ -1,5 +1,3 @@ -import sys - import pytest diff --git a/fastf1/__init__.py b/fastf1/__init__.py index 2254b74e8..e297832d7 100644 --- a/fastf1/__init__.py +++ b/fastf1/__init__.py @@ -62,6 +62,8 @@ :a...
13
10
3
[{"id": "G0", "claim": "Continuation lines of the reformatted boolean expressions in fastf1/api.py should place operators at the beginning of the next line for readability and uniform style.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The exp...
null
theOehrly__Fast-F1__306
theOehrly/Fast-F1
306
defect
0a065e5deec6928d42529af89a7d701d78a24ec0
61f934c4e3ad3614e985c113f96e62cff856df8e
Added new function for adding track status data to `Telemetry`
There is now a function to add a `TrackStatus` column to an existing `Telemetry` object. This function only adds the track status number and not the corresponding track status message.
diff --git a/fastf1/core.py b/fastf1/core.py index ae1906e6e..4aa96c5d9 100644 --- a/fastf1/core.py +++ b/fastf1/core.py @@ -711,6 +711,55 @@ def add_relative_distance(self, drop_existing=True): rel_dist = dist / dist.iloc[-1] return d.join(pd.DataFrame({'RelativeDistance': rel_dist}), how='outer'...
2
2
2
[{"id": "G0", "claim": "The final block after the loop extends the status array with statuses[index] (the previous status from the loop) instead of statuses.iloc[-1], so telemetry samples after the last track status event get the wrong status.", "category": "correctness", "verdict": "supported", "priority": "P1", "scop...
null
theOehrly__Fast-F1__376
theOehrly/Fast-F1
376
defect
fd0f9fbcccaf415fb5e8caed96b5e1e469f225b2
564ec6ff5f9fee288954763e89f9b750f933442c
Laps-picking function improvements
Reference: #370 Additionally implemented `any` and `none` for the `how` argument of `pick_track_status`.
diff --git a/fastf1/core.py b/fastf1/core.py index f075a6e48..640094653 100644 --- a/fastf1/core.py +++ b/fastf1/core.py @@ -1444,10 +1444,10 @@ def _fix_missing_laps_retired_on_track(self): # after comparison next_statuses = self.session_status[ self.session_status['Time'] > ...
7
7
2
[{"id": "G0", "claim": "The deprecation warnings and `.. deprecated::` notes for the pick_* functions say \"will be deprecated\" although the functions are already deprecated, and (per M002) should not promise a particular release, should reference the deprecated function by name, and should not use the :meth: role.", ...
null
theOehrly__Fast-F1__489
theOehrly/Fast-F1
489
defect
aef3668deed09c245f463e627536f17b433e49c7
7e843651fc5f3dd9c77613c65a5e4c3e9d2aabb6
Expanding Ergast filter parameters
The `_build_url` function leads to an error by adding an additional parameter "endpoint" to the end of the filename for every case. Which leads to `ErgastInvalidRequestError` The warning can be found [here](https://docs.fastf1.dev/ergast.html#common-surprises): "Only some combinations of filter parameters are possi...
diff --git a/fastf1/ergast/interface.py b/fastf1/ergast/interface.py index aa0a17286..17be8c9a7 100644 --- a/fastf1/ergast/interface.py +++ b/fastf1/ergast/interface.py @@ -228,6 +228,7 @@ class ErgastRawResponse(ErgastResponseMixin, list): auto_cast: Determines if values are automatically cast to the most ...
5
5
3
[{"id": "G0", "claim": "The baseJson flag can be inverted multiple times when several selectors are combined, resulting in incorrect behaviour.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The endpoint value is omitted even in combinations where i...
null
theOehrly__Fast-F1__579
theOehrly/Fast-F1
579
defect
37ff42e3f608f91420c07be996f1996995ef0d73
65d3c9008bf72e5b39845545af990d7c7e4bb8c9
Improved fuzzy matching with warning
Added test cases to the fuzzy version of `get_event_by_name` and reimplemented some logic to avoid false positive warnings. I recommend considering using [RapidFuzz](https://github.com/rapidfuzz/RapidFuzz?tab=readme-ov-file) over [thefuzz](https://github.com/seatgeek/thefuzz?tab=readme-ov-file) since it seems to be ...
diff --git a/fastf1/events.py b/fastf1/events.py index 3a512420d..8480a3e11 100644 --- a/fastf1/events.py +++ b/fastf1/events.py @@ -361,7 +361,8 @@ def get_event( *, backend: Optional[Literal['fastf1', 'f1timing', 'ergast']] = None, force_ergast: bool = False, - strict_search: bool = ...
4
4
2
[{"id": "G0", "claim": "The commented-out inputs (\"Saudi\", \"Saudi GP\", \"Saudi Grand Prix\") are reasonable but cannot be handled correctly by the fuzzy matching because of interference from \"Abu Dhabi Grand Prix\", and theOehrly asks that they be handled by checking for partial exact matches before doing fuzzy ma...
null
theOehrly__Fast-F1__699
theOehrly/Fast-F1
699
defect
f3906e15149e735f840e7f62dc39a2a4fc324685
6d22734f35c5e4d42a11d7132c131cc0000c3c46
Bring in Ergast drivers in races only
Fixes #680
diff --git a/fastf1/core.py b/fastf1/core.py index 0f364cc41..aa9a50f3e 100644 --- a/fastf1/core.py +++ b/fastf1/core.py @@ -2227,17 +2227,18 @@ def _load_drivers_results(self, *, livedata=None): .difference(driver_info_f1['DriverNumber'])) # drivers are missing if DNSed...
3
2
1
[{"id": "G0", "claim": "The condition deciding when the Ergast driver list is used should be `self.name in self._RACE_LIKE_SESSIONS` — extended to also include Qualifying — instead of only `self.name == \"Race\"`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"...
null
theOehrly__Fast-F1__701
theOehrly/Fast-F1
701
defect
898a67dab4dbc709a1d5add5672b39d49b7dc97c
5c3a36201253a0aeda24521dce30f1d721846ab6
Make `get_driver_style` recursive
Closes #700
diff --git a/fastf1/plotting/_interface.py b/fastf1/plotting/_interface.py index 9468e040f..055513e44 100644 --- a/fastf1/plotting/_interface.py +++ b/fastf1/plotting/_interface.py @@ -403,6 +403,29 @@ def get_driver_color( exact_match=exact_match) +def _replace_magic_auto( + te...
1
1
0
[{"id": "G0", "claim": "The docstring of _replace_magic_auto is missing the word \"replaces\" (it reads \"Recursively the 'auto' values...\").", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
theOehrly__Fast-F1__727
theOehrly/Fast-F1
727
defect
74521c5c2854b1d9d8e200bfc198a4fb8c9f0b85
75f36f375f32f06fc92836091a9cd2fb67bd90b8
Proper initiation of NaT as timedelta type
Addresses a followup report from #674 Essentially the same bug and fix as in #682 and #676. Just need to bypass pandas inferring NaT as a datetime. Fixes #728
diff --git a/fastf1/_api.py b/fastf1/_api.py index 795521a91..7e4076138 100644 --- a/fastf1/_api.py +++ b/fastf1/_api.py @@ -581,7 +581,7 @@ def data_in_lap(lap_n): # check for incorrect lap times and remove them # fixes GH#167 among others if sector_sum > drv_data['LapTime'][i]: - ...
4
4
1
[{"id": "G0", "claim": "All remaining occurrences of pd.NaT - such as those in _api.py's EMPTY_LAPS/EMPTY_STREAM dicts and the new one added in #740 - need to be replaced with explicit typed NaT assignments (including the ones that should be datetime), since supporting Pandas 3.0 requires it.", "category": "correctness...
null
theOehrly__Fast-F1__874
theOehrly/Fast-F1
874
defect
928af14bd06b536d52ad94224eb9b1d957d8d89d
970090216ee092523a04687f395b7a743d3b6f95
Enable ruff Bugbear (B) and ISC rules, fix all violations
Relates to #741 Enables two of the ruff rule sets discussed in #741: - **Bugbear (B)** — catches real bugs and common Python gotchas - **ISC** (implicit string concatenation) — prevents mistake-prone multi-line string concat `B028` (no-explicit-stacklevel) and `B905` (zip-without-strict) are ignored as they'r...
diff --git a/fastf1/_api.py b/fastf1/_api.py index 535003a37..e279309ee 100644 --- a/fastf1/_api.py +++ b/fastf1/_api.py @@ -229,7 +229,7 @@ def _extended_timing_data(path, response=None, livedata=None): if (drv_laps_data is None) or (drv_stream_data is None): continue - for i, split_time...
4
4
2
[{"id": "G0", "claim": "Ruff check still reports failures under docs/ and examples/, so the pull request does not pass with 0 errors on the full codebase as it claims.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The getattr calls changed by this ...
null
theatre-js__theatre__202
theatre-js/theatre
202
defect
3b3a1b1d8a922f8fdb88b1c179ba6a9d4768e903
e7d740df9bfdb97dfcb42b91e6ecfb4a522aa57f
Add initial tools for managing derivations and React compatibility
Initial tools for using dataverse derivations in more places to enable fewer re-renders. Foundation for #197
diff --git a/packages/react/src/index.ts b/packages/react/src/index.ts index 920d714349..3a7e8f8cbf 100644 --- a/packages/react/src/index.ts +++ b/packages/react/src/index.ts @@ -179,7 +179,7 @@ function queueIfNeeded() { * * I'm happy with how little bookkeeping we ended up doing here. */ -function useDerivation...
11
8
0
[{"id": "G0", "claim": "Reviewers ask that the S1 derive-helper API surface be trimmed and clarified: don't export deriveReact() or deriveAll(), rename deriveChild, rename or reconsider the confusable reactDerived export, and drop the ValidJSXChild union as redundant with React.ReactNode.", "category": "design", "verdi...
null
thecoshman__http__178
thecoshman/http
178
defect
7be0e75208382a03407e66f60109e721d5f47bb5
3484361c83a27a8cfef3ce5b424cb6cc0d6f1f2f
time -> chrono, -A/--archives
1. time -> chrono (#170) 2. If-Modified-Since: no longer truncates the sub-second part away 3. Add `http -A`/`http --archives` that allows downloading whole directory trees directly * Use with `curl -H 'Accept: application/tar'` (or `/x-tar`) or `-H 'Accept: application/zip'` (or `/x-zip-compressed`). * or by c...
diff --git a/.cargo/audit.toml b/.cargo/audit.toml index 1d6eebc..daf3251 100644 --- a/.cargo/audit.toml +++ b/.cargo/audit.toml @@ -1,3 +1,3 @@ # https://github.com/thecoshman/http/issues/140 [advisories] -ignore = ["RUSTSEC-2021-0078", "RUSTSEC-2021-0079", "RUSTSEC-2020-0071", "RUSTSEC-2021-0139", "RUSTSEC-2023-008...
2
1
0
[{"id": "G0", "claim": "The -A documentation should expand the jargon 'w.r.t.' and '&c.' instead of relying on abbreviations.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Control over which archive formats are offered should be added (e.g. -A al...
null
thedotmack__claude-mem__1100
thedotmack/claude-mem
1,100
defect
f435ae32ce3da85dc16d1b5ffa9a0a269510a0fd
86c966e4f51198f350b79672db4f5b2d6be016ea
feat: universalize observation feed emojis
## Summary - Replace hardcoded `AGENT_EMOJI_MAP` with a config-driven emoji system via `observationFeed.emojis` - Deterministic auto-assign from a 20-emoji pool using agentId hash (same agent = same emoji, no state needed) - User can pin specific agent emojis, customize the primary/fallback/Claude Code emojis, or chan...
diff --git a/openclaw/openclaw.plugin.json b/openclaw/openclaw.plugin.json index a304b670f4..8d28b2230b 100644 --- a/openclaw/openclaw.plugin.json +++ b/openclaw/openclaw.plugin.json @@ -45,6 +45,38 @@ "botToken": { "type": "string", "description": "Optional dedicated Telegram bot t...
1
1
1
[{"id": "G0", "claim": "Claude Code sessions now display a static label instead of the project name, making concurrently running sessions indistinguishable in the feed; include the project name alongside the label.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
thedotmack__claude-mem__1159
thedotmack/claude-mem
1,159
defect
eea4f599c0c54eb8d7dcc0d81a9364f2302fd1e6
988815a5198a50845c86a8339e3be5500f721cee
fix: self-healing claimNextMessage prevents stuck processing messages
## Summary - Renamed `claimAndDelete` → `claimNextMessage` with atomic self-healing: resets stale processing messages (>60s) back to pending before claiming, eliminating stuck messages from generator crashes without external timers - Removed redundant idle-timeout `resetStaleProcessingMessages()` call in worker-servic...
diff --git a/plugin/scripts/context-generator.cjs b/plugin/scripts/context-generator.cjs index c930f002de..95c57c964d 100644 --- a/plugin/scripts/context-generator.cjs +++ b/plugin/scripts/context-generator.cjs @@ -6,7 +6,7 @@ ${o.stack}`:` ${o.message}`:this.getLevel()===0&&typeof o=="object"?m=` `,"utf8")}catch(E){p...
13
4
0
[{"id": "G0", "claim": "db.prepare() is called inside the claimNextMessage transaction callback, so statements are recompiled on every call in a hot path; the prepared statements should be hoisted to class/module level or cached (or at least noted as intentional).", "category": "performance", "verdict": "uncertain", "p...
null
thedotmack__claude-mem__1291
thedotmack/claude-mem
1,291
defect
ecb09df42002db222a57e117abcec188393ef984
b2c40aa91961ba27a075aac67cef262816a79d5c
fix: remove unrecognized fields from Claude Code Stop hook output
## Summary Fixes #1290 Fixes #1288 The Claude Code adapter's `formatOutput()` was returning `{continue: true, suppressOutput: true}` for all hook events. These fields are not part of the Claude Code hook API: - **`continue: true`** causes Claude Code to re-invoke stop hooks in an infinite loop (#1288) - **Both fields...
diff --git a/src/cli/adapters/claude-code.ts b/src/cli/adapters/claude-code.ts index 6bf6ee9a0c..d8fc468a7a 100644 --- a/src/cli/adapters/claude-code.ts +++ b/src/cli/adapters/claude-code.ts @@ -23,6 +23,14 @@ export const claudeCodeAdapter: PlatformAdapter = { } return output; } - return { contin...
1
1
1
[{"id": "G0", "claim": "Before merge, the behaviour touched by claude-code.ts should be smoke-tested with malformed input / retry / rollback cases, and the tests should exercise the unhappy path around edge cases on the new/changed execution path rather than only the happy path.", "category": "testing", "verdict": "sup...
null
thedotmack__claude-mem__1566
thedotmack/claude-mem
1,566
defect
d06882126fe24f6ebcbe433385daeb8322ba8009
2ca90c2ebf9289be04e6484ea48c9e1cc7fc31a5
fix: resolve 3 upstream bugs (summarize, ChromaSync, HealthMonitor)
## Summary Fixes 3 pre-existing bugs found through production usage (3,400+ observations over 23 days on two physical servers, 8 projects). ## Bug 1: Summarize loop on empty transcript **File:** `src/cli/handlers/summarize.ts` **Problem:** `extractLastMessage()` returns empty string when transcript has no assistant...
diff --git a/.gitignore b/.gitignore index 448f7aa24d..e070f63ecd 100644 --- a/.gitignore +++ b/.gitignore @@ -35,4 +35,7 @@ src/ui/viewer.html .claude-octopus/ .claude/session-intent.md .claude/session-plan.md -.octo/ \ No newline at end of file +.octo/ + +# Local contribution analysis (not part of upstream) +CONTR...
4
2
2
[{"id": "G0", "claim": "The win32 fallback in isPortInUse is still the old check-then-act HTTP probe, so the duplicate-start race the PR set out to fix remains on Windows; if Windows is supported it needs a real occupancy probe or an explicit unsupported path, plus the repo's APPROVED OVERRIDE annotation.", "category":...
null
thedotmack__claude-mem__1670
thedotmack/claude-mem
1,670
defect
3651a34e96b82f105377e040d86cf4bfe6939bed
36a03f75b2d322e8904855a65ed26b8f5417721a
docs: add Language Support section to smart-explore/SKILL.md (#1651)
## Summary Fixes #1651 - Added `## Language Support` section to `plugin/skills/smart-explore/SKILL.md` documenting the tree-sitter AST parsing backend - Table lists all 10 bundled languages (JavaScript, TypeScript, TSX/JSX, Python, Go, Rust, Ruby, Java, C, C++) with their file extensions - Added fallback-to-text-sear...
diff --git a/plugin/skills/smart-explore/SKILL.md b/plugin/skills/smart-explore/SKILL.md index 0f3777e6c4..19799d8677 100644 --- a/plugin/skills/smart-explore/SKILL.md +++ b/plugin/skills/smart-explore/SKILL.md @@ -143,3 +143,24 @@ Use smart_* tools for code exploration, Read for non-code files. Mix freely. | Explore ...
2
2
1
[{"id": "G0", "claim": "The new Language Support section omits the `.claude-mem.json` custom-grammar instructions and the markdown-special-support notes called out in the linked issue's objectives.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
thedotmack__claude-mem__1678
thedotmack/claude-mem
1,678
defect
3651a34e96b82f105377e040d86cf4bfe6939bed
f61eb2d162a775855226cbb6982de8df91055df6
fix: add .gitattributes to enforce LF endings on plugin scripts (#1342)
## Summary Fixes #1342 - Without `.gitattributes`, building on Windows produces plugin scripts with CRLF (`\r\n`) line endings. The `\r` on the shebang line causes `env: node\r: No such file or directory` on macOS/Linux, silently breaking `plugin:claude-mem:mcp-search` and all hook scripts - Adds `.gitattributes` wit...
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..443ffe6bd2 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,21 @@ +# Normalize all text files to LF on commit and checkout. +# This prevents CRLF shebang lines in bundled scripts from breaking +# the MCP server on macOS/Linux when built on...
2
2
2
[{"id": "G0", "claim": "The fixed SHEBANG_SCRIPTS list omits at least one generated plugin script (e.g. context-generator.cjs), so CRLF regressions can slip through for unlisted files; include it or derive the list dynamically from plugin/scripts.", "category": "testing", "verdict": "supported", "priority": "P1", "scop...
null
thedotmack__claude-mem__1686
thedotmack/claude-mem
1,686
defect
cde4faae2f33f92d2092ca87537b17b837fdcfb7
2f19eab9c29179e944d6c6efc20f299d12c97314
fix: expose summaryStored in session status to detect silent summary loss (#1633)
## Summary Fixes #1633 - Adds `lastSummaryStored?: boolean` to `ActiveSession` — set to `result.summaryId !== null` after every `storeObservations` call in `ResponseProcessor` - Surfaces the flag via `GET /api/sessions/status` as `summaryStored` alongside `queueLength` - Updates `summarize.ts` poll loop: after detect...
diff --git a/src/cli/handlers/summarize.ts b/src/cli/handlers/summarize.ts index 55cc6ab191..c178060ba3 100644 --- a/src/cli/handlers/summarize.ts +++ b/src/cli/handlers/summarize.ts @@ -87,6 +87,7 @@ export const summarizeHandler: EventHandler = { // This keeps the Stop hook alive (120s timeout) so the SDK age...
1
1
1
[{"id": "G0", "claim": "The stop-hook polling loop treats queueLength === 0 as completion even when the session status is not_found (404), which can prematurely exit polling and suppress the new silent-loss signal.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
thedotmack__claude-mem__1693
thedotmack/claude-mem
1,693
defect
cde4faae2f33f92d2092ca87537b17b837fdcfb7
9122582ab2b50cd62b62ac9fe68c459e03a75588
fix: session lifecycle guards to prevent runaway API spend (#1590)
## Summary Fixes #1590 - Treat SIGTERM (exit code 143) as intentional termination: when a subprocess is killed externally, abort the `AbortController` so `wasAborted=true` in `.finally()` — this prevents crash recovery from immediately respawning the process - Add a 4-hour wall-clock age limit per session: `ensureGen...
diff --git a/src/services/worker/ProcessRegistry.ts b/src/services/worker/ProcessRegistry.ts index f261e6d068..d37a12caf7 100644 --- a/src/services/worker/ProcessRegistry.ts +++ b/src/services/worker/ProcessRegistry.ts @@ -382,6 +382,23 @@ export function createPidCapturingSpawn(sessionDbId: number) { env?: NodeJS...
10
9
5
[{"id": "G0", "claim": "Do not unregister the duplicate PID immediately after SIGTERM: unregistering before the process has actually exited can drop tracking for a still-live process, undermining one-process-per-session guarantees and active-count limits.", "category": "correctness", "verdict": "supported", "priority":...
null
thedotmack__claude-mem__1696
thedotmack/claude-mem
1,696
defect
cde4faae2f33f92d2092ca87537b17b837fdcfb7
d8c13d7b2abe818c865ce54b94e6b63969c7c4dd
fix: resolve Setup hook broken reference and warn on macOS-only binary (#1547)
## Summary Fixes #1547 - **Setup hook now calls `smart-install.js` instead of the removed `setup.sh`**: `setup.sh` was deleted (see CHANGELOG: "Removed legacy setup.sh script") but the `hooks.json` Setup hook still referenced it. On Linux, this caused exit 127 (file not found), which could prevent the plugin from bei...
diff --git a/plugin/hooks/hooks.json b/plugin/hooks/hooks.json index 56b0e72d6e..7e1286a96d 100644 --- a/plugin/hooks/hooks.json +++ b/plugin/hooks/hooks.json @@ -7,7 +7,7 @@ "hooks": [ { "type": "command", - "command": "_R=\"${CLAUDE_PLUGIN_ROOT}\"; [ -z \"$_R\" ] && _R=$(ls...
3
3
2
[{"id": "G0", "claim": "The file descriptor opened with openSync is only closed on the happy path, so if readSync throws the descriptor leaks; close it in a finally block.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The 'should call smart-install...
null
thedotmack__claude-mem__1697
thedotmack/claude-mem
1,697
defect
cde4faae2f33f92d2092ca87537b17b837fdcfb7
827d62b284142d9aabde312ffd4d0e7c62992c83
fix: add circuit breaker to OpenClaw worker client (#1636)
## Summary Fixes #1636 - Add a CLOSED/OPEN/HALF_OPEN circuit breaker to all three worker HTTP client functions (`workerPost`, `workerPostFireAndForget`, `workerGetText`) - After 3 consecutive network errors the circuit opens, silently drops further calls for 30 s, then sends one probe to check for recovery - Logs are...
diff --git a/openclaw/src/index.test.ts b/openclaw/src/index.test.ts index e60df94fb5..f2943da488 100644 --- a/openclaw/src/index.test.ts +++ b/openclaw/src/index.test.ts @@ -979,3 +979,89 @@ describe("SSE stream integration", () => { await getService().stop({}); }); }); + +describe("circuit breaker", () => { ...
3
3
3
[{"id": "G0", "claim": "The test suite never advances past the 30s cooldown, so it does not verify the promised one-probe HALF_OPEN behavior or that a non-2xx probe keeps the circuit open, and infers that calls are dropped from log silence instead of asserting no extra request reached the worker.", "category": "testing...
null
thedotmack__claude-mem__1698
thedotmack/claude-mem
1,698
defect
cde4faae2f33f92d2092ca87537b17b837fdcfb7
42f9e755d5d4f3927d5a1744435baad1932a1114
fix: reap stuck generators in reapStaleSessions (fixes #1652)
## Summary - `reapStaleSessions()` unconditionally skipped sessions with a non-null `generatorPromise`, so any session whose SDK subprocess hung (blocked on `for await` inside `SDKAgent`) was never cleaned up - Add `MAX_GENERATOR_IDLE_MS = 5 min` constant and stale-generator detection: if `lastGeneratorActivity` hasn'...
diff --git a/src/services/worker/SessionManager.ts b/src/services/worker/SessionManager.ts index adb6318756..0a81fbc44a 100644 --- a/src/services/worker/SessionManager.ts +++ b/src/services/worker/SessionManager.ts @@ -365,9 +365,14 @@ export class SessionManager { } private static readonly MAX_SESSION_IDLE_MS ...
2
2
2
[{"id": "G0", "claim": "The test suite duplicates the production logic (locally redefined MAX_* constants and a local detectStaleGenerator copy), so it can still pass if the real SessionManager code changes to >=, stops aborting, or the thresholds drift; the reviewer asks to drive SessionManager.reapStaleSessions() wit...
null
thedotmack__claude-mem__1729
thedotmack/claude-mem
1,729
defect
cde4faae2f33f92d2092ca87537b17b837fdcfb7
b2b31742bc5fc2587216fbcabe8c2d6e709dc69a
fix(file-context): preserve targeted reads + invalidate on mtime (#1719)
## Summary Fixes #1719. The `PreToolUse:Read` hook in `file-context.ts` unconditionally rewrote the Read tool input to `{file_path, limit:1}`, which interacted with two failure modes that made files unreadable for the rest of a conversation: 1. **Subagent edits a file** → the parent agent's next Read still gets trunc...
diff --git a/src/cli/handlers/file-context.ts b/src/cli/handlers/file-context.ts index c53818fdd0..7a2289d46f 100644 --- a/src/cli/handlers/file-context.ts +++ b/src/cli/handlers/file-context.ts @@ -106,7 +106,11 @@ function deduplicateObservations( return scored.slice(0, displayLimit).map(s => s.obs); } -functio...
2
1
0
[{"id": "G0", "claim": "Add an offset-only targeted-read test so the (offset-only) case of the same fix surface is covered.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Spread the original toolInput into updatedInput so targeted reads do not silently ...
null
thedotmack__claude-mem__1776
thedotmack/claude-mem
1,776
defect
cde4faae2f33f92d2092ca87537b17b837fdcfb7
8951f57f2038081215ee5d2c9324a942c8026a66
fix: coerce corpus route filters
## Summary - coerce `types`, `concepts`, and `files` in `POST /api/corpus` when clients send JSON-encoded or comma-separated strings - coerce string `limit` values to positive integers before passing filters into `CorpusBuilder` - add focused CorpusRoutes regression tests for native, JSON string, comma-separated, and i...
diff --git a/src/services/worker/http/routes/CorpusRoutes.ts b/src/services/worker/http/routes/CorpusRoutes.ts index 836e477ab2..5c6c7f8fa2 100644 --- a/src/services/worker/http/routes/CorpusRoutes.ts +++ b/src/services/worker/http/routes/CorpusRoutes.ts @@ -12,6 +12,8 @@ import { CorpusBuilder } from '../../knowledge/...
2
1
1
[{"id": "G0", "claim": "Add a direct regression test for unsupported `types` values, since the new allowlist branch in CorpusRoutes.ts is only exercised via generic array-shape failures and an invalid `limit`.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim...
null
thedotmack__claude-mem__1820
thedotmack/claude-mem
1,820
defect
cde4faae2f33f92d2092ca87537b17b837fdcfb7
d0096ff786483407fdc7917701d4481cccf84c4d
fix: use parent project name for worktree observation writes
Fixes #1819 ## Summary - `getProjectContext().primary` now returns `parentProjectName` when in a worktree (instead of `basename(cwd)`) - All four write-path call sites switched from `getProjectName()` to `getProjectContext().primary` - Regression test creates a real worktree directory structure and asserts `primary =...
diff --git a/src/cli/handlers/session-init.ts b/src/cli/handlers/session-init.ts index 1698436424..5c2554096a 100644 --- a/src/cli/handlers/session-init.ts +++ b/src/cli/handlers/session-init.ts @@ -6,7 +6,7 @@ import type { EventHandler, NormalizedHookInput, HookResult } from '../types.js'; import { ensureWorkerRu...
4
4
0
[{"id": "G0", "claim": "Default `projects` to `context.allProjects` when `input.projects` is not provided, so context reads in worktrees stay compatible with legacy worktree-labeled records during the transition.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
thedotmack__claude-mem__2072
thedotmack/claude-mem
2,072
defect
beea7899b93c9fe00116e8e42c3129b59fac565f
ef00baad16c2c7c1233bbd909740072ff87e979c
fix: break infinite summary-retry loop (#1633)
When the LLM returns `<observation>` tags instead of `<summary>` tags during session summarization, the parser rejects the response, no summary is stored, session completion triggers a new session with the prior unsummarized context appended, and the cycle repeats with ~5-6KB prompt growth per iteration. ### Parser co...
diff --git a/src/sdk/parser.ts b/src/sdk/parser.ts index 7dbd8bcd55..5ca0aa400c 100644 --- a/src/sdk/parser.ts +++ b/src/sdk/parser.ts @@ -113,8 +113,13 @@ export function parseObservations(text: string, correlationId?: string): ParsedO /** * Parse summary XML block from SDK response * Returns null if no valid sum...
18
8
5
[{"id": "G0", "claim": "The circuit-breaker failure counter increments on every normal observation response because the else-if branch tests /<observation>|<summary>/ instead of the summaryExpected flag, so the breaker trips after 3 ordinary responses and permanently blocks summarization — reproducing the data loss #16...
null
thedotmack__claude-mem__2176
thedotmack/claude-mem
2,176
defect
5458dd2322c378726e50178174723c41f870b600
2230984fb46e61077023de63bb27425b26870a43
fix: coerce stringified numeric anchor in timeline() MCP tool
## Summary - HTTP query params arrive at `SearchManager.timeline()` as strings, so the `typeof anchor === 'number'` dispatch always missed the observation-ID branch and silently fell through to ISO-timestamp parsing — yielding a wrong-epoch window with the correct anchor echoed in the header (which masked the bug). - F...
diff --git a/src/services/worker/SearchManager.ts b/src/services/worker/SearchManager.ts index f93340e0b9..61bc2c8dab 100644 --- a/src/services/worker/SearchManager.ts +++ b/src/services/worker/SearchManager.ts @@ -478,6 +478,12 @@ export class SearchManager { const { anchor, query, depth_before, depth_after, proj...
6
5
1
[{"id": "G0", "claim": "Non-finite JS numbers (NaN/Infinity) are not guarded: parseNumericAnchor returns them, they pass the anchorAsNumber !== null check, reach getObservationById(NaN/Infinity) and produce a confusing error like \"Observation #NaN not found\" — consider adding a Number.isFinite guard on the JS-number ...
null
thegetty__quire__104
thegetty/quire
104
defect
85b566e190e29b8565f2d311d7b5411a451c925c
ab0d73256170cbd081e38d47a35ddc5e0369776b
Refactor/DEV-7298: CircleCI OS Matrix
Changes: - Moves `.circleci/config.yml` to the project root - Uses an os matrix to install, build, and test quire on linux, macos, and windows. The layout for the config.yml is a little repetitive, and I'm open to feedback, but there are a lot of annoying constraints using the matrix parameters, especially because...
diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 000000000..9f3ab3b8f --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,157 @@ +version: 2.1 + +orbs: + cypress: cypress-io/cypress@1.27.0 + mac: circleci/macos@1.1.0 + node: circleci/node@4.2.1 + win: circleci/windows@2.4.0 + +exe...
2
2
0
[{"id": "G0", "claim": "A comment explaining why the mobi test is skipped should be added for future readers.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The npm cache key should include a {{ .Environment.CACHE_VERSION }} variable so the packag...
null
thegetty__quire__1083
thegetty/quire
1,083
defect
898095c36a698c0859fedd009cdbd940b15bc069
a9792e53c5425c9956e8f6b651916802eea347b5
Filter current page from page lists of `contributors context=pageContributors format='bio'` shortcode (DEV-16623)
This PR addresses #847 by refactoring the `pageContributors` and `publicationContributors` eleventyComputed properties. `pages` arrays on contributor objects in `pageContributors` now _do not_ contain the current page (if one exists) where all contributors' pages and all publication contributors are in `publicationCont...
diff --git a/packages/11ty/_plugins/filters/getContributor.js b/packages/11ty/_plugins/filters/getContributor.js index 5c77aff53..f549f8b2d 100644 --- a/packages/11ty/_plugins/filters/getContributor.js +++ b/packages/11ty/_plugins/filters/getContributor.js @@ -27,7 +27,7 @@ export default function (eleventyConfig, item...
1
1
0
[{"id": "G0", "claim": "Using filter(Boolean) at the publication.contributor filter would have the same result and may be more readable than filter(c => !!c).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
thegetty__quire__1130
thegetty/quire
1,130
defect
21d0fdd5e5143601416ab16bc9a358d5e819ecb3
3d39402c6ea753b2705b21f52f4abfe7d05d629f
Replace simple-git dependency with a simple git façade module
Replace dependency on the `simple-git` package with a _simple_ façade module, which has only methods (commands) needed by the `quire-cli`. Nota bene: `simple-git` exposes chainable methods however this introduces additional complexity to tests because the exact method chain must be mocked. The `lib/git` module expor...
diff --git a/package-lock.json b/package-lock.json index 4b1e3eae8..f83c9c780 100644 --- a/package-lock.json +++ b/package-lock.json @@ -594,7 +594,6 @@ "integrity": "sha512-MicA6fkWOJSWZ4fuOmh57ETVcCdnMaNhjzNtM29Xf6deGPtk8V4Vd46SWy3dM/cdo8gdHQdsvoJNkzzKo9CsXA==", "dev": true, "license": "MIT", - ...
2
2
1
[{"id": "G0", "claim": "The git module debug loglines (e.g. 'cloning <url> to .') are vague in practice and should include the working directory, with the same CWD problem noted in the CLI:quire init-starter logline.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id...
null
thegetty__quire__1133
thegetty/quire
1,133
defect
320a673deb40249c03671911bf6128eda9e691e1
a9cf60e9cb4b624a38b59ba75c39720dfd919568
Refactor cli path handling
Refactor path handling for interactions with Eleventy. ## Purpose The current eleventy path configuration is a "leaky abstraction" that uses string literal templates to compose paths whenever needed. This change consolidates to path configuration in an `11ty/Paths` class, which exports accessor methods for paths...
diff --git a/packages/cli/src/commands/build.js b/packages/cli/src/commands/build.js index 6cb7dec0f..b13ea5a1c 100644 --- a/packages/cli/src/commands/build.js +++ b/packages/cli/src/commands/build.js @@ -1,6 +1,6 @@ import Command from '#src/Command.js' import logger from '#src/lib/logger.js' -import { api, cli, pat...
2
1
0
[{"id": "G0", "claim": "The `toObject()` method name obscures what a caller gets back from the singleton, and it should be renamed to something clearer such as `allPaths()`, `getAll()` or `pathsObject()`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl...
null
thegetty__quire__775
thegetty/quire
775
defect
9e03e9b0e01f7d14495798f8ce5fbffc4d631a22
7086b510305db4f54e70f6cf95dfd546427c724e
DEV-15497: Fix failing figure unit tests; add sequence `files` fixtures
While publishing new `rc` versions of `quire-11ty`, the publish process was not completing due to failing tests. This fixes failing figure plugin unit tests. These tests were originally depending on a specifically-named test publication to exist on a user's machine. This refactor sequence factory `create()` method a...
diff --git a/packages/11ty/_plugins/figures/sequence/factory.js b/packages/11ty/_plugins/figures/sequence/factory.js index 1408fa36d..a9f736aee 100644 --- a/packages/11ty/_plugins/figures/sequence/factory.js +++ b/packages/11ty/_plugins/figures/sequence/factory.js @@ -13,11 +13,13 @@ module.exports = class SequenceFact...
2
2
0
[{"id": "G0", "claim": "Gathering the sequence `files` should be a concern of the factory, which would then pass them to the `Sequence` constructor, making both easier to test with a files fixture.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`getSeque...
null
thegetty__quire__8
thegetty/quire
8
defect
c43304d041d1aa08719fa5dc45b2f37522c18da9
d3dc94232a6311819fbbfa5be3e24fff70f2c14c
Refactor/DEV-7997: Copy starters and themes
- Copy `starters/` and `themes/` to distributed files when building the CLI - Refactor `quire new` command to copy these local starters and themes directories - Adds `copyDirRecursive` to `utils` for use in rollup `copy` plugin
diff --git a/.gitignore b/.gitignore index f4e5c7d5d..1908b44e1 100644 --- a/.gitignore +++ b/.gitignore @@ -85,7 +85,7 @@ static ### CLI ### # build output -packages/cli/bin/index.js +packages/cli/bin ### macOS ### # General diff --git a/package.json b/package.json index c42f06172..825afa593 100644 --- a/packa...
3
3
0
[{"id": "G0", "claim": "The `rollupCopy` function added in packages/cli/lib/utils.js is redundant with the one already in packages/cli/plugins/rollupCopy.js and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A blank line shoul...
null
thegreenwebfoundation__co2.js__100
thegreenwebfoundation/co2.js
100
defect
b09ce8711895841c692f41cf0f4c96af489b605d
738e6ea1e7817ff096e7cf7ea2d292b65c4afa78
v0.11.0 - Use Sustainable web design model by default
This PR switches the default model used by CO2.js from OneByte to the newer Sustainable Web Design (SWD) model. Users can now use the use the SWD model in two ways: 1. By default `const emissions = new co2()` 2. Explicitly `const emissions = new co2({ model: "swd" })` Uses who still wish to use the OneByte mo...
diff --git a/src/co2.js b/src/co2.js index 3880e449..14c0e783 100644 --- a/src/co2.js +++ b/src/co2.js @@ -5,10 +5,12 @@ import SustainableWebDesign from "./sustainable-web-design.js"; class CO2 { constructor(options) { - this.model = new OneByte(); + this.model = new SustainableWebDesign(); // Using o...
1
1
1
[{"id": "G0", "claim": "The constructor matches the model string exactly, so add logic to handle different spellings of `1byte` (e.g. one-byte, onebyte, 1-byte) and a try/catch, or at least some logging, when the value matches neither term exactly, so that a typo gets useful feedback.", "category": "correctness", "verd...
null
thegreenwebfoundation__co2.js__184
thegreenwebfoundation/co2.js
184
defect
02464004d1afff53a4066e88758d61029956060c
9ed1215368aacca94dbbbc5ee9f025f7614bd88a
Adds user agent header for requests to Green Web Foundation APIs
the version from package.json is used to inject an environment variable when esbuild runs, which the running code can read to create the correct user agent string when making requests. fixes #181
diff --git a/.esbuild.browser.js b/.esbuild.browser.js index 8fee5a6a..d50dd28a 100644 --- a/.esbuild.browser.js +++ b/.esbuild.browser.js @@ -1,4 +1,7 @@ +const esbuildCommon = require("./.esbuild.common"); + require('esbuild').buildSync({ + ...esbuildCommon, entryPoints: ['src/index.js'], outdir: 'dist/iife',...
5
4
1
[{"id": "G0", "claim": "Replacing nock mocks with jest spies that still call the underlying function makes the test suite issue real network requests, and the reviewer asks that the responses be mocked instead (or, if not done in this PR, that an issue be created to come back to it).", "category": "testing", "verdict":...
null
thegreenwebfoundation__co2.js__192
thegreenwebfoundation/co2.js
192
defect
33dcf5a0096fb48bf47504e20732abb51d54718a
ccd5bc196e34a598bb6c9cbe9f0304d55d9604e1
adds support for verbose response when checking domains
- adds a new `checkVerbose` function to both hosting-node.js and hosting-api.js - for checking a single domain, `checkVerbose` returns the entire payload from the api.thegreenwebfoundation.org endpoint - for checking multiple domains, `checkVerbose` returns a dictionary of each domain mapped to its response payload ...
diff --git a/__mocks__/https.js b/__mocks__/https.js index a4cee948..184f5302 100644 --- a/__mocks__/https.js +++ b/__mocks__/https.js @@ -10,7 +10,7 @@ https.get.mockImplementation((url, options, callback) => { stream.emit( "data", Buffer.from( - `{"google.com": {"url":"google.com","hosted_by...
2
2
1
[{"id": "G0", "claim": "To keep the node and api hosting check signatures consistent, the check function should make only the 2nd parameter the options object (which may also be a database), keeping the 3rd parameter as userAgentIdentifier instead of allowing it to be options.", "category": "design", "verdict": "suppor...
null
thegreenwebfoundation__co2.js__207
thegreenwebfoundation/co2.js
207
defect
162d003a7775b679989756ca4a6677702158ee9f
19d95e577757077cffb586e9d842eafc26896435
Add Sustainable Web Design rating scale
## Triage ### Type of change Please select any of the below items that are appropriate. This pull request: - [ ] Adds a new carbon estimation model to CO2.js - [x] Adds new functionality to an existing model - [ ] Fixes a bug with an existing model implementation - [ ] Add other new functionality to CO2....
diff --git a/src/co2.js b/src/co2.js index 7bddf6cf..4fbbe227 100644 --- a/src/co2.js +++ b/src/co2.js @@ -68,14 +68,17 @@ import { parseOptions } from "./helpers/index.js"; class CO2 { constructor(options) { + let allowRatings = true; this.model = new SustainableWebDesign(); // Using optional chaini...
2
2
0
[{"id": "G0", "claim": "The ratingScale breakpoints (and the percentile values used in the tests) should be named constants, so the numbers are self-documenting and there is one place to update when new HTTP Archive data is used.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "intro...
null
theislab__scvelo__1050
theislab/scvelo
1,050
defect
3b9fb0706fad9b49cb2e399b0326ae4b05042c24
a3d0f545f3416c130ef0686d86d961df45c08466
Add usage of `EMParams`
## Changes - Class `EMParams` is now used by the `ExpectationMaximizationModel` in `tools/_em_model.py`. ## Related issues Closes #1026, #1025.
diff --git a/scvelo/tools/_em_model.py b/scvelo/tools/_em_model.py index c96af7f7..31ad3182 100644 --- a/scvelo/tools/_em_model.py +++ b/scvelo/tools/_em_model.py @@ -1,5 +1,5 @@ import os -from dataclasses import dataclass +from dataclasses import asdict, dataclass from typing import List, Optional, Sequence impo...
3
2
2
[{"id": "G0", "claim": "Refactor `_initialize_state_dict` so that it does not call `_read_pars`, since `_em_model_core.py` and `_em_model_utils.py` will be removed in the future.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Stop calling `_writ...
null
theislab__scvelo__1065
theislab/scvelo
1,065
defect
3b9fb0706fad9b49cb2e399b0326ae4b05042c24
de5664d10ba55b304e0148ad6480cd347cde91d4
Fix `pandas` and plotting warning
## Changes ## Bug fixes <!-- Please give section if this PR does not fix any bugs --> Fixes `pandas>=2`, removes setting attributes in `get_df`, `Colorbar.draw()` (deprecated; doesn't seem to have any effect) and uses `scanpy.pp.log1p` in `log1p` implementation. Also fixes some tests and ignores warning in tes...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bfab74e4..854f49a6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: [3.8, 3.9] + ...
8
7
0
[{"id": "G0", "claim": "Revert the changes to .github/workflows/ci.yml so the PR stays clean and clearly scoped to what it solves.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Revert all pyproject.toml changes except the pandas version bump, and addres...
null
thelastpickle__cassandra-medusa__469
thelastpickle/cassandra-medusa
469
defect
3a2c4ab98165f8651ca13715670447739d98469b
b03487129f2f27736b45550a0ef281eeaebfdf0f
Support python 3.10
Add support for Python 3.10. Required for supporting Ubuntu 22.04 Ticket: https://github.com/thelastpickle/cassandra-medusa/issues/468 ┆Issue is synchronized with this [Jira Task](https://k8ssandra.atlassian.net/browse/K8SSAND-1472) by [Unito](https://www.unito.io) ┆friendlyId: K8SSAND-1472 ┆priority: Medium
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be6d9287b..e68bdb676 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: build: strategy: matrix: - python-version: [3.6, 3.7, 3.8, 3.9] + python-version: [3.6, 3.7, 3.8, 3.9, "3....
3
3
1
[{"id": "G0", "claim": "The 3.9 integration tests need not run now that 3.10 is covered — drop 3.9 from the CI integration matrix, since testing 3.6 and 3.10 should hopefully be enough given the per-version build tests.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G...
null
thelastpickle__cassandra-medusa__587
thelastpickle/cassandra-medusa
587
defect
ec425ec37f42cb5434644e9b84a353b5f49f3842
fe02bc407c1fed833b70b6504973ea75a93fd9c1
Eliminate verify on Statistics.db files to Fix #576
[#576](https://github.com/thelastpickle/cassandra-medusa/issues/576)
diff --git a/medusa/verify.py b/medusa/verify.py index a4233487e..fb5a2bb04 100644 --- a/medusa/verify.py +++ b/medusa/verify.py @@ -75,12 +75,14 @@ def validate_manifest(storage, node_backup, enable_md5_checks): objects_in_storage = { blob.name: blob for blob in storage.storage_driver.list_objec...
2
2
0
[{"id": "G0", "claim": "Fix the codestyle violation at the junction after the new _i_modify_a_statistics_db_file function (wrong number of blank lines before def connect_cassandra) that is blocking CI.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim...
null
thelastpickle__cassandra-medusa__663
thelastpickle/cassandra-medusa
663
defect
02ffb910fafad52a5dd142e467d190f76e616c24
0c8b90d2c4370a2d3706512f5a557514ddd71dea
Add check for free space before downloading a backup
Fixes #636 .
diff --git a/medusa/download.py b/medusa/download.py index a47279889..95565c96e 100644 --- a/medusa/download.py +++ b/medusa/download.py @@ -16,6 +16,7 @@ import logging import json import pathlib +import shutil import sys from medusa.storage import Storage @@ -23,8 +24,12 @@ def download_data(storageconfig...
3
2
0
[{"id": "G0", "claim": "The pull request description should explain which command line flag to use to specify an alternate download directory.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The 'return True' at the end of _check_available_space is...
null
thelastpickle__cassandra-medusa__714
thelastpickle/cassandra-medusa
714
defect
869aeda86c6acf95a716ff6c0617b2df8cf0538b
a02e55d44186e7ba7f96fd9a5737a873cd99b077
Add mtls to mgmt api connection
* Add new config parameters: ca_cert, tls_cert and tls_key. * Use request…s persistant sessions on Medusa mgmt-api communication * Set TLS properties if tls_cert config is set (support both TLS and mTLS setup)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 47565e683..6f518361d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -294,6 +294,10 @@ jobs: mv tests/integration/.coverage . coverage xml + - name: Setup tmate session + if: ${{ failure() }} + ...
1
1
0
[{"id": "G0", "claim": "The tmate session setup step this pull request added to the CI workflow could now be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
thelastpickle__cassandra-medusa__854
thelastpickle/cassandra-medusa
854
defect
1bab9ef37a01c228a833a09c40fb40f737f29801
4f905f1712006b2456a382bf903a69b81c2b0ccc
MC-1534 Allow using role-based identity for Azure storage
Fixes #856. According to preliminary testing, this kinda works: ``` export AZURE_STORAGE_ACCOUNT=medusaintegrationtests medusa -v --config-file medusa.ini list-backups [2025-02-17 11:40:20,383] DEBUG: Loading configuration from medusa.ini [2025-02-17 11:40:20,391] INFO: Resolving ip address [2025-02-17 11:40:2...
diff --git a/docs/azure_blobs_setup.md b/docs/azure_blobs_setup.md index 447dbc7f7..98ce11568 100644 --- a/docs/azure_blobs_setup.md +++ b/docs/azure_blobs_setup.md @@ -13,6 +13,11 @@ Create a new storage account or use an existing one which will be used to store ``` Place this file on all Apache Cassandra™ nodes run...
1
1
0
[{"id": "G0", "claim": "The newly added \"Identity through roles\" documentation section is a TBC placeholder, and the reviewer asks when it will be filled in and whether there is a ticket tracking it.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
thelinmichael__spotify-web-api-node__101
thelinmichael/spotify-web-api-node
101
defect
8f1a69deb76ba560ab78d3477c11254d2f9143d1
2079834abee837ff2d3a7193881f35ef22f1eee1
Add support for 'show_dialog' parameter when creating authorization url
I needed to use the "show_dialog" parameter in my personal application to force users to approve the app each time they attempt to log in. This param is not currently supported by the wrapper -- for the time being I can create the auth url manually, but it was an easy addition so I added support for it here.
diff --git a/src/spotify-web-api.js b/src/spotify-web-api.js index d0bdb293..59026712 100644 --- a/src/spotify-web-api.js +++ b/src/spotify-web-api.js @@ -1258,7 +1258,7 @@ SpotifyWebApi.prototype = { * @param {string} state A parameter that you can use to maintain a value between the request and the callback to re...
1
1
1
[{"id": "G0", "claim": "When `showDialog` is not passed, `createAuthorizeURL` should omit the parameter (or default it to `false`) instead of producing a URL containing `show_dialog=undefined`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
thelinmichael__spotify-web-api-node__117
thelinmichael/spotify-web-api-node
117
defect
db79e22a92a16c2e728426131107a10161c110d7
1cdac37e38335637ed3d702a5d5faae199aa10e0
change addTracksToPlaylist to request body
According to the following note: "Note: it is likely that passing a large number of track URIs as a query parameter will exceed the maximum length of the request URI. When adding a large number of tracks it is recommended to pass them in the request body, see below." https://developer.spotify.com/web-api/add-tracks...
diff --git a/src/spotify-web-api.js b/src/spotify-web-api.js index d0bdb293..380db43b 100644 --- a/src/spotify-web-api.js +++ b/src/spotify-web-api.js @@ -921,17 +921,11 @@ SpotifyWebApi.prototype = { * it contains an error object. Not returned if a callback is given. */ addTracksToPlaylist: function(userId,...
1
1
0
[{"id": "G0", "claim": "Remove the debugging `console.log('inside')` statement left in the addTracksToPlaylist index test.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
therecipe__qt__1161
therecipe/qt
1,161
defect
691a5b42a0b246dfc64e3368a9c00dda26766e6b
693db26b1ddc327823b277c16b86684c602f05be
Fix linking error in android deployments using Qt 5.14+
The expected shared library soname ("libgo_base.so") is injected to go build using "extldflags" ldflag This fix was tested successfully on Qt 5.13.2, 5.14.2 and 5.15.0. Previously to this patch, on Qt 5.14.0+ libgo_base.so soname was libruntime_<arch>.so, resulting in linking error when the application was executed ...
diff --git a/internal/binding/templater/template_cgo_qmake.go b/internal/binding/templater/template_cgo_qmake.go index d76b63cc4..14e09fb36 100644 --- a/internal/binding/templater/template_cgo_qmake.go +++ b/internal/binding/templater/template_cgo_qmake.go @@ -662,7 +662,24 @@ func createCgo(module, path, target string...
2
2
2
[{"id": "G0", "claim": "The new soname ldflag block runs for ios and ios-simulator targets too because the switch case covers them, and it needs something like `&& strings.HasPrefix(target, \"android\")` so it only affects android builds.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "...
null
theseus-os__Theseus__1041
theseus-os/Theseus
1,041
defect
746608a88ea34e1cfd5702e86f200c6190de06b5
1fd09ea03b227fe410723cb673e3e4ac9a771dd2
Add automated QEMU-based testing to CI passes (x86_64 only for now)
- Added `qemu_test` application that automatically runs all tests and returns a specific exit code from QEMU based on output of tests. - Added a `test` Make target - Added a CI workflow that runs the `test` target - Changed `test_mlx5`, `test_ixgbe`, and `test_block_io` to return an exit code of 0 if the associated ...
diff --git a/.github/workflows/check-clippy.yaml b/.github/workflows/check-clippy.yaml index a4eb6ef4ed..9a856b61fc 100644 --- a/.github/workflows/check-clippy.yaml +++ b/.github/workflows/check-clippy.yaml @@ -13,8 +13,6 @@ jobs: - name: "Install nasm" run: sudo apt install nasm - name: "Run Cli...
3
1
1
[{"id": "G0", "claim": "Use cargo features instead of the rustc-level `qemu_test` cfg so the dependency is visible at the manifest level, adding the feature to the top-level `theseus_features` crate and enabling `first_application`'s involvement from there rather than passing it through `captain` or toggling shell with...
null
theseus-os__Theseus__292
theseus-os/Theseus
292
defect
4ce24571e6964586147fb4ee23f578e2c51d5e6b
a0ce43ece74eb5173c32e720a3a0b7991f867185
Basic Benchmark Improvements
* Shifted often used functions out of the bm and into the libtest crate * Small improvements in error handling and timing in the bm crate. * Removed checks in task_switch() that are already covered in other parts of the schedule() function
diff --git a/Cargo.lock b/Cargo.lock index e067028d83..7a5a4ba52a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -208,6 +208,7 @@ dependencies = [ "fs_node 0.1.0", "heapfile 0.1.0", "hpet 0.1.0", + "libtest 0.1.0", "path 0.1.0", "runqueue 0.1.0", "scheduler 0.1.0", diff --git a/applications/bm/Cargo.toml b/app...
4
3
0
[{"id": "G0", "claim": "The new app-lookup code in do_spawn_inner reimplements what the existing `get_file_starting_with()` function already does and should use that function instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The spawn benc...
null