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
Rajawali__Rajawali__1929
Rajawali/Rajawali
1,929
defect
f16ebda1617ed11941a935837e5547ac1ddbbe86
3aba9a65bc0b4660486e88d909a5b93303e6befc
fixed tangent calculations
addresses issue #1928 for Camden Hells, we can drop `QuadraticBezierCurve3D.setCalculateTangents()` and just get a tangent with `QuadraticBezierCurve3D.getTangent(double t)`
diff --git a/rajawali/src/main/java/org/rajawali3d/curves/QuadraticBezierCurve3D.java b/rajawali/src/main/java/org/rajawali3d/curves/QuadraticBezierCurve3D.java index 416dbd66e..6174271f0 100644 --- a/rajawali/src/main/java/org/rajawali3d/curves/QuadraticBezierCurve3D.java +++ b/rajawali/src/main/java/org/rajawali3d/cu...
1
1
1
[{"id": "G0", "claim": "Calling clone() every time in getCurrentTangent() will cause any animation using this method to generate a good deal of garbage; the reviewer asks that scratch members be used instead.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
RalfJung__cargo-careful__24
RalfJung/cargo-careful
24
defect
7fa90c656943af68953847d1cdeed8933e1c28bf
e06f19194f183694284b1278215d8a37f703f7b0
Add Main Thread Checker
Fixes https://github.com/RalfJung/cargo-careful/issues/22
diff --git a/Cargo.lock b/Cargo.lock index 3f7ad5a..34fcf6e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8,6 +8,12 @@ version = "1.0.75" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" +[[package]] +name = "apple-sdk" +ve...
3
3
0
[{"id": "G0", "claim": "The apple-sdk dependency is of unclear provenance and cargo-careful should not add it, preferring to shell out to `xcode-select --print-path` instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "There is no need to gate the Mai...
null
Ralith__hypermine__266
Ralith/hypermine
266
defect
8b67d26ff2bc62b1844ccef8125a46992251799f
bc105951e52d1e02a342e685e0a36b82763335ae
Groundwork for saves
This PR defines a stand-alone library with a simple API for persisting world state to disk, including both edited voxels and other entity states. It is motivated by these goals: - Fast random reads to any spatial neighborhood, to allow streaming large saves (e.g. highly-edited worlds) on-demand for consistent perfor...
diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 1d981addf..ba71510db 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -71,7 +71,7 @@ jobs: lfs: true - name: Install dependencies run: | - yum install -y alsa-lib-devel v...
5
3
1
[{"id": "G0", "claim": "The save still needs to separately record a graph path from the origin to each player so player positions can be restored when loading, because node IDs alone are insufficient to relate nodes to each other and player positions must be look-up-able without already knowing the ID of the node they ...
null
Ralith__hypermine__271
Ralith/hypermine
271
defect
55fb1988cfba9f420bc8713387e70402d2a252ce
4f8b608463d8eff7ada21a9c31f7ddab8c4f4276
Isolate entity and voxel data in saves
Allows e.g. entity movements to be persisted without rewriting up to 67.5KiB (for a full node of 12-voxel chunks, uncompressed). We could take this a step further and store each chunk separately, but that might reduce read performance, and voxel edits are expected to be infrequent.
diff --git a/save/benches/bench.rs b/save/benches/bench.rs index febfe5b7f..fb9584879 100644 --- a/save/benches/bench.rs +++ b/save/benches/bench.rs @@ -7,12 +7,7 @@ use rand::{rngs::SmallRng, Rng, SeedableRng}; fn save(c: &mut Criterion) { let mut write = c.benchmark_group("write"); - let node = save::Node ...
1
1
1
[{"id": "G0", "claim": "The setup code should also create the `ENTITY_NODE_TABLE` (not just `VOXEL_NODE_TABLE`) in the same transaction.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Ralith__hypermine__444
Ralith/hypermine
444
defect
4f79f6b7fedc44f8229e3304881503a1b7b4902c
4588813763e7c7741fb465d64072003a63bdb63b
Update packages to their latest versions
This PR updates the following packages: - rand - rand_pcg - rand_distr - yakui - yakui-vulkan - tokio - whoami - webpki Note that yakui released 0.3.0 recently, allowing us to use it as a cargo dependency instead of a github dependency. The `nalgebra` package has not yet updated rand, so to avoid conflict...
diff --git a/client/Cargo.toml b/client/Cargo.toml index 4bef8061..dbee24d6 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -14,8 +14,8 @@ server = { path = "../server" } tracing = "0.1.10" ash = { version = "0.38.0", default-features = false, features = ["loaded", "debug", "std"] } lahar = { git = "https:...
1
1
0
[{"id": "G0", "claim": "Updating dependencies between semver-compatible versions (e.g. tokio 1.18.2->1.43.0, whoami 1.2.1->1.5.2, webpki 0.22.0->0.22.4) is usually unnecessary and may be gratuitous churn; the author should say whether these updates are motivated by something in particular.", "category": "maintainabilit...
null
RamenDR__ramen__1663
RamenDR/ramen
1,663
defect
8c333b24308f6c43086e6d324c84c7eb0d767a0f
afdda6db76296601b91d1988fc5456dbbcfc33c3
Check for provisioner match when determining matching VRClass or VSClass
In cases where different SCs have the same storageID, but represent different provisioners, add checks to ensure the right v[R|S]Class is matched to the SC based on their respective provisioner name matches.
diff --git a/internal/controller/drpolicy_peerclass.go b/internal/controller/drpolicy_peerclass.go index de430d1f00..6a9a616784 100644 --- a/internal/controller/drpolicy_peerclass.go +++ b/internal/controller/drpolicy_peerclass.go @@ -136,14 +136,36 @@ func updatePeerClassStatus(u *drpolicyUpdater, syncPeers, asyncPeer...
1
1
0
[{"id": "G0", "claim": "The two near-identical helpers vscProvisionerMatchesSC and vrcProvisionerMatchesSC caused confusion, so the function should be renamed to provisionerMatchesSC and its parameters updated to (scName string, cl classLists, driver string) — or preferably (scName string, sClasses []*storagev1.Storage...
null
RamenDR__ramen__1706
RamenDR/ramen
1,706
defect
c2ec69f1a19efaff77f4e2388a2068643d9d8a55
3631525c1dd231eadbba3907f85af67f516832c1
e2e: Improve discovered apps infrastructure
- Add types.Deployer.IsDicovered() - Improve names for discovered apps Example log: ``` 2024-12-09T03:36:34.237+0530 INFO disapp-deploy-rbd-busybox dractions/discovered.go:20 Protecting workload 2024-12-09T03:36:34.375+0530 INFO disapp-deploy-rbd-busybox dractions/discovered.go:43 Creating drpc 2024-12-09T03:...
diff --git a/e2e/deployers/applicationset.go b/e2e/deployers/applicationset.go index 0bc15ddd6e..835e226b8f 100644 --- a/e2e/deployers/applicationset.go +++ b/e2e/deployers/applicationset.go @@ -90,3 +90,7 @@ func (a ApplicationSet) GetNamespace() string { func (a ApplicationSet) IsWorkloadSupported(w types.Workload) ...
2
1
0
[{"id": "G0", "claim": "The constant name RamenOpsNammespace is misspelled and should be renamed to RamenOpsNamespace.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer is still debating whether the interface should expose a bool-retur...
null
RamenDR__ramen__1719
RamenDR/ramen
1,719
defect
2753759a9cd6fd467739e3ceed0204b725840e7c
93c0b328fbac50c381a453402502d4d3ad6f9133
Check hook additional changes
Fixes #1697
diff --git a/internal/controller/util/json_util.go b/internal/controller/util/json_util.go index 3f5cc3261e..e9c62db418 100644 --- a/internal/controller/util/json_util.go +++ b/internal/controller/util/json_util.go @@ -7,6 +7,7 @@ import ( "context" "fmt" "reflect" + "regexp" "strings" "time" @@ -14,71 +15,...
1
1
1
[{"id": "G0", "claim": "When EvaluateCheckHookExp returns an error while iterating over the objects, the loop should stop and return the error immediately (return false, err) instead of continuing to evaluate the remaining objects.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introdu...
null
RamenDR__ramen__1724
RamenDR/ramen
1,724
defect
cce257334f37570c46799b47e6f51c39acb2cc3d
0b9e8d61ff94afcdaf0ee83aa10a04cd772899ca
create RS irrespective of PV mount status.
Fix for [[2319824] [RDR] Replication via Volsync requires PVC to be mounted before PVC is synchronized](https://issues.redhat.com/browse/DFBUGS-580) * Create ReplicationSource irrespective of PV being mounted to running pod. * Renamed "validatePVCBeforeRS" as "validatePVCForFinalSync"
diff --git a/internal/controller/volsync/vshandler.go b/internal/controller/volsync/vshandler.go index 6457c9355a..e419c736d5 100644 --- a/internal/controller/volsync/vshandler.go +++ b/internal/controller/volsync/vshandler.go @@ -382,13 +382,11 @@ func (v *VSHandler) validatePVCBeforeRS(rsSpec ramendrv1alpha1.VolSyncR...
4
4
0
[{"id": "G0", "claim": "The log messages in validatePVCBeforeRS should be reworded to differ only in the PVC description, the unhelpful \"...\" suffix dropped, and the condition written as the more natural `if inUseByReadyPod` since the code no longer skips creation.", "category": "maintainability", "verdict": "support...
null
RamenDR__ramen__1739
RamenDR/ramen
1,739
defect
638d31ec45c54abc4f4574687db8ec254234a835
15251f04e0a07bb4c85be3825b996cae933c742b
Volumes in recipes should be used to override LabelSelector and ignored for velero backups
- Removed function pointer that changed behavior of the recipeVolumesAndOptionallyWorkflowsGet() - RecipeElementsGet always returns complete recipe data - Ignore volume group in a workflow sequence - Fix tests
diff --git a/internal/controller/volumereplicationgroup_controller.go b/internal/controller/volumereplicationgroup_controller.go index d96432b043..6e0b938954 100644 --- a/internal/controller/volumereplicationgroup_controller.go +++ b/internal/controller/volumereplicationgroup_controller.go @@ -549,9 +549,10 @@ func (v ...
2
1
0
[{"id": "G0", "claim": "The PVC selector should perhaps be combined with OR logic between the selector defined in the DRPC and the one defined in the recipe (instead of the recipe's volumes label selector overriding the DRPC selector).", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduc...
null
RamenDR__ramen__1863
RamenDR/ramen
1,863
defect
970298e5049cea20db291815d60da7e32c706bbc
1e754dcc8a2ad2ec8458ccf142e25fd7f11a7823
e2e: update context to include cluster name for logging
This change enables logging cluster names in the next step, improving debugging and log readability by clearly identifying the cluster in log messages for different operations. Changes: - Updated Cluster struct to include Name field. - Added `ClusterConfig` struct for cluster properties like name and kubeconfigpat...
diff --git a/e2e/config.yaml.sample b/e2e/config.yaml.sample index 394b4479f2..06655a6a83 100644 --- a/e2e/config.yaml.sample +++ b/e2e/config.yaml.sample @@ -20,12 +20,15 @@ pvcspecs: accessmodes: ReadWriteMany # Sample cluster configurations: -# Uncomment and edit the following lines to provide the kubeconfig...
5
3
1
[{"id": "G0", "claim": "The commit message should use markdown list format with '- ' bullets and lines wrapped at 80 characters.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The sample config's cluster name should match the kubeconfig file name,...
null
RamenDR__ramen__1929
RamenDR/ramen
1,929
defect
8dd67156692974a5d081ac784208c45e61097082
6d2467bbd4a9a7b714e8208e27236b02095a1aa8
e2e: add drcluster validation with clusters in DRPolicy
Changes: - Added validation to ensure c1 and c2 exist in DRPolicy before proceeding with tests. - Replaced drpolicy.Spec.DRClusters[0] with ctx.Env().C1 so that drcluster order in drpolicy.Spec.DRClusters does not matter and we always pick c1 to deploy apps. - Moved log messages before resource creation in discove...
diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 6b57bcbed3..86ef5dc9a4 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -94,8 +94,8 @@ jobs: timeout-minutes: 3 run: drenv gather --directory gather.rdr envs/regional-dr.yaml - # Tar manually to work...
7
7
1
[{"id": "G0", "claim": "The pull request should not wire this specific validation into the test call site; instead util/validation.go should move to a new validate package exposing a public ValidateConfig that wraps the now-private clusters-in-DRPolicy check, called from the test (and the same from ramenctl and validat...
null
RamenDR__ramen__1948
RamenDR/ramen
1,948
defect
c975f8c0be43605868319f8427a24cbaaf0a84cc
272e284d22a9e89a666000f7f6b2754d77496a54
e2e: move validation to validate package and refactor calls
With this change util/validations.go is moved separate package under validate/validation.go, which will be also used in ramenctl. Also added a wrapper called TestConfig() which holds different validation helpers. Ran TestValidation and TestDR separately, o/p of validate.TestConfig call: 1. when success: ``` INF...
diff --git a/e2e/dr_test.go b/e2e/dr_test.go index ba7f1f9c7d..9aea40d45a 100644 --- a/e2e/dr_test.go +++ b/e2e/dr_test.go @@ -10,6 +10,7 @@ import ( "github.com/ramendr/ramen/e2e/deployers" "github.com/ramendr/ramen/e2e/test" "github.com/ramendr/ramen/e2e/util" + "github.com/ramendr/ramen/e2e/validate" "github...
3
3
2
[{"id": "G0", "claim": "Return a good error from validate.TestConfig so the e2e tests (dr_test.go and validation_test.go) can just use t.Fatal(err) instead of hardcoding a 'Failed to validate test environment' message that is not accurate in all cases.", "category": "correctness", "verdict": "supported", "priority": "P...
null
RamenDR__ramen__1956
RamenDR/ramen
1,956
defect
bae076b0fb560a6c3d14269d5732f55fe832e952
73a5d0f975cd5c1338238e64ebc985e3cad2d306
Improvements in evaluation of json expression
The PR addresses 3 issues related to json expression evaluation: 1. Json expression to be treated as literal when it doesn't start with $ > Expressions like {True}, {"Ready"}, {10} will be treated as literals. 2. Handle complex expression that contains operators complex expression can contain operators like '==...
diff --git a/go.mod b/go.mod index 0c76c518e7..50e4ae5c8e 100644 --- a/go.mod +++ b/go.mod @@ -74,6 +74,7 @@ require ( github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // ...
1
1
1
[{"id": "G0", "claim": "The newly added github.com/oliveagle/jsonpath dependency should be dropped (the maintainers had already decided not to use it and it appears unmaintained), with the library choice revisited once the RFC 9535 vs JsonPathPlus direction is decided.", "category": "maintainability", "verdict": "suppo...
null
RamenDR__ramen__1997
RamenDR/ramen
1,997
defect
b47c432e8afe4f79397cfaa06272ea7c20e8037f
1d8e13ac7292b53b5aadb39a3c41c39b8a6eb920
recipe: improvements to the exec hook
This PR will add single pod only capability for execution of the commands using exec hooks: 1. For singlePodOnly set to true and based on the select resource following would be the cases: a. If selectResource is pod, get all the pod in the given namespace with the combination of labelSelector and nameSelector and...
diff --git a/internal/controller/hooks/check_hook.go b/internal/controller/hooks/check_hook.go index c92eb5d8c3..cdab0018ea 100644 --- a/internal/controller/hooks/check_hook.go +++ b/internal/controller/hooks/check_hook.go @@ -14,7 +14,6 @@ import ( "github.com/ramendr/ramen/internal/controller/kubeobjects" appsv1 ...
6
4
1
[{"id": "G0", "claim": "Maybe do the SinglePodOnly match first in GetPodsToExecuteCommands, instead of nesting it in the else branch.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The statefulsets-count log statement should also add the name selector, n...
null
RamenDR__ramen__2001
RamenDR/ramen
2,001
defect
2f1b8b87392b194314a38878765243aec27190b7
b039116f1d51db13095cdb98546c891307d5bafc
validate DRPolicy Conflicts after updating PeerClasses and remove region field from ramendev config
- Validate DRPolicy Conflicts after updating PeerClasses. - Remove `region` field from `ramendev` config - add fakeMCV to DRPolicy tests
diff --git a/internal/controller/drpolicy_controller.go b/internal/controller/drpolicy_controller.go index 22c1981f73..26ee54b7fc 100644 --- a/internal/controller/drpolicy_controller.go +++ b/internal/controller/drpolicy_controller.go @@ -118,7 +118,7 @@ func (r *DRPolicyReconciler) Reconcile(ctx context.Context, req c...
1
1
0
[{"id": "G0", "claim": "The new sync/async configuration check in validatePolicyConflicts should be moved above line 282, before the GetAllDRPolicies call.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
RamenDR__ramen__2004
RamenDR/ramen
2,004
defect
8779d6472b3f17a80da2e1580edf3b256dc55609
e158e33891fc8bb498e498b23060edeb6f9142ab
e2e: add PVCSpec validation
This PR removes unsupporteddeployers support and adds `validatePVCSpecs` to perform validation checks for pvcspec values provided by user. And validates whether storageclass exists on managed clusters. (test results): - Duplicate PVCSpec names and content Tested with duplicate pvc spec named 'rbd': ``` FATAL Fa...
diff --git a/e2e/config/config.go b/e2e/config/config.go index 5af7ab8b60..68b9547c43 100644 --- a/e2e/config/config.go +++ b/e2e/config/config.go @@ -10,6 +10,7 @@ import ( "strings" "github.com/spf13/viper" + corev1 "k8s.io/api/core/v1" "github.com/ramendr/ramen/e2e/types" ) @@ -140,11 +141,95 @@ func vali...
5
5
3
[{"id": "G0", "claim": "Use k8s.io/apimachinery/pkg/api/validation for the name format check instead of the hand-rolled RFC 1123 regex in validateK8sResourceName.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Keep the Validate() method on the context - ...
null
RamenDR__ramen__2013
RamenDR/ramen
2,013
defect
f0980a06b5afafc8b39792d980ed85def3f8d0ea
a77655fdd4f1c659abb2356b0a1fbfed84aa887b
e2e: add Equal method for Config and related tests
The Equal method is added to the Config struct to allow comparison of two Config objects. This method checks for equality across various fields of the Config struct. The Equal method is necessary for ensuring accurate comparison and validation of configuration objects, particularly for use in reporting configurations a...
diff --git a/e2e/types/config.go b/e2e/types/config.go new file mode 100644 index 0000000000..5cb2454d72 --- /dev/null +++ b/e2e/types/config.go @@ -0,0 +1,46 @@ +// SPDX-FileCopyrightText: The RamenDR authors +// SPDX-License-Identifier: Apache-2.0 + +package types + +import ( + "maps" + "slices" +) + +// Equal return...
4
4
0
[{"id": "G0", "claim": "Inline the checks currently split into compareBasicFields/compareChannelAndNamespaces helpers inside Equal, so all the trivial comparison code is in one place.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The base confi...
null
RamenDR__ramen__2030
RamenDR/ramen
2,030
defect
23ffe92bd32c04646c4102ffb5839e1213402211
85f0bba1e2f6d5cb0f7468adc8f9eea88bc60c8f
Enable and process GroupClass based replication
Following up on https://github.com/RamenDR/ramen/pull/2015, this changes includes - [x] The updation of DRClusterConfig with VolumeGroupReplicationClasses and VolumeGroupSnapshotClasses. - [x] Update PeerClass.grouping based on VGRC - [x] Update PeerClass.grouping based on VGSC
diff --git a/internal/controller/drclusterconfig_controller.go b/internal/controller/drclusterconfig_controller.go index bc351700b0..7fcc2b4168 100644 --- a/internal/controller/drclusterconfig_controller.go +++ b/internal/controller/drclusterconfig_controller.go @@ -11,6 +11,7 @@ import ( "time" volrep "github.co...
5
4
3
[{"id": "G0", "claim": "The VolumeGroupSnapshot API import must be updated to the private fork path groupsnapv1beta1 \"github.com/red-hat-storage/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1\" following the private VGS API changes.", "category": "correctness", "verdict": "supported", "priority": "P1"...
null
RamenDR__ramen__2031
RamenDR/ramen
2,031
defect
18649829c91f2a9bc902960131cb016cb69c13af
80f48f66647d4fad05a4e28b048d27205f71cfe4
recipe: inverseOp addition for exec hooks
Adding implementation for inverse operation if provided for the exec hook. The changes include: 1. Move RecipeElements to util so that it can be re-used without import cycle and update all the references. 2. If the exec hook fails and inverseOp is specified, get the matching captureSpec or recoverSpec from the recipe...
diff --git a/internal/controller/hooks/exec_hook.go b/internal/controller/hooks/exec_hook.go index 62f48469a4..c02ee4bada 100644 --- a/internal/controller/hooks/exec_hook.go +++ b/internal/controller/hooks/exec_hook.go @@ -16,6 +16,7 @@ import ( "github.com/go-logr/logr" "github.com/ramendr/ramen/internal/control...
2
1
1
[{"id": "G0", "claim": "The new PvcSelector/recipe-elements code added in util/recipe.go duplicates the code in vrg_pvc_selector.go with its getPVCSelector(), and need to check whether the code can be simplified.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "...
null
RamenDR__ramen__2116
RamenDR/ramen
2,116
defect
e80925ffd7a0898d9d3b73967f0494f47f87c5db
bef4ec4aa5f9274fe0b7b355e793c002decc4d8f
Fixing ServiceAccount binding
Removed the Rolebindings completely and used label instead to bind Roles to ServiceAccount dynamically. As given in the [Kubernetes Documentation](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#aggregated-clusterroles) Fixes blocker: DFBUGS-2842
diff --git a/internal/controller/controllers_utils_test.go b/internal/controller/controllers_utils_test.go index 9596d120b4..240884af35 100644 --- a/internal/controller/controllers_utils_test.go +++ b/internal/controller/controllers_utils_test.go @@ -338,9 +338,9 @@ func drclusterConditionExpect( } func validateClu...
1
1
0
[{"id": "G0", "claim": "Define the open-cluster-management aggregate label string as a constant and reuse it in all places.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
RamenDR__ramen__2137
RamenDR/ramen
2,137
defect
107f57b70bb7515f99eadd16a63850193d0e8430
f598eed8a46b1d0485c966f3441e8337b4225f7b
Add NetworkFenceClass support with backward compatibility
This PR adds NetworkFenceClass support to the DRCluster fencing workflow while maintaining backward compatibility when NetworkFenceClass is not available. Ramen will only process NetworkFenceClasses annotated with storageID(s) that match the storageID and provisioner of the corresponding StorageClass, for example: ...
diff --git a/api/v1alpha1/drclusterconfig_types.go b/api/v1alpha1/drclusterconfig_types.go index cba7af1cb6..16656ff3f9 100644 --- a/api/v1alpha1/drclusterconfig_types.go +++ b/api/v1alpha1/drclusterconfig_types.go @@ -58,6 +58,10 @@ type DRClusterConfigStatus struct { // VolumeGroupReplicationClasses lists the detec...
5
4
1
[{"id": "G0", "claim": "The status comment misspells NetworkFenceClass as NetworkFenceClas and should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new status field's json tag should be plural (networkFenceClasses) since it hold...
null
RamenDR__ramen__2174
RamenDR/ramen
2,174
defect
279e81c17f096ae098951a0da93c26092972d624
bb54a94d6cbc5c11baab50c8e1318c9efc9b803e
Upgrade versions of golangci-lint ,mdl, yamllint, shellcheck
- Update versions of golangci-lint, mdl, yamllint and SmallCheck used by linter. - Updated linter config yaml - Update go files to resolve linter errors and warnings reported by upgraded version of linter. Reasons for the updates made to the linter config after migration : 1. staticcheck => was commented in ...
diff --git a/.golangci.yaml b/.golangci.yaml index 4fcd3ab6df..fdbd289d9f 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,136 +1,30 @@ --- -# yamllint disable rule:line-length -# Ref template: https://github.com/golangci/golangci-lint/blob/v1.37.1/.golangci.example.yml - -# options for analysis running -run: - ...
6
5
1
[{"id": "G0", "claim": "Keep the pre-existing comments explaining the default values (for errcheck's check-type-assertions and the next setting) in the migrated configuration.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out wsl se...
null
RamenDR__ramen__2216
RamenDR/ramen
2,216
defect
39b57e6e147bc6c1ab9a38cbbad60d38990c225d
936c739198c1a9603a21c25134b4f60faae79a77
modify the logic to determine when to set grouping when VGRC is available
When VGRC is available, grouping is true when both exist with ReplicationID not necessarily requiring them to have identical ReplicationIDs
diff --git a/internal/controller/drpolicy_peerclass.go b/internal/controller/drpolicy_peerclass.go index 1438d8c5d2..d31f277d6c 100644 --- a/internal/controller/drpolicy_peerclass.go +++ b/internal/controller/drpolicy_peerclass.go @@ -287,7 +287,7 @@ func getAsyncVRClassPeer(scName string, clA, clB classLists, sIDA, sI...
1
1
1
[{"id": "G0", "claim": "In the non-offloaded branch rID is now the VRClass replication ID rather than the VGRClass replication ID (vgrcID), changing what the peer ends up using.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
RamenDR__ramen__2229
RamenDR/ramen
2,229
defect
84ef52688825db8077df1668b0bbd8e33ea19a5c
4fe1dc420adcddbf0cc754cc1b45e61e310356ce
Ensure the VGR resource name ends with an alphanumeric character
During VolumeGroupReplication resource name creation, the CG label from the PVC is concatenated with the VRG name and trimmed to the maximum Kubernetes resource name length (63 characters). If the resulting name ends with a non-alphanumeric character, the VGR resource creation fails with the following error: ` ...
diff --git a/internal/controller/util/misc.go b/internal/controller/util/misc.go index b428c85340..45677f972a 100644 --- a/internal/controller/util/misc.go +++ b/internal/controller/util/misc.go @@ -386,7 +386,18 @@ func IsPVCMarkedForVolSync(annotations map[string]string) bool { func TrimToK8sResourceNameLength(name ...
2
2
1
[{"id": "G0", "claim": "The loop-based trimming should be simplified to strings.TrimRight(name, \"-.\") (or a generic [^a-z0-9]+$ regexp) since the name is known to contain only a-z0-9-.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The change ...
null
RamenDR__ramen__2242
RamenDR/ramen
2,242
defect
8380d72c8cd53bb471c3bdb61022d70a83ba1d45
bbe5461694b8fc7595f34dd034bed60b19b9153c
Adds logic for orphand PVCs deletion
Fix: properly manage ownership and cleanup of CephFS PVCs in DR failover When DR protection is removed from discovered applications, CephFS PVCs on the secondary cluster can become orphaned because they are not owned by the VRG via ownerReferences but are instead labeled with: `ramendr.openshift.io/owner-name` ...
diff --git a/internal/controller/volsync/vshandler.go b/internal/controller/volsync/vshandler.go index a70928ac70..b793becefc 100644 --- a/internal/controller/volsync/vshandler.go +++ b/internal/controller/volsync/vshandler.go @@ -170,6 +170,10 @@ func (v *VSHandler) ReconcileRD( return nil, err } + if err = v.a...
15
7
4
[{"id": "G0", "claim": "The fix is overly complicated and introduces unnecessary risk; instead the RD should be made un-owned by removing the VRG→RD controller reference, with the RD assigned as owner of the PVC after RD creation so Kubernetes GC removes the PVC when the RD is deleted.", "category": "design", "verdict"...
null
RamenDR__ramen__2244
RamenDR/ramen
2,244
defect
e2108f47c0068967f0a62c6bca112622eb777657
1ea1a32d2404795169302c22a9408ddcc2097c5c
Prevent DR failover until workload protection is confirmed (DFBUGS-1341)
This PR addresses the issue [DFBUGS-1341](https://issues.redhat.com/browse/DFBUGS-1341) by adding a check for workload Protected before allowing failover. - Introduces a helper method isProtected() to verify the ConditionProtected status on the DRPlacementControl resource. - Adds logic to block failover initiatio...
diff --git a/internal/controller/drplacementcontrol.go b/internal/controller/drplacementcontrol.go index a38e5ee1d0..4b6cadbc5f 100644 --- a/internal/controller/drplacementcontrol.go +++ b/internal/controller/drplacementcontrol.go @@ -390,11 +390,32 @@ func (d *DRPCInstance) RunFailover() (bool, error) { return !don...
1
1
0
[{"id": "G0", "claim": "The message \"waiting for workload protection before starting failover\" is confusing and should be reworded to something like \"cannot start failover because workload is not protected\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
RamenDR__ramen__2261
RamenDR/ramen
2,261
defect
e27e66d7dd6e65fad3e8546125e29f12e6b96aed
0ebfd08f859cb3336679ecd18e8f42ffefa9ac0d
add ScaleHook to support scaling resources
add ScaleHook to support scaling resources - Introduce ScaleHook with support for scaling up, scaling down, and sync operations on Kubernetes Deployments and StatefulSets. - The sync operation waits for replicas to reach the desired count by polling resource status, ensuring reliable scaling workflows....
diff --git a/config/dr-cluster/rbac/role.yaml b/config/dr-cluster/rbac/role.yaml index 0021d7e1c5..d91c6d6042 100644 --- a/config/dr-cluster/rbac/role.yaml +++ b/config/dr-cluster/rbac/role.yaml @@ -78,6 +78,7 @@ rules: - get - list - watch + - update - apiGroups: - cluster.open-cluster-management.io r...
8
7
1
[{"id": "G0", "claim": "Instead of passing individual arguments to GetHookExecutor, a HookContext struct should be defined and passed to it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ScaleResource interface could be better named Resource.", "cat...
null
RamenDR__ramen__2303
RamenDR/ramen
2,303
defect
ba4299833a40f54cde7015ff9c25ebcbd0acc737
0d2e4fa397cb825b8466fb2d9334b9fc3bd6baae
e2e: move base context to diff package
main_test was implementing Context defined within TestContext struct. Moved to a package app, so that it can be re-used.
diff --git a/e2e/app/context.go b/e2e/app/context.go new file mode 100644 index 0000000000..27ac85f2be --- /dev/null +++ b/e2e/app/context.go @@ -0,0 +1,63 @@ +// SPDX-FileCopyrightText: The RamenDR authors +// SPDX-License-Identifier: Apache-2.0 + +package app + +import ( + "context" + "time" + + "go.uber.org/zap" + +...
8
8
4
[{"id": "G0", "claim": "Rename BaseContext to Context now that the type lives in its own package, so call sites read clearly as app.Context and test.Context.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The remaining Set* mutators are not need...
null
RamenDR__ramen__2335
RamenDR/ramen
2,335
defect
37d4128e1e82ce15ffa9488ebe3b734af4c8f493
98b747f8f0c1889035894d4b38314c0f8c2f1a84
disapp: create namespace(s) on the secondary cluster
In the mw_util, CreateOrUpdateNamespaceManifest was not accepting labels as one of the argument and was always sending empty labels. Parameterizing, so that any consumers of it will be able to send the labels as well now. The existing callers are made to send empty labels so that they are not impacted. For discov...
diff --git a/internal/controller/drplacementcontrol.go b/internal/controller/drplacementcontrol.go index 1cfca37534..852e0df28e 100644 --- a/internal/controller/drplacementcontrol.go +++ b/internal/controller/drplacementcontrol.go @@ -170,13 +170,8 @@ func (d *DRPCInstance) RunInitialDeployment() (bool, error) { ret...
5
4
1
[{"id": "G0", "claim": "The namespace-creation function should handle both cases: creating the namespace when the app is not discovered and matches the application namespace, and creating the namespaces under ProtectedNamespaces when the app is discovered.", "category": "correctness", "verdict": "supported", "priority"...
null
RamenDR__ramen__2378
RamenDR/ramen
2,378
defect
82c9702bfd5f0ec9ef89e88b05bd509b16e7ee6a
1d04707f36ab0b7c69a3e4cf4c243f2ec474fd72
Add StorageAccessDetails to DRClusterConfig and Alerts on CIDR mismatch
This PR adds CIDR validation to DRCluster resources by detecting storage provisioner CIDRs from CSIAddonsNode resources and validating them against user-specified CIDRs in DRCluster spec. ## Changes - [x] **API Changes**: Add StorageAccessDetail type to DRClusterConfigStatus - StorageProvisioner: name of th...
diff --git a/api/v1alpha1/drclusterconfig_types.go b/api/v1alpha1/drclusterconfig_types.go index c45307a4cd..5e3ae8f840 100644 --- a/api/v1alpha1/drclusterconfig_types.go +++ b/api/v1alpha1/drclusterconfig_types.go @@ -59,9 +59,22 @@ type DRClusterConfigStatus struct { // ramen replicationid label VolumeGroupReplic...
9
5
2
[{"id": "G0", "claim": "The typo fix in the NetworkFenceClass comment in drclusterconfig_types.go (and its copy in the generated CRD manifest) is unrelated to the pull request's changes and should be made in a separate commit.", "category": "process", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id...
null
RamenDR__ramen__2406
RamenDR/ramen
2,406
defect
faa7927f86870a8a6a292233a24b493c7b73e5ae
f775c7380e489983629f5c7d99dd51d9364dc450
drenv: Add --dns-mode for managed macOS
## The problem On managed Macs, corporate security agents (e.g., Cisco Umbrella, AnyConnect, CrowdStrike) install network extensions that implement a hardened DNS proxy. DNS traffic from the minikube VM bridge (192.168.105.1) to the host's DNS resolver is silently discarded, causing DNS lookups to fail with "Co...
diff --git a/test/drenv/providers/minikube.py b/test/drenv/providers/minikube/__init__.py similarity index 100% rename from test/drenv/providers/minikube.py rename to test/drenv/providers/minikube/__init__.py diff --git a/test/drenv/providers/minikube/networkextension.py b/test/drenv/providers/minikube/networkextension...
1
1
0
[{"id": "G0", "claim": "The new test data file name is misspelled as no-extesions.stdout and should be no-extensions.stdout.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
RamenDR__ramen__2434
RamenDR/ramen
2,434
defect
9cb7880df82509fe2c841e5d38d34d16c9180002
d93e7758a765a1ea00df89506354e444d5d1c47d
pvc: handle unmounted pvcs without annotations
This PR will handle the unmounted PVCs without making use of annotation. And also if moverConfig is provided in DRPC, then mount job will not be created using ramen. Fixes #2431
diff --git a/internal/controller/util/misc.go b/internal/controller/util/misc.go index 2ed54fab8a..1ded83c9ce 100644 --- a/internal/controller/util/misc.go +++ b/internal/controller/util/misc.go @@ -48,8 +48,6 @@ const ( VRGOwnerNamespaceLabel string = "volumereplicationgroups-owner-namespace" MarkForDeletion = "...
1
1
0
[{"id": "G0", "claim": "Remove the commented-out deleteMountJobIfExists call block left in ReconcileRS.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
RamenDR__ramen__2439
RamenDR/ramen
2,439
defect
1a3557ee37fd4f016b3f780dc774114cc7d7477e
882f9a58f18ffb1503f15f9e265131244e61dbd5
hooks: add support for job and cronjobs
As of now, for exec hooks, deployments, daemonsets, statefulsets and pods are supported. Job and CronJob support is being added through this PR. Assisted by AI
diff --git a/internal/controller/hooks/exec_hook.go b/internal/controller/hooks/exec_hook.go index 927765b989..d42776d724 100644 --- a/internal/controller/hooks/exec_hook.go +++ b/internal/controller/hooks/exec_hook.go @@ -57,6 +57,23 @@ func (e ExecHook) Execute(log logr.Logger) error { return fmt.Errorf("error get...
1
1
1
[{"id": "G0", "claim": "SkipHookIfNotPresent should not apply to exec hooks (it was only meant for check hooks), so when no pods are found an exec hook should return an error instead of honouring the skip flag.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
RamenDR__ramen__2446
RamenDR/ramen
2,446
defect
1a3557ee37fd4f016b3f780dc774114cc7d7477e
99302c5b694d9db463c6808a2479cf4f15dfcc23
Add CG PVC ownership and cleanup for discovered apps
Implement complete PVC ownership management for CG (Consistency Group) discovered applications. When DR protection is removed from discovered applications with CephFS consistency groups, their associated PVCs are no longer labeled but not owned directly. This change ensures: On secondary cluster: - When Replication...
diff --git a/internal/controller/cephfscg/cghandler.go b/internal/controller/cephfscg/cghandler.go index 15ff9cb687..05deb08fa7 100644 --- a/internal/controller/cephfscg/cghandler.go +++ b/internal/controller/cephfscg/cghandler.go @@ -108,6 +108,12 @@ func (c *cgHandler) CreateOrUpdateReplicationGroupDestination( Wi...
2
2
0
[{"id": "G0", "claim": "The comment block above disownRSManagedPVCsBeforeRGSDeletion partially describes a different function; in particular the first two lines (about assignRDAsOwnerOfPVC and garbage collection) do not seem to belong to disownRSManagedPVCsBeforeRGSDeletion.", "category": "documentation", "verdict": "s...
null
RamenDR__ramen__2473
RamenDR/ramen
2,473
defect
5af4e47079513e4e6a2f8184ef537ccd4ac00008
f936d0ba8a96e562bb61b78dfbf4f36e5421630b
Prevent overwriting user-set values during OLM install/upgrade
Fixes: https://redhat.atlassian.net/browse/DFBUGS-440
diff --git a/internal/controller/ramenconfig.go b/internal/controller/ramenconfig.go index 33623b97e4..2fc9ec35aa 100644 --- a/internal/controller/ramenconfig.go +++ b/internal/controller/ramenconfig.go @@ -13,6 +13,7 @@ import ( corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/ap...
2
2
1
[{"id": "G0", "claim": "LoadControllerConfig should panic when RAMEN_CONTROLLER_TYPE is not set instead of silently continuing without it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "DefaultRamenConfig should not set cfg.RamenControllerType.", "catego...
null
RamenDR__ramen__2512
RamenDR/ramen
2,512
defect
7b8b67b7c9bd44021208d7292de74b23434e6f84
6ece291230c3823215731d4aefc55072713d9f6b
recipe: manage excluded resources using config map
This commit implements a flexible, user-configurable approach for managing Velero backup excluded resources through a ConfigMap. 1. On startup, VRG controller ensures default-excluded-resources ConfigMap exists 2. If missing, creates it with hardcoded defaults: - volumereplications.replication.storage.openshift...
diff --git a/config/dr-cluster/rbac/role.yaml b/config/dr-cluster/rbac/role.yaml index 1a41b0a57a..1b5e89462a 100644 --- a/config/dr-cluster/rbac/role.yaml +++ b/config/dr-cluster/rbac/role.yaml @@ -11,6 +11,8 @@ rules: verbs: - list - watch + - create + - get - apiGroups: - "" resources: diff --git a...
1
1
0
[{"id": "G0", "claim": "Add patch and update to the configmaps RBAC verbs at the same time as create.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
RamenDR__ramen__2534
RamenDR/ramen
2,534
defect
d5c59e6339ba46f800f8b21fa1f0502639e5b4ea
90c13c0b690a96cbb4b349138cc299654d085003
recipe: create recipe on destination cluster automatically
Add support for propagating Recipe resources from source cluster to destination cluster during DR operations. When a DRPC specifies a RecipeRef in KubeObjectProtection, the Recipe is now automatically fetched from the source cluster using ManagedClusterView and deployed to the destination cluster via ManifestWork be...
diff --git a/internal/controller/controllers_utils_test.go b/internal/controller/controllers_utils_test.go index 81fda02fb1..917c3f4730 100644 --- a/internal/controller/controllers_utils_test.go +++ b/internal/controller/controllers_utils_test.go @@ -341,9 +341,9 @@ func drclusterConditionExpect( } func validateClu...
3
3
2
[{"id": "G0", "claim": "prepareRecipeForMW builds the copy with only name and namespace in ObjectMeta, so the recipe's labels and annotations are lost when the ManifestWork is created.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test's bumped...
null
RamenDR__ramen__2547
RamenDR/ramen
2,547
defect
f28b530a43ea42cf164c7ecf10e4ba9797678e22
3d7ba26b4827335facb1d8573ea10a4e37921bd6
Support different volume IDs and group IDs across storage replication systems
This PR is a compilation of Nick Nevin's PR https://github.com/RamenDR/ramen/pull/2533 and my implementation of different volume IDs for Consistency Groups. This adds support for storage providers where the source and destination volume IDs differ within a volume replication relationship. When the storage provide...
diff --git a/go.mod b/go.mod index cbefd36439..959e4bcd68 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/ramendr/ramen // Required minimum version, must be available in downstream builders. -go 1.25.0 +go 1.25.7 // Recommended version: latest go toolchain. toolchain go1.26.1 @@ -9,6 +9,10 @@...
12
5
5
[{"id": "G0", "claim": "The go.mod replace directive pinning github.com/csi-addons/kubernetes-csi-addons to the personal nicknevin fork must be removed before merge, switching back to upstream once the dependent change is available.", "category": "maintainability", "verdict": "uncertain", "priority": "P1", "scope": "in...
null
RamenDR__ramen__376
RamenDR/ramen
376
defect
e5e91bf3aa75caf6f20d0c9d0ef8f2d345fb55f6
03dd8117d65579ec48570c647d8e1e3708313eb0
drpolicy: validate CIDRs format
Validating the CIDRs in DR Policy and added tests Signed-off-by: rakeshgm <rakeshgm014@gmail.com>
diff --git a/controllers/drpolicy_controller.go b/controllers/drpolicy_controller.go index d0ac4a7d6a..9e41b7a874 100644 --- a/controllers/drpolicy_controller.go +++ b/controllers/drpolicy_controller.go @@ -19,6 +19,8 @@ package controllers import ( "context" "fmt" + "net" + "strings" "github.com/go-logr/logr"...
7
6
2
[{"id": "G0", "claim": "The extra exported CIDRsFomatValidate helper is unnecessary; its logic should be moved into validateCIDRsFormat.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The (string, error) return pair is redundant; the function shou...
null
Randgalt__record-builder__112
Randgalt/record-builder
112
defect
661d0818c087580661cff4b4d4f84df884f0dce3
76d199252dede7444276c3946095328d5eed6654
#107
Fixes #107
diff --git a/record-builder-processor/src/main/java/io/soabase/recordbuilder/processor/InternalRecordBuilderProcessor.java b/record-builder-processor/src/main/java/io/soabase/recordbuilder/processor/InternalRecordBuilderProcessor.java index 54aa9855..67b7b781 100644 --- a/record-builder-processor/src/main/java/io/soaba...
1
1
0
[{"id": "G0", "claim": "getOptionalStatement should use OptionalType's isOptional() method (made public, comparing against the stored optionalType) instead of inlining a typeName equality check in the processor.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Randgalt__record-builder__116
Randgalt/record-builder
116
defect
c3719326c958ab58aeb8b919571110cb39f333b4
370427c188336d9a6db533b0c241f17283cee048
Collection copying only when changed
For #114 Currently the test `TestCollections.testRecordBuilderOptionsCopied` fails, since I had to change the signature of the `__list()` shim methods. The problem is, that the code as on master generates setters for collections with different signatures: If `addSingleItemCollectionBuilders == true`: `someList(Co...
diff --git a/record-builder-processor/src/main/java/io/soabase/recordbuilder/processor/CollectionBuilderUtils.java b/record-builder-processor/src/main/java/io/soabase/recordbuilder/processor/CollectionBuilderUtils.java index 8bd28fd1..bab61c69 100644 --- a/record-builder-processor/src/main/java/io/soabase/recordbuilder...
2
1
0
[{"id": "G0", "claim": "The generated mutable-maker default case should be `return new $T<>(o)` with the diamond operator instead of the raw `return new $T(o)`.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Instead of making a backward incompatible...
null
Randgalt__record-builder__138
Randgalt/record-builder
138
defect
3e1d7d69d01c6c90881009ad6a64d7d8a9e1ed50
4a6ec2d9ddd2b0079676cf4e48a60878b22271d8
issue-122: updated add1GetterMethod logic in useImmutableCollections=true case
fix for #122 I am not sure that this is something exactly you would like to expect, but I reproduced and tested this case, seems it works. Would be glad to get any feedback. Please let me know if everything is fine - I would like to take issue 123 in that case as well
diff --git a/record-builder-processor/src/main/java/io/soabase/recordbuilder/processor/InternalRecordBuilderProcessor.java b/record-builder-processor/src/main/java/io/soabase/recordbuilder/processor/InternalRecordBuilderProcessor.java index 08238cc9..523a3829 100644 --- a/record-builder-processor/src/main/java/io/soaba...
2
2
1
[{"id": "G0", "claim": "Add a test covering the useImmutableCollections=true getter behaviour this PR fixed, which the maintainer reproduced and found untested.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Rename build1codeBlock() to a clearer name, s...
null
Randgalt__record-builder__149
Randgalt/record-builder
149
defect
e12d359696457a08e69bbdfb45f12168768b2975
d32aa329d627032a7a18aee2365deba33899102b
handle RecordBuilder.Options on packages
fixes https://github.com/Randgalt/record-builder/issues/148
diff --git a/record-builder-core/src/main/java/io/soabase/recordbuilder/core/RecordBuilder.java b/record-builder-core/src/main/java/io/soabase/recordbuilder/core/RecordBuilder.java index 15ffc4e0..62eacaa9 100644 --- a/record-builder-core/src/main/java/io/soabase/recordbuilder/core/RecordBuilder.java +++ b/record-build...
3
2
1
[{"id": "G0", "claim": "The license check fails because the new test file TestOptionsOnPackage.java is missing the required license header.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The copyright header on the new TestOptionsOnPackage.java is t...
null
Randgalt__record-builder__154
Randgalt/record-builder
154
defect
1b22341b58e9bfda0fa5135eb8071e83be7a4a6a
7e9d447947a3fdb7eff4208a9536c99f89bc57f5
Introduced useUnmodifiableCollections option
Introduced useUnmodifiableCollections option. Related to Randgalt/record-builder/#153
diff --git a/pom.xml b/pom.xml index 6d5834ae..46face1a 100644 --- a/pom.xml +++ b/pom.xml @@ -58,6 +58,7 @@ <javapoet-version>1.12.1</javapoet-version> <junit-jupiter-version>5.5.2</junit-jupiter-version> + <assertj-core.version>3.24.2</assertj-core.version> <asm-version>7.2</asm-ve...
1
1
1
[{"id": "G0", "claim": "The pull request's new unmodifiable-collection shim behaviour (e.g. Set components now get Collections.unmodifiableSet instead of a copyOf) is applied unconditionally and is breaking tests/backward compatibility, so it should probably be put behind an option.", "category": "correctness", "verdic...
null
Randgalt__record-builder__197
Randgalt/record-builder
197
defect
8f8f92d8d369f74c6ab63e9a60ac6153f0c0afc0
ff2e5c72aa92ec8a5926265dc4329fcfaa0b7796
Consider initializers for staged required only builders
### Background Fixes #187 ### Changes Components with initializers (annotated with `@RecordBuilder.Initializer(...)`) are now excluded from staging in "staged required only" builders and are added to the final stage. A new option `skipStagingForInitializedComponents` controls this behavior. By default, in...
diff --git a/options.md b/options.md index 8092edbc..d64cdaf2 100644 --- a/options.md +++ b/options.md @@ -78,13 +78,15 @@ A variant of staged builders is available that only stages required record compo The following are not staged and are added to the final stage: - optional components (when `addConcreteSettersForO...
2
2
1
[{"id": "G0", "claim": "Add an option so the new exclude-initialized-components-from-staging behavior is opt-in instead of applying unconditionally and breaking existing code.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Use initializers.containsKey(re...
null
Randgalt__record-builder__205
Randgalt/record-builder
205
defect
17a5fd0c602c7b17533a851ac93aca10d4630012
8f2a4d0235ab68c585d02288fe6824263df51341
fix concrete setters for optional in staged required only builder
fixes #204
diff --git a/record-builder-processor/src/main/java/io/soabase/recordbuilder/processor/InternalRecordBuilderProcessor.java b/record-builder-processor/src/main/java/io/soabase/recordbuilder/processor/InternalRecordBuilderProcessor.java index a669abce..248cd21c 100644 --- a/record-builder-processor/src/main/java/io/soaba...
2
2
1
[{"id": "G0", "claim": "The new addConcreteSettersForOptional coverage should be a separate test class so both test configurations exist.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The isRequiredStage early return is wrong; addConcreteSettersForOpti...
null
Randgalt__record-builder__212
Randgalt/record-builder
212
defect
b885ace2b6243069f4dd8635af90b3092be3f222
2a303119373d59f79b449773f6564ee09509d039
Deconstructors
Details here: https://github.com/Randgalt/record-builder/blob/jordanz/deconstructors/deconstructors.md
diff --git a/README.md b/README.md index d8750a66..28bf9a00 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ ## What is RecordBuilder +### ___**NEW!! [Deconstuctors](deconstructors.md)**___ + Java 16 introduces [Records](https://openjdk.java.net/jeps/395). While this version of records is fantastic, it's ...
1
1
0
[{"id": "G0", "claim": "The link text 'Deconstuctors' in the README heading is a typographical error and should be spelled 'Deconstructors' to match the rest of the documentation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Randgalt__record-builder__74
Randgalt/record-builder
74
defect
67e3b2a62a989bb55cbc006ca2768dab7c0d6c96
524eaab26f946ea846304d3d5d6b359c3db87083
Support single item collection builders
When `addSingleItemCollectionBuilders()` is enabled in options, collection types (`List`, `Set` and `Map`) are handled specially. The setters for these types now create an internal collection and items are added to that collection. Additionally, "adder" methods prefixed with `singleItemBuilderPrefix()` are created t...
diff --git a/record-builder-core/src/main/java/io/soabase/recordbuilder/core/RecordBuilder.java b/record-builder-core/src/main/java/io/soabase/recordbuilder/core/RecordBuilder.java index 5d8875cc..5aa7ce93 100644 --- a/record-builder-core/src/main/java/io/soabase/recordbuilder/core/RecordBuilder.java +++ b/record-build...
2
2
1
[{"id": "G0", "claim": "In the addP example comment of add1MapBuilder, a Map's internal collection should be initialized with `new HashMap<>()` instead of `new ArrayList<>()`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The adder methods for List...
null
Randgalt__record-builder__86
Randgalt/record-builder
86
defect
bae1b771b7f4f8f95847e54f57127478c8030d07
8a770af57194a7c73912128ecad29eb9e81811f8
Add configurable method name prefixes to builders
Sometimes I feel old and conservative and want to do things the old way. Just kidding; We have a giant codebase built on top of Immutables.org. It makes builders with setter methods. To make our migration to records as painless as possible, it is nice to migrate without having to rename the usage of Immutables buil...
diff --git a/record-builder-core/src/main/java/io/soabase/recordbuilder/core/RecordBuilder.java b/record-builder-core/src/main/java/io/soabase/recordbuilder/core/RecordBuilder.java index b448001e..7d3b3b5e 100644 --- a/record-builder-core/src/main/java/io/soabase/recordbuilder/core/RecordBuilder.java +++ b/record-build...
2
1
0
[{"id": "G0", "claim": "When the prefix options are active, the builder should also generate a separate nested interface (like With) with default bean-style prefixed getters that the record can implement to become old-school compatible.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introdu...
null
Randgalt__record-builder__94
Randgalt/record-builder
94
defect
fef69af1833fbfef2bd37ad0e57d48d2804aed15
08202242219313a67369736d517da02a16248c28
Add flag to add concrete setters for optionals
In my adventure to replace Immutables.org, I stumbled upon yet another nifty feature: If you are setting an optional field, you are probably intending to set a concrete value. So here is this PR that adds setters that take concrete values and wrap them in optional prior to insertion into the record.
diff --git a/record-builder-core/src/main/java/io/soabase/recordbuilder/core/RecordBuilder.java b/record-builder-core/src/main/java/io/soabase/recordbuilder/core/RecordBuilder.java index 7d3b3b5e..451370f5 100644 --- a/record-builder-core/src/main/java/io/soabase/recordbuilder/core/RecordBuilder.java +++ b/record-build...
2
2
1
[{"id": "G0", "claim": "Add a test Record with Optional components but with addConcreteSettersForOptional not enabled, so all permutations are tested.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Use pattern-matching instanceof (if (!(component.typeNa...
null
RangerMauve__hyper-sdk__86
RangerMauve/hyper-sdk
86
defect
3e538ce5750da7dd37787c20d50c32be000199da
b84a813efe9433a995951c7b7c3151a7d70acb5a
Refactor test system
Refactor test system - Using new tape version (with async support) - Adding promise support for close operation - Using browser-run instead of manual approach for browser tests - Adding proper closing of tests to prevent errors in browser - Removing need for tmp dependency - Use .github actions Note: the bro...
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..645821e --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,22 @@ +name: Testing + +on: [ push, pull_request ] + +jobs: + build: + runs-on: ubuntu-16.04 + strategy: + matrix: + node: [ '12',...
2
1
0
[{"id": "G0", "claim": "Browser tests fail with a 'hyperspace: Hypercore - load from network timed out after 120000ms' error, and the Electron process throws an unhandled 'error' event on exit on Linux; the reviewer suggests figuring this out in future PRs.", "category": "testing", "verdict": "uncertain", "priority": "...
null
RapidAI__TableStructureRec__28
RapidAI/TableStructureRec
28
defect
230625beb0f12a46f0cd952120055b987fc00d3a
6b76462adfe6fb8c8d330b6408c6c11636e7c1b8
adapt for py 3.8 & add text oritation for wired table
1. 去掉了有线表格的benchmark row,以模型输出的精度为依据,尽可能减少工程干预 2. 增加了基于霍夫直线和透视变换的小角度偏移识别和矫正方法,适用边缘清晰的有线表格 3. 调整了部分函数的出参和入参,适配3.8及以上版本的python
diff --git a/README.md b/README.md index 0afd3eb..5e6ae93 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,16 @@ print(f"elasp: {elasp}") # # 可视化 ocr 识别框 # plot_rec_box(img_path, f"{output_dir}/ocr_box.jpg", ocr_res) ``` - +#### 偏移修正 +```python +import cv2 +img_path = f'tests/test_files/wired/squeeze_error.jpeg' ...
2
2
0
[{"id": "G0", "claim": "The `list` in plot_html_table's logi_points annotation was overlooked and should be `List` like the rest of the typing style.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out theta/range_res block in get_b...
null
Rapptz__discord.py__10152
Rapptz/discord.py
10,152
defect
26855160f8a8f0dfade609cce6b1bc97f8b8fa14
9a41981f1c958dd0c157aaa658b812a4be97e2aa
Add colours for new Discord themes
## Summary <!-- What is this pull request for? Does it fix any issues? --> Completes #10151 Adds the following: - `Colour.ash_theme` - `Colour.ash_embed` - `Colour.onyx_theme` - `Colour.onyx_embed` - `Colour.light_theme` Updates the following: - `Colour.dark_theme` - `Colour.dark_embed` - `Colour.l...
diff --git a/discord/colour.py b/discord/colour.py index 7e3a37132a11..b66b0110dfad 100644 --- a/discord/colour.py +++ b/discord/colour.py @@ -21,6 +21,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ + from __future__ import annotations import colorsys @@ -4...
1
1
1
[{"id": "G0", "claim": "The dark_theme docstring's first line still says the colour is ``0x313338`` although the PR changed the method to return 0x1A1A1E, so the docstring was forgotten and needs updating.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Rapptz__discord.py__7769
Rapptz/discord.py
7,769
defect
8993b7f5feca57cf6ed7d7c86d2a24daeeadd581
09d58743a9a1de939062bbf6c6693d4214486f43
Update parent reference of `Group` children
## Summary Take the following example using `master`: ```python import discord from discord import app_commands class MyGroup(app_commands.Group, name='stuff'): @app_commands.command() async def things(self, interaction: discord.Interaction) -> None: ... g = MyGroup() copy = g._copy_wi...
diff --git a/discord/app_commands/commands.py b/discord/app_commands/commands.py index 67bbff53570c..afc0d0a40e33 100644 --- a/discord/app_commands/commands.py +++ b/discord/app_commands/commands.py @@ -934,8 +934,8 @@ def __init__( self._children: Dict[str, Union[Command, Group]] = {} for child in ...
2
2
1
[{"id": "G0", "claim": "With the PR's swapped order in Group.__init__ (child.parent = self moved after _copy_with_binding), Rapptz thinks the first layer of children on the copy (e.g. /foo bar's parent) ends up pointing at the old class-level /foo instead of the new instance.", "category": "correctness", "verdict": "su...
null
Rapptz__discord.py__7815
Rapptz/discord.py
7,815
defect
1372ef407c25097f3a1801b75fb8d3063a7a9bb7
ce99b38f8af0123f402257f027cfea3e79c7507c
Rework File.spoiler to synchronise with the filename
## Summary This PR reworks `File.filename` and `File.spoiler` to ensure the two match the internal state. ## Checklist <!-- Put an x inside [ ] to check it, like so: [x] --> - [x] If code changes were made then they have been tested. - [x] I have updated the documentation to reflect the changes. - [ ]...
diff --git a/discord/file.py b/discord/file.py index e51744488af4..34e0773d8979 100644 --- a/discord/file.py +++ b/discord/file.py @@ -23,11 +23,13 @@ """ from __future__ import annotations -from typing import Any, Dict, Optional, Union +from typing import Any, Dict, Optional, Tuple, Union import os import io ...
4
4
1
[{"id": "G0", "claim": "Replace the explicit while-loop in _strip_spoiler with the simpler lstrip-based suggested implementation.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The filename property should return the spoiler prefix with a plain condition...
null
RasaHQ__rasa__10428
RasaHQ/rasa
10,428
defect
02584cca20e713863b2d3ecad8cf429a15e3017a
ed124410b87c9455a7b1aff05b2e0a3694b350a5
Overriding default config in case of nested dictionaries
Fixes #10391 The error reported in the above ticket seemingly comes from the default configuration being overridden without taking care of nested dictionaries. This as far as I can tell happens in the `GraphNode` implementation in `rasa/engine/graph.py`, where the default and custom configs of a component get merge...
diff --git a/rasa/core/policies/unexpected_intent_policy.py b/rasa/core/policies/unexpected_intent_policy.py index 7c6067a339ed..5a28d1334042 100644 --- a/rasa/core/policies/unexpected_intent_policy.py +++ b/rasa/core/policies/unexpected_intent_policy.py @@ -5,6 +5,7 @@ from pathlib import Path from typing import Any...
2
2
0
[{"id": "G0", "claim": "The DIET nested-dict test can be made faster by setting `ENTITY_RECOGNITION: False` in its config, since the TF upgrade made DIET especially slow with entity recognition.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pul...
null
RasaHQ__rasa__10482
RasaHQ/rasa
10,482
defect
3b9df765f47a863074d7a770ef72f0ebda0fcd3c
e351991ae9225896261959e7a22db234b7b1d9ec
Add missing `prefix_suffix_case_sensitive` to LSF
**Proposed changes**: - Allow parameter `prefix_suffix_case_sensitive` to be set to False (Defaults to True) - https://github.com/rasahq/rasa/issues/5759 Asks the featurizers to support for case-insensitivity, which never was implemented in LexicalSyntacticFeaturizer - ~Fix #10471~ has been moved to https://github...
diff --git a/changelog/10482.bugfix.md b/changelog/10482.bugfix.md new file mode 100644 index 000000000000..c00f6a91f378 --- /dev/null +++ b/changelog/10482.bugfix.md @@ -0,0 +1,2 @@ +Fixes #10471 - Cannot Override LexicalSyntacticFeaturizer in 2.8.x +Adds a new optional config argument `prefix_suffix_case_sensitive` w...
9
9
0
[{"id": "G0", "claim": "The debug print of the feature array (with its DEBUG DEVELOPMENT marker) should be removed from the test.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The case-insensitivity test should actually verify that utterances like 'Goo...
null
RasaHQ__rasa__10813
RasaHQ/rasa
10,813
defect
b80f19ee4d87d739e61834c60fe9fbf17a983b4e
6e443c2e44671c0f7bfff27027a6fc5835b35bd9
Overwrite final weights with checkpoint weights before persisting
**Proposed changes**: - Fixes #10516 - Implements overwriting the final model weights with the checkpoint weights after training of `DIETClassifier`, `ResponseSelector` and `TEDPolicy`. **Status (please check what you already did)**: - [x] added some tests for the functionality - [ ] updated the documentation ...
diff --git a/changelog/10516.bugfix.md b/changelog/10516.bugfix.md new file mode 100644 index 000000000000..57495af41c28 --- /dev/null +++ b/changelog/10516.bugfix.md @@ -0,0 +1 @@ +Checkpoint weights were never loaded before. Implements overwriting checkpoint weights to the final model weights after training of `DIETC...
1
1
0
[{"id": "G0", "claim": "Rewrite the \"For testing purposes only\" comment on the checkpoint marker file so it explains its purpose (e.g. \"Save an empty file to flag that this model has been produced using checkpointing\"), and create the empty file with Path.touch() instead of pickling None.", "category": "maintainabi...
null
RasaHQ__rasa__12569
RasaHQ/rasa
12,569
defect
cb9cd4885a202c6d3714f4944d47367247c6a668
66f727cfacf734d18e389178ea85ce3ec2ff78b3
Fix nightly script
**Proposed changes**: - Fixes this issue https://github.com/RasaHQ/rasa/actions/runs/5384771497/jobs/9786165097 - Reading oss version from a script `scripts/get_version_from_toml.py` - Tested [here](https://github.com/RasaHQ/rasa/actions/runs/5600969027)
diff --git a/.github/workflows/nightly_release.yml b/.github/workflows/nightly_release.yml index c7639d0cbf16..99c2964ed718 100644 --- a/.github/workflows/nightly_release.yml +++ b/.github/workflows/nightly_release.yml @@ -23,6 +23,7 @@ jobs: run: | python3 -m pip install pluggy python3 -...
1
1
0
[{"id": "G0", "claim": "The numpy pip install should be pinned to a version, or better, all rasa dependencies should be installed (as proposed in ticket ATO-1299), in case more dependencies might be imported.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
RasaHQ__rasa__12602
RasaHQ/rasa
12,602
defect
407642a5f3a21091aaa7f10eaf38f994cc94411b
eb9c55ffc3d61ebd3e87fafd50e02c9914eb7b62
Upgrade protobuf
**Proposed changes**: The module `tensorflow-hub` is currently not compatible with `protobuf-4.x` (meaning, authors of tensorflow-hub compiled their protobuf files with protoc compatible with protobuf-3.x and haven't rebuilt files with protoc compatible with protobuf-4.x). The Protobuf team suggests solving the pr...
diff --git a/Makefile b/Makefile index f3ebb6135e25..46573e6e461f 100644 --- a/Makefile +++ b/Makefile @@ -153,38 +153,47 @@ else endif test-cli: PYTEST_MARKER=category_cli and (not flaky) +test-cli: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=upb test-cli: DD_ARGS := $(or $(DD_ARGS),) test-cli: test-marker test-co...
5
4
0
[{"id": "G0", "claim": "The PR description says PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python while the Makefile sets upb for the test targets, so the reviewer asks whether the description's value is a typo.", "category": "documentation", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "cla...
null
RasaHQ__rasa__12661
RasaHQ/rasa
12,661
defect
9e3167bcd89b26e7ce31d3c7998e7c54d2ea21fb
88a44cf4f86f937757d58c357d63c9a88769cead
Fix BlockingIOError as a result of too large data passed to strulogs
**Proposed changes**: - Fixes [ATO-1200](https://rasahq.atlassian.net/browse/ATO-1200) **Status (please check what you already did)**: - [ ] added some tests for the functionality - [ ] updated the documentation - [X] updated the changelog (please check [changelog](https://github.com/RasaHQ/rasa/tree/main/change...
diff --git a/changelog/12661.bugfix.md b/changelog/12661.bugfix.md new file mode 100644 index 000000000000..daa6f9fb5575 --- /dev/null +++ b/changelog/12661.bugfix.md @@ -0,0 +1 @@ +Fix structlog `BlockingIOError` by setting `stdout` to not block. \ No newline at end of file diff --git a/rasa/core/brokers/kafka.py b/r...
5
4
1
[{"id": "G0", "claim": "The fcntl-based way of setting stdout to non-blocking only works on Unix and a universal solution for any OS is needed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "All potential log locations that can pass too much data an...
null
RasaHQ__rasa__12669
RasaHQ/rasa
12,669
defect
6ae2d792d7e11c1aea81c19aa450403ba11952b0
1f90bfdb9aedff412be029adc3efdd0a7e481955
Flow branching based on action output - [ENG 372]
**Proposed changes**: - **Status (please check what you already did)**: - [x] added some tests for the functionality - [ ] updated the documentation - [ ] updated the changelog (please check [changelog](https://github.com/RasaHQ/rasa/tree/main/changelog) for instructions) - [x] reformat files using `black` (pl...
diff --git a/rasa/shared/core/constants.py b/rasa/shared/core/constants.py index 06a5cdb83b02..b86fb1f93712 100644 --- a/rasa/shared/core/constants.py +++ b/rasa/shared/core/constants.py @@ -89,12 +89,14 @@ PREVIOUS_FLOW_SLOT = "rasa_previous_flow" CANCELLED_FLOW_SLOT = "rasa_cancelled_flow" CORRECTED_SLOTS_SLOT = "...
1
1
0
[{"id": "G0", "claim": "The new RETURN_VALUE_SLOT should not be an all-caps slot value; stick to lower case since capitalization may not be handled properly everywhere (at least it is not tested for).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
RasaHQ__rasa__12683
RasaHQ/rasa
12,683
defect
34268213cb3f6b6c4b1e01215c730db4d0895eb9
3cc05132342345c4827ea3a8d7040f5560b88da4
ENG-424: initial port of moodbot to flows / command pattern
**Proposed changes**: - ... **Status (please check what you already did)**: - [ ] added some tests for the functionality - [ ] updated the documentation - [ ] updated the changelog (please check [changelog](https://github.com/RasaHQ/rasa/tree/main/changelog) for instructions) - [ ] reformat files using `black` ...
diff --git a/docs/docs/start-here.mdx b/docs/docs/start-here.mdx new file mode 100644 index 000000000000..4488ff5fd00b --- /dev/null +++ b/docs/docs/start-here.mdx @@ -0,0 +1,38 @@ +--- +id: start-here +sidebar_label: Start Here +title: Start Here +hide_table_of_contents: true +--- + + +## Getting Started with Rasa + +...
8
8
2
[{"id": "G0", "claim": "The initial project's config.yml should keep the assistant_id and the explanatory comments that the pull request removes.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pipeline component in the initial project's config.yml sh...
null
RasaHQ__rasa__12747
RasaHQ/rasa
12,747
defect
224006e44bb114948c3541ba53e5958aee16cea1
45ddd68e5af506c22cc979c844fbaa47eb26c29b
improved cancel and empty stack behaviour
**Proposed changes**: - introduced new stack frame type - introduced `CLEANUP` step at the end of every flow - increased circuit breaker threshold to better support corrections - removed unecessary `RESUME` flow stack type - added pattern that gets triggered when the stack runs empty Fixes https://rasahq.atlas...
diff --git a/rasa/cdu/command_processor.py b/rasa/cdu/command_processor.py index 33cbcd767e08..6ef9bb9a105d 100644 --- a/rasa/cdu/command_processor.py +++ b/rasa/cdu/command_processor.py @@ -23,7 +23,7 @@ FLOW_STACK_SLOT, ) from rasa.shared.core.events import Event, SlotSet, UserUttered -from rasa.shared.core.fl...
5
4
0
[{"id": "G0", "claim": "Add a comment explaining that setting the frame's step to END_STEP lets the flow be properly wrapped up by the flow policy.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The INTERRUPT and REMARK docstrings should give more...
null
RasaHQ__rasa__12788
RasaHQ/rasa
12,788
defect
3dcd03c2c2ccbb8d2a4ee9d4f4462287cb154e1d
d352e13e17223b68594817fe5798bc1e1bf3edb2
Rename flow stack to dialogue stack - [ENG 509]
**Proposed changes**: - Rename flow stack to dialogue stack in docs and code **Status (please check what you already did)**: - [x] added some tests for the functionality - [ ] updated the documentation - [ ] updated the changelog (please check [changelog](https://github.com/RasaHQ/rasa/tree/main/changelog) for i...
diff --git a/data/test_trackers/tracker_moodbot.json b/data/test_trackers/tracker_moodbot.json index 50a6ff9259ec..acdcac89a5cf 100644 --- a/data/test_trackers/tracker_moodbot.json +++ b/data/test_trackers/tracker_moodbot.json @@ -33,7 +33,7 @@ "latest_event_time": 1517821726.211042, "followup_action": null, "...
1
1
0
[{"id": "G0", "claim": "The docs line should say \"dialogue stack\" with a lowercase d in docs/docs/llms/flow-policy.mdx, per the suggestion block.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
RasaHQ__rasa__12802
RasaHQ/rasa
12,802
defect
de0dbcac41535484ca5f5accaab8b2f90183be99
d0e639e592b1b30c3c484fd6f3fd27199563e180
Add support for predicate evaluation as a slot validation method
**Proposed changes**: - Implements [ATO-1539](https://rasahq.atlassian.net/browse/ATO-1539) **Status (please check what you already did)**: - [ ] added some tests for the functionality - [ ] updated the documentation - [ ] updated the changelog (please check [changelog](https://github.com/RasaHQ/rasa/tree/main/c...
diff --git a/data/test_trackers/tracker_moodbot.json b/data/test_trackers/tracker_moodbot.json index acdcac89a5cf..fb63d01e3eff 100644 --- a/data/test_trackers/tracker_moodbot.json +++ b/data/test_trackers/tracker_moodbot.json @@ -37,7 +37,8 @@ "name": null, "requested_slot": null, "return_value": null, ...
3
3
0
[{"id": "G0", "claim": "The retry counter should not be a slot (counter_utter_ask) but part of the stack frame context, ideally added to the CollectInformationPatternFlowStackFrame frame classes, and renamed to something like number_of_reprompts.", "category": "design", "verdict": "supported", "priority": "P2", "scope"...
null
RasaHQ__rasa__12808
RasaHQ/rasa
12,808
defect
61c74236a2995440a5b60d819f8a369d8700c3ee
b9495163403eec7b76d7cb8521892d98d71a15a4
No warnings if no NLU but flows
**Proposed changes**: - don't raise a warning if there are flows but no NLU data - check if utterances are used in flows before raising a warning - removed unused NLU data from init project Fixes https://rasahq.atlassian.net/browse/ENG-533 ## Before <img width="1288" alt="Bildschirm­foto 2023-09-12 um 11 43 37"...
diff --git a/rasa/cli/initial_project_dm2/data/nlu.yml b/rasa/cli/initial_project_dm2/data/nlu.yml deleted file mode 100644 index edbbf36d42ad..000000000000 --- a/rasa/cli/initial_project_dm2/data/nlu.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: "3.1" - -nlu: - - intent: affirm - examples: | - - yes - - y...
1
1
0
[{"id": "G0", "claim": "The warning printed when no NLU data is present should read \"No NLU data present. No NLU model will be trained.\" instead of \"No NLU data present. Just a Rasa Core model will be trained.\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
RasaHQ__rasa__12809
RasaHQ/rasa
12,809
defect
d3da2b88d114ba443aed09fb5875d6560cf35520
7862072ef428b6803cb22d78ad95eb7a17115087
added tests for the rasa.cdu.stack module
**Proposed changes**: - tests for the stack module
diff --git a/rasa/cdu/commands/correct_slots_command.py b/rasa/cdu/commands/correct_slots_command.py index 195d86b0b23e..d68641a684b4 100644 --- a/rasa/cdu/commands/correct_slots_command.py +++ b/rasa/cdu/commands/correct_slots_command.py @@ -11,7 +11,10 @@ CorrectionPatternFlowStackFrame, ) from rasa.cdu.stack....
2
1
1
[{"id": "G0", "claim": "The reviewer asks whether `create_typed_frame` would work with the mock test classes, i.e. whether `all_subclasses` picks them up.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In test_filled_slots_for_active_flow_only_collect...
null
RasaHQ__rasa__12829
RasaHQ/rasa
12,829
defect
c0870ae531d457aec646f573d745f2744d56705f
8778d967e91623ab3fbbaf2e683d2861e88bd07f
Warn if a user has defined a slot named "context" - [ENG 503]
**Proposed changes**: - Implements https://rasahq.atlassian.net/browse/ENG-503 **Status (please check what you already did)**: - [x] added some tests for the functionality - [ ] updated the documentation - [ ] updated the changelog (please check [changelog](https://github.com/RasaHQ/rasa/tree/main/changelog) fo...
diff --git a/rasa/model_training.py b/rasa/model_training.py index 59c1dc473777..b12064d7cf94 100644 --- a/rasa/model_training.py +++ b/rasa/model_training.py @@ -124,6 +124,28 @@ def _check_unresolved_slots(domain: Domain, stories: StoryGraph) -> None: return None +def _check_restricted_slots(domain: Domain) ...
1
1
0
[{"id": "G0", "claim": "Import the constant directly with `from rasa.shared.constants import CONTEXT` and use `CONTEXT` in the code instead of `rasa.shared.constants.CONTEXT`, as is usually done in the codebase.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
RasaHQ__rasa__12837
RasaHQ/rasa
12,837
defect
3f51e5eb0a1615a0b7657bc1ff843c36b2d61121
f25dff0819b5e9fe6eb07f2254bb8ef3a10485c2
[ATO-1557] Add environment variables for JWT arguments and auth token
Add environment variables to set: * `auth_token` - ENV var `AUTH_TOKEN` * `jwt_method`- ENV var `JWT_METHOD` * `jwt_secret` - ENV var `JWT_SECRET` * `jwt_private_key` - ENV var `JWT_PRIVATE_KEY` **Status (please check what you already did)**: - [x] added some tests for the functionality - [x] updated the docum...
diff --git a/changelog/1557.improvement.md b/changelog/1557.improvement.md new file mode 100644 index 000000000000..87f4b1e62a88 --- /dev/null +++ b/changelog/1557.improvement.md @@ -0,0 +1,8 @@ +Added environment variables to configure JWT and auth token. +For JWT the following environment variables are available: +- ...
3
1
1
[{"id": "G0", "claim": "The CLI documentation may also need to be updated to cover the new JWT/auth-token environment variables, not just the HTTP API docs.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Words introduced by the new docs (e.g. this...
null
RasaHQ__rasa__12859
RasaHQ/rasa
12,859
defect
ed71677a3e68d557d838d564bd81f5f5a648ef71
c1d132581dab5626c4f4b92d0f5b80966854cd3e
Configure prompts through files - [ENG 510]
**Proposed changes**: - Solves task: https://rasahq.atlassian.net/browse/ENG-510 - Components modified: LLMCommandGenerator **Status (please check what you already did)**: - [x] added some tests for the functionality - [ ] updated the documentation - [ ] updated the changelog (please check [changelog](https://g...
diff --git a/rasa/dialogue_understanding/generator/llm_command_generator.py b/rasa/dialogue_understanding/generator/llm_command_generator.py index d4c4088c9d7a..6a36cfbb507c 100644 --- a/rasa/dialogue_understanding/generator/llm_command_generator.py +++ b/rasa/dialogue_understanding/generator/llm_command_generator.py @...
2
2
1
[{"id": "G0", "claim": "Add a test for the new functionality of the LLM command generator in this pull request.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "Change get_prompt_template's parameter order so the default (default_prompt_template) comes la...
null
RasaHQ__rasa__12873
RasaHQ/rasa
12,873
defect
f7921b65a601260f0a174b36951e2f04f80eeda8
5cb9634bcd1b147f84dec65c40e4837ca90d2408
Eng 472 component wrap up llm command generator
**Proposed changes**: - Tidy up doc strings and some variable names. - Reorder the main methods of the class for readability. (this has made the diff harder to read unfortunately.) - Rename the test folder to match the folder structure in the module code. - Add unit tests. **Status (please check what you already...
diff --git a/rasa/dialogue_understanding/generator/llm_command_generator.py b/rasa/dialogue_understanding/generator/llm_command_generator.py index d5ee1ac8bcc3..95ef6962b467 100644 --- a/rasa/dialogue_understanding/generator/llm_command_generator.py +++ b/rasa/dialogue_understanding/generator/llm_command_generator.py @...
8
8
0
[{"id": "G0", "claim": "The class docstring should read \"An LLM-based command generator.\" (with a hyphen).", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "clean_extracted_value should use Python's built-in str.strip with the quote and space chara...
null
RasaHQ__rasa__12886
RasaHQ/rasa
12,886
defect
e37774e6d95e7307925cc3086ea2158066491f51
82fe65dce99c53e1db252125ab0c3de9659a5175
Cache `EndpointConfig` session
**Proposed changes**: - Fixes [ATO-1646](https://rasahq.atlassian.net/browse/ATO-1646) - Had to pin `ddtrace` in the CI workflows because the new version `2.0.0` released on Tue 3rd Oct upgrades `wrapt` to `1.15` and uninstalls Tensorflow's constraint to be pinned at `<1.15`, this causes 30 job failures. **Status ...
diff --git a/.github/workflows/continous-integration.yml b/.github/workflows/continous-integration.yml index 44f84b6b5757..453107c6d335 100644 --- a/.github/workflows/continous-integration.yml +++ b/.github/workflows/continous-integration.yml @@ -352,9 +352,13 @@ jobs: (Get-ItemProperty "HKLM:System\CurrentC...
5
3
0
[{"id": "G0", "claim": "The two OS-specific ddtrace install steps in the CI workflow could be collapsed into a single step using a unified command such as the RUNNER_OS environment variable.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ses...
null
RasaHQ__rasa__12927
RasaHQ/rasa
12,927
defect
77f593fc7dfdf51bbb4d05f2766dee4d4baa7050
ec92c75e72957470123571691e2e13b4cc78d31e
[ATO-1685] Add SlotSet step in story with active_loop:null mapping condition
**Proposed changes**: - Fixes [ATO-1685](https://rasahq.atlassian.net/browse/ATO-1685) **Status (please check what you already did)**: - [x] added some tests for the functionality - [ ] updated the documentation - [x] updated the changelog (please check [changelog](https://github.com/RasaHQ/rasa/tree/main/change...
diff --git a/changelog/12927.bugfix.md b/changelog/12927.bugfix.md new file mode 100644 index 000000000000..7b9ff9d69410 --- /dev/null +++ b/changelog/12927.bugfix.md @@ -0,0 +1 @@ +Fix wrong conflicts that occur when rasa validate stories is run with slots that have active_loop set to null in mapping conditions. \ No ...
1
1
0
[{"id": "G0", "claim": "The pull request should add an integration test, e.g. running the validate stories functionality on a story with an intent with entities, a domain with a from_entity slot for the same entity, and active_loop null in the mapping condition.", "category": "testing", "verdict": "supported", "priorit...
null
RasaHQ__rasa__12929
RasaHQ/rasa
12,929
defect
9ae34405dbd47fa700f749ae459b49c815eba31a
1f6b2c4d4a8eeb1e93193dab6631063443b616cb
[ENG-597] Increase minimum model compatible version
**Proposed changes**: - Increase the `MINIMUM_COMPATIBLE_VERSION` to `3.7.0b3`: Models, trained on DM1, would fail running on DM2 as the graph does not contain any `command_processor` component. Increasing the minimum compatible version does not allow those models to run on DM2. - fixes [ENG-597](https://rasahq.atlas...
diff --git a/rasa/constants.py b/rasa/constants.py index ef973613bc96..c982a5378400 100644 --- a/rasa/constants.py +++ b/rasa/constants.py @@ -18,7 +18,7 @@ CONFIG_TELEMETRY_ENABLED = "enabled" CONFIG_TELEMETRY_DATE = "date" -MINIMUM_COMPATIBLE_VERSION = "3.5.0" +MINIMUM_COMPATIBLE_VERSION = "3.7.0b3" GLOBAL_USE...
1
1
0
[{"id": "G0", "claim": "The KeyError error message should be expanded to also say that the user may be running a bot developed with CALM instead of one developed with the previous version of dialog management (DM1).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
RasaHQ__rasa__12938
RasaHQ/rasa
12,938
defect
f71a6755389380a8cf1a59ae7fc1705d5427f860
22a66ef2d97f73d8ccdf028f3727ec7e0b6c9972
wrap up and tests for flow trigger action
**Proposed changes**: - refactored flow trigger action - added tests fixes https://rasahq.atlassian.net/browse/ENG-584
diff --git a/rasa/core/actions/action.py b/rasa/core/actions/action.py index 232b977d2db8..e03ff75df311 100644 --- a/rasa/core/actions/action.py +++ b/rasa/core/actions/action.py @@ -225,9 +225,9 @@ def action_for_name_or_text( return FormAction(action_name_or_text, action_endpoint) if action_name_or_te...
1
1
0
[{"id": "G0", "claim": "The test suite should also assert that the triggered frame is a REGULAR flow frame when the dialogue stack is empty before triggering.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
RasaHQ__rasa__12998
RasaHQ/rasa
12,998
defect
83108999910073977de0867b9bdaee2b8fce151c
3dcbadbf21bedd6454d1c4d1e0622f3f89a91122
Get Full Retrieval Intent Name
**Proposed changes**: - Adds `FULL_RETRIEVAL_INTENT_NAME_KEY` to the intent dictionary. This has downstream effects and fixes a bug in the Analytics pipeline that expects this key - Works on [ATO-1956](https://rasahq.atlassian.net/browse/ATO-1956) **Status (please check what you already did)**: - [ ] added some t...
diff --git a/rasa/core/processor.py b/rasa/core/processor.py index ec6ef1260a3e..fc628c7a7247 100644 --- a/rasa/core/processor.py +++ b/rasa/core/processor.py @@ -66,7 +66,11 @@ ENTITIES, INTENT, INTENT_NAME_KEY, + INTENT_RESPONSE_KEY, PREDICTED_CONFIDENCE_KEY, + FULL_RETRIEVAL_INTENT_NAME_KEY...
1
1
1
[{"id": "G0", "claim": "Add a processor unit test covering the new _update_full_retrieval_intent behaviour.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
RasaHQ__rasa__13019
RasaHQ/rasa
13,019
defect
a0a95719fefaa2a4adb37978b84c41d1499723ac
d72db8a70cf2ce71bedcb3693138b67301bdfb8c
SQL event.timestamp is not always unique
**Proposed changes**: - Works on https://rasahq.atlassian.net/browse/ATO-2192 - The timestamps are being set by [events.py](https://github.com/RasaHQ/rasa/blob/3.6.x/rasa/shared/core/events.py#L284) when the events are created. There seem to be two losses at play here, - [documentation](https://docs.python.domainu...
diff --git a/rasa/core/tracker_store.py b/rasa/core/tracker_store.py index 93632cd3d779..922623123a07 100644 --- a/rasa/core/tracker_store.py +++ b/rasa/core/tracker_store.py @@ -1325,7 +1325,7 @@ def _event_query( ) ) - return event_query.order_by(self.SQLEvent.timestamp) + ...
3
3
2
[{"id": "G0", "claim": "Ordering the events query by both timestamp and ID is unnecessary: SQLEvent.id is unique and chronologically ordered by nature, so simple overall ordering by ID alone suffices and the timestamp key is redundant.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduc...
null
RasaHQ__rasa__13078
RasaHQ/rasa
13,078
defect
2bb1d779d4f4acaf70b6dfa35dd1899dccbb1ae6
2d9c7aa5543bf68825487aee1f48d2d7ffa68a51
prepared release of version 3.6.21
Prepare release for 3.6.21. **Status (please check what you already did)**: - [ ] added some tests for the functionality - [ ] updated the documentation - [ ] updated the changelog (please check [changelog](https://github.com/RasaHQ/rasa/tree/main/changelog) for instructions) - [ ] reformat files using `black` (...
diff --git a/CHANGELOG.mdx b/CHANGELOG.mdx index a97640d0772b..d1290c72e19e 100644 --- a/CHANGELOG.mdx +++ b/CHANGELOG.mdx @@ -16,6 +16,31 @@ https://github.com/RasaHQ/rasa/tree/main/changelog/ . --> <!-- TOWNCRIER --> +## [3.6.21] - 2025-01-13 + +Rasa 3.6.21 (2025-01-13) ...
1
1
1
[{"id": "G0", "claim": "The release prepared by this PR must also update MINIMUM_COMPATIBLE_VERSION in rasa/constants.py, which the version bump to 3.6.21 left at 3.5.0.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
RasaHQ__rasa__7040
RasaHQ/rasa
7,040
defect
f434d29d5084e71826c54292f99b486eb011c4c3
db2a31e82a7f74489816dede1be1ac80c5ac2e1a
make converter convert numbers as entity type
Closes #7031 **Proposed changes**: - added `number` as possible `value` type for in `_common_entity_properties` **Status (please check what you already did)**: - [x] added some tests for the functionality - [ ] updated the documentation - [x] updated the changelog (please check [changelog](https://github.com/...
diff --git a/rasa/shared/nlu/training_data/schemas/data_schema.py b/rasa/shared/nlu/training_data/schemas/data_schema.py index 0f6e6dbfac98..760f6f6c00c6 100644 --- a/rasa/shared/nlu/training_data/schemas/data_schema.py +++ b/rasa/shared/nlu/training_data/schemas/data_schema.py @@ -15,7 +15,7 @@ def _common_entity_prop...
3
3
0
[{"id": "G0", "claim": "The new number-value functionality should be verified with other unit tests rather than only through the deprecated markdown converter test.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A changelog entry should be added for the...
null
RasaHQ__rasa__7080
RasaHQ/rasa
7,080
defect
fa7567d9d80cca0b78b94c35e7f3f28012cec160
72cac8559fd6563e8f0817755e824cec0861bc19
Make converter support response key for test stories
Closes #7034 **Proposed changes**: - make `MarkdownStoryReader::_parse_message` use `intent_response_key` if a `response key` is used **Status (please check what you already did)**: - [x] added some tests for the functionality - [ ] updated the documentation - [x] updated the changelog (please check [changelog...
diff --git a/rasa/shared/core/training_data/story_reader/markdown_story_reader.py b/rasa/shared/core/training_data/story_reader/markdown_story_reader.py index 5d4e52f20987..fe8cb2b730bc 100644 --- a/rasa/shared/core/training_data/story_reader/markdown_story_reader.py +++ b/rasa/shared/core/training_data/story_reader/ma...
3
2
0
[{"id": "G0", "claim": "The two new response-key tests should be named the same way, since they are almost identical except that one tests normal stories and the other test stories.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A changelog entr...
null
RasaHQ__rasa__7098
RasaHQ/rasa
7,098
defect
1b1ec9ea32becb56c636076f32107a1918e7d16f
6877613b1170ca4578e61735b3c4e76195477a37
make rasa test support retrieval intents for test stories
closes #7002 **Proposed changes**: - make `rasa test` support `retrieval intents` in `test stories`, so either `base intents` or `full retrieval intents` can be specified - adjusted warning about `retrieval intents` in `domain` in `yaml_story_reader` - make `core/test.py::_collect_user_uttered_predictions` check...
diff --git a/changelog/7002.bugfix.md b/changelog/7002.bugfix.md new file mode 100644 index 000000000000..4eebb582e53f --- /dev/null +++ b/changelog/7002.bugfix.md @@ -0,0 +1,2 @@ +Test stories can now contain base intents or full retrieval intents. The report `failed_test_stories.yml` also specifies the full retrieval...
16
15
2
[{"id": "G0", "claim": "Remove the trailing blank/whitespace line at the end of the two new test story files, as the empty suggestion blocks request.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new test story files should live in data/test_yaml_sto...
null
RasaHQ__rasa__7341
RasaHQ/rasa
7,341
defect
384b078b74e7f365f9262d80977a30615d6ecb3f
fa99236404651edf8dbce7da14455286a9e8728e
Fix tracker init copy method
**Proposed changes**: - The `init_copy` function of `DialogStateTracker` now uses the `sender_id` of the tracker to be copied - Fixes #7338 **Status (please check what you already did)**: - [x] added some tests for the functionality - [ ] updated the documentation - [x] updated the changelog (please check [cha...
diff --git a/changelog/7338.bugfix.md b/changelog/7338.bugfix.md new file mode 100644 index 000000000000..006f4e1b69b9 --- /dev/null +++ b/changelog/7338.bugfix.md @@ -0,0 +1 @@ +Sender id is correctly set when copying the tracker and sending it to the action server (instead of sending the `default` value) diff --git a...
2
2
0
[{"id": "G0", "claim": "The code-quality check fails on rasa/shared/core/trackers.py:387 with D202 (no blank lines allowed after the function docstring) even though the pull request did not change that blank line, and the author asks whether the blank line should simply be removed.", "category": "style", "verdict": "su...
null
RasaHQ__rasa__7761
RasaHQ/rasa
7,761
defect
c3841900a31ee206be73f9aef771150937e0b596
2119479b2049c00815da623009ac2dfead36a4de
Support for writing NLU intent/example metadata to YAML
**Proposed changes**: This adds support to the `RasaYAMLWriter` for writing intent and example metadata back into YAML files. The parsing functionality has been added in #5989. Fixes #7731 **Status (please check what you already did)**: - [x] added some tests for the functionality - ~~[ ] updated the documen...
diff --git a/changelog/7731.improvement.md b/changelog/7731.improvement.md new file mode 100644 index 000000000000..b0f2bca89db2 --- /dev/null +++ b/changelog/7731.improvement.md @@ -0,0 +1,2 @@ +Add support for in `RasaYAMLWriter` for writing intent and example metadata back +into NLU YAML files. diff --git a/rasa/sha...
11
11
2
[{"id": "G0", "claim": "The tests should also cover the scenario of an intent that has no metadata while its examples have metadata (currently only intent-has-metadata scenarios are covered).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The second rou...
null
RasaHQ__rasa__8098
RasaHQ/rasa
8,098
defect
e3e49917d57228d7d5589dd0f03c820f59a650db
9af559adac4ceed9d84629e4956b87e29735f6de
Update the fingerprinting function to recognize changes in lookup files
**Proposed changes**: - fix #7662 **Status (please check what you already did)**: - [x] added some tests for the functionality - [ ] updated the documentation - [x] updated the changelog (please check [changelog](https://github.com/RasaHQ/rasa/tree/main/changelog) for instructions) - [x] reformat files using `b...
diff --git a/changelog/7662.bugfix.md b/changelog/7662.bugfix.md new file mode 100644 index 000000000000..ece80956c398 --- /dev/null +++ b/changelog/7662.bugfix.md @@ -0,0 +1 @@ +Update the fingerprinting function to recognize changes in lookup files. \ No newline at end of file diff --git a/rasa/shared/nlu/training_da...
7
4
1
[{"id": "G0", "claim": "The file check should use the first element of lookup_table[\"elements\"] (Path(lookup_table[\"elements\"][0])) so it also works when elements is a list, as in the Markdown format.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"...
null
RasaHQ__rasa__8140
RasaHQ/rasa
8,140
defect
4cfc48a7ac0fa60f782076759dfe886c9f0fe12f
4c7468f6b4352a18fcc77122b6497566d28bc1f0
Fix a bug with `read_yaml` function failing when trying to expand an environment variable which contains a `$`
**Proposed changes**: - fix #7932 **Status (please check what you already did)**: - [x] added some tests for the functionality - [ ] updated the documentation - [x] updated the changelog (please check [changelog](https://github.com/RasaHQ/rasa/tree/main/changelog) for instructions) - [x] reformat files using `b...
diff --git a/changelog/7932.bugfix.md b/changelog/7932.bugfix.md new file mode 100644 index 000000000000..40028a1ddc3f --- /dev/null +++ b/changelog/7932.bugfix.md @@ -0,0 +1 @@ +Fix a bug with `read_yaml` function failing when trying to expand an environment variable which contains a `$` \ No newline at end of file di...
4
3
1
[{"id": "G0", "claim": "Reword the changelog entry to phrase the fix from a user's view, e.g. stating the bug fixed when interpolating environment variables containing `$` and showing the stack trace it produced.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1...
null
RasaHQ__rasa__8151
RasaHQ/rasa
8,151
defect
4cfc48a7ac0fa60f782076759dfe886c9f0fe12f
3f5dbfdf2e2b7672ee0527eb082eda385cd571ee
Allow tests to be located anywhere, not just in `tests` directory
**Proposed changes**: - fix #7763 **Status (please check what you already did)**: - [x] added some tests for the functionality - [ ] updated the documentation - [x] updated the changelog (please check [changelog](https://github.com/RasaHQ/rasa/tree/main/changelog) for instructions) - [x] reformat files using `...
diff --git a/changelog/7763.improvement.md b/changelog/7763.improvement.md new file mode 100644 index 000000000000..54906a7b2bfa --- /dev/null +++ b/changelog/7763.improvement.md @@ -0,0 +1 @@ +Allow tests to be located anywhere, not just in `tests` directory. \ No newline at end of file diff --git a/rasa/shared/consta...
4
2
1
[{"id": "G0", "claim": "The PR author is unsure about repurposing `DEFAULT_E2E_TESTS_PATH` to `\".\"` and suggests it might make sense to keep the variable (with its `tests` value) since it is part of `rasa.shared`.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "...
null
RasaHQ__rasa__8161
RasaHQ/rasa
8,161
defect
3a035b3b9f1c3933d7574e53da1b8df8114c3ecd
f88c4dadd9e717512eb3b05c0a0ce92faeb6c217
Rules states should not include the initial values of slots.
**Proposed changes**: Fixes #7450 When calculating tracker states from rules we were including the initial value of slots. This meant that the rule only matched when a slot had that initial value. This change omits initial values of slots from the rule states. **Status (please check what you already did)**: ...
diff --git a/changelog/7450.bugfix.md b/changelog/7450.bugfix.md new file mode 100644 index 000000000000..c09ead50a69c --- /dev/null +++ b/changelog/7450.bugfix.md @@ -0,0 +1,2 @@ +Rule tracker states no longer include the initial value of slots. +Rules now only require slot values when explicitly stated in the rule. d...
16
16
0
[{"id": "G0", "claim": "The _get_slots_sub_state docstring should read \"Sets all set slots with the featurization of the stored value.\" instead of \"Set all set slots...\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The get_active_states doc...
null
RasaHQ__rasa__8349
RasaHQ/rasa
8,349
defect
49b04367cdbc65668576ae7bc30a86efef6fe9e1
02493da9f5859659b452a9214b336c903cde4355
Count only nlu training examples
**Proposed changes**: - Fix #7379 **Status (please check what you already did)**: - [X] added some tests for the functionality - [ ] updated the documentation - [X] updated the changelog (please check [changelog](https://github.com/RasaHQ/rasa/tree/main/changelog) for instructions) - [X] reformat files using `...
diff --git a/changelog/7379.bugfix.md b/changelog/7379.bugfix.md new file mode 100644 index 000000000000..c0cd3d6ad1ab --- /dev/null +++ b/changelog/7379.bugfix.md @@ -0,0 +1 @@ +Change training data validation to only count nlu training examples. \ No newline at end of file diff --git a/rasa/shared/nlu/training_data/t...
2
2
0
[{"id": "G0", "claim": "joejuzl asked whether the new test would have failed before the change — a request to confirm the test actually guards the fix; the author confirmed it fails on the pre-fix code.", "category": "testing", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The...
null
RasaHQ__rasa__9046
RasaHQ/rasa
9,046
defect
f5c0354ef96bb28e76fd89bd48a2e7699916df29
3c928a8553d4c02d6197b8a161f1a25f137fc3ed
8614 nlu test autoconfig
**Proposed changes**: - fixes #8614 - nlu cross validation uses autoconfig when the provided config does not contain a pipeline (as after using `rasa init`) **Further thoughts** - I don't like the interface of the function chain from cli invocation to actual cross validation. The `all_args` parameter that is pas...
diff --git a/changelog/8614.bugfix.md b/changelog/8614.bugfix.md new file mode 100644 index 000000000000..d2da0e5a2d0c --- /dev/null +++ b/changelog/8614.bugfix.md @@ -0,0 +1 @@ +`rasa test nlu --cross-validation` uses autoconfiguration when no pipeline is defined instead of failing \ No newline at end of file diff --g...
2
2
1
[{"id": "G0", "claim": "The autoconfig in perform_nlu_cross_validation should be removed so the config is obtained from a RasaFileImporter/TrainingDataImporter up the chain instead of being loaded again inside the method.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "...
null
RasaHQ__rasa__9222
RasaHQ/rasa
9,222
defect
dcb37ba1f9b6835dd2fad93f043ead054597ff0f
62d3425329901dca4c8fb34b49b826a1a1036142
getting rid of model access in `rasa.nlu.test`
**Proposed changes**: - fixes #9136 **Status (please check what you already did)**: - [x] added some tests for the functionality - [ ] updated the documentation - [ ] updated the changelog (please check [changelog](https://github.com/RasaHQ/rasa/tree/main/changelog) for instructions) - [x] reformat files using...
diff --git a/data/test/demo-rasa-more-ents-and-multiplied.yml b/data/test/demo-rasa-more-ents-and-multiplied.yml new file mode 100644 index 000000000000..1ec793159803 --- /dev/null +++ b/data/test/demo-rasa-more-ents-and-multiplied.yml @@ -0,0 +1,111 @@ +version: "2.0" +nlu: +- intent: affirm + examples: | + - yes ...
10
7
2
[{"id": "G0", "claim": "The reviewer suggests the root problem could be solved by changing entity extractors' predictions to return {\"name\": ..., \"entities\": [...]}, keeping the change NLU-only for now.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "...
null
RasaHQ__rasa__9468
RasaHQ/rasa
9,468
defect
069183ceb4fccb3273843151cd1079b243b07ed5
2d8173127d96fb0f3a505fa2313a6c3229863f8a
Adapt `KeywordIntentClassifier` to graph component interface
**Proposed changes**: - Closes #9408 - Please ignore module prefixed with `_` **Status (please check what you already did)**: - [ ] added some tests for the functionality - [ ] updated the documentation - [ ] updated the changelog (please check [changelog](https://github.com/RasaHQ/rasa/tree/main/changelog) fo...
diff --git a/rasa/nlu/classifiers/_keyword_intent_classifier.py b/rasa/nlu/classifiers/_keyword_intent_classifier.py new file mode 100644 index 000000000000..cd9063a67183 --- /dev/null +++ b/rasa/nlu/classifiers/_keyword_intent_classifier.py @@ -0,0 +1,164 @@ +# flake8: noqa +# WARNING: This module will be dropped befo...
4
4
3
[{"id": "G0", "claim": "The new parametrized test_classification fails for the first 5 examples because the fixture only creates the classifier and never trains it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The module-scoped training_data fixture c...
null
RasaHQ__rasa__9470
RasaHQ/rasa
9,470
defect
24b00065f91f42f19af5bd9bfd64e4dcc04c9587
2856f5fab26f3a4197ec1236b6b43d84e2a1f9c1
Adapt `SklearnIntentClassifier` to `GraphComponent` interface
**Proposed changes**: - closes #9406 **Status (please check what you already did)**: - [X] added some tests for the functionality - [ ] updated the documentation - [ ] updated the changelog (please check [changelog](https://github.com/RasaHQ/rasa/tree/main/changelog) for instructions) - [X] reformat files usin...
diff --git a/rasa/nlu/classifiers/_sklearn_intent_classifier.py b/rasa/nlu/classifiers/_sklearn_intent_classifier.py new file mode 100644 index 000000000000..e9d8bf429d1a --- /dev/null +++ b/rasa/nlu/classifiers/_sklearn_intent_classifier.py @@ -0,0 +1,270 @@ +# flake8: noqa +# WARNING: This module will be dropped befo...
11
9
2
[{"id": "G0", "claim": "The `execution_context` argument does not need to be saved on the instance, so the component should stop storing it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`num_threads` should be passed via the component config instead of...
null
RasaHQ__rasa__9559
RasaHQ/rasa
9,559
defect
03a3024fcb6cccc24cc43d5f450426477dba950c
c1bc4427da91503abfc40f39444c7105098da4fc
Adapt `FallbackClassifier` to graph component interface
**Proposed changes**: - Closes #9409 **Status (please check what you already did)**: - [X] added some tests for the functionality - [ ] updated the documentation - [ ] updated the changelog (please check [changelog](https://github.com/RasaHQ/rasa/tree/main/changelog) for instructions) - [X] reformat files usin...
diff --git a/rasa/nlu/classifiers/_fallback_classifier.py b/rasa/nlu/classifiers/_fallback_classifier.py new file mode 100644 index 000000000000..a07cb939cba5 --- /dev/null +++ b/rasa/nlu/classifiers/_fallback_classifier.py @@ -0,0 +1,169 @@ +# flake8: noqa +# WARNING: This module will be dropped before Rasa Open Sourc...
3
3
1
[{"id": "G0", "claim": "The deprecation notice in the new _fallback_classifier.py header points to the wrong module (`rasa.nlu.classifiers.sk_learn_intent_classifier`) and should instead point to the `rasa.nlu.classifiers.fallback_classifier.py` module.", "category": "documentation", "verdict": "supported", "priority":...
null
RasaHQ__rasa__9575
RasaHQ/rasa
9,575
defect
406529099a8eff899630267258262b0223d37e73
b3605040ac97bb711cbdebb1136b1fa99ce6b906
Migrate `WhitespaceTokenizer` to GraphComponent interface
**Proposed changes**: - fix #9499 *It requires https://github.com/RasaHQ/rasa/pull/9562 to be merged first!* **Status (please check what you already did)**: - [x] added some tests for the functionality - [ ] updated the documentation - [ ] updated the changelog (please check [changelog](https://github.com/Ra...
diff --git a/rasa/engine/graph.py b/rasa/engine/graph.py index ec24a928236f..d5ee416f1554 100644 --- a/rasa/engine/graph.py +++ b/rasa/engine/graph.py @@ -200,6 +200,14 @@ def supported_languages() -> Optional[List[Text]]: """ return None + @staticmethod + def not_supported_languages() -> Opti...
4
4
1
[{"id": "G0", "claim": "The new not-supported-language check in _validate_supported_languages needs a test in tests/engine/test_validation.py.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The do-not-modify warning comment in _whitespace_tokenizer.py w...
null
RasaHQ__rasa__9584
RasaHQ/rasa
9,584
defect
4eda9168a6231ae104531c231205c78b0bd1fb97
65a8bac90f29c00f298bf3b8c62254affed429c1
Migrate spacy featurizer for the graph.
Closes #9452.
diff --git a/rasa/nlu/featurizers/dense_featurizer/_spacy_featurizer.py b/rasa/nlu/featurizers/dense_featurizer/_spacy_featurizer.py new file mode 100644 index 000000000000..a66237fefa26 --- /dev/null +++ b/rasa/nlu/featurizers/dense_featurizer/_spacy_featurizer.py @@ -0,0 +1,104 @@ +# flake8: noqa +# WARNING: This mod...
8
8
1
[{"id": "G0", "claim": "The __init__ signature should end with '-> None:' per the suggestion block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "validate_compatibility_with_tokenizer should actually check that the tokenizer is the SpacyTokeniz...
null
RasaHQ__rasa__9591
RasaHQ/rasa
9,591
defect
4f6f663c143b65f577738a55ff3276fd250d957f
95b5ddb5d6f56989a84a26a3ad420d4e5422645a
Migrate SpacyTokenizer for the graph
Closes #9501.
diff --git a/rasa/nlu/tokenizers/_spacy_tokenizer.py b/rasa/nlu/tokenizers/_spacy_tokenizer.py new file mode 100644 index 000000000000..3dea37e6525d --- /dev/null +++ b/rasa/nlu/tokenizers/_spacy_tokenizer.py @@ -0,0 +1,63 @@ +# flake8: noqa +# WARNING: This module will be dropped before Rasa Open Source 3.0 is release...
1
1
0
[{"id": "G0", "claim": "The migrated required_packages should not take a cls parameter (be a plain static method, per the suggestion to drop cls and remove @classmethod).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
RasaHQ__rasa__9596
RasaHQ/rasa
9,596
defect
19e1bc9dcfff54fb741e544aca74e57a19d159a9
d10e238386a71a419e121d63e0efd7d935f045dc
convert featurizer
**Proposed changes**: - closes #9454 **Status (please check what you already did)**: - [x] added some tests for the functionality - [ ] updated the documentation - [ ] updated the changelog (please check [changelog](https://github.com/RasaHQ/rasa/tree/main/changelog) for instructions) - [x] reformat files usin...
diff --git a/rasa/nlu/featurizers/dense_featurizer/_convert_featurizer.py b/rasa/nlu/featurizers/dense_featurizer/_convert_featurizer.py new file mode 100644 index 000000000000..3728016a88d9 --- /dev/null +++ b/rasa/nlu/featurizers/dense_featurizer/_convert_featurizer.py @@ -0,0 +1,465 @@ +# flake8: noqa +# WARNING: Th...
8
8
0
[{"id": "G0", "claim": "required_packages should be converted from a classmethod to a staticmethod to match the new GraphComponent API.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The warning message should say 'ConveRT' in single quotes instead of th...
null
RasaHQ__rasa__9823
RasaHQ/rasa
9,823
defect
90fa4f4d75c027dc02553c8aa7e7ad262e391c62
f33197538cd257cc823f0117f8e6e9e8c6dddf5a
9642 / Decouple confidence normalisation from ranking length
**Proposed changes**: - closes #9642 **Status (please check what you already did)**: - [x] added some tests for the functionality - [x] updated the documentation - [x] updated the changelog (please check [changelog](https://github.com/RasaHQ/rasa/tree/main/changelog) for instructions) - [x] reformat files usin...
diff --git a/changelog/9642.improvement.md b/changelog/9642.improvement.md new file mode 100644 index 000000000000..edab842cd9c0 --- /dev/null +++ b/changelog/9642.improvement.md @@ -0,0 +1,4 @@ +Models using a `ranking_length` parameter will no longer report renormalised +confidences for the top predictions by default...
13
11
0
[{"id": "G0", "claim": "The changelog entry should name the affected components (`DIETClassifier`, `ResponseSelector` and `TEDPolicy`) instead of the generic 'Models'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The changelog should explain the...
null