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
Kong__kubernetes-ingress-controller__6305
Kong/kubernetes-ingress-controller
6,305
defect
4cdc94551baba7ae387ae25b871281a33bbf3e8d
1c2d5fe9d20fa5560cf20820ad215e35e74b16e2
feat: dump custom entities in config fetcher
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md#the-pull-request-submit-process and developer guide https://github.com/kubernetes/community/blob/mas...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ca054e1d8f..141cca93868 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -107,6 +107,9 @@ Adding a new version? You'll need three changes: `ReferenceGrant` in the namespace of the `KongPlugin` to grant permissions to `KongCustomEntity` of referring to `KongPlugin`. ...
5
3
0
[{"id": "G0", "claim": "buildCustomEntityWithObject should accept entityType as custom.Type instead of string so the caller knows what's expected.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If KongClient's Update() can be called asynchronously with T...
null
Kong__kubernetes-ingress-controller__6313
Kong/kubernetes-ingress-controller
6,313
defect
ac94a4c18646336f002349e477ebe6decb4664de
06c6be01f010b18bb4ee24f7f1471afc453a0310
feat: --konnect-disable-consumer-sync flag
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md#the-pull-request-submit-process and developer guide https://github.com/kubernetes/community/blob/mas...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b07db547a..987b218ff3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -99,6 +99,9 @@ Adding a new version? You'll need three changes: - `KongCustomEntity` is now supported by the `FallbackConfiguration` feature. [#6286](https://github.com/Kong/kubernetes-ingress-con...
4
2
0
[{"id": "G0", "claim": "Rename the added field/getter `DisableConsumersSync` to `ConsumersSyncDisabled` to follow the naming convention of other fields like `LicenseSynchronizationEnabled`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Document...
null
Kong__kubernetes-ingress-controller__6349
Kong/kubernetes-ingress-controller
6,349
defect
b5349e1fcb9d22eba5d1c3efa9ba31bec32fe7e0
8d8634d7e9cdf1d4a89c6e48508d8abdf58066b0
feat: Separate channels to notify gateway and Konnect config status
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md#the-pull-request-submit-process and developer guide https://github.com/kubernetes/community/blob/mas...
diff --git a/internal/clients/config_status.go b/internal/clients/config_status.go index 1b998fb4f3f..4fbe9130d1c 100644 --- a/internal/clients/config_status.go +++ b/internal/clients/config_status.go @@ -21,33 +21,36 @@ const ( ConfigStatusUnknown ConfigStatus = "Unknown" ) -// ...
2
2
0
[{"id": "G0", "claim": "The commented-out TODO and disabled 'no new notification on unchanged status' checks in TestKongClientUpdate_ConfigStatusIsNotified should be removed, because each update is a discrete relevant event and successes should not be filtered out in the test.", "category": "testing", "verdict": "suppo...
null
Kong__kubernetes-ingress-controller__6352
Kong/kubernetes-ingress-controller
6,352
defect
56aa4a1c91c2ea7c4994297ec049354b6251159a
c7621e28de1d1fd5e0729aeb48caac9b5d4fe75b
Feat(konnect): Start Konnect config syncer to upload config to Konnect in separate loop
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md#the-pull-request-submit-process and developer guide https://github.com/kubernetes/community/blob/mas...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 09fc81664a..a53f2900c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -111,8 +111,11 @@ Adding a new version? You'll need three changes: - Konnect configuration updates are now handled separately from gateway updates. This allows the controller to handle sync errors f...
9
8
1
[{"id": "G0", "claim": "The RWMutex guarding lastConfigSHA should be named to mention lastConfigSHA and declared above the field it guards.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "setupKonnectConfigSynchronizer should have a doc comment s...
null
Kong__kubernetes-ingress-controller__6420
Kong/kubernetes-ingress-controller
6,420
defect
9cd31f7180bc21ea542d7482844f98fb0497c787
c98630b0cd166fdecead8e188f38a1e82fcc1a9c
feat(konnect): log trace id in Konnect API responses
**What this PR does / why we need it**: Instruments HTTP clients used for communication with Konnect APIs (license, nodes, Admin API) so that returned tracing data is logged, enabling correlating customer-reported logs with traces and logs in DataDog. **Which issue this PR fixes**: Part of https://github.com/...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8be3ff46af..bd83573abd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -128,6 +128,11 @@ Adding a new version? You'll need three changes: record duration of translating Kubernetes resources to Kong state in normal state and fallback mode. [#6366](https://github.co...
3
3
2
[{"id": "G0", "claim": "The code replacing dashes in header names to build log keys warrants an explanatory comment.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Setting the Doer on the caller's kong.Client inside NewKonnectClient mutates the ca...
null
Kong__kubernetes-ingress-controller__6421
Kong/kubernetes-ingress-controller
6,421
defect
6137e6f87201b25e9f1081561af980bc5eb370b3
d81d8c85db23d2c201b22b92405adb5b73c139af
Fix(controller): Stop reconcilication if KongUpstreamPolicy not referred in reconciled Ingress/HTTPRoute
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md#the-pull-request-submit-process and developer guide https://github.com/kubernetes/community/blob...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 37acfb55eb..052e3e103a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -151,6 +151,11 @@ Adding a new version? You'll need three changes: - Generate one entity for each attached foreign entity if a `KongCustomEntity` resource is attached to multiple foreign Kong entiti...
7
7
2
[{"id": "G0", "claim": "Add a predicate to the new Ingress watch so Ingresses not reconciled by the current controller are filtered out, narrowing the amount of objects to be reconciled as early as possible.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
Kong__kubernetes-ingress-controller__6434
Kong/kubernetes-ingress-controller
6,434
defect
5b7b20c522cd5901738f0173006c5c71f850eee8
baf8db6579c9af761e4288273240318077c856e2
Feat(gateway discovery): Add config for gateway readiness check intervals and timeouts
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md#the-pull-request-submit-process and developer guide https://github.com/kubernetes/community/blob/mas...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 98abc2afa9..37acfb55eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -135,6 +135,13 @@ Adding a new version? You'll need three changes: Error level to enable correlating Konnect-side logs and traces with customer-side KIC logs. Successful responses are logged with ...
2
2
1
[{"id": "G0", "claim": "The gateway discovery readiness reconciliation interval should have a minimum value (pmalek suggests about 3s) enforced by validation.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The exported constant DefaultReadinessCheck...
null
Kong__kubernetes-ingress-controller__6644
Kong/kubernetes-ingress-controller
6,644
defect
a8db2aa2afeded6654f5ed83a170f8d0816051e4
6bc1d3179bac3f2301b5656b2311cd3752b2cb14
refactor: use plugin annotation types from kubernetes-configuration
**What this PR does / why we need it**: This PR uses functions that interact with objects' plugin annotations from https://github.com/Kong/kubernetes-configuration/pull/144. ~Some of those introduce the usage of iterators using the [`iter` package](https://pkg.go.dev/iter) to prevent unnecessary allocations.~ ...
diff --git a/go.mod b/go.mod index 8de1d375db..74047faf2d 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/kong/kubernetes-ingress-controller/v3 -go 1.23 - -toolchain go1.23.2 +go 1.23.2 // TODO: this is disabled by FOSSA action doesn't support go 1.21's toolchain clause: // @@ -68,6 +66,8 @@ r...
2
2
0
[{"id": "G0", "claim": "The added GetAnnotations and GetNamespace methods on KongConsumer are redundant because the embedded metav1.ObjectMeta already provides them.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added GetAnnotations and Get...
null
Kong__kubernetes-ingress-controller__6665
Kong/kubernetes-ingress-controller
6,665
defect
a8db2aa2afeded6654f5ed83a170f8d0816051e4
c34cefc5eeb20a1ccdf16b4e3173c9c910358ecd
fix: fix panic when handling KongConsumer without username
**What this PR does / why we need it**: Fix handling `KongConsumer` without `username` specified. Currently we allow to [set just the `custom_id` on the consumer](https://github.com/Kong/kubernetes-ingress-controller/blob/5bcd583300191c5b36daf18c32d22fae0c58d0c4/pkg/apis/configuration/v1/kongconsumer_types.go#L32) (...
diff --git a/CHANGELOG.md b/CHANGELOG.md index b16223afef9..46c44c6db37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -113,6 +113,8 @@ Adding a new version? You'll need three changes: [#6626](https://github.com/Kong/kubernetes-ingress-controller/pull/6626) - Fix panic in `KongUpstreamPolicyReconciler` when using ...
4
3
0
[{"id": "G0", "claim": "The switch handling the three strings.Compare outcomes in Less need not act differently for its three cases and could be simplified to a single `<=`-style comparison.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A comment...
null
Kong__kubernetes-ingress-controller__6673
Kong/kubernetes-ingress-controller
6,673
defect
5c29229e7343e479d7788b981d5cd333c19980f3
26427b140595fa064c8a7a55e8b85b8ed5eb6e39
chore: add more logs data when unparsable Gateway API error is received
**What this PR does / why we need it**: This makes the `Entity tags missing fields {"name": "", "error": "no name"}` errors, have a bit more context so that they are actually helpful in debugging: ``` 2024-11-14T16:37:44+01:00 error Entity tags returned in error API error from gateway is missing fields, Kubernet...
diff --git a/internal/dataplane/deckgen/deckgen.go b/internal/dataplane/deckgen/deckgen.go index cdadb69bd35..38e02bd7277 100644 --- a/internal/dataplane/deckgen/deckgen.go +++ b/internal/dataplane/deckgen/deckgen.go @@ -52,12 +52,11 @@ func getCertsSNIs(kongCert kong.Certificate) []kong.SNI { for _, sni := range kon...
2
2
0
[{"id": "G0", "claim": "The tag-prefix if-chain in parseRawResourceError could be turned into a switch statement.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The error log message for unparsable entity tags should read \"API error returned ...
null
Kong__kubernetes-ingress-controller__6759
Kong/kubernetes-ingress-controller
6,759
defect
fbfdbeb0f0e8d7d184f5e1d298cee6c0159e188b
49985bcbba243803e4a63e9fa37dca419e47f2bd
feat(HTTPRoute): propagate to Kong tag `k8s-named-route-rule`
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md#the-pull-request-submit-process and developer guide https://github.com/kubernetes/community/blob/mas...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6002aecf7b4..a814534755b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -199,6 +199,10 @@ Adding a new version? You'll need three changes: where `<hash>` is the hash result of the calculated name, like `httproute.default.svc.default.a-long-long-long-service-name.80_...
1
1
0
[{"id": "G0", "claim": "The PR should use multiple tags starting with `k8s-named-route-rule` (one per named rule, carrying the rule name) instead of a single joined tag, since that makes backward searching from the rule name easier.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
Kong__kubernetes-ingress-controller__6762
Kong/kubernetes-ingress-controller
6,762
defect
d9241d87f49faaf49fe4553492059efe453e825e
281a6cd303b3eb3a2e2f8852f62f14e1fdf543c8
fix: fix ExtensionRef plugins for HTTPRoutes
**What this PR does / why we need it**: Fixes an issue when declaring an `ExtensionRef` plugin on `HTTPRoute`. **Which issue this PR fixes**: Fixes #6761 **Special notes for your reviewer**: Open to suggestions how to test this one further. **PR Readiness Checklist**: Complete these before marking ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6002aecf7b4..36a59380a9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -161,6 +161,13 @@ Adding a new version? You'll need three changes: point to a `Gateway` as they can point to other kinds of resources like `Service` when used in service mesh solutions. [#669...
2
2
0
[{"id": "G0", "claim": "The new builder API NewHTTPRouteExtensionRefFilter/WithExtensionRef is nowhere used in the pull request (dead code), unless the reviewer is missing something.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment add...
null
Kong__kubernetes-ingress-controller__6786
Kong/kubernetes-ingress-controller
6,786
defect
76062fc05245dfcfa5c3bf7275de4cab21ab4e65
c1b9f2d7875067fde7860b076335957a80fe6fac
ci: fix assigning duplicated instance names to plugins bound to different entity types (e.g. route and consumer group)
**What this PR does / why we need it**: #4588 introduced assigning instance names to plugins and handling collisions in generates names. This missed the fact that plugins can be bound to multiple entities, e.g. routes **and** consumer groups. This PR fixes it. **Which issue this PR fixes**: <!-- Here yo...
diff --git a/CHANGELOG.md b/CHANGELOG.md index f42cb9fd0e..7c4dfb5f46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -168,6 +168,11 @@ Adding a new version? You'll need three changes: - Fixed an issue where `KongPlugin` used as `HTTPRoute`'s `ExtensionRef` filter would produce an invalid configuration. [#6762](...
1
1
0
[{"id": "G0", "claim": "Replace the string-concatenation accumulator with a bytes.Buffer: declare `var toHash bytes.Buffer`, append with `toHash.WriteString(...)` instead of `toHash += ...`, and hash with `sha256.Sum256(toHash.Bytes())` instead of `sha256.Sum256([]byte(toHash))`, since that should be more performant (t...
null
Kong__kubernetes-ingress-controller__6802
Kong/kubernetes-ingress-controller
6,802
defect
d9111427d0614904a304fd844135fdbd43423b53
3a2c6bb226bc117daa30f6b975405d41e4db5999
feat(custom_entity): introduce schema validation
**What this PR does / why we need it**: Currently users cannot rely KIC for their custom entities schema validation. This PR introduces feature. When an invalid custom entity is created e.g. : ``` apiVersion: configuration.konghq.com/v1 kind: KongPlugin metadata: namespace: default name: degraphql-...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 082d09581f3..e8983d328fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -228,7 +228,9 @@ Adding a new version? You'll need three changes: By setting this flag, the secrets that are ingested will be limited to those having this label set to "true". This can reduce th...
2
2
0
[{"id": "G0", "claim": "The behavior of excluding custom entities that fail schema validation — which leaves them missing from fallback/last-known-good config — should be documented well and an issue created to track it.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"...
null
Kong__kubernetes-ingress-controller__6841
Kong/kubernetes-ingress-controller
6,841
defect
425d3ef39a411fea73bd9c3b61a726d7254578a5
5dedf7c50051ec9206244faa6fddf56e35224b26
feat(KongPlugin): generate K8s Events for missing grant
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md#the-pull-request-submit-process and developer guide https://github.com/kubernetes/community/blob/mas...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b8d8de6b7c..223d52a1b18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -133,10 +133,11 @@ Adding a new version? You'll need three changes: any needed information is reported in the status of the affected object or with Kubernetes events. [#6790](https://github.c...
1
1
0
[{"id": "G0", "claim": "BenchmarkGetPluginRelations should pass the resource failure collector into getPluginRelations (rather than nil), since even an unused collector would help test getPluginRelations more comprehensively.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Kong__kubernetes-ingress-controller__7071
Kong/kubernetes-ingress-controller
7,071
defect
a1d045b85d12b9020977380309cd2d6ece2082db
4b2721bf2e55493c996c67cd35f02cee5d763992
chore: decouple health/readiness server from manager
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md#the-pull-request-submit-process and developer guide https://github.com/kubernetes/community/blob/mas...
diff --git a/internal/cmd/rootcmd/run.go b/internal/cmd/rootcmd/run.go index 6910d799792..fe2a7fb673c 100644 --- a/internal/cmd/rootcmd/run.go +++ b/internal/cmd/rootcmd/run.go @@ -7,8 +7,10 @@ import ( "os/signal" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/healthz" "github.co...
7
4
1
[{"id": "G0", "claim": "The New constructor in internal/manager/run.go should be moved so it is the first function after the Manager struct definition.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "StopAnonymousReports should not be exposed as ...
null
Kong__kubernetes-ingress-controller__7092
Kong/kubernetes-ingress-controller
7,092
defect
c9e6ea51c313a5f56d549d45108ab0aaa3fb373a
f37d74a095734cf90ce6f05c0538422617caa2c3
feat: allow dynamically exposing diagnostics for multiple instances
**What this PR does / why we need it**: Adds `multiinstace.DiagnosticsServer` and integrates it with `multiinstace.Manager` to register/unregister currently running instances and expose their config diagnostics data on `/{instanceID}/debug/config` endpoints. <!-- Please describe why this particular PR is necessar...
diff --git a/internal/manager/run.go b/internal/manager/run.go index df6292c827..ce2adf4119 100644 --- a/internal/manager/run.go +++ b/internal/manager/run.go @@ -60,6 +60,7 @@ type Manager struct { diagnosticsServer mo.Option[diagnostics.Server] stopAnonymousReports func() diagnosticsCollector mo.Option[*diag...
8
5
0
[{"id": "G0", "claim": "The DiagnosticsServer struct fields should be reordered so that `muxLock` is declared directly above the `mux` it guards, following the 'mutex hat' convention.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A dedicated en...
null
Kong__kubernetes-ingress-controller__7310
Kong/kubernetes-ingress-controller
7,310
defect
3ee8809fdf8dc419c0852772fa206f9cbedf9959
e6237e9ea373f59238922e3487c7e86854097772
chore: re-enable metrics envtest
**What this PR does / why we need it**: Refactor the `TestMetricsAreServed` envtest so it's stable. Make sure there are timeouts set to avoid hanging on HTTP requests. Stability tested with `GOTESTFLAGS="-count=200 -run=TestMetricsAreServed -timeout=3h" make test.envtest`. **Which issue this PR fixes**: Fi...
diff --git a/test/envtest/metrics_envtest_test.go b/test/envtest/metrics_envtest_test.go index b5a34cda3d..8023a83b35 100644 --- a/test/envtest/metrics_envtest_test.go +++ b/test/envtest/metrics_envtest_test.go @@ -3,16 +3,16 @@ package envtest import ( - "context" "fmt" + "io" "net/http" "testing" "time" ...
1
1
0
[{"id": "G0", "claim": "An opt func such as WithFeatureGate(managercfg.FallbackConfigurationFeature, true) could be added instead of passing an inline closure to set feature gates.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Kong__kubernetes-ingress-controller__7446
Kong/kubernetes-ingress-controller
7,446
defect
72926b1f6506663b006291e2f1750c2c67aeaa63
c3388ef9c29d4a15026d7a17fd02d4c828dbc355
Fix(sendconfig): Keep ID of existing plugins
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md#the-pull-request-submit-process and developer guide https://github.com/kubernetes/community/blob/mas...
diff --git a/CHANGELOG.md b/CHANGELOG.md index e186d0fcf4..38bfa1ce2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -105,6 +105,16 @@ Adding a new version? You'll need three changes: - [0.0.5](#005) - [0.0.4 and prior](#004-and-prior) + ## Unreleased + + ### Fixed + + - Keep the plugin's ID unchanged if there i...
3
3
1
[{"id": "G0", "claim": "The refillPluginIDs loop should return err (and log) when the delete-and-reinsert of a plugin fails, instead of silently continuing.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A debug log should be added at the point wher...
null
Kong__kubernetes-ingress-controller__7535
Kong/kubernetes-ingress-controller
7,535
defect
6a1ec04e16a0bd138fb9abfe9a214f67a4fc2260
44afd37725a32d4627209e2aef705bfc6355b47b
feat: store multiinstance config hash
**What this PR does / why we need it**: Required for This allows the `ControlPlane` controller to store and inspect manager's config hash when `ControlPlane` reconciliation is triggered to check whether re-scheduling of an instance is required. **Which issue this PR fixes**: <!-- Here you can add any link...
diff --git a/go.mod b/go.mod index 7854901746..062363f167 100644 --- a/go.mod +++ b/go.mod @@ -21,6 +21,7 @@ require ( github.com/Masterminds/sprig/v3 v3.3.0 github.com/avast/retry-go/v4 v4.6.1 github.com/blang/semver/v4 v4.0.0 + github.com/cnf/structhash v0.0.0-20250313080605-df4c6cc74a9a github.com/dominikbra...
2
2
0
[{"id": "G0", "claim": "The comment in Hash says \"Use hashstructure\" although the code uses the structhash library, so the comment should say \"Use structhash\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Hash should return structhash.Hash(c...
null
Kong__kubernetes-ingress-controller__7583
Kong/kubernetes-ingress-controller
7,583
defect
dcb3ad4ac6609895ca7007d0479000c66d11f326
e163b99713f8a1b0f132736aac653e5bfc3a527b
fix: fix KongUpstreamPolicy hash on translation
**What this PR does / why we need it**: Fix `KongUpstreamPolicy` hash on translation. Currently when users specify cookie as hash fallback the rules are not translated correctly due to peculiar field usage in kong upstream (and `KongUpstreamHash`): cookie and cookie path is used both for hash_on and hash_fallback...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 99638dfcb7..6528659db0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -149,7 +149,7 @@ Adding a new version? You'll need three changes: ### Fixed -- When synchronization of license with Konnect is enabled +- When synchronization of license with Konnect is enabled ...
1
1
0
[{"id": "G0", "claim": "Add a valid test case for hash_fallback, e.g. hash_on set to uri_capture and hash_fallback set to header.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Kong__kubernetes-ingress-controller__7648
Kong/kubernetes-ingress-controller
7,648
defect
a278f8c32c5cf0b29b2bc724968ecd3495341d42
7a0292807172181d551fc2df9c2ae524ff338a7b
fix(konnect): Use correct label value of secret to store license
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md#the-pull-request-submit-process and developer guide https://github.com/kubernetes/community/blob/mas...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0381af5a03..9aa07658f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -111,6 +111,14 @@ Adding a new version? You'll need three changes: - [0.0.5](#005) - [0.0.4 and prior](#004-and-prior) +## Unreleased + +### Fixed + +- Fix the issue that invalid label value causing...
2
2
1
[{"id": "G0", "claim": "Fix the typo in the ManagedByLabelValueIngressController comment ('managed byu KIC' should read 'managed by KIC').", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The PR should add a test for storing the retrieved license ...
null
Kong__terraform-provider-konnect__421
Kong/terraform-provider-konnect
421
defect
35757e9d7d52c5055cac318a8a210f4f397c6e61
c0dadbf81e00da3dc68658e5070d0b494605a356
Fix/konnect target drift
### Summary ### Issues resolved - https://github.com/Kong/terraform-provider-konnect/issues/400 ### Related PRs on platform-api (if any) - ### Checklist ✅ - [x] Clean commit history (reset to the current release (`release/x.y.z`) and `git cherry-pick` if necessary) - [ ] Added/updated examples (if applica...
diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 3c1e8de4d..3ea04573c 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,16 +1,16 @@ lockVersion: 2.0.0 id: 9d20c53e-7836-4ea8-88b8-a75fb7dce3a2 management: - docChecksum: fc590aa88300c3a719dbced8a0c21e15 + docChecksum: e80d5d9574e15b6bf29be...
1
1
0
[{"id": "G0", "claim": "The \"Gateway Target - Consecutive Apply Without Changes\" subtest is not required because the first test already recreates the scenario, so it should be removed.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Kong__unirest-java__350
Kong/unirest-java
350
defect
96c2e8f473520e9acb2799ce30916a47812582e0
e4ce9c50d8578cc765bbbec3c6489e4d5fa5781c
Parsing error occurs when POST response is empty gzip content type
Fixes https://github.com/Kong/unirest-java/issues/349
diff --git a/unirest/src/main/java/kong/unirest/apache/ApacheResponse.java b/unirest/src/main/java/kong/unirest/apache/ApacheResponse.java index 25a9cf94f..149b0d3dd 100644 --- a/unirest/src/main/java/kong/unirest/apache/ApacheResponse.java +++ b/unirest/src/main/java/kong/unirest/apache/ApacheResponse.java @@ -81,10 +...
2
2
1
[{"id": "G0", "claim": "Buffering the response with getBytes() consumes the entire InputStream, which would be a problem for large chunked payloads; better to leverage available() on the original InputStream.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cl...
null
Kong__unirest-java__364
Kong/unirest-java
364
defect
5127ba807f9f02b8bbca789d6d016d8662b6c799
d5568e83ae6e3a036f5aeee823db0af93258104f
Test improvement: removed Magic Number test smell
This is a test refactoring Problem: The Magic Number Test occurs when assert() statements in a test method contain numeric literals (i.e., magic numbers) as parameters. Solution: As magic numbers do not indicate the meaning/purpose of the number, they should be replaced with constants or variables, thereby prov...
diff --git a/unirest/src/test/java/BehaviorTests/AsJsonTest.java b/unirest/src/test/java/BehaviorTests/AsJsonTest.java index 0532a2c39..716ea33a9 100644 --- a/unirest/src/test/java/BehaviorTests/AsJsonTest.java +++ b/unirest/src/test/java/BehaviorTests/AsJsonTest.java @@ -37,11 +37,14 @@ public class AsJsonTest exte...
1
1
0
[{"id": "G0", "claim": "Instead of adding test-local constants that redundantly label well-known codes like 200 and 400, the PR should add a production HttpStatus constant class listing ALL of the HTTP status codes (like jetty's org.eclipse.jetty.http.HttpStatus).", "category": "design", "verdict": "supported", "priori...
null
KouShenhai__KCloud-Platform-IoT__5046
KouShenhai/KCloud-Platform-IoT
5,046
defect
a872089bc4f07d2ce9c6f811842b5540a58b700f
de589198cc2fd57eff75b61df232c6b629ff7d0c
Dev
### **PR Type** Enhancement ___ ### **Description** - Rename `CollectionUtils` to `CollectionExtUtils` extending Spring's utility - Replace `@Nullable` and `@NotNull` annotations with `@NonNull` from jspecify - Remove unnecessary `assert` statements and null checks - Change application class visibility from `publ...
diff --git a/laokou-cloud/laokou-gateway/src/main/java/org/laokou/gateway/GatewayApp.java b/laokou-cloud/laokou-gateway/src/main/java/org/laokou/gateway/GatewayApp.java index 91f47b4902..c7b0451f00 100644 --- a/laokou-cloud/laokou-gateway/src/main/java/org/laokou/gateway/GatewayApp.java +++ b/laokou-cloud/laokou-gatewa...
8
2
1
[{"id": "G0", "claim": "The new serialize(Object) and deserialize(byte[]) methods no longer accept null (the null checks and @Nullable returns were removed), so calling them with null may throw a NullPointerException, causing unexpected crashes or denial of service when inputs are not validated.", "category": "correctn...
null
KouShenhai__KCloud-Platform-IoT__5143
KouShenhai/KCloud-Platform-IoT
5,143
defect
06bbfa230a33207327996c6ec2f0bea84d536bed
96fedffe2a0fec4cbcc7a54eef3e4cac13c9e765
test: 优化测试用例
### **PR Type** Tests, Enhancement ___ ### **Description** - Improved Windows OS detection using `contains()` instead of `equalsIgnoreCase()` - Enhanced `CmdUtilsTest` with platform-specific test cases for Windows and Unix - Fixed dependency management: replaced `wiremock` with `wiremock-standalone` - Updated tes...
diff --git a/laokou-common/laokou-common-core/src/main/java/org/laokou/common/core/util/SystemUtils.java b/laokou-common/laokou-common-core/src/main/java/org/laokou/common/core/util/SystemUtils.java index b5753f71dd..d0fca7690e 100644 --- a/laokou-common/laokou-common-core/src/main/java/org/laokou/common/core/util/Syst...
4
3
3
[{"id": "G0", "claim": "SystemUtils.isWindows() now relies on a case-sensitive contains(\"Windows\"), which may be fragile across locales/OS strings and may NPE when os.name is null; it should normalize case (e.g. toLowerCase(...).contains(\"windows\")).", "category": "correctness", "verdict": "supported", "priority": ...
null
KouShenhai__KCloud-Platform-IoT__5188
KouShenhai/KCloud-Platform-IoT
5,188
defect
0c6701c5ce71510bdc382e1b5a89dc1182607b23
f36bfa5bce506d7966ec2874721795c69692bcbd
Dev
### **PR Type** Enhancement, Tests ___ ### **Description** - Reorganize Spring utility classes from `common.core` to `common.i18n` package - Convert `UserExtDetails` to Spring IoC bean with `@Entity` annotation - Replace direct object instantiation with `SpringContextUtils.getBeanProvider()` calls - Refactor `Use...
diff --git a/laokou-cloud/laokou-gateway/src/main/java/org/laokou/gateway/filter/AuthFilter.java b/laokou-cloud/laokou-gateway/src/main/java/org/laokou/gateway/filter/AuthFilter.java index 0800ac3a9d..d2fa403313 100644 --- a/laokou-cloud/laokou-gateway/src/main/java/org/laokou/gateway/filter/AuthFilter.java +++ b/laoko...
7
4
4
[{"id": "G0", "claim": "Obtaining UserExtDetails via SpringContextUtils.getBeanProvider and mutating it through toUserDetail(...) introduces a shared mutable singleton for per-request user state that is not thread-safe; return a new instance (prototype scope or a factory) instead of reusing one bean.", "category": "sec...
null
KouShenhai__KCloud-Platform-IoT__5216
KouShenhai/KCloud-Platform-IoT
5,216
defect
b0c05ea7f6b21d7e6198a10f915940175bdb1e1d
d54eba1cbbc7c9b427b748d0d405e1eb9131eeaa
Dev
### **PR Type** Enhancement, Bug fix ___ ### **Description** - Refactored context module with builder pattern and single responsibility principle - Added `@Builder` annotation to `User` record for immutable construction - Moved `password` field to `User` record and reordered parameters - Removed `Principal` in...
diff --git a/README.adoc b/README.adoc index def31db78f..d12d406da1 100644 --- a/README.adoc +++ b/README.adoc @@ -160,7 +160,7 @@ image::doc/image/老寇IoT云平台业务架构图.png[架构图,align=center] |Nacos |3.1.0 |gRPC |1.77.0 |Redis |8.0.1 -|Elasticsearch ...
9
4
4
[{"id": "G0", "claim": "User's Authentication accessors — notably getCredentials() — now return the username instead of null or the credential, which is semantically misleading, breaks the Authentication contract, and risks the username being treated or logged as a credential; getCredentials() should return the passwor...
null
Kozea__Flask-WeasyPrint__36
Kozea/Flask-WeasyPrint
36
defect
580e83d1a4d3ca2e51af417c5479acf9d7b80a60
92892d97af29ef491d9d16e651be406de08189fc
Use new WeasyPrint URL fetcher
This comes with a few minor changes: - `make_url_fetcher`’s `next_fetcher` should now be a `URLFetcher`, - bytestring URLs are now forbidden, - the fetcher’s response is a `URLFetcherResponse`, - drop Python 3.10 support, as 308 redirects used by recent versions of Flask are supported in 3.11+.
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..1e3a698 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,42 @@ +name: Release new version +on: + push: + tags: + - v* + +jobs: + pypi-publish: + name: Upload release to PyPI + runs-...
1
1
0
[{"id": "G0", "claim": "README.rst should say supported Python is 3.11+ instead of the 3.10+ this pull request wrote.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Kozea__Radicale__1337
Kozea/Radicale
1,337
defect
6b34323c1e451957213dfc6ed0d748ab3acc542b
d6c0a05771b6d91bf8625235200a78a116ea15a4
Add basic free/busy reporting
As per #34, I added basic free/busy reporting. Other changes include: * Using icalendar's `tzinfo` on created `datetime` fix issue with `icalendar` * Added `max_freebusy_occurrences` setting to avoid potential DOS on reports * Refactored some date parsing code
diff --git a/CHANGELOG.md b/CHANGELOG.md index 38ffafa3e..b6ae0ad9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -53,6 +53,17 @@ * Dependency: limit typegard version < 3 * General: code cosmetics +## 3.2.0.a2 + +* Fix for free-busy `fbtype` statuses + +## 3.2.0.a1 + +* Added free-busy report +* Using icalendar's...
3
3
1
[{"id": "G0", "claim": "Aggregate the pull request's changelog entries into one section and shift them to the top of CHANGELOG.md.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Do not override setup.py's VERSION in this pull request (leave the ve...
null
Kozea__Radicale__1829
Kozea/Radicale
1,829
defect
439f3024d5fb69b4183e4790e0828b1542c2423d
edf1965c309e1e12cea334a3e600bd43470c6e7d
Improve email notification hook by determining event update type
Adding to #1808 , this PR introduces additional logic that will determine what type of change was made to an event that triggered the hook, and send out notifications accordingly. - Event created -> All associated attendees are notified that they were added to an event. - Some attendees added to existing event -> N...
diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index d00cd01a4..51bc0b945 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -1618,11 +1618,11 @@ When enabled, send one email to all attendee email addresses. When disabled, sen Default: `False` -##### added_template +##### new_or_added_to_event_template _...
5
5
3
[{"id": "G0", "claim": "The extra indentation applied to the child_context_manager parameter's continuation line in discover() is not required and can be reverted.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test cases for the email hooks should be...
null
Kozea__Radicale__1948
Kozea/Radicale
1,948
defect
a7350af005d293be44b6a01c476720f02b3a86cd
f86a15c8ea325a05c3fc278df54f8a88501b2164
Add CardDAV supported-address-data, update vCards to 4.0
Note: This support needs an updated version vobject, in which I've added support for vCard 4.0. This would require a change such as the following, locally, until that change is accepted and released: ```diff diff --git i/pyproject.toml w/pyproject.toml index 847f6fd6..e700e113 100644 --- i/pyproject.toml +++ w/p...
diff --git a/radicale/app/propfind.py b/radicale/app/propfind.py index 3976af91e..62af29492 100644 --- a/radicale/app/propfind.py +++ b/radicale/app/propfind.py @@ -26,7 +26,8 @@ from http import client from typing import Dict, Iterable, Iterator, List, Optional, Sequence, Tuple -from radicale import httputils, pat...
6
6
3
[{"id": "G0", "claim": "Offer vCard 4.0 in the supported-address-data output only conditionally, when the installed vobject version is >= 1.0.0 (assumed).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Duplicate the static vCard test fixtures for ve...
null
Kozea__Radicale__2014
Kozea/Radicale
2,014
defect
aba14178a2b330ec80b38bcc59ea1afc86c3063c
111a544f5733aca69f3138446878c0d7743f49ae
Misc improvements to UI
* Add github workflow which actually runs the integ tests * DeleteCollectionScene: Fix JS linter errors * Add confirmation on use of delete button * Fix: Show only tokens in share by token list
diff --git a/.github/workflows/integ_test.yml b/.github/workflows/integ_test.yml new file mode 100644 index 000000000..48d788d68 --- /dev/null +++ b/.github/workflows/integ_test.yml @@ -0,0 +1,27 @@ +name: Integration Tests +on: [push, pull_request] + +jobs: + integ-test: + timeout-minutes: 60 + runs-on: ubuntu-...
2
1
0
[{"id": "G0", "claim": "The maintainer suggests it would be better to merge the new integ_test.yml workflow into the existing test.yml so that a `needs` dependency can make integration tests start only after the test-ubuntu-python-newest job has successfully passed.", "category": "design", "verdict": "supported", "prio...
null
Kozea__Radicale__2089
Kozea/Radicale
2,089
defect
c13f2734f20a21935869190178a18396cc321c53
108860fc51104cc33bc6e1c8285ddfa239de4781
deal with bcrypt>=5 72 chars limit for libpass+passlib
This introduces truncation on the side of radicale when an overlong password is provided. It also add a testcase which shows that a password with 72+ chars will (and has with bcrypt < 5) result in the same hash a 72 chars. This makes sure bcrypt in fact just truncated before and it is fine to do so. On top are a few...
diff --git a/radicale/tests/test_auth.py b/radicale/tests/test_auth.py index d75e98685..ac76cbfe7 100644 --- a/radicale/tests/test_auth.py +++ b/radicale/tests/test_auth.py @@ -42,6 +42,8 @@ class TestBaseAuthRequests(BaseTest): """ + BCRYPT_MAX_PWLEN = 72 + # test for available bcrypt module try:...
2
2
1
[{"id": "G0", "claim": "Just to be extra-sure, add another test that exercises not just checkpw but also bcrypt hashpw behaviour around the 72-character limit.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The constant 72 in the tests should not be a m...
null
Kozea__WeasyPrint__1141
Kozea/WeasyPrint
1,141
defect
27c600f18f025d8a7bffb4e5e0f861014881198e
43a37fe4ff0d61bf1a0a516d5ed0ee0c502d64ba
Dont clip page margins on account of body overflow
If we want the `viewport_overflow` restriction being applied to the `<BlockBox html>` only, the instructions for `draw_stacking_context()` are: 1. never clip when a PageBox is rendered 2. do the clip when drawing a `<BlockBox html>` whose page's overflow isn't `visible` Good thing is: We can rely upon the `wit...
diff --git a/weasyprint/draw.py b/weasyprint/draw.py index 94484143e7..9c57f8d219 100644 --- a/weasyprint/draw.py +++ b/weasyprint/draw.py @@ -184,6 +184,15 @@ def draw_stacking_context(context, stacking_context, enable_hinting): # See http://www.w3.org/TR/CSS2/zindex.html with stacked(context): box ...
2
2
1
[{"id": "G0", "claim": "The pull request's change to overflow clipping is untested and the author asks how a unit test for it would look, e.g. checking pixels of a write_png output.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new viewport-overflo...
null
KumoCorp__kumomta__391
KumoCorp/kumomta
391
defect
a8157812de28d7f8816fb42fd6103f4482c645ee
5aa757755fdc5cfba5e767181491ae1744f077c7
Adding support for presenting Client cert as part of make_egress_path
Adding an option for presenting client side certificate during delivery to next hop MTA. Parameter has been added to support both openssl and rustls. If supplied cert/key is invalid or options are missing, it'll default to not presenting any client side cert. The input parameter supports KeySource struct, so using V...
diff --git a/Cargo.toml b/Cargo.toml index d65328c2c3..0d60fae75b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -156,6 +156,7 @@ ring = "0.17" rmp-serde = "1.3.0" rocksdb = {version="0.22", features=["jemalloc"]} rustls = "0.23" +rustls-pemfile = "2.2.0" rustls-platform-verifier = "0.5" scopeguard = "1.2" self_cell...
12
12
7
[{"id": "G0", "claim": "The CLIENT_CERT cache should use a name specific to this module, wrap the certificate data in Arc<Box<[u8]>> to avoid extraneous copies, and store Result<Option<...>, String> so that KeySource errors are negatively cached instead of being reloaded and reparsed repeatedly.", "category": "design",...
null
KumoCorp__kumomta__394
KumoCorp/kumomta
394
defect
33f1a98e72e07ad1ac787545ab10181db253e290
7adf3fc8427305ff03e41bfe306b8eb2eaf50a9e
add support for compressing http body
Compressing the body on HTTP injections can significantly save on bandwidth. It helps lower cross AZ bandwidth charged in AWS for example. I'll note that is my first time contribution in rust. I'm open to any changes or feedback there is. Thanks!
diff --git a/Cargo.lock b/Cargo.lock index 8a068f10b5..d25d1a77c5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -39,6 +39,21 @@ dependencies = [ "memchr", ] +[[package]] +name = "alloc-no-stdlib" +version = "2.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc7bb162ec39d46ab1ca8c7...
3
3
1
[{"id": "G0", "claim": "The PR's tower-http dependency configuration pulls in unused deps (kumod enables the broad \"decompression-full\" feature set) and should probably be simplified to only the features actually needed, e.g. enabling just gzip/deflate.", "category": "maintainability", "verdict": "supported", "priori...
null
KumoCorp__kumomta__440
KumoCorp/kumomta
440
defect
0e82d3eda7bbafc78d54695aada56405ed469b3e
3d755b02e7476a6ee623e05e16f1d4a7570cccbe
Add support for proxy protocol
Add support for proxy protocol. If proxy protocol is enable, the header is parsed and ips in meta are updated accordingly.
diff --git a/crates/kumod/src/smtp_server.rs b/crates/kumod/src/smtp_server.rs index 7000e97287..097f4b9d9f 100644 --- a/crates/kumod/src/smtp_server.rs +++ b/crates/kumod/src/smtp_server.rs @@ -28,6 +28,7 @@ use mlua::prelude::LuaUserData; use mlua::{FromLuaMulti, IntoLuaMulti, LuaSerdeExt, UserData, UserDataMethods}...
9
9
5
[{"id": "G0", "claim": "The proxy protocol processing should be moved to happen after the spool_started check so that material incoming connection processing is not attempted before the server is ready.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null
KumoCorp__kumomta__496
KumoCorp/kumomta
496
defect
44273ed1d151048bd527e56afe1775c67be70f13
bd56411dcc8e509b80ec835627aa6ab1568fe71c
load intermediate cert
"X509::from_pem" doesn't load the intermediate certificate in the provided file. This causes only the leaf cert to be presented. Make sure other certificates present in the pem file are also loaded. updated tls_client_certificate.rs to generate and supply intermediate cert in it's test to confirm the delivery of th...
diff --git a/crates/kumo-tls-helper/src/lib.rs b/crates/kumo-tls-helper/src/lib.rs index 3f36eb48d2..2560c15917 100644 --- a/crates/kumo-tls-helper/src/lib.rs +++ b/crates/kumo-tls-helper/src/lib.rs @@ -261,8 +261,14 @@ impl TlsOptions { if let (Some(cert_data), Some(key_data)) = (&self.certificat...
2
2
1
[{"id": "G0", "claim": "Revert the rustfmt-only re-export formatting changes in crates/lruttl/src/lib.rs and crates/rfc5321/src/client.rs because they are not really part of this PR.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "certs[0].clone(...
null
Kuper-Tech__protokaf__10
Kuper-Tech/protokaf
10
defect
5f1d902b964ac2bb6971df14493a31b7da2173b9
6d934683891c7234d508f7ed095cb7459f900da6
add ability to specify offsets for consumer
Related to https://github.com/SberMarket-Tech/protokaf/issues/9 This pull request will allow for doing such things: ``` $ protokaf consume HelloRequest -G mygroup -t test -o 5 (which means "read topic from 5 offset") ```
diff --git a/README.md b/README.md index 0fe4d96..da5f4bd 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,11 @@ $ protokaf consume HelloRequest -G mygroup -t test $ protokaf consume HelloRequest -G mygroup -t test -c 10 ``` +**Read from offset `5` messages from `test` topic** +```sh +$ protokaf consume HelloR...
1
1
0
[{"id": "G0", "claim": "The offset flag's usage string contains a typo: an extra closing parenthesis after \"newest\"; it should read \"Start consuming from this offset (default: newest)\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
KusionStack__kuperator__134
KusionStack/kuperator
134
defect
29ff994d736e01eb9be2cd95ce7a2536ef13a88e
7fda39bccce7b5cc1bfaacfbdca0c5bda3ed2601
feat(webhook): add garcedelete webhook for PodOpsLifecycle
<!-- Thank you for contributing to KusionStack! Note: 1. With pull requests: - Open your pull request against "main" - Your pull request should have no more than two commits, if not you should squash them. - It should pass all tests in the available continuous integration systems such as GitHub ...
diff --git a/go.mod b/go.mod index d443f3ff..7ed2dde3 100644 --- a/go.mod +++ b/go.mod @@ -92,6 +92,7 @@ require ( k8s.io/apiextensions-apiserver v0.28.3 // indirect k8s.io/apiserver v0.22.6 // indirect k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect + k8s.io/kubectl v0.29.0 kusionstack.io/ku...
3
3
2
[{"id": "G0", "claim": "Reuse the existing `delete` adapter instead of the new GraceDeleteOpsLifecycleAdapter, since grace-delete can share the same lifecycle progress with delete.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Move gracedelete into the ...
null
KusionStack__kuperator__146
KusionStack/kuperator
146
defect
08cd56779ba7dfc079c2039e0e777c427ce94d7e
26b929f572c201151f1fe9eedf419b2e829e7b7f
refactor(garcedelete webhook): refactor garcedelete webhook with podd…
…eletion_controller <!-- Thank you for contributing to KusionStack! Note: 1. With pull requests: - Open your pull request against "main" - Your pull request should have no more than two commits, if not you should squash them. - It should pass all tests in the available continuous integration ...
diff --git a/pkg/webhook/server/generic/pod/gracedelete/webhook.go b/pkg/webhook/server/generic/pod/gracedelete/webhook.go index bd778762..1471fbd1 100644 --- a/pkg/webhook/server/generic/pod/gracedelete/webhook.go +++ b/pkg/webhook/server/generic/pod/gracedelete/webhook.go @@ -23,10 +23,10 @@ import ( admissionv1 ...
3
2
1
[{"id": "G0", "claim": "The PodDeletionIndicationLabel value should be set to a timestamp rather than \"true\" so it is easier to troubleshoot.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Checking the PodDeletionIndicationLabel value against ...
null
KusionStack__kuperator__147
KusionStack/kuperator
147
defect
08cd56779ba7dfc079c2039e0e777c427ce94d7e
56fd06e82390ead1eac2929681f52aad6dad516f
[feature]Replace update
<!-- Thank you for contributing to KusionStack! Note: 1. With pull requests: - Open your pull request against "main" - Your pull request should have no more than two commits, if not you should squash them. - It should pass all tests in the available continuous integration systems such as GitHub ...
diff --git a/apis/apps/v1alpha1/collaset_types.go b/apis/apps/v1alpha1/collaset_types.go index e08c10bc..6c470572 100644 --- a/apis/apps/v1alpha1/collaset_types.go +++ b/apis/apps/v1alpha1/collaset_types.go @@ -58,6 +58,10 @@ const ( // CollaSetInPlaceOnlyPodUpdateStrategyType indicates that CollaSet will always upda...
9
8
3
[{"id": "G0", "claim": "IDs for replace update should be allocated when needed instead of doubling `replicas` upfront in SyncPods to reserve redundant IDs.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The replace pair should be recorded by Pod instance...
null
KusionStack__kuperator__166
KusionStack/kuperator
166
defect
8087ea285633837c51747670f66304cc7720ea9a
a3f27825190964b1407db6eab6bebf574a5e3474
refactor podUpdater interface
2. fix bug: replace pod by to-replace label, not check new pod status when pod upgrade policy is not replace update <!-- Thank you for contributing to KusionStack! Note: 1. With pull requests: - Open your pull request against "main" - Your pull request should have no more than two commits, if not ...
diff --git a/pkg/controllers/collaset/collaset_controller_test.go b/pkg/controllers/collaset/collaset_controller_test.go index 1112799a..1ff9b674 100644 --- a/pkg/controllers/collaset/collaset_controller_test.go +++ b/pkg/controllers/collaset/collaset_controller_test.go @@ -615,7 +615,7 @@ var _ = Describe("collaset co...
8
6
2
[{"id": "G0", "claim": "Remove the commented-out logger line in recreatePodUpdater.PrepareAndFilterPodUpdate.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "recreatePodUpdater.PrepareAndFilterPodUpdate must return recordedRequeueAfter instead of...
null
KusionStack__kuperator__199
KusionStack/kuperator
199
defect
ef7244b296ea9f6f4051e8ce1693df0ce00f3103
191f4854bb3704c3e50a93f3f2212fbacddcbb75
Scale strategy pod to delete
<!-- Thank you for contributing to KusionStack! Note: 1. With pull requests: - Open your pull request against "main" - Your pull request should have no more than two commits, if not you should squash them. - It should pass all tests in the available continuous integration systems such as GitHub ...
diff --git a/apis/apps/v1alpha1/collaset_types.go b/apis/apps/v1alpha1/collaset_types.go index e992580f6..efbf9e14d 100644 --- a/apis/apps/v1alpha1/collaset_types.go +++ b/apis/apps/v1alpha1/collaset_types.go @@ -128,6 +128,10 @@ type ScaleStrategy struct { // +optional PodToInclude []string `json:"podToInclude,omi...
3
3
2
[{"id": "G0", "claim": "The two ToDelete branches in ActivePodsForDeletion.Less could be written more elegantly as `if l.ToDelete != r.ToDelete { return r.ToDelete }`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new PodToDelete ownership ...
null
KusionStack__kuperator__207
KusionStack/kuperator
207
defect
8f776681192232728d3955b8dc4e9a7035cd7a5f
926edba5f0bd5ed493dafb5fef4cbc1659c31580
delete operation-type when all IDs' operate finished
<!-- Thank you for contributing to KusionStack! Note: 1. With pull requests: - Open your pull request against "main" - Your pull request should have no more than two commits, if not you should squash them. - It should pass all tests in the available continuous integration systems such as GitHub ...
diff --git a/pkg/controllers/utils/podopslifecycle/utils.go b/pkg/controllers/utils/podopslifecycle/utils.go index 20e62ad0..081de180 100644 --- a/pkg/controllers/utils/podopslifecycle/utils.go +++ b/pkg/controllers/utils/podopslifecycle/utils.go @@ -125,7 +125,6 @@ func Finish(c client.Client, adapter LifecycleAdapter...
3
2
0
[{"id": "G0", "claim": "The new comment in the validating webhook should say \"labels\" with a lowercase l instead of \"Labels\".", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A unit test should be added for the mutating webhook.", "category": ...
null
KusionStack__kuperator__219
KusionStack/kuperator
219
defect
fd4de2e25c11b02112d37503c2c47fec7d98a3b4
61e1723813ad24ba954ada601ec6392f3ffac98a
Scale and Update Parall with revert partition
<!-- Thank you for contributing to KusionStack! Note: 1. With pull requests: - Open your pull request against "main" - Your pull request should have no more than two commits, if not you should squash them. - It should pass all tests in the available continuous integration systems such as GitHub ...
diff --git a/pkg/controllers/collaset/collaset_controller.go b/pkg/controllers/collaset/collaset_controller.go index 6ba8ed20..9a3f4f77 100644 --- a/pkg/controllers/collaset/collaset_controller.go +++ b/pkg/controllers/collaset/collaset_controller.go @@ -228,16 +228,13 @@ func (r *CollaSetReconciler) doSync( return ...
2
2
1
[{"id": "G0", "claim": "The condition `err != nil || succCount > 0` guarding the post-scale-out ResourceContext update is too broad, and the controller should try to avoid calling the apiserver (updating contexts) when no context actually changed.", "category": "performance", "verdict": "supported", "priority": "P1", "...
null
KusionStack__kuperator__239
KusionStack/kuperator
239
defect
d0e6766267bc743652a8b4e7b31a6702b0b675c8
3f7756c5c3ac65c85afc5f9f520531b459a9fcea
improve replace: add finalizer for origin pod, improve list new pod, add some events
<!-- Thank you for contributing to KusionStack! Note: 1. With pull requests: - Open your pull request against "main" - Your pull request should have no more than two commits, if not you should squash them. - It should pass all tests in the available continuous integration systems such as GitHub ...
diff --git a/pkg/controllers/operationjob/operationjob_controller.go b/pkg/controllers/operationjob/operationjob_controller.go index f4cdf77c..d393b10a 100644 --- a/pkg/controllers/operationjob/operationjob_controller.go +++ b/pkg/controllers/operationjob/operationjob_controller.go @@ -107,7 +107,8 @@ func AddToMgr(mgr...
1
1
0
[{"id": "G0", "claim": "Asks what the purpose is of splitting the inline `if err := ...; err != nil` statements into separate assignment and check statements in Reconcile, implicitly requesting the unnecessary refactor be justified or reverted.", "category": "maintainability", "verdict": "supported", "priority": "P3", ...
null
KusionStack__kuperator__26
KusionStack/kuperator
26
defect
4c12e9e39769edeaf47b9ea3a643da1812d8da00
04b3672c4adfc1c5cedd23bacb870b278705089f
register podopslifecycle webhook
<!-- Thank you for contributing to KusionStack! Note: 1. With pull requests: - Open your pull request against "main" - Your pull request should have no more than two commits, if not you should squash them. - It should pass all tests in the available continuous integration systems such as GitHub ...
diff --git a/apis/apps/v1alpha1/types.go b/apis/apps/v1alpha1/types.go index acf4928be..f85398121 100644 --- a/apis/apps/v1alpha1/types.go +++ b/apis/apps/v1alpha1/types.go @@ -16,6 +16,13 @@ limitations under the License. package v1alpha1 +const ( + PodOperationProtectionFinalizerPrefix = "prot.lifecycle.kafed.ku...
7
6
1
[{"id": "G0", "claim": "The stage constant values 'precheck'/'postcheck' should be named with CamelCase 'PreCheck' or 'pre-check'.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In Reconcile's addLabels error path one return is enough instead of...
null
KusionStack__kuperator__279
KusionStack/kuperator
279
defect
8baf05fb8476e10a3675daae2470d778a9a6ea36
a1633e8ed9784eeaeccb94065d06bab4a762bfc7
operate targets in batch
<!-- Thank you for contributing to KusionStack! Note: 1. With pull requests: - Open your pull request against "main" - Your pull request should have no more than two commits, if not you should squash them. - It should pass all tests in the available continuous integration systems such as GitHub ...
diff --git a/go.mod b/go.mod index c4924230..3f7a7b9d 100644 --- a/go.mod +++ b/go.mod @@ -94,7 +94,7 @@ require ( k8s.io/apiserver v0.22.6 // indirect k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect k8s.io/kubectl v0.29.0 - kusionstack.io/kube-api v0.5.2-0.20240822111207-27aba55c3cc4 + kusions...
1
1
0
[{"id": "G0", "claim": "The AddFinalizer call and the separate client.Patch that adds the replace-indicate label should be merged into one Pod update/patch operation.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
KusionStack__kuperator__289
KusionStack/kuperator
289
defect
4fa8b0ef931b548f76a698ec8385b7aa1fbd5d73
c920fe1c472b87cae3bfa6905551725463eee637
replace opj deny newPod
<!-- Thank you for contributing to KusionStack! Note: 1. With pull requests: - Open your pull request against "main" - Your pull request should have no more than two commits, if not you should squash them. - It should pass all tests in the available continuous integration systems such as GitHub ...
diff --git a/pkg/controllers/operationjob/operationjob_controller_test.go b/pkg/controllers/operationjob/operationjob_controller_test.go index 556141b0..2e8ec947 100644 --- a/pkg/controllers/operationjob/operationjob_controller_test.go +++ b/pkg/controllers/operationjob/operationjob_controller_test.go @@ -45,6 +45,7 @@...
2
2
0
[{"id": "G0", "claim": "The key constant ExtraInfoBlockedByReplacedNewPod should be renamed to NotAllowedToReplaceNewPod.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The blocked-pod message should read \"Not allowed to replace pod when it is ...
null
KusionStack__kuperator__295
KusionStack/kuperator
295
defect
c9d5936aa298da23c946f4af8d25f9c470eb7632
654d1e8d5e49f9a54c73b207a1fbf507da41e594
feat: support clean old lifecycle before new update
<!-- Thank you for contributing to KusionStack! Note: 1. With pull requests: - Open your pull request against "main" - Your pull request should have no more than two commits, if not you should squash them. - It should pass all tests in the available continuous integration systems such as GitHub ...
diff --git a/pkg/controllers/collaset/collaset_controller_test.go b/pkg/controllers/collaset/collaset_controller_test.go index 44b492a4..82c13970 100644 --- a/pkg/controllers/collaset/collaset_controller_test.go +++ b/pkg/controllers/collaset/collaset_controller_test.go @@ -614,6 +614,9 @@ var _ = Describe("collaset co...
2
2
1
[{"id": "G0", "claim": "Keep IsLifecycleOnPod's parameter as pod *corev1.Pod instead of widening it to obj client.Object.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "BeginWithCleaningOld should Undo and then also Begin, rather than returning Undo's re...
null
KusionStack__kuperator__35
KusionStack/kuperator
35
defect
2eb9d2e64cdf95f63b4a0bb21e83d99f6a1dab6a
8559145c6862b37a65cf44afaf719b898891f0bb
feat: register ruleset webhook
<!-- Thank you for contributing to KusionStack! Note: 1. With pull requests: - Open your pull request against "main" - Your pull request should have no more than two commits, if not you should squash them. - It should pass all tests in the available continuous integration systems such as GitHub ...
diff --git a/apis/apps/v1alpha1/ruleset_types.go b/apis/apps/v1alpha1/ruleset_types.go index 43fb0e1b..ff1e5564 100644 --- a/apis/apps/v1alpha1/ruleset_types.go +++ b/apis/apps/v1alpha1/ruleset_types.go @@ -25,7 +25,7 @@ import ( // RuleSetSpec defines the desired state of RuleSet type RuleSetSpec struct { // Selec...
1
1
1
[{"id": "G0", "claim": "The empty MutatingHandler should not be implemented (or registered) at all since it performs no action.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
KusionStack__kuperator__39
KusionStack/kuperator
39
defect
f3de7b06f8fb0913c292672183d2b37d8f51035f
e957e19f844b880cde083917cae7954a2361cb07
feat: init goreleaser action
<!-- Thank you for contributing to KusionStack! Note: 1. With pull requests: - Open your pull request against "main" - Your pull request should have no more than two commits, if not you should squash them. - It should pass all tests in the available continuous integration systems such as GitHub ...
diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yaml similarity index 100% rename from .github/workflows/cla.yml rename to .github/workflows/cla.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 00000000..b0f05642 --- /dev/null +++ b/.github/work...
2
2
0
[{"id": "G0", "claim": "In the release section of .goreleaser.yaml, the repository name should use the {{ .ProjectName }} template instead of the hardcoded 'kafed'.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the release footer of .goreleaser....
null
KusionStack__kuperator__40
KusionStack/kuperator
40
defect
f3de7b06f8fb0913c292672183d2b37d8f51035f
8daa97b19a96377a76acf306b6e86a2496ea9ed4
enhancement (CollaSet): support ResourceContext after CollaSet is del…
…eted <!-- Thank you for contributing to KusionStack! Note: 1. With pull requests: - Open your pull request against "main" - Your pull request should have no more than two commits, if not you should squash them. - It should pass all tests in the available continuous integration systems such a...
diff --git a/pkg/controllers/collaset/collaset_controller.go b/pkg/controllers/collaset/collaset_controller.go index 90ac006f..31dc4ce5 100644 --- a/pkg/controllers/collaset/collaset_controller.go +++ b/pkg/controllers/collaset/collaset_controller.go @@ -19,6 +19,7 @@ package collaset import ( "context" "fmt" + "k...
3
2
0
[{"id": "G0", "claim": "ensurePreReclaimFinalizer and reclaimResourceContext should consistently keep both the check and the removal of the finalizer together, either both inside or both outside the function, to avoid confusion.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {...
null
KusionStack__kuperator__53
KusionStack/kuperator
53
defect
a99b5e389afdcf709c92ee2ac3e0559d91087fad
8f3901b369a41c4a647c3877091b1a5d25dede49
enhancement: 1,delete ruleset event channel 2, sync ruleset stage det…
<!-- Thank you for contributing to KusionStack! Note: 1. With pull requests: - Open your pull request against "main" - Your pull request should have no more than two commits, if not you should squash them. - It should pass all tests in the available continuous integration systems such as GitHu...
diff --git a/apis/apps/v1alpha1/well_known_annotations.go b/apis/apps/v1alpha1/well_known_annotations.go index 6b56ff39..e1cf02bb 100644 --- a/apis/apps/v1alpha1/well_known_annotations.go +++ b/apis/apps/v1alpha1/well_known_annotations.go @@ -26,4 +26,5 @@ const ( const ( AnnotationRuleSets = "ruleset.k...
3
2
0
[{"id": "G0", "claim": "The new annotation key prefix should be `detail.ruleset.kusionstack.io` without the trailing slash, since that form is more common.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `fmt.Printf` of the expectation message in Rule...
null
KusionStack__kuperator__55
KusionStack/kuperator
55
defect
a99b5e389afdcf709c92ee2ac3e0559d91087fad
77cc6a6b0b034596b50c1d9b3cc96edb9f668656
Enhancement: change PodOpsLifecycle phase names
<!-- Thank you for contributing to KusionStack! Note: 1. With pull requests: - Open your pull request against "main" - Your pull request should have no more than two commits, if not you should squash them. - It should pass all tests in the available continuous integration systems such as GitHub ...
diff --git a/apis/apps/v1alpha1/well_known_vars.go b/apis/apps/v1alpha1/well_known_vars.go index dd0d18098..9a76af991 100644 --- a/apis/apps/v1alpha1/well_known_vars.go +++ b/apis/apps/v1alpha1/well_known_vars.go @@ -28,6 +28,6 @@ const ( // well known variables const ( - PodOpsLifecyclePreCheckStage = "pre-check"...
1
1
0
[{"id": "G0", "claim": "Rename the stage constants and values to PreTrafficOff/PreTrafficOn form (PodOpsLifecyclePreTrafficOffStage = \"PreTrafficOff\", PodOpsLifecyclePreTrafficOnStage = \"PreTrafficOn\") instead of TrafficOffStage = \"traffic-off\" / TrafficOnStage = \"traffic-on\", since Post variants may be added l...
null
KusionStack__kuperator__60
KusionStack/kuperator
60
defect
fbed9bad6bb714d5c3db3c769aaaf728fc2f9610
886a51fa2fbdbb88cd5c0f6ec4b8dcec74dadf7d
fix, podopslifecycle webhook
<!-- Thank you for contributing to KusionStack! Note: 1. With pull requests: - Open your pull request against "main" - Your pull request should have no more than two commits, if not you should squash them. - It should pass all tests in the available continuous integration systems such as GitHub ...
diff --git a/config/webhook/webhook.yaml b/config/webhook/webhook.yaml index 72d9131a..cf322252 100644 --- a/config/webhook/webhook.yaml +++ b/config/webhook/webhook.yaml @@ -23,6 +23,7 @@ webhooks: - DELETE resources: - pods + - pods/status scope: '*' objectSelecto...
7
7
3
[{"id": "G0", "claim": "The new needUpdate variables in Reconcile should be renamed to updated.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "addServiceAvailable should return directly with `return true, r.addLabels(context.Background(), pod, l...
null
KusionStack__kuperator__65
KusionStack/kuperator
65
defect
49126becc2b2d0a6c7d472474aa56e12789c463d
18b696614cd5b0d236a5397714f4795ae095a255
enchancement: delete rs protector & make deploy in kind all in one & enable ruleset validate
<!-- Thank you for contributing to KusionStack! Note: 1. With pull requests: - Open your pull request against "main" - Your pull request should have no more than two commits, if not you should squash them. - It should pass all tests in the available continuous integration systems such as GitHub ...
diff --git a/Makefile b/Makefile index 5bc8c0c3..ce4aadef 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,13 @@ # Image URL to use all building/pushing image targets -IMG ?= my.docker.registry/controller:test +IMG ?= kusionstack/kafed:test # ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be dow...
1
1
0
[{"id": "G0", "claim": "The test file could use ginkgo's Describe, Context and It so that comments and messages help debug the test cases.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
KusionStack__kuperator__69
KusionStack/kuperator
69
defect
571abdc5b948784df61052a968e8d5d0bb375a9d
757d300d1461d19df69a6177ac4583909237058c
enhancement(CollaSet): add validation and defaulting for CollaSet
<!-- Thank you for contributing to KusionStack! Note: 1. With pull requests: - Open your pull request against "main" - Your pull request should have no more than two commits, if not you should squash them. - It should pass all tests in the available continuous integration systems such as GitHub ...
diff --git a/config/webhook/webhook.yaml b/config/webhook/webhook.yaml index 24d5a2a5..f2b3dfcf 100644 --- a/config/webhook/webhook.yaml +++ b/config/webhook/webhook.yaml @@ -3,7 +3,7 @@ kind: MutatingWebhookConfiguration metadata: name: controller-manager-mutating webhooks: - - name: mutating-generic.apps.kusion...
1
1
0
[{"id": "G0", "claim": "In validateUpdateStrategy, a switch statement would be simpler than the chained if of PodUpdatePolicy comparisons.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Kylart__MalScraper__16
Kylart/MalScraper
16
defect
5830375d0569867ed3a931170798d334fc9ab0cb
3cffbc22e99af16806d570440f5ebe590cb22f37
Support for filtering seasons by specific type (TV New & TV Continuti…
Allow for filtering seasonal data via different types including TV New & TV Continuing. Previously they were merged as one and this can be confusing when gathering data and maintaining specific anime's from each season (Without previous continuing anime's being bundled together) Also added a full suite of test cases...
diff --git a/src/seasons.js b/src/seasons.js index 4b64540..25f012a 100644 --- a/src/seasons.js +++ b/src/seasons.js @@ -1,5 +1,6 @@ const axios = require('axios') const cheerio = require('cheerio') +const matchSorter = require('match-sorter') const SEASON_URI = 'https://myanimelist.net/anime/season/' const maxYe...
2
2
0
[{"id": "G0", "claim": "The added `&& $(this)` check in the getType filter is unnecessary (a jQuery object is always truthy) and should be removed, or if needed checked before the hasClass calls.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
Kylart__MalScraper__47
Kylart/MalScraper
47
defect
58ce0d468f2450e93c3b03f7178953ba2964566a
96841ec424fcb8e5e6fbfbd207d4094f1c340e03
[Feature] Adding the scraping of the pictures tabs
Hello, I added a function `getPictures` for getting the images link of the tabs pictures. ```js const data = await getPictures({name: 'Ginga Eiyuu Densetsu',id: 820}) ``` ``` [{ imageLink: 'https://cdn.myanimelist.net/images/anime/8/9568l.jpg' },{ imageLink: 'https://cdn.myanimelist.net/images/anime/13...
diff --git a/README.md b/README.md index 2c36e11..7e7285c 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,7 @@ Tables of content: - * [getEpisodesList()](https://github.com/Kylart/MalScraper/blob/master/README.md#getepisodeslist) - * [getReviewsList()](https://github.com/Kylart/MalScraper/blob/master/README.md#ge...
1
1
0
[{"id": "G0", "claim": "The `test-no` npm script, whose target this PR changed to run only test/pictures.test.js, should probably be removed rather than kept pointing solely at the pictures test.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
KyleMayes__clang-rs__16
KyleMayes/clang-rs
16
defect
a8b2f9fa7b0a5e1cadaa259b6cb53a95a1050b19
d75988200d8be7f150b6ea8af7d71d6a707e89a2
Update to libclang v8.0
Just an update to the latest clang-sys along with the new features added in libclang v7.0 and v8.0. Also added a missing function from an older version. Fix-it listings are missing from v8.0, not sure of the best way to add them.
diff --git a/Cargo.toml b/Cargo.toml index 27d815b00..a52bab1fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,6 +28,8 @@ clang_3_9 = ["clang-sys/clang_3_9", "gte_clang_3_6", "gte_clang_3_7", "gte_clang clang_4_0 = ["clang-sys/clang_4_0", "gte_clang_3_6", "gte_clang_3_7", "gte_clang_3_8", "gte_clang_3_9", "gte_clang_...
4
4
2
[{"id": "G0", "claim": "The doc comment and method name misspell 'protocol' as 'protocal' in get_objc_protocal_declarations and should be corrected.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "PrettyPrinter::from_raw should assert the policy ...
null
LAION-AI__Open-Assistant__1398
LAION-AI/Open-Assistant
1,398
defect
35a2c58565c5a137843d7d84e54a8b183de8c8b2
090c5cbcc24614d6a4d1b09987c7e31aae37dddd
Add tests and update docstring to tokenizer matching
This PR does performs some minor updates; * Adds tests for the matching logic within `get_tokenizer` * Updates docstring with an example to make the logic clear
diff --git a/model/supervised_finetuning/tests/test_utils.py b/model/supervised_finetuning/tests/test_utils.py index ad40e5346..96637e982 100644 --- a/model/supervised_finetuning/tests/test_utils.py +++ b/model/supervised_finetuning/tests/test_utils.py @@ -1,9 +1,28 @@ from argparse import Namespace -from utils impo...
1
1
1
[{"id": "G0", "claim": "The pull request inverted the matching direction in match_tokenizer_name; the original `name in model_name` was already correct because the function is called with the model's name, not the keys of TOKENIZER_CONFIGS.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope":...
null
LAION-AI__Open-Assistant__1922
LAION-AI/Open-Assistant
1,922
defect
4fcc99adc5676676a2faaee71c34529bf4cb79a0
7bb03c813d096d901270b7021e3df16900c940f0
Configure pytest in sft pipeline #1770
Both the model_training and reward/instructor modules can now be installed and pytest can be run for each of them. I did this by adding a pyproject.toml file for each, downgrading pandas to prevent a conflict and removing a faulty test. Some of the tests are very slow or require some more work so I have added skips to...
diff --git a/model/model_training/pyproject.toml b/model/model_training/pyproject.toml new file mode 100644 index 000000000..8dc642838 --- /dev/null +++ b/model/model_training/pyproject.toml @@ -0,0 +1,36 @@ +[build-system] +requires = ["setuptools", "setuptools-scm"] +build-backend = "setuptools.build_meta" + +[projec...
2
2
0
[{"id": "G0", "claim": "The transformers dependency pinned in model/model_training/pyproject.toml should be increased from 4.25.1 to 4.26.1.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The READMEs should be updated to include instructions on ...
null
LAION-AI__Open-Assistant__222
LAION-AI/Open-Assistant
222
defect
a8e7cee73c8ef5922a114bbb73979908cbae4323
168e9ca6b3863fa7cf09691e04ce0a575c537bfd
add training code for reward model
trainer code to train a single score reward model. Currently support webgpt and raw datasets from humanfeed back summary by openai. See readme and rank_datasets.py for more details.
diff --git a/.vscode/settings.json b/.vscode/settings.json index 56a51f781..4c58a32f7 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,4 @@ { - "python.formatting.provider": "black", + "python.formatting.provider": "autopep8", "python.analysis.extraPaths": ["${workspaceFolder}/oasst-share...
3
2
1
[{"id": "G0", "claim": "The pull request violates the repository's mandatory pre-commit rules: the author changed .vscode/settings.json's python.formatting.provider from black to autopep8 and committed code not formatted with pre-commit, and the provider must be reset to black.", "category": "design", "verdict": "suppo...
null
LAION-AI__Open-Assistant__2520
LAION-AI/Open-Assistant
2,520
defect
4b79215b2f5f4e6e1eca9f375fbf3cfef1f7575b
0cdf06b0b524d78cf93573b073c9a7b311c9061a
Feature/dataset entry
closes #2708 Add pydantic basemodel class (equivalent to dataclass but with stronger guarantees) to return from dolly dataset. Add the formatting functionality in the dataset entry class. This PR does quite a bit: - add pydantic dependency - introduce a new DatasetEntry class, which provides a method to do the ...
diff --git a/model/model_training/configs/config.yaml b/model/model_training/configs/config.yaml index 0c2c66a16..911619457 100644 --- a/model/model_training/configs/config.yaml +++ b/model/model_training/configs/config.yaml @@ -359,9 +359,6 @@ pythia-70m-deduped: per_device_train_batch_size: 2 per_device_eval_ba...
4
3
1
[{"id": "G0", "claim": "The tests/resources/data_collator/tokenizer.json file may not have been committed on purpose and its purpose should be clarified.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new DatasetEntry.get_formatted raises NotI...
null
LAION-AI__Open-Assistant__2809
LAION-AI/Open-Assistant
2,809
defect
aca65a317ae13ac2a968b54f14c675c4c194c267
bb651e353f8f3bae71f4640cee4b667e660a21e0
update entities
Add entities, which are refered in model/model_training/custom_datasets/formatting.py
diff --git a/model/model_training/custom_datasets/entities.py b/model/model_training/custom_datasets/entities.py new file mode 100644 index 000000000..68c28a9f7 --- /dev/null +++ b/model/model_training/custom_datasets/entities.py @@ -0,0 +1,195 @@ +from enum import Enum, unique + + +class Mode(Enum): + sft = "sft" +...
1
1
1
[{"id": "G0", "claim": "The Language enum's ISO 639-1 codes should be documented and switched to BCP 47 so they match the lang codes used by the human-demonstration collection backend.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
LAION-AI__Open-Assistant__885
LAION-AI/Open-Assistant
885
defect
f645b53405e11ee0f33e2b16f94f69d29309b98c
736f46fb00f4f00a5c349d83ff329e747f8cbb2d
Fix prefix formatting
Move question and answer token to formatting.py and added in dataset phase instead of collator. This fix soda and prosocial dialogue which previously added the prefix as follow: ``` <human><prefix>Your prefix</prefix>prompt question<bot>answer text <eos token> ``` dataset with prefix (soda, prosocial_dialogue) ...
diff --git a/model/supervised_finetuning/custom_datasets/__init__.py b/model/supervised_finetuning/custom_datasets/__init__.py index 2e1e4b30e..558ec5028 100644 --- a/model/supervised_finetuning/custom_datasets/__init__.py +++ b/model/supervised_finetuning/custom_datasets/__init__.py @@ -43,7 +43,7 @@ def get_one_datas...
2
1
1
[{"id": "G0", "claim": "format_pair should return \"{}{}{}\" without the spaces around the text between the question/answer special tokens, since it is not sure how all the tokenizers of the supported models handle those spaces.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced...
null
LBALab__lba2-classic-community__54
LBALab/lba2-classic-community
54
defect
d246647c8933f91d6d0dbeff07b5ef9482ba9bf9
d545ca09589360094904cedde667480e3b087cd5
Easier game asset data discovery, embedded default config, and dev/CI cleanup
## Summary Makes it easier to point the engine at retail **Little Big Adventure 2** data when you clone the repo or run from different folders, without relying on a single fixed path. If there is no `lba2.cfg` next to the assets, the build can still install a **default** from an embedded copy of `SOURCES/LBA2.CFG`. ...
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index a0ba14cc8..9e155291a 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -13,6 +13,9 @@ jobs: runs-on: ubuntu-latest steps: + - name: Code Checkout + uses: actions/checkout@v5 + - name: ...
3
3
1
[{"id": "G0", "claim": "GetCurrentRunningDir should check whether the returned current directory is longer than ADELINE_MAX_PATH and error out instead of silently truncating it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The current directory sh...
null
LBALab__lba2-classic-community__55
LBALab/lba2-classic-community
55
defect
d246647c8933f91d6d0dbeff07b5ef9482ba9bf9
9115842f1dd12723731e2dff875b1e32b2dba99c
Merge SinTab/CosTab into contiguous array (draw-order bug)
## Summary - **Root cause**: The original ASM (`SINTAB.ASM`) declared `SinTab` (1024 entries) and `CosTab` (4096 entries) as one contiguous 5120-entry block. Game code indexes `SinTab[CameraBeta]` with `CameraBeta` up to 4095 (e.g. `SORT.CPP` line 304), relying on out-of-bounds reads falling into `CosTab` memory. ...
diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index 4e63fc7b4..67a0a6e25 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -2,3 +2,4 @@ # Keep this file limited to formatting-only commits so git blame stays trustworthy. 98dec9d47c3ae7c0b9162dc730db89889d1f3ed3 a9adecff2c4749bf9c03f47...
1
1
0
[{"id": "G0", "claim": "CosTab should stay a real constant/symbol like it was before (an extern array declaration in the header plus a definition in SINTAB.CPP, mirroring CosTabF) rather than a #define macro.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
LCAV__pyroomacoustics__100
LCAV/pyroomacoustics
100
defect
348876c9e8874141f57091afa743365945b19200
94a46fb36b1d63cf1e852f5619885ad896b82c24
[BSS] Faster AuxIVA/ILRMA and overdetermined AuxIVA algorithm
Faster implementation of AuxIVA that also includes OverIVA (more mics than sources). It also comes with a slightly changed API, Laplace and time-varying Gauss statistical models, and two possible initialization schemes. - [X] Are there docstrings ? Do they follow the [numpydoc](https://numpydoc.readthedocs.io/en/lat...
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 041221b1..7bf51d5b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -18,6 +18,9 @@ Changed to plot; useful when there's too many impulse responses. - Add some window functions in `windows.py` and rearranged it in alphabetical order - Fixed various warnings in tests...
6
5
0
[{"id": "G0", "claim": "The timing print in bss_example.py should include the time unit (e.g. seconds).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The epsilon constant should be named the same across algorithms (`machine_epsilon` or `eps`), an...
null
LCAV__pyroomacoustics__102
LCAV/pyroomacoustics
102
defect
e259d20361e4518ed330c054d9b907d15da75e57
cc89e108b0e9298d4a99206567336df02870cf82
Griffin-Lim Phase Reconstruction
This PR adds the Griffin-Lim iterative phase reconstruction algorithm. - [X] Are there docstrings ? Do they follow the [numpydoc](https://numpydoc.readthedocs.io/en/latest/format.html#docstring-standard) style ? - [X] Have you run the tests by doing `nosetests` or `py.test` at the root of the repo ? - [X] Have you...
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c6727f01..9b7f4df9 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -11,6 +11,11 @@ adheres to `Semantic Versioning <http://semver.org/spec/v2.0.0.html>`_. `Unreleased`_ ------------- +Added +~~~~~ + +- Griffin-Lim algorithm for phase reconstruction from STFT magnit...
1
1
0
[{"id": "G0", "claim": "The header description of pyroomacoustics/phase/gl.py still describes the file as IVA-based blind source separation and should be updated.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
LCAV__pyroomacoustics__120
LCAV/pyroomacoustics
120
defect
04c5bacaf74eb1fff127dbbb4f3e50b64db010af
059dbb3dc116d3bd848d53c72ae62b965ff39079
Add FastMNMF
Thanks for sending a pull request (PR), we really appreciate that! Before hitting the submit button, we'd be really glad if you could make sure all the following points have been cleared. Please also refer to the doc on [contributing](https://pyroomacoustics.readthedocs.io/en/pypi-release/contributing.html) for more...
diff --git a/README.rst b/README.rst index 93dc1404..081b96cf 100755 --- a/README.rst +++ b/README.rst @@ -87,7 +87,7 @@ algorithms for * `beamforming <http://pyroomacoustics.readthedocs.io/en/pypi-release/pyroomacoustics.beamforming.html>`_ * `direction of arrival <http://pyroomacoustics.readthedocs.io/en/pypi-relea...
3
3
0
[{"id": "G0", "claim": "The line `mu_NF = np.zeros([n_chan, n_freq])` in the initialization of fastmnmf.py is not really doing anything, so it could be removed before merging.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR changed the for...
null
LCAV__pyroomacoustics__199
LCAV/pyroomacoustics
199
defect
b65862bb6f8cc49c6089e109454902e141688a38
28dcd71c40ca6d81079d628d3762596e6555e0c5
Bug in computation of SRP cost function
This PR corrects a bug in the computation of the cost function of the SRP-PHAT DOA algorithm. The bug was originally reported in PR #197 . This PR fixes the original bug, improves computational efficiency (although this was not really tested), and adds a test that catches the original bug. - [X] Are there docstr...
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 761e42cc..6b4ff4f2 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -21,6 +21,7 @@ Bugfix - Fixes the Dockerfile so that we don't have to install the build dependencies manually - Change the eps for geometry computations from 1e-4 to 1e-5 in ``libroom`` +- Fixes the...
6
5
1
[{"id": "G0", "claim": "The commented-out 'Set PATH' block in the Windows CI job is stale dead code (no longer needed after the GitHub Actions runner changes) and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The commented-ou...
null
LCAV__pyroomacoustics__215
LCAV/pyroomacoustics
215
defect
fe80a7332ce2ca1e592a62a078bec621750a0ad9
95d80d8be1c338145a3e28a60251481ee4a0b8ca
Spherical to cartesian conversion and prettier RIR plot
- A function to convert from spherical to cartesian coordinates in the DOA subpackage. The reverse function already existed. - Cleans up the plot_rir function in Room so that the labels are neater. It also changes the plot with the `FD` option to display spectrograms of the RIR. - [X] Docstrings - [ ] Tests (we'll...
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 64e91b50..78af239b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -11,7 +11,15 @@ adheres to `Semantic Versioning <http://semver.org/spec/v2.0.0.html>`_. `Unreleased`_ ------------- -Nothing yet. +Added +~~~~~ + +- A function to convert from spherical to cartesian...
2
2
0
[{"id": "G0", "claim": "Since the PR adds scattered formatting fixes, a formatter like black should be run across the whole package.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Room.plot_rir should return fig and axes so the user can make add...
null
LCAV__pyroomacoustics__407
LCAV/pyroomacoustics
407
defect
f4144d216fd8776a91f40b600ee1a30bbcd228da
ff555f20b0988393d7c88d3acc4fc1dcf1d869a7
MicrophoneArray.append(MicrophoneArray), do not crash when signal exists
Thanks for sending a pull request (PR), we really appreciate that! Before hitting the submit button, we'd be really glad if you could make sure all the following points have been cleared. Please also refer to the doc on [contributing](https://pyroomacoustics.readthedocs.io/en/pypi-release/contributing.html) for more...
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index db086602..e32c7ec1 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -11,7 +11,11 @@ adheres to `Semantic Versioning <http://semver.org/spec/v2.0.0.html>`_. `Unreleased`_ ------------- -Nothing yet +Bugfix +~~~~~~ + +- Fixes MicrophoneArray.append(MicrophoneArray) + ...
1
1
0
[{"id": "G0", "claim": "The added `n_new_mics = 0` initialization at the top of MicrophoneArray.append is unnecessary because the variable is assigned in both branches of the following if, and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
LCAV__pyroomacoustics__422
LCAV/pyroomacoustics
422
defect
132a72c05938b31bbad66599984f9a8760473b34
c2462097f892bbce79e40ec21298bb01715aaf32
Real Spherical Harmonics Directivity
Thanks for sending a pull request (PR), we really appreciate that! Before hitting the submit button, we'd be really glad if you could make sure all the following points have been cleared. Please also refer to the doc on [contributing](https://pyroomacoustics.readthedocs.io/en/pypi-release/contributing.html) for more...
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7ac40b28..f09e83d4 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -10,6 +10,9 @@ adheres to `Semantic Versioning <http://semver.org/spec/v2.0.0.html>`_. `Unreleased`_ ------------- + +- Add Directivity pattern for real spherical harmonics. + Bugfix: ~~~~~~ di...
7
5
0
[{"id": "G0", "claim": "Add a copyright notice in the author's own name and the MIT license text at the top of the new harmonics.py file, like the package's other files have.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "All docstrings in the new...
null
LCAV__pyroomacoustics__427
LCAV/pyroomacoustics
427
defect
27b641dab2f90932473f5aa6d8f5898acbbc7542
c2b4b0148ea44a0e44aeeff830042c110f256f67
Erik/harmonicscomments
This merge request builds upon #422 . - My previous comments were a bit sloppy. I have revised the comments on the module. (But there is still room for improvement!) - I adapted the unit test to increase the code coverage. - I corrected a slip between order and degree of spherical harmonics. - I added some checks...
diff --git a/pyroomacoustics/directivities/harmonics.py b/pyroomacoustics/directivities/harmonics.py index 0afd7dad..ecc5c908 100644 --- a/pyroomacoustics/directivities/harmonics.py +++ b/pyroomacoustics/directivities/harmonics.py @@ -23,11 +23,16 @@ r""" This class can be used to set a Real Spherical Harmonics direc...
2
2
0
[{"id": "G0", "claim": "Fix the typo in the comment in real_sph_harm: 'formular' should be 'formula'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Fix the typos in the class docstring: 'uses' should be 'used' and 'represents' should be 'repres...
null
LCAV__pyroomacoustics__53
LCAV/pyroomacoustics
53
defect
e1c764d5ff94d7dbd29b7890e2473b5eb3bbc9ed
5665486eb493553ceaa512689b89f3e43dde9297
Add ILRMA and integrate into BSS offline and live examples
- Add ILRMA algorithm to BSS methods. - Modify BSS examples to choose BSS method (AuxIVA or ILRMA) with an input argument - Modify BSS live examples to choose BSS method (AuxIVA or ILRMA) with an input argument - Update documentation for BSS
diff --git a/examples/bss_iva.py b/examples/bss_example.py similarity index 81% rename from examples/bss_iva.py rename to examples/bss_example.py index a96e991e..de60a2c2 100644 --- a/examples/bss_iva.py +++ b/examples/bss_example.py @@ -1,23 +1,37 @@ ''' -Blind Source Separation with Indpendent Vector Analysis +Blind...
5
4
2
[{"id": "G0", "claim": "The pull request adds the ILRMA algorithm without any unit test file, and unit tests should be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The --algo command-line argument in the example scripts should be restricted wit...
null
LCAV__pyroomacoustics__55
LCAV/pyroomacoustics
55
defect
40a6e23262b5fb12808d7e6677fc3e28e916e242
4ea55c4677b6c48b7e2f1ec6222d48d00e13e41b
Less dependencies
It is desirable to reduce the number of dependencies to a minimum. This pull requests consistently limits the calls to `matplotlib` to the functions where necessary. When matplotlib is not installed, the function will issue a warning and return without causing an error. This is particularly helpful on headless s...
diff --git a/.appveyor.yml b/.appveyor.yml index 04b576d8..d273c5ed 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -30,7 +30,7 @@ install: - conda config --set always_yes yes --set changeps1 no - conda update -q conda - conda info -a - - "conda create -q -n test-environment python=%PYTHON_VERSION% numpy sc...
4
2
0
[{"id": "G0", "claim": "Document the newly added cookiecutter template, explaining that the generated simulation script can be run with `python <chosen_script_name>.py` (and, if possible, avoid or warn about overwriting an existing script file when generating it).", "category": "documentation", "verdict": "supported", ...
null
LCAV__pyroomacoustics__57
LCAV/pyroomacoustics
57
defect
0e675afe71cdf30bb345bda127038e89dbbb6078
418e7b146b347b19e9de1aab6914bcd54ffa395f
Corrects invalid memory access in build_rir cython code
Corrects invalid memory access in the ``pyroomacoustics.build_rir`` cython accelerator and adds a unit test that checks the cython code output is correct. - [ ] Are there docstrings ? Do they follow the [numpydoc](https://numpydoc.readthedocs.io/en/latest/format.html#docstring-standard) style ? - [X] Have you run t...
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d683ba86..7e799cce 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -21,6 +21,8 @@ Bugfix ~~~~~~ - Corrects a bug in the update of the demixing matrix in ``pyroomacoustics.bss.auxiva`` +- Corrects invalid memory access in the ``pyroomacoustics.build_rir`` cython acc...
4
3
1
[{"id": "G0", "claim": "The function should also check that `fdl` is indeed odd and that `rir` is long enough.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The 'since' typo should also be fixed in the docstring for `lut_gran`.", "category": "docum...
null
LDflex__LDflex__13
LDflex/LDflex
13
defect
c27455236a957103465af95b7ff9ea467759fd48
3415010bfec5de9af8e66b406a0c10f596604baf
Use Term internally, and as results
This PR makes it so that we use RDFJS Terms internally (#4), and implement the RDFJS Term interface in LDflex paths (#9). FYI, I implemented and tested the async `DataHandler`, but never actually use it. So I could remove it if you want. ~~This does _not_ yet make it so that RDFJS terms are accepted as mutation f...
diff --git a/package-lock.json b/package-lock.json index 640cd547..f13d8595 100644 --- a/package-lock.json +++ b/package-lock.json @@ -792,6 +792,27 @@ "to-fast-properties": "^2.0.0" } }, + "@rdfjs/data-model": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@rdfjs/da...
1
1
1
[{"id": "G0", "claim": "The `then` wiring on conditionalHandler(iterableToThen(iteratorHandler)) looks wrong: the check only inspects `subject`, so awaiting multi-segment paths such as user.friends.friends may fail, and SubjectHandler is being bypassed — instead only ExecuteQueryHandler should probably be wired on `the...
null
LDflex__LDflex__231
LDflex/LDflex
231
defect
d73765671232206f191e8e08e2a7a6f9af9f1ff1
f81b7848db7f3688ab54cee73d87b95fdccdc026
feat: add resolve on path create
This PR resolves #219 by calling the `JSONLDResolver` when the subject is a string
diff --git a/src/PathFactory.js b/src/PathFactory.js index bc050c4b..bd1d213c 100644 --- a/src/PathFactory.js +++ b/src/PathFactory.js @@ -50,10 +50,19 @@ export default class PathFactory { if (!data) [data, settings] = [settings, null]; + // Set data as subject if input as string + if (typeof data ...
1
1
1
[{"id": "G0", "claim": "The string-subject resolution in PathFactory.create hardcodes a new JSONLDResolver instead of reusing the existing one created in the constructor, and the reviewer asks whether there is a better way.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
LDflex__LDflex__31
LDflex/LDflex
31
defect
d9893526d39fb16de21bc39d56212708a58befa9
9f939bae712f6fef4afe2b0a04e41d0664139662
Add subjects handler to get all subjects in the current source
This should resolve #30. I could use some help getting this change tested properly, I can't seem to get this (nor query-ldflex) to build locally, which is the only way I know of to test this in an actual application. Tried writing some tests for them, but I'm not sure how exactly this can be tested without an actual...
diff --git a/README.md b/README.md index 2d31ad1f..80af8cc4 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,21 @@ async function showPerson(person) { } ``` + +### Get all subjects from a document +```javascript +const typeIndex = path.create({ subject: namedNode('https://jshurmer.inrupt.net/settings/publicTypeI...
5
5
0
[{"id": "G0", "claim": "The README example for `.subjects` (built on the subjects/types publicTypeIndex link) is confusing and should be replaced with a different example.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `SELECT_ALL_SUBJECTS` qu...
null
LFDT-Lockness__cggmp21__137
LFDT-Lockness/cggmp21
137
defect
5e621acd25aa492941ef9c4491a1c7aa16a39807
18a5fa608c8a39633b345491e29bcdeb63bd0994
Trusted-dealer can generate random share preimages
Add new functions to `key_share::trusted_dealer::TrustedDealerBuilder`: `generate_shares_at` and `generate_shares_at_random`
diff --git a/Cargo.lock b/Cargo.lock index b1232078..94f26696 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1500,13 +1500,14 @@ dependencies = [ [[package]] name = "key-share" -version = "0.6.0" +version = "0.6.1" dependencies = [ "displaydoc", "generic-ec", "generic-ec-zkp", "hd-wallet", "hex", + "rand",...
3
2
1
[{"id": "G0", "claim": "The change to how `rand` is declared (default features disabled at the workspace root) raises the question whether default features are then needed in every subcrate depending on `rand`, and the reviewer suggests specifying the exact features needed instead.", "category": "design", "verdict": "o...
null
LFDT-Lockness__cggmp21__38
LFDT-Lockness/cggmp21
38
defect
891c30977cc2b107e58844e92da3f5b2adc90c79
66e6d675e4aad747ccd8fae034658da48fd8efa6
Missing hash inputs
Fix several issues where the inputs to challenge were missing. Also fixes #33 with parameter name
diff --git a/cggmp21/src/key_refresh.rs b/cggmp21/src/key_refresh.rs index 8e38f1df..829c27c5 100644 --- a/cggmp21/src/key_refresh.rs +++ b/cggmp21/src/key_refresh.rs @@ -17,7 +17,7 @@ use crate::{ ExecutionId, }; -pub type AuxOnlyMsg<D> = aux_only::Msg<D>; +pub type AuxOnlyMsg<D, L> = aux_only::Msg<D, L>; pub...
1
1
1
[{"id": "G0", "claim": "The specs say the challenge is derived from H(sid || i || rho), but the code chains rho_bytes before the party index, deriving H(sid || rho || i).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
LFDT-Lockness__cggmp21__42
LFDT-Lockness/cggmp21
42
defect
92258252291abffa01ca47e98ac197f33c1c7cce
c130b53fa959ec821179120362b835d02adfb806
Small API improvements
Closes #41
diff --git a/cggmp21/src/key_refresh.rs b/cggmp21/src/key_refresh.rs index b3403045..35149e00 100644 --- a/cggmp21/src/key_refresh.rs +++ b/cggmp21/src/key_refresh.rs @@ -41,7 +41,7 @@ pub mod msg { /// To speed up computations, it's possible to supply data to the algorithm /// generated ahead of time #[derive(Debug...
2
1
1
[{"id": "G0", "claim": "The generic builder structs should not have default type parameters, since they are for precise use rather than common use.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks why the new IncompleteKeyShare convenienc...
null
LFDT-Lockness__cggmp21__45
LFDT-Lockness/cggmp21
45
defect
23148f8f46d00acda7e7f244453ef37a7aca074e
f48c943e0541e3340cf8d08a9a18e642621647a6
Change library API
* Make ExecutionId mandatory * Introduce `L: SecurityLevel` bound to `KeyShare`, `AuxInfo`, `DirtyKeyShare`, `DirtyAuxInfo` * When parsing `KeyShare`, `AuxInfo`, validate that paillier keys have appropriate size * Fix: valid public paillier key should be `8*kappa - 1` bits
diff --git a/cggmp21/src/execution_id.rs b/cggmp21/src/execution_id.rs index cc7e956e..31a29982 100644 --- a/cggmp21/src/execution_id.rs +++ b/cggmp21/src/execution_id.rs @@ -1,122 +1,28 @@ -use std::marker::PhantomData; - -use digest::Digest; -use generic_ec::Curve; -use sha2::Sha256; - -use crate::security_level::Sec...
2
1
0
[{"id": "G0", "claim": "In the PaillierPkTooSmall error raised by DirtyAuxInfo::validate, the `required` bit length should say 8 * L::SECURITY_BITS - 1, not 8 * L::SECURITY_BITS.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The secret paillier key...
null
LFDT-Lockness__cggmp21__9
LFDT-Lockness/cggmp21
9
defect
3faf5e38f073f5f53073310df40c4549c9bd87ec
df63e5ba3121a1558f30082867f7966c99430801
Key refresh benchmark
Add benchmark for key refresh. Notice that prime generation for refresh is very slow and move it out of tests. Do some refactoring of pregenerated things. Fixes #8
diff --git a/Cargo.lock b/Cargo.lock index 0daa09cf..e55a80a2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -158,6 +158,7 @@ dependencies = [ "rand_chacha", "rand_dev", "round-based", + "serde", "serde_json", "sha2", "test-case", diff --git a/cggmp21/src/key_refresh.rs b/cggmp21/src/key_refresh.rs index 8d0ba...
7
7
0
[{"id": "G0", "claim": "clap cannot parse a comma-separated default like \"3,5,7,10\" into Vec<u16>, neither from the default nor from the command line, so maybe n should just be a single value.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The m...
null
LFDT-web3j__web3j__1930
LFDT-web3j/web3j
1,930
defect
4372a5b3297ce8a30fcac1f9257e15e0f107b362
7df3b686c8b970edadd79cc4e5f30f05758f6d61
add the eth_getProof call
### What does this PR do? Add RPC call for eth_getProof ### Where should the reviewer start? Ethereum.java ### Why is it needed? In Op Rollup service, it is necessary to call the eth_getProof api to obtain the storageHash value.
diff --git a/core/src/main/java/org/web3j/protocol/core/Ethereum.java b/core/src/main/java/org/web3j/protocol/core/Ethereum.java index 49a405251e..c7028973fa 100644 --- a/core/src/main/java/org/web3j/protocol/core/Ethereum.java +++ b/core/src/main/java/org/web3j/protocol/core/Ethereum.java @@ -39,6 +39,7 @@ import org...
1
1
0
[{"id": "G0", "claim": "The testEthGetProof integration test should not ship with @Disabled // Not available.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
LFDT-web3j__web3j__1986
LFDT-web3j/web3j
1,986
defect
9ee5b4fcaa98422f9c6d7074d41277c4a9b28a86
d73db2425ba0572fdb5eaaa2c6c2682ebe471fb8
Enrich generateBothCallAndSend feature in TruffleJsonFunctionWrapperGenerator
### What does this PR do? - Enrich generateBothCallAndSend feature in TruffleJsonFunctionWrapperGenerator - Refactor arg parsing logic using picoli rather than hand crafted parsing logic - Make CommandLine ExceptionHandler re-throw rather than system exit so that test cases can catch failure case caused by exception...
diff --git a/codegen/src/main/java/org/web3j/codegen/TruffleJsonFunctionWrapperGenerator.java b/codegen/src/main/java/org/web3j/codegen/TruffleJsonFunctionWrapperGenerator.java index cf5c700a74..8d404e3d51 100644 --- a/codegen/src/main/java/org/web3j/codegen/TruffleJsonFunctionWrapperGenerator.java +++ b/codegen/src/ma...
2
1
0
[{"id": "G0", "claim": "Remove the wildcard static import `picocli.CommandLine.*` from TruffleJsonFunctionWrapperGenerator.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the new `-B`/`--generateBoth` option of PicocliRunner to `generateC...
null
LFDT-web3j__web3j__1988
LFDT-web3j/web3j
1,988
defect
9ee5b4fcaa98422f9c6d7074d41277c4a9b28a86
5918d8aaea97b349ed159b5404233dc3293b1502
Add function to link binary with reference libraries in wrappers contract deployment
### What does this PR do? *Add function to link binary with reference libraries in wrappers contract deployment* ### Where should the reviewer start? *All files* ### Why is it needed? *Currently there is no way to deploy contract that have library unlinked, Adding this functionality so that we can link the byt...
diff --git a/codegen/src/main/java/org/web3j/codegen/SolidityFunctionWrapper.java b/codegen/src/main/java/org/web3j/codegen/SolidityFunctionWrapper.java index e7e3838d33..2c089fe57f 100644 --- a/codegen/src/main/java/org/web3j/codegen/SolidityFunctionWrapper.java +++ b/codegen/src/main/java/org/web3j/codegen/SolidityFu...
2
1
1
[{"id": "G0", "claim": "Add a solidity smart contract example for the library-linking case to the pull request.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The build fails locally with the listed tests failing; run spotlessApply, rebase to mast...
null
LFDT-web3j__web3j__1992
LFDT-web3j/web3j
1,992
defect
4b583dd0f701334be1f18abc925eff4dcb9c3e52
53c8ae2f69b091084cf5db4b91b392fe4cc3622b
Add AccessList to 1559 transaction rlp encoding
### What does this PR do? Add AccessList to 1559 transaction ### Where should the reviewer start? `org.web3j.crypto.transaction.type.Transaction1559` ### Why is it needed? #1991 It's an omission in web3j
diff --git a/crypto/src/main/java/org/web3j/crypto/RawTransaction.java b/crypto/src/main/java/org/web3j/crypto/RawTransaction.java index a34a24b866..bd3f4ff6b1 100644 --- a/crypto/src/main/java/org/web3j/crypto/RawTransaction.java +++ b/crypto/src/main/java/org/web3j/crypto/RawTransaction.java @@ -13,6 +13,7 @@ packag...
3
1
1
[{"id": "G0", "claim": "The pull request's build is failing because of failing tests, and the tests must be fixed so the build passes and the PR can be merged.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "It would be nice to have a test case covering ...
null
LFDT-web3j__web3j__2006
LFDT-web3j/web3j
2,006
defect
86c987dd576154b4574fa5ea1973c77d1f30da5f
7b9bc400b793247534cca5f8d6934326e8c15854
Calculate baseFeePerBlobGas value
### What does this PR do? Add a new feature to get baseFeePerBlobGas value ### Where should the reviewer start? review all files, start with BlobFee.java file ### Why is it needed? *required*
diff --git a/core/build.gradle b/core/build.gradle index ac63fe3bcc..dbea2257b1 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -18,7 +18,10 @@ dependencies { "org.java-websocket:Java-WebSocket:$javaWebSocketVersion", "com.fasterxml.jackson.core:jackson-databind:$jacksonVersion", ...
3
2
1
[{"id": "G0", "claim": "The placeholder 'YourVertxVersion' in the core/build.gradle vertx-core dependency line is incorrect.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "ethGetBaseFeePerBlobGas may be calculating the next block's blob price rather...
null
LFDT-web3j__web3j__2016
LFDT-web3j/web3j
2,016
defect
d86b99343bda6fe90cd4cabb2a6e343ef7c23fb9
aa9b43da46cbd38880051acd11813b6f2fc0e6ee
Bug fix for large binary with unlink libraries codegen
### What does this PR do? Bug fix for large binary with unlinked libraries codegen ### Where should the reviewer start? All files ### Why is it needed? solidity bytecode with unlinked libraries can contain dollar sign (https://docs.soliditylang.org/en/latest/using-the-compiler.html) in the form of `__$hashed$_...
diff --git a/codegen/src/main/java/org/web3j/codegen/SolidityFunctionWrapper.java b/codegen/src/main/java/org/web3j/codegen/SolidityFunctionWrapper.java index ecd8e420ac..85f8df40fd 100644 --- a/codegen/src/main/java/org/web3j/codegen/SolidityFunctionWrapper.java +++ b/codegen/src/main/java/org/web3j/codegen/SolidityFu...
1
1
0
[{"id": "G0", "claim": "Replace the wildcard import `com.squareup.javapoet.*` in SolidityFunctionWrapperTest.java with explicit per-class imports.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
LFDT-web3j__web3j__2020
LFDT-web3j/web3j
2,020
defect
d86b99343bda6fe90cd4cabb2a6e343ef7c23fb9
19989ec085663d1ff380a88ff1e634f22a9f1efe
Fix for test java wrappers with duplicate name
### What does this PR do? Adds logic to fix bug where test java wrapper methods have duplicate name ### Where should the reviewer start? review all files ### Why is it needed? Bug fix for test java wrapper
diff --git a/codegen/src/main/java/org/web3j/codegen/unit/gen/MethodFilter.java b/codegen/src/main/java/org/web3j/codegen/unit/gen/MethodFilter.java index c527ac601e..ecb077c1c5 100644 --- a/codegen/src/main/java/org/web3j/codegen/unit/gen/MethodFilter.java +++ b/codegen/src/main/java/org/web3j/codegen/unit/gen/MethodF...
2
2
1
[{"id": "G0", "claim": "MethodParserTest should include a test for a smart contract that contains 2 methods with the same name, even ERC721.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The duplicated unique-name generation code in MethodFilter should...
null
LFDT-web3j__web3j__2025
LFDT-web3j/web3j
2,025
defect
16b133b8da47aff607517856c2aedcf32ad1db39
c47ba3d073e2eec9d3d1af33838c571990d2cbf2
Fix for test wrappers generation
### What does this PR do? Adds a check to skip test wrappers generation for getDeploymentBinary ### Where should the reviewer start? review all ### Why is it needed? Fixes test wrapper generation bug ## Checklist - [x] I've read the contribution guidelines. - [x] I've added tests (if applicable). - [x]...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 786cb76c8e..ccdd25d4b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### Bug Fixes -* +* Fix for test wrappers generation [#2025](https://github.com/web3j/web3j/pull/2025)...
1
1
0
[{"id": "G0", "claim": "The SolidityFunctionWrapper.getDeploymentBinary method should be made private again, and the tests-generation filtering should skip private methods rather than special-casing the getDeploymentBinary name.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
LFDT-web3j__web3j__2079
LFDT-web3j/web3j
2,079
defect
45540b922f4241e6f0f61708acd0328c02421aab
90ba6bfb20b22c4cd09636b1b72b9b24457ebf8a
Make getABI_* calls in wrapper should be static
### What does this PR do? getABI_* call in wrapper should be static method. we do not need an instance of wrapper to encode function ### Where should the reviewer start? All files ### Why is it needed? we do not need an instance of wrapper to encode function ## Checklist - [x] I've read the contribution ...
diff --git a/codegen/src/main/java/org/web3j/codegen/SolidityFunctionWrapper.java b/codegen/src/main/java/org/web3j/codegen/SolidityFunctionWrapper.java index 0559fca03a..1db0b3380a 100644 --- a/codegen/src/main/java/org/web3j/codegen/SolidityFunctionWrapper.java +++ b/codegen/src/main/java/org/web3j/codegen/SolidityFu...
1
1
0
[{"id": "G0", "claim": "Instead of adding a new, nearly empty AbiFuncs.sol test fixture (and compiling its .abi/.bin files), the tests should reuse an existing .sol file from the test resources.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null