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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
StackExchange__dnscontrol__2926 | StackExchange/dnscontrol | 2,926 | defect | 3a9b41317584298a403fb419efa88df4e50e9422 | 4320a9f65e54857600133283d4ce8da71f68af31 | Enable support for SVCB/HTTPS in GCLOUD and HEDNS | <!--
## Before submiting a pull request
Please make sure you've run the following commands from the root directory.
go vet ./...
go fmt ./...
go generate ./...
go mod tidy
## Release changelog section
Help keep the release changelog clear by pre-naming the proper section in the GitHub pull request title... | diff --git a/commands/types/dnscontrol.d.ts b/commands/types/dnscontrol.d.ts
index d23a599388..68e0268434 100644
--- a/commands/types/dnscontrol.d.ts
+++ b/commands/types/dnscontrol.d.ts
@@ -1079,6 +1079,26 @@ declare function DnsProvider(name: string, nsCount?: number): DomainModifier;
*/
declare function FRAME(nam... | 2 | 2 | 1 | [{"id": "G0", "claim": "The Check Git Status Action detected changes, meaning the generated files in the pull request are out of date and must be regenerated (e.g. by running `go generate`) and committed.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai... | null |
StackExchange__dnscontrol__2972 | StackExchange/dnscontrol | 2,972 | defect | 2b70f240681bec6833bdb564aa9d0f532239d2f8 | 4b22790f682f472fc31c2f923455519ce38a5c5e | DOCS: Several improvements | An older git branch with more (random) documentation improvements. | diff --git a/commands/types/dnscontrol.d.ts b/commands/types/dnscontrol.d.ts
index dae2b7fa9d..c868413a93 100644
--- a/commands/types/dnscontrol.d.ts
+++ b/commands/types/dnscontrol.d.ts
@@ -1828,7 +1828,7 @@ declare function MX(name: string, priority: number, target: string, ...modifiers
* If dnsconfig.js has zero `... | 1 | 1 | 0 | [{"id": "G0", "claim": "Fix the grammar and quoting of the CNAME bullet on documentation/why-the-dot.md line 49: change \"What is the CNAME target is ... and the domain is \"bar.com\".\" to \"What if the CNAME target is ... and the domain is \"bar.com\"?\" and backtick `www.bar.com.bar.com.`.", "category": "documentati... | null |
StackExchange__dnscontrol__3161 | StackExchange/dnscontrol | 3,161 | defect | 635eb314d2c636d42dfc88245ddd7ebb2ad8061c | 5abb8e355240ab5fa3d7dd1229ce92995565b499 | GCORE: Add support for GeoDNS/Failover | Add metadata fields for configuring Gcore's GeoDNS and Healthcheck/Failover functionalities, as well as documentations for them.
Tested manually with my own config.
As a side note, I didn't add any automated tests because I'm not sure how we should do so for custom metadata fields. Should I add them as testgroups... | diff --git a/documentation/provider/gcore.md b/documentation/provider/gcore.md
index 9a7b89fa50..8fec085672 100644
--- a/documentation/provider/gcore.md
+++ b/documentation/provider/gcore.md
@@ -17,7 +17,69 @@ Example:
{% endcode %}
## Metadata
-This provider does not recognize any special metadata fields unique to... | 1 | 1 | 1 | [{"id": "G0", "claim": "Integration tests should be added for the new GCORE GeoDNS/Failover support, limited to the GCORE provider only (like Cloudflare's proxy-only tests).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
StackExchange__dnscontrol__3718 | StackExchange/dnscontrol | 3,718 | defect | 921f13e8acbfcd8e019962a0a2b73bb580275fd5 | b692df1760786863fc254228605d43c9941be957 | NEW RECORD TYPE: OPENPGPKEY (basic) | # Issue
OPENPGPKEY is not supported. This makes it difficult to import zones that have such records.
A full implementation is not needed. A good first step is to simply implement the recored requiring raw input. Later we can add more useful encoding/presentation features.
# Resolution
Add basic functionali... | diff --git a/build/generate/featureMatrix.go b/build/generate/featureMatrix.go
index aa2c99a08f..deec904592 100644
--- a/build/generate/featureMatrix.go
+++ b/build/generate/featureMatrix.go
@@ -99,29 +99,30 @@ func featureEmoji(
func matrixData() *FeatureMatrix {
const (
- OfficialSupport = "Official Suppor... | 2 | 1 | 1 | [{"id": "G0", "claim": "The help md document for OPENPGPKEY makes no mention that the user must correctly 'encode' the x._openpgpkey portion, leaving the required encoding/status undocumented.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The UTF... | null |
StackExchange__dnscontrol__3973 | StackExchange/dnscontrol | 3,973 | defect | 5fe352374e99a79fbc2d71dfe8bb9f42f614d8a9 | da167a1a7b7481c9c64aa8cda6bea50926ca37f6 | DNSCALE: Add DNScale DNS provider | ## Summary
- Add support for DNScale DNS hosting service (https://dnscale.eu)
- Full CRUD operations for DNS records via DNScale REST API
- Support for common record types: A, AAAA, CNAME, MX, TXT, NS, CAA, PTR, SRV, SSHFP, TLSA, ALIAS, HTTPS, SVCB
- Automatic zone management with EnsureZoneExists
- Integration test pr... | diff --git a/documentation/provider/dnscale.md b/documentation/provider/dnscale.md
new file mode 100644
index 0000000000..8f207ad047
--- /dev/null
+++ b/documentation/provider/dnscale.md
@@ -0,0 +1,73 @@
+## Configuration
+
+To use this provider, add an entry to `creds.json` with `TYPE` set to `DNSCALE`
+along with you... | 8 | 6 | 0 | [{"id": "G0", "claim": "The doRequest body parameter should use the modern `any` alias instead of `interface{}`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "createZone's request body should use `map[string]any` instead of `map[string]interfac... | null |
StackExchange__dnscontrol__4139 | StackExchange/dnscontrol | 4,139 | defect | 97b7b43d105fe80e5ceb8b24c05bf37e51bdc7f0 | 5179a4ce4f2643f0a5303e00f27c6af215864a1f | BUGFIX: Make `OPENPGPKEY` records functional. | I'm unable to get DNSControl to create an `OPENPGPKEY` record that `gpg` or [`openpgpkey`](https://github.com/letoams/hash-slinger/) will accept. From what I can tell, it looks like DNSControl always corrupts or misinterprets the input, meaning that there is no possible input that will produce a valid result. But if I ... | diff --git a/commands/commands.go b/commands/commands.go
index eb0c404cf2..80298b4330 100644
--- a/commands/commands.go
+++ b/commands/commands.go
@@ -43,6 +43,12 @@ var _ = cmd(catDebug, &cli.Command{
// Run will execute the CLI.
func Run(v string) int {
+ cli.VersionFlag = &cli.BoolFlag{
+ Name: "version",
+ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new OPENPGPKEY encoding makes the pkg/js parse test 056 fail, and the reviewer asks that it be fixed (by accepting the ACTUAL output and regenerating the generated files).", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
StackExchange__dnscontrol__675 | StackExchange/dnscontrol | 675 | defect | a7e0ec258d200e91cc42b7e82befd0622ca85039 | 51d85330d7f454faf3eca075bafc779bab35140b | Add support for Alias in Azure | Implement `AZURE_ALIAS` custom record type for Azure DNS
based on `R53_ALIAS`
Added Integration Tests
Actions #634 | diff --git a/build/generate/featureMatrix.go b/build/generate/featureMatrix.go
index a34b597a9f..355c67e635 100644
--- a/build/generate/featureMatrix.go
+++ b/build/generate/featureMatrix.go
@@ -39,6 +39,7 @@ func generateFeatureMatrix() error {
{"TLSA", "Provider can manage TLSA records"},
{"TXTMulti", "Provid... | 4 | 4 | 1 | [{"id": "G0", "claim": "The new docs/alias.md list item should read '6. Azure DNS requires the use of AZURE_ALIAS instead of ALIAS.' to match the phrasing of the other items.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The prose in docs/_functi... | null |
StackExchange__dnscontrol__718 | StackExchange/dnscontrol | 718 | defect | 24b7d0641e0a5c6fbcfc9287f22b4e49975ec021 | 37c08dcf389f755ed1f194cfe367ae745dfa6b2f | Add support for netcup DNS api | This should fix #705 | diff --git a/OWNERS b/OWNERS
index a3c5139fc0..e89e0621c7 100644
--- a/OWNERS
+++ b/OWNERS
@@ -12,6 +12,7 @@ providers/internetbs @pragmaton
providers/linode @koesie10
providers/namecheap @captncraig
# providers/namedotcom
+providers/netcup @kordianbruck
providers/ns1 @captncraig
# providers/route53
# providers/s... | 1 | 1 | 0 | [{"id": "G0", "claim": "The JavaScript example in the netcup docs should use single quotes instead of double quotes.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
StackExchange__dnscontrol__808 | StackExchange/dnscontrol | 808 | defect | a9f2ab84c8e0db722dec40894059c181dc7ee221 | 32e0419ec757c879704cbbec526b62002addafa2 | INWX provider | Adds registrar and dns provider support for inwx.de. First requested in #254
ToDo:
- [x] use nrdcg/goinwx after my MR for that repo has been merged
- [x] Finish documentation
- [x] Go through all features and add providers.Cannot or providers.Unimplemented
- [x] add TOTP generation support
- [x] fix goinwx pac... | diff --git a/OWNERS b/OWNERS
index aa364ecf82..9bd9cd4af0 100644
--- a/OWNERS
+++ b/OWNERS
@@ -11,6 +11,7 @@ providers/gandi_v5 @TomOnTime
# providers/gcloud
providers/hexonet @papakai
providers/internetbs @pragmaton
+providers/inwx @svenpeter42
providers/linode @koesie10
providers/namecheap @captncraig
# provide... | 7 | 7 | 2 | [{"id": "G0", "claim": "Storing a raw TOTP code in creds.json means editing it every 60 seconds, which is impractical.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The unknown-creds.json-key check should not be a hard error (initially proposed as a war... | null |
StackExchange__dnscontrol__898 | StackExchange/dnscontrol | 898 | defect | e92717fc7797d750be527639f9382564e965a56d | f92e08c32d38ab63fbcc66d86295c625ee8069d9 | HEXONET: Implement get-zones | Fixes https://github.com/StackExchange/dnscontrol/issues/893
* `go get -u github.com/hexonet/go-sdk`
* Fix code to match new API/signatures
* Fix broken integration tests
* Implement get-zones, check-creds | diff --git a/docs/_providers/hexonet.md b/docs/_providers/hexonet.md
index 7ae1d7ee97..06b7ac5d70 100644
--- a/docs/_providers/hexonet.md
+++ b/docs/_providers/hexonet.md
@@ -13,6 +13,8 @@ up-time, and most importantly for DNS expertise. DNSControl with HEXONET's DNS
marries DNS automation with an industry-leading DNS... | 4 | 3 | 1 | [{"id": "G0", "claim": "The doc line should read \"...made for your HEXONET account...\" instead of \"...made for you HEXONET account...\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ListZones should use RequestAllResponsePages for both QueryD... | null |
StackOneHQ__defender__37 | StackOneHQ/defender | 37 | defect | 91f4288abb504b7308bd71b5e04aa090bde210fe | 359cebdb6cd05e1ca3bcf9e198f34799290bb2de | fix(ENG-12540): prevent unhandled rejection cascade on ONNX load failure | ## Context
When the ONNX model fails to load (e.g. on Alpine where `onnxruntime-node` native binary can't load), `void inFlight.finally(...)` in `_loadModel()` creates an unhandled promise rejection. The NestJS global handler wraps and re-emits it, creating a recursive cascade ~130 levels deep on **every request** tha... | diff --git a/src/classifiers/onnx-classifier.ts b/src/classifiers/onnx-classifier.ts
index bfa4947..052abf5 100644
--- a/src/classifiers/onnx-classifier.ts
+++ b/src/classifiers/onnx-classifier.ts
@@ -187,7 +187,7 @@ export class OnnxClassifier {
_sessionCache.set(modelPath, { session, OrtTensor, tokenizer });
... | 3 | 2 | 1 | [{"id": "G0", "claim": "The cleanup callback closes over the mutable `this.modelPath`, so if loadModel() is called with a different modelPath while a load is in flight, the wrong key can be deleted from `_loadingPromises`, leaving the original entry stuck; the captured `modelPath` value should be used consistently for ... | null |
StackOneHQ__defender__39 | StackOneHQ/defender | 39 | defect | d4c7ec99da37ba7618e5dbcd3e81cc54ec4cc386 | f5170797e487d5c26a971696dd97b1b55ed64fc5 | fix(ENG-129): add obfuscation normalisation chain to Tier 1 detection | ## Summary
- Adds a pre-processing normalisation chain (`whitespace → unicode → leet-speak`) to `PatternDetector.analyze` so existing injection patterns catch obfuscated variants without new regex entries for each substitution style
- Introduces multi-level encoding detection so chained encodings (e.g. base64 of hex) ... | diff --git a/specs/pattern-detector.spec.ts b/specs/pattern-detector.spec.ts
index 03a663e..a7899e0 100644
--- a/specs/pattern-detector.spec.ts
+++ b/specs/pattern-detector.spec.ts
@@ -310,7 +310,9 @@ describe('PatternDetector', () => {
const result = detector.analyze('1gn0r3 pr3v10us 1nstruct10ns');
ex... | 9 | 8 | 2 | [{"id": "G0", "claim": "After partial multi-level decoding, the deep check only scans plaintext keywords and can miss suspicious content that remains encoded.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Matches from the normalised pass carry posi... | null |
StarRocks__starrocks-kubernetes-operator__189 | StarRocks/starrocks-kubernetes-operator | 189 | defect | 1b24e7bdd790b8e86852612be5a7642446e56fe0 | 542295a760035194cf6e0e69fb6fee705ba2e1e2 | update some files for release v1.7.1 | Signed-off-by: yandongxiao <yandongxiao@starrocks.com>
| diff --git a/deploy/operator.yaml b/deploy/operator.yaml
index 8055218a..90c67be4 100644
--- a/deploy/operator.yaml
+++ b/deploy/operator.yaml
@@ -234,16 +234,12 @@ spec:
control-plane: starrocks-controller
spec:
automountServiceAccountToken: true
- securityContext:
- runAsUser: 1000
- ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The two lines 'set -e' and 'set -x' added to scripts/artifacts.sh should be merged into the single line 'set -ex'.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
StarRocks__starrocks-kubernetes-operator__249 | StarRocks/starrocks-kubernetes-operator | 249 | defect | 59ef561978f3d3e053fadda4b58804f171c398a2 | 81053d7cc625e6339f690efb8cd58929801c9d11 | support subpath for configmaps and secrets | Signed-off-by: yandongxiao <yandongxiao@starrocks.com>
| diff --git a/config/crd/bases/starrocks.com_starrocksclusters.yaml b/config/crd/bases/starrocks.com_starrocksclusters.yaml
index bf8b804b..d7f02a56 100644
--- a/config/crd/bases/starrocks.com_starrocksclusters.yaml
+++ b/config/crd/bases/starrocks.com_starrocksclusters.yaml
@@ -1054,6 +1054,10 @@ spec:
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The doc README (doc/README.md) shall be updated, adding a link to the new mount_external_configmaps_or_secrets_howto.md doc.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
StarRocks__starrocks-kubernetes-operator__341 | StarRocks/starrocks-kubernetes-operator | 341 | defect | 166755155f7a1261fd0ce664b1bb5a654dc5ef77 | d07026dbdf051ff1282162589c61f765bd42ce0a | [Enhancement] use zap as logger | close #342 | diff --git a/cmd/main.go b/cmd/main.go
index e37900b7..8909fe94 100644
--- a/cmd/main.go
+++ b/cmd/main.go
@@ -17,14 +17,11 @@ limitations under the License.
package main
import (
+ "context"
"flag"
- "fmt"
- "io"
"os"
"time"
- "k8s.io/klog/v2"
-
ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/contro... | 1 | 1 | 1 | [{"id": "G0", "claim": "The two zap flags added to deploy/operator.yaml are broken: writing each flag and its value in a single yaml arg item makes the operator container fail to start with \"flag provided but not defined: -zap-time-encoding iso8601\", so the operator cannot be installed with this file unless both line... | null |
StarRocks__starrocks-kubernetes-operator__552 | StarRocks/starrocks-kubernetes-operator | 552 | defect | f58c451992ed03998353aed42963125e5872adea | 87ad5ae66ce40a839690f9490a8d5b649106fbf2 | [Enhancement] If hostPath is set, the storage class will be considered as hostPath | # Description
# Related Issue(s)
Fixes: #485
# Checklist
For operator, please complete the following checklist:
- [x] run `make generate` to generate the code.
- [x] run `golangci-lint run` to check the code style.
- [x] run `make test` to run UT.
- [x] run `make manifests` to update the yaml files o... | diff --git a/helm-charts/charts/kube-starrocks/charts/starrocks/values.yaml b/helm-charts/charts/kube-starrocks/charts/starrocks/values.yaml
index aa017e68..75d5d4cb 100644
--- a/helm-charts/charts/kube-starrocks/charts/starrocks/values.yaml
+++ b/helm-charts/charts/kube-starrocks/charts/starrocks/values.yaml
@@ -271,8... | 1 | 1 | 1 | [{"id": "G0", "claim": "When both sv.HostPath and sv.StorageClassName are provided and they mismatch, the new SpecialStorageClassName silently prefers HostPath and the reviewer asks what the behavior should be.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
StarRocks__starrocks-kubernetes-operator__632 | StarRocks/starrocks-kubernetes-operator | 632 | defect | 916e90bd55981f2f1bed748bfa0bb9cf1fa1d013 | 5bd7b424b19229777b004af80f056bac44b07b47 | Support service labels | # Description
Currently adding K8s service annotations are supported but not labels. Support service labels through the following changes:
- Update CRD definitions in `config/crd/bases/` and `deploy/`
- Update Helm chart templates and values for `helm-charts/charts/kube-starrocks/` and `helm-charts/charts/wareho... | diff --git a/config/crd/bases/starrocks.com_starrocksclusters.yaml b/config/crd/bases/starrocks.com_starrocksclusters.yaml
index 6ca3e1ed..585018af 100644
--- a/config/crd/bases/starrocks.com_starrocksclusters.yaml
+++ b/config/crd/bases/starrocks.com_starrocksclusters.yaml
@@ -2723,6 +2723,12 @@ spec:
... | 5 | 3 | 0 | [{"id": "G0", "claim": "In MakeSearchService the reassignment of labels is unnecessary because the DeepCopyInto above already copies all labels from the external service.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `labels` parameter of Mak... | null |
StarRocks__starrocks-kubernetes-operator__714 | StarRocks/starrocks-kubernetes-operator | 714 | defect | c105d422b56b69b145fd6d30d6ea8238b0f8f36a | e8b7daf6865c9dea21799903d44d671d381c9f9a | [BugFix] Operator drops a wrong CN node when doing scale-in operation | # Description
# Related Issue(s)
fixes: #713
# Checklist
For operator, please complete the following checklist:
- [x] run `make generate` to generate the code.
- [x] run `golangci-lint run` to check the code style.
- [x] run `make test` to run UT.
- [x] run `make manifests` to update the yaml files o... | diff --git a/pkg/subcontrollers/cn/cn_mysql.go b/pkg/subcontrollers/cn/cn_mysql.go
index 666965e4..fecd8086 100644
--- a/pkg/subcontrollers/cn/cn_mysql.go
+++ b/pkg/subcontrollers/cn/cn_mysql.go
@@ -5,6 +5,7 @@ import (
"database/sql"
"fmt"
"sort"
+ "strings"
"github.com/go-logr/logr"
_ "github.com/go-sql-d... | 1 | 1 | 0 | [{"id": "G0", "claim": "Sorting re-parses the FQDN on every comparison, which could be way inefficient; the index should be parsed once when showing the compute nodes result and saved to the ComputeNode object.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
StarRocks__starrocks-kubernetes-operator__729 | StarRocks/starrocks-kubernetes-operator | 729 | defect | 2bf81b78788d6d86570353f9a5605b2c2427ded1 | 026994122dc3848665ec775fc1cf2d470f5c58e8 | support deny list in operator | # Description
Introduce Deny List #728
# Checklist
For operator, please complete the following checklist:
- [x] run `make generate` to generate the code.
- [x] run `golangci-lint run` to check the code style.
- [x] run `make test` to run UT.
- [x] run `make manifests` to update the yaml files of CRD.
... | diff --git a/Makefile b/Makefile
index ec16aa4c2..a0ccea316 100644
--- a/Makefile
+++ b/Makefile
@@ -91,6 +91,7 @@ test: manifests generate fmt vet envtest ## Run tests.
github.com/StarRocks/starrocks-kubernetes-operator/pkg/controllers/... \
github.com/StarRocks/starrocks-kubernetes-operator/pkg/k8sutils/... ... | 11 | 8 | 3 | [{"id": "G0", "claim": "The deny list should be passed to the operator as a command-line option rather than via the DENY_LIST environment variable (the reviewer also asked for the usage scenario, which the author answered).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":... | null |
StarRocks__starrocks-kubernetes-operator__739 | StarRocks/starrocks-kubernetes-operator | 739 | defect | 7f62e53cd83986ef1e19c4bd1be63fcffdfed484 | 4765dbb80a67ddd1d79b1633990a3225677ab71e | Fix-738 add waitForFullRollout option for safer rolling upgrades | # Description
#738
> the PR should include helm chart changes and operator changes.
# Checklist
For operator, please complete the following checklist:
- [x] run `make generate` to generate the code.
- [x] run `golangci-lint run` to check the code style.
- [x] run `make test` to run UT.
- [x] run `make ... | diff --git a/config/crd/bases/starrocks.com_starrocksclusters.yaml b/config/crd/bases/starrocks.com_starrocksclusters.yaml
index caf0485d..d5045ca2 100644
--- a/config/crd/bases/starrocks.com_starrocksclusters.yaml
+++ b/config/crd/bases/starrocks.com_starrocksclusters.yaml
@@ -15461,6 +15461,15 @@ spec:
... | 4 | 2 | 0 | [{"id": "G0", "claim": "When WaitForFullRollout is false and CheckFEReady returns false, add a log message explaining why the CN/BE sync is skipped, for consistency with the WaitForFullRollout=true branch.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c... | null |
Stebalien__slug-rs__6 | Stebalien/slug-rs | 6 | defect | 72f37b10a5147ca7a8fe84116d15f13a288b89b2 | 12db9c8eda36f4ccb669bfbe2fa7d5dcb92c8480 | add support for web assembly | Adds a wasm_bindgen function only when compiling for web assembly targets | diff --git a/Cargo.toml b/Cargo.toml
index 5af7b46..1c98649 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,7 +3,7 @@ name = "slug"
keywords = ["slugify", "slug", "id"]
version = "0.1.4"
authors = ["Steven Allen <steven@stebalien.com>"]
-
+edition = "2021"
description = "Convert a unicode string to a slug"
license ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Putting #[cfg(not(target_family = \"wasm\"))] on the generic slugify will break anyone using slug as a dependency while compiling their crate to wasm; remove that cfg gate and expose the wasm binding through a separate #[doc(hidden)] #[wasm_bindgen(js_name = \"slugify\")] function instead.", "ca... | null |
Stebalien__xattr__3 | Stebalien/xattr | 3 | defect | 9c8e1be820ceae461b8dc66e3d11adc400df396d | d3b91f92475bb35e952daaea72aebc81f48c32d2 | Implement support for FreeBSD's extended attributes | Here's a super rough draft of extended attributes for FreeBSD.
| diff --git a/src/sys/freebsd.rs b/src/sys/freebsd.rs
index 70b786d12..ac29d0633 100644
--- a/src/sys/freebsd.rs
+++ b/src/sys/freebsd.rs
@@ -1 +1,243 @@
-// TODO
+use std::io;
+use std::ffi::{CString, OsStr, OsString};
+use std::os::unix::io::RawFd;
+use std::os::unix::ffi::OsStrExt;
+use std::path::Path;
+use std::mem... | 6 | 6 | 3 | [{"id": "G0", "claim": "name_to_ns only looks at the first two dot-separated parts, so the rest of an attribute name after the second part is dropped.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "name_to_ns does not need to allocate so much when t... | null |
Stebalien__xattr__41 | Stebalien/xattr | 41 | defect | 4d4b72ede927a22e7557ef2d181bf25215e58e2c | e41684a5e528a8eef2a275466f690b62057e0ea2 | Replace libc in Linux with rustix | rustix is a crate which provides I/O-safe wrappers around raw system
calls on Linux and libc on other Unixes. This PR makes it so the
functions in this crate call the rustix functions.
This has a number of benefits. It removes a substantial amount of
unsafe code from this crate. In addition, raw syscalls are ofte... | diff --git a/Cargo.toml b/Cargo.toml
index 0c55ed19..963de94f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -20,8 +20,13 @@ default = ["unsupported"]
# platforms. This would make sense if you absolutely need xattr support.
unsupported = []
-[dependencies]
-libc = "0.2.147"
+[dependencies.rustix]
+version = "0.38.25"
... | 4 | 3 | 1 | [{"id": "G0", "claim": "The unsafe BorrowedFd::borrow_raw wrapping introduced in lib.rs is only safe because the file descriptor is not kept around: the API is unsafe even though this particular usage is safe.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim"... | null |
Stellarium__stellarium__1051 | Stellarium/stellarium | 1,051 | defect | 254a9815c57a50e6dddc7cf3b712e75abf5e3124 | c138ab385198ab621c7accb67184e2d7fd1bf641 | Vectors | <!--- Provide a general summary of your changes in the Title above -->
### Description
<!--- Please include a summary of the change and which issue is fixed. -->
<!--- Please also include relevant motivation and context. -->
<!--- List any dependencies that are required for this change. -->
Fixes # (issue)
... | diff --git a/src/core/StelUtils.cpp b/src/core/StelUtils.cpp
index 429224f167446..ac33d160bdcf7 100644
--- a/src/core/StelUtils.cpp
+++ b/src/core/StelUtils.cpp
@@ -486,49 +486,122 @@ Vec3f htmlColorToVec3f(const QString& c)
double getDecAngle(const QString& str)
{
- QRegExp re1("^\\s*([\\+\\-])?\\s*(\\d+)\\s*([hHD... | 3 | 2 | 2 | [{"id": "G0", "claim": "The added legacy test case \"-80r25m10s\" uses an 'r' where a proper hdms/degree marker looks intended, and the reviewer asks whether it is a typo.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The unit tests fail in CI (Travi... | null |
Stellarium__stellarium__1063 | Stellarium/stellarium | 1,063 | defect | 9e713daca3925bcb8fdd934586598e745a3005b6 | cfc30526e5107659293ea44887f3723e901725fe | Extend the JavaScript classes corresponding to Vec3f and Vec3d. See t… | …he comments in StelScriptMgr.cpp.
Added test.testJavaScripting.[ch]pp to test the scripting side.
<!--- Provide a general summary of your changes in the Title above -->
### Description
<!--- Please include a summary of the change and which issue is fixed. -->
<!--- Please also include relevant motivation an... | diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4a8f40d0503b0..12588a8622320 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -732,6 +732,16 @@ IF(ENABLE_TESTING)
ADD_TEST(testVecMath testVecMath)
SET_TARGET_PROPERTIES(testVecMath PROPERTIES FOLDER "src/tests")
+ SET(tests_testJavaS... | 2 | 2 | 0 | [{"id": "G0", "claim": "The copyright header of the new unit-test files names Alexander Wolf instead of the actual author, Wolfgang Laun, and should be set to the PR author's name.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The code style of the... | null |
Stellarium__stellarium__15 | Stellarium/stellarium | 15 | defect | 6148b8a274d933bf054a906451775028fb254eec | 475ada3cb7ece3376446473b2b1555eaa58c9d4f | [TelescopeControl] INDI support | It implements a INDI client: you need an external server to connect to.
Tested with INDI telescope simulator and CEM25 driver.
IMPORTANT: it works only when there's only one device connected to INDI.
ADVICE: The plugin needs a deep refactoring. | diff --git a/.travis.yml b/.travis.yml
index f73fb2f223300..0b90950dbde6f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,6 +19,7 @@ compiler:
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
+ - sudo apt-add-repository -y ppa:mutlaqja/ppa
- sudo apt-get -qq update
- sudo apt-get ... | 8 | 4 | 3 | [{"id": "G0", "claim": "The pull request should add a user-manual entry (about one page in guide/plg_atTheTelescope.tex, just before the RTS2 section) covering the basics for users with an INDI mount.", "category": "documentation", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
Stellarium__stellarium__1942 | Stellarium/stellarium | 1,942 | defect | 5a2bf7313813f375bda93c76d36ce818404655bc | b438dd5b44a1bdbde5c60020e4cc2b2fb109aa83 | Added support HTC 2.0 theory | ### Description
Added support HTC 2.0 theory for compute positions of 3 moons of Saturn: Helene, Telesto and Calypso
### Type of change
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non... | diff --git a/data/ssystem_major.ini b/data/ssystem_major.ini
index 46805a451f923..f9c8e4a563775 100644
--- a/data/ssystem_major.ini
+++ b/data/ssystem_major.ini
@@ -193,15 +193,8 @@ absolute_magnitude=9.4
albedo=0.7
color=1., 0.9, 0.75
name=Calypso
-orbit_AscendingNode=172.7090481468045
-orbit_Eccentricity=0.0012951... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new get_helene/telesto/calypso_parent_coordsv declarations should be moved up into the Saturn group of function declarations instead of sitting in a separate group after the Uranus moons.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Stellarium__stellarium__2724 | Stellarium/stellarium | 2,724 | defect | 1f50a661f4c561d48f33f6d986ab62eb5e104ae0 | 9ce7f2fffa5d27234fa78fb53f02bffaa0571738 | TelescopeControl Plugin Fixes | <!--- Provide a general summary of your changes in the Title above -->
### Description
<!--- Please include a summary of the change and which issue is fixed. -->
<!--- Please also include relevant motivation and context. -->
<!--- List any dependencies that are required for this change. -->
This is an attempt ... | diff --git a/plugins/TelescopeControl/src/ASCOM/ASCOMDevice.cpp b/plugins/TelescopeControl/src/ASCOM/ASCOMDevice.cpp
index c4246158b68e60..e7d3834bf4231a 100644
--- a/plugins/TelescopeControl/src/ASCOM/ASCOMDevice.cpp
+++ b/plugins/TelescopeControl/src/ASCOM/ASCOMDevice.cpp
@@ -44,7 +44,7 @@ bool ASCOMDevice::connect()... | 3 | 1 | 0 | [{"id": "G0", "claim": "When the INDI/INDIGO connection fails, the button for getting the list of devices stays \"pressed\".", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "Add a big Stop/Halt (Abort) Slew button to the slew-to window, and, lower p... | null |
Stellarium__stellarium__2856 | Stellarium/stellarium | 2,856 | defect | c5fb30fddf43e082aedb233cd07e33fe435e28cf | 21925b91f6261f13a733c0ac2d45fc9ec1452447 | Projection: plate carree | <!--- Provide a general summary of your changes in the Title above -->
### Description
Ruslan's shader implementation of Milky Way and ZL makes this finally interesting: A window-filling all-sky map. I can imagine an application using Spout where the result goes into another program, as live texture for some obje... | diff --git a/src/core/StelProjector.cpp b/src/core/StelProjector.cpp
index 4f17f3ee4a2432..41512135b2ff81 100644
--- a/src/core/StelProjector.cpp
+++ b/src/core/StelProjector.cpp
@@ -152,19 +152,14 @@ void StelProjector::init(const StelProjectorParams& params)
zNear = params.zNear;
oneOverZNearMinusZFar = 1./(zNear... | 3 | 3 | 1 | [{"id": "G0", "claim": "The viewport scaling factor must not be rounded to an integer when multiplying viewportXywh, because rounding breaks non-integer scales like 150% or 125%.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "StelProjectorCylinderFi... | null |
Stellarium__stellarium__3599 | Stellarium/stellarium | 3,599 | defect | c642e446ac1f473d870d0b88f213fc10df3eeceb | 87efdb6dc150c429eedde829a17d0a88d41c1731 | [CI] unit testing in FreeBSD and OpenBSD systems | ### Description
This pull request added support to build and run unit tests in FreeBSD and OpenBSD systems.
Important part of this PR is updated unit tests for JavaScripting (The deep investigation of test fails is needs for FreeBSD/Qt5 CI).
### Type of change
- [x] Housekeeping
| diff --git a/.github/workflows/ci-unix.yml b/.github/workflows/ci-unix.yml
new file mode 100644
index 0000000000000..98ca92f982774
--- /dev/null
+++ b/.github/workflows/ci-unix.yml
@@ -0,0 +1,213 @@
+#
+# Implementation of Continuous Integration process for UNIX by Github actions (with extra additionals...)
+#
+name: "... | 7 | 5 | 2 | [{"id": "G0", "claim": "The FreeBSD/Qt6 CI job disables ShowMySky (-DENABLE_SHOWMYSKY=Off), so that component is not built or tested there — why?", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ShowMySky CI build fails with 'don't know how to make ch... | null |
Stellarium__stellarium__950 | Stellarium/stellarium | 950 | defect | 1d16260bcf68435806830b03dfb622836af8af8c | 6c6a03886bc3185859176b5b702addf0bfdad731 | WIP: Cleanup solar system loader | <!--- Provide a general summary of your changes in the Title above -->
There were a few remaining changes not really related to planet axes yet, here dissected from the gz_planetAxes branch to clean that out.
- Lots of cleanup related to SolarSystem loading and Orbit simplifications
- also restore/sanitize handl... | diff --git a/data/ssystem_major.ini b/data/ssystem_major.ini
index 312a2223a3565..40318b6941c1d 100644
--- a/data/ssystem_major.ini
+++ b/data/ssystem_major.ini
@@ -279,6 +279,12 @@ rot_equator_ascending_node=0
rot_obliquity=0
# rot_periode=0.3359924013672617 # Unknown
rot_rotation_offset=0
+rot_pole_ra=257.31
+rot_... | 15 | 13 | 6 | [{"id": "G0", "claim": "The rewritten Moon phase naming logic looks weird and its phase boundaries (which phases count as 'sharp') need to be checked and fixed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Replacing qRound with static_cast<int>(st... | null |
Stellarium__stellarium__955 | Stellarium/stellarium | 955 | defect | 5883230c52c29547bdf04e151ee462c7d99515cd | c3103f5fbab225217bf9fd4472c27a030b23452b | Navstars improvements | <!--- Provide a general summary of your changes in the Title above -->
# Add Nautical Almanac data to extraInfoStrings for navigation stars
### Description
The standard out of the box Nav Stars plugin highlights a set of stars that represent those chosen and found in Nautical Almanacs around the world. However, it... | diff --git a/guide/ch_plugins.tex b/guide/ch_plugins.tex
index eb8fac3e7a0e3..3feb33263dcdd 100644
--- a/guide/ch_plugins.tex
+++ b/guide/ch_plugins.tex
@@ -6,7 +6,7 @@ \chapter{Plugins: An Introduction}
optional extensions called plug-ins: Angle Measure, Compass Marks, Oculars, Telescope Control, Text
User Interface... | 19 | 14 | 7 | [{"id": "G0", "claim": "The 'NavStars::' extra qualification on member declarations in NavStars.hpp is a compile error that breaks the build.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The NavStars constructor initializes members in a different ... | null |
StellateHQ__graphql-query__1 | StellateHQ/graphql-query | 1 | defect | d16aab77f8cd1f56903e33560d8486110cca29b2 | b0cdf31ebaca1abd88aa36101064db9cf9664e9b | add no_unused_variables and mark missing defer ones | Adds one of the missing rules, we are also missing `only_executable_definitions` as a rule, however we can't really enforce that as our parser only parses Operation and Fragment anyway. | diff --git a/src/validate/rules/mod.rs b/src/validate/rules/mod.rs
index e6a2090..33c9e30 100644
--- a/src/validate/rules/mod.rs
+++ b/src/validate/rules/mod.rs
@@ -1,10 +1,14 @@
use crate::visit::ComposedVisitor;
+// Missing schemaless rules
+// https://github.com/graphql/graphql-js/blob/main/src/validation/rules/D... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new rule should use arena-allocated vectors instead of heap-allocated ones if the crate's allocations can be kept in the arena (or, per the thread, the Default requirement that forced the heap Vec should be examined).", "category": "design", "verdict": "supported", "priority": "P2", "scope":... | null |
SteveMacenski__spatio_temporal_voxel_layer__81 | SteveMacenski/spatio_temporal_voxel_layer | 81 | defect | 4d09a348a4abfa392b4c3a2a41cdd8764e3fbf06 | 91e9f03bf2e88f7bcba807609a48eb700cdd1210 | first melodic migration attempt | Just made the appropriate changes for the package to compile and the minimal_test.launch to run without error. No test on real platform nor simulation yet done yet | diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7d29c651..455ec40a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,6 +16,10 @@ find_package(catkin REQUIRED COMPONENTS
pcl_ros
roscpp
tf
+ tf2
+ tf2_geometry_msgs
+ tf2_ros
+ tf2_sensor_msgs
visualization_msgs
message_generation
)
diff --git... | 8 | 8 | 1 | [{"id": "G0", "claim": "An extra space was added before _global_frame in the MeasurementBuffer construction call in spatio_temporal_voxel_layer.cpp.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The old pcl_ros::transformPointCloud call left co... | null |
Stranger6667__jsonschema__118 | Stranger6667/jsonschema | 118 | defect | f886d1132ae5d6c8a16a32be11d46635f8c608cb | 0f981634a62c51a401102c1386120dcf18efb236 | Enable windows tests | The goal of this PR is to ensure that all the tests are executed on Windows (either rust and python library).
In order to achieve this we need to make sure that the mock server is started by the same process running the tests (this is needed due to some Windows security limitations). I've decided that was easier to ... | diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ad87eac16..e8b1ccae3 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -48,8 +48,13 @@ jobs:
command: check
test-stable:
- name: Test (stable)
- runs-on: ubuntu-latest
+ strategy:
+ fai... | 1 | 1 | 1 | [{"id": "G0", "claim": "Checking the equivalence of `compiled.validate` and `compiled.is_valid` is missing from the rewritten test harness in tests/test_suite.rs.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Stranger6667__jsonschema__303 | Stranger6667/jsonschema | 303 | defect | 817951380286e3fe82bc79f969619a93878a9397 | 0480ffacc509ffa3877505e1477e9997a8d0627e | feat: Implement `prefixItems` keyword | Fixes #289
| diff --git a/jsonschema/src/keywords/mod.rs b/jsonschema/src/keywords/mod.rs
index 8008374cf..99c9119d6 100644
--- a/jsonschema/src/keywords/mod.rs
+++ b/jsonschema/src/keywords/mod.rs
@@ -28,6 +28,7 @@ pub(crate) mod not;
pub(crate) mod one_of;
pub(crate) mod pattern;
pub(crate) mod pattern_properties;
+pub(crate) ... | 4 | 4 | 3 | [{"id": "G0", "claim": "On drafts before 2020-12 the `prefixItems` keyword should compile to `None` since those drafts ignore unknown keywords; the change should also add a `Draft202012` entry to the `Draft` enum behind a feature flag similar to `draft201909`.", "category": "correctness", "verdict": "supported", "prior... | null |
Stranger6667__jsonschema__772 | Stranger6667/jsonschema | 772 | defect | d0d0af10c5c18e10d0dbd476def3da9dc3e606da | cedea318da8dff92733b9712283779110fa8f7f3 | Add `context` field to `anyOf` and `oneOf` validation error | Fixes https://github.com/Stranger6667/jsonschema/issues/649
Hi, thank you for this awesome library! We are currently using the Python `jsonschema` library, and we want to switch to the `jsonschema-rs`, but we are blocked by one missing feature, which is the context for the `anyOf` and `oneOf` validation. We are curr... | diff --git a/crates/jsonschema-py/python/jsonschema_rs/__init__.pyi b/crates/jsonschema-py/python/jsonschema_rs/__init__.pyi
index 20ed7dbb5..1175915a8 100644
--- a/crates/jsonschema-py/python/jsonschema_rs/__init__.pyi
+++ b/crates/jsonschema-py/python/jsonschema_rs/__init__.pyi
@@ -64,6 +64,10 @@ def iter_errors(
cl... | 4 | 2 | 0 | [{"id": "G0", "claim": "Since the change is breaking anyway, add a lifetime to `ValidationErrorKind` instead of keeping `'static` in the new `AnyOf` context field.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Drop `schema_id` from the `AnyOf` context bec... | null |
Stranger6667__postmarker__8 | Stranger6667/postmarker | 8 | defect | 8851f509d0cef438c05c8d4cdb24fb2f843a1671 | 354ca61d45221e64fabef9b12fdff1e0b8fd5c0f | [WIP] Basic bounces implementation. Added betamax for testing | What should be done:
- [x] Documentation
- [ ] Refactored tests
- [ ] Better exception's messages
| diff --git a/docs/usage.rst b/docs/usage.rst
index f192b0a..76e2dcb 100644
--- a/docs/usage.rst
+++ b/docs/usage.rst
@@ -14,7 +14,7 @@ Postmarker provides two client classes - ``ServerClient`` for Server API and ``A
from postmarker.core import ServerClient
- server_api = ServerClient(token='POSTMARK_API_TES... | 1 | 1 | 0 | [{"id": "G0", "claim": "The _setup_managers loop needs some guard/logic added, such as checking for duplicate attribute names among the managers.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Stremio__stremio-core__327 | Stremio/stremio-core | 327 | defect | 3be1a85e21d8005aa4b1b869a92c6f1720a43627 | 7cfc42808215ea4e43474a76c1e12c0f06b3024a | Better MetaItem deserialization | poster, background and logo as Url type. Parse correctly genres and trailers if null. Accepts imdbRating as floating point number.
Fixes https://github.com/Stremio/stremio-core/issues/323 | diff --git a/src/types/library/library_item.rs b/src/types/library/library_item.rs
index a0fab4dd43..dda6a09dca 100644
--- a/src/types/library/library_item.rs
+++ b/src/types/library/library_item.rs
@@ -4,6 +4,7 @@ use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};
use serde_with::{serde_as, DefaultOnN... | 1 | 1 | 0 | [{"id": "G0", "claim": "The imdb_rating number-or-text deserialization should be implemented as a serde_as adapter (e.g. `#[serde_as(deserialize_as = \"Option<NumberOrString>\")]` with a struct implementing DeserializeAs) instead of the custom deserialize_with function.", "category": "design", "verdict": "supported", "... | null |
Stremio__stremio-core__393 | Stremio/stremio-core | 393 | defect | ba567ad75cbeee1153530e896b25998a2b0d8e16 | 4b214da92b82240517b3ca658ff8995d902baafb | User DateExport | Signed-off-by: Lachezar Lechev <lachezar@ambire.com> | diff --git a/src/models/data_export.rs b/src/models/data_export.rs
new file mode 100644
index 0000000000..b0e5af67fd
--- /dev/null
+++ b/src/models/data_export.rs
@@ -0,0 +1,115 @@
+use futures::{future, FutureExt, TryFutureExt};
+use percent_encoding::utf8_percent_encode;
+use serde::Serialize;
+use url::Url;
+
+use c... | 3 | 3 | 0 | [{"id": "G0", "claim": "Use DataExport::default() instead of a DataExport::new() constructor, since ::new() should be reserved for constructors that return effects.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The stray comment '// https://www.strem.io... | null |
Stremio__stremio-core__405 | Stremio/stremio-core | 405 | defect | 874a795de8984b3d63887fe2d4b11bab770ff6a4 | c77d2e0b038b0b9feaddddd4ff0f7eb1de807de1 | change defaults for some settings | After some discussion with @jaruba some defaults are to be changed:
- Enabled binge watching by default (same as in desktop app)
- Enable next video notification at 35000ms (same as in desktop app)
- Change seek duration to 10000ms, to allow seeking more precisely and it's the default in some other streaming plat... | diff --git a/src/runtime/env.rs b/src/runtime/env.rs
index 57b815c2bb..97d262388c 100644
--- a/src/runtime/env.rs
+++ b/src/runtime/env.rs
@@ -398,7 +398,7 @@ fn migrate_storage_schema_to_v6<E: Env>() -> TryEnvFuture<()> {
);
settings.insert(
"nextVideo... | 4 | 1 | 0 | [{"id": "G0", "claim": "Changing the nextVideoNotificationDuration value inside the v6 migration is only good if that migration has not been deployed to users yet; if it has been deployed, it should not be changed there.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G... | null |
Stremio__stremio-core__441 | Stremio/stremio-core | 441 | defect | fcacc41071fe0d212bca83bc4e7ec2d71e473f7e | da9ed8daebe05b87a1bc97cbb128210dfbe92b2f | improve addon upgrade behaviour | Currently when upgrading addon it checks for installed addons based on `id` and replaces all of them with the new one. But this is flawed, since addons might have the same `id`, but different configuration and that's not what the user would expect, he'd expect to upgrade the same addon with the same configuration to th... | diff --git a/src/constants.rs b/src/constants.rs
index 2801b664ca..be98c7098d 100644
--- a/src/constants.rs
+++ b/src/constants.rs
@@ -72,6 +72,7 @@ lazy_static! {
options_limit: OptionsLimit::default(),
};
pub static ref TYPE_PRIORITIES: HashMap<&'static str, i32> = vec![
+ ("all", 5),
... | 4 | 3 | 0 | [{"id": "G0", "claim": "The test variable holding the upgrade of addon1 should be renamed (e.g. addon1_update) to clarify that it is an update of addon1.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Avoid unwrap on addon_position even though i... | null |
Stremio__stremio-core__468 | Stremio/stremio-core | 468 | defect | 9a13f204cb2e00b208bb61ddb2bd7de1988a9a08 | 80832f7278b19e862fbce18aaaed829b5d135be0 | override meta details selected based on loaded meta | Override meta details selected based on viable meta if
1. meta_item has single video, use video id
2. meta_item has 0 videos and default video id, use default video id
3. meta_item has 0 videos and is a movie, use meta item id
Viable meta item is the first item in MetaDetails.meta_items that is not in Err state.
... | diff --git a/src/models/link.rs b/src/models/link.rs
index fdbcea12a0..e723e4f468 100644
--- a/src/models/link.rs
+++ b/src/models/link.rs
@@ -31,7 +31,7 @@ impl fmt::Display for LinkError {
}
}
-#[derive(Derivative, Serialize, Debug)]
+#[derive(Derivative, Serialize, Clone, Debug)]
#[derivative(Default(bound ... | 6 | 2 | 0 | [{"id": "G0", "claim": "The `if let ... else` bindings in `selected_override_update` should be written with a `match` instead, as the reviewer's suggestion block proposes.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "When the loaded meta has e... | null |
Stremio__stremio-core__522 | Stremio/stremio-core | 522 | defect | e52398241c38432768b6dd564d081cad11c8d534 | bd2c7c82d876396e7f1465524a40c94f8d88e0a8 | feat: deeplinks with stream bucket and CW items | Closes #520
- Core-web changes: https://github.com/Stremio/stremio-core-web/pull/62 | diff --git a/src/deep_links/mod.rs b/src/deep_links/mod.rs
index b205d1284a..7ff64fdaa8 100644
--- a/src/deep_links/mod.rs
+++ b/src/deep_links/mod.rs
@@ -14,6 +14,7 @@ use crate::{
profile::Settings,
query_params_encode,
resource::{MetaItem, MetaItemPreview, Stream, StreamSource, Video},
+ ... | 2 | 2 | 0 | [{"id": "G0", "claim": "StreamsItem should keep the meta_id and video_id fields because iterating over values is sometimes easier than using the StreamsItemKey.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "StreamsItem should probably use the Url (trans... | null |
Stremio__stremio-core__546 | Stremio/stremio-core | 546 | defect | ce0fe8abf00a727dce5f81cd77989ac951f443c2 | a7e0458a3948f8ba746caca752a39edbf360f517 | feat: Profile Settings - controls & esc for exiting fullscreen | - Adds a new field `seek_short_time_duration` for short (finer) seeking (e.g. using Arrow + Shift) and with default value of - **3 seconds**
- Adds setting for `Escape key exiting Full screen` of the app
- Adds setting for `Pause playback on minimize`
Discussed on Slack: Since most players have default seeking time ... | diff --git a/src/constants.rs b/src/constants.rs
index 51c4cc214f..83dc2f3fc8 100644
--- a/src/constants.rs
+++ b/src/constants.rs
@@ -30,7 +30,8 @@ pub const NOTIFICATION_ITEMS_COUNT: usize = 100;
/// `LibraryItem.state.time_watched` > `LibraryItem.state.duration` * [`WATCHED_THRESHOLD_COEF`]
pub const WATCHED_THRES... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new field is misspelled and should be named `esc_exit_fullscreen` (originally `esc_exists_fullscreen`, then still wrong as `esc_exist_fullscreen`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rather than changing t... | null |
Stremio__stremio-core__553 | Stremio/stremio-core | 553 | defect | 9cac83278d7c5547b1d1699594e551cea6d961a9 | 6c0957637acead6c611b7743588593e943fd7d89 | implement stream state management | Allow storing stream state based on user actions (user changes default audio/subs track, changes sync or playback speed) and restoring it when playing the same stream or reusing parts of the state when playing next videos in the meta. | diff --git a/src/models/ctx/update_streams.rs b/src/models/ctx/update_streams.rs
index 3e8655e9ab..c69d4ebc14 100644
--- a/src/models/ctx/update_streams.rs
+++ b/src/models/ctx/update_streams.rs
@@ -34,6 +34,10 @@ pub fn update_streams<E: Env + 'static>(
meta_id: meta_id.to_owned(),
vi... | 9 | 6 | 0 | [{"id": "G0", "claim": "The delay fields should drop the `_ms` suffix from their names and instead document or type-encode that the values are milliseconds, for consistency with the rest of core.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
Stremio__stremio-core__557 | Stremio/stremio-core | 557 | defect | ce496f274b2e9d98cea6b5fb2c1700baa8239f37 | be8ebd6f3a085711bcf6933aa6f63e4f9c4343f3 | Fix external player link streaming server url | Close #539
Fix https://github.com/Stremio/stremio-web/issues/404
Fix https://github.com/Stremio/stremio-web/issues/431 | diff --git a/src/deep_links/mod.rs b/src/deep_links/mod.rs
index 8fdcbab939..bb8061cb2b 100644
--- a/src/deep_links/mod.rs
+++ b/src/deep_links/mod.rs
@@ -64,6 +64,7 @@ impl From<(&Stream, Option<&Url>, &Settings)> for ExternalPlayerLink {
///
/// [`StreamingServer::base_url`]: crate::models::streaming_server... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a comment above the line so it is clear why the settings streaming server url is only used when a streaming server url is available.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Stremio__stremio-core__598 | Stremio/stremio-core | 598 | defect | bcd037874e1e73990a9688b06adbd551bf59709b | 9e26f18db1a3d768fb956cb2535bfbe235d499ed | Fix external player link | Related to https://github.com/Stremio/stremio-web/pull/542
Breaking changes to `ExternalPlayerLink` | diff --git a/src/deep_links/mod.rs b/src/deep_links/mod.rs
index 2d1597ccdd..283600db57 100644
--- a/src/deep_links/mod.rs
+++ b/src/deep_links/mod.rs
@@ -39,14 +39,15 @@ pub struct OpenPlayerLink {
#[derive(Default, Serialize, Debug, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ExternalPlayerLink {... | 3 | 3 | 0 | [{"id": "G0", "claim": "Please add descriptive docs on the new playlist field, e.g. \"/// Playlist contains a m3u data URI\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Please write a descriptive comment on the new web field, e.g. \"/// A Url ... | null |
Stremio__stremio-core__621 | Stremio/stremio-core | 621 | defect | 9b0b0733be8889683f2b284e3df7421fe8a8a07b | 1155705b3a68e4ae88c0e4b6c2bceb09ebeb81eb | fix: Addon collection and Library fetch on user login raise flags | ## API call to retrieve Addons Collection failed on login:

## API call to retrieve User Library failed on login:
 should be replaced by carrying the results themselves, e.g. `pub addons: Result<Vec<>, Error>` and the same for library_items, so errors are surfaced and the official-addons fallback happens elsewhere.", "category"... | null |
Stremio__stremio-core__636 | Stremio/stremio-core | 636 | defect | 19ff6d61936debc6cc91581783044599933dbd5c | d152f351cf5d3d047a087aa90cd8e38a0b0586c9 | feat: add subtitles_opacity to profile settings | Related https://github.com/Stremio/stremio-video/pull/57 | diff --git a/src/constants.rs b/src/constants.rs
index aeb081893d..8f464d421c 100644
--- a/src/constants.rs
+++ b/src/constants.rs
@@ -33,7 +33,7 @@ pub const NOTIFICATION_ITEMS_COUNT: usize = 100;
pub const WATCHED_THRESHOLD_COEF: f64 = 0.7;
pub const CREDITS_THRESHOLD_COEF: f64 = 0.9;
/// The latest migration sche... | 1 | 1 | 0 | [{"id": "G0", "claim": "This kind of helper function, such as the pull request's added assert_storage_profile, will obscure the test and the location of the error if it is used in more than 1 place in a test or in multiple tests; consider either another solution or copy-paste for now.", "category": "maintainability", "... | null |
Stremio__stremio-core__684 | Stremio/stremio-core | 684 | defect | 00354fc45ea06b7492731ea68cc2a919609f7f59 | 8081725c8316b2b3da5e9c1511899b00c5abd858 | Feat/Convert stream structs prepartion | A big leap forward on the effort to make all StreamSource state transitions valid.
This is the first step before encoding the state transitions to the type system. | diff --git a/Cargo.toml b/Cargo.toml
index 64927c7f1f..594454f3f9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -30,6 +30,9 @@ derive = []
# Enable core analytics
analytics = []
+# Experimental features not implemented or supported
+experimental = []
+
[dependencies]
stremio-derive = { path = "stremio-derive" }
st... | 4 | 2 | 1 | [{"id": "G0", "claim": "For URL sources, the opensubtitles media_url should be built by taking the last path segment of the URL rather than using the URL as is.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The URL built by CreateTorrentRequest::in... | null |
Stremio__stremio-core__748 | Stremio/stremio-core | 748 | defect | 6fb40de8badb374221c504bc06143029a2abd958 | 1529dfbd77bde3d58f32686de17fa51714dbb8d5 | Feature/add new mobile app settings | this add two new settings needed for the mobile app
one is for the service to be always in the foreground
another one is for sending crash reports
Can be implemented / tested in stremio-web using:
- Dev build(with trace logging): https://stremio.github.io/stremio-core/stremio-core-web/feature/add-new-mobile-app-s... | diff --git a/src/constants.rs b/src/constants.rs
index f7bf865f9b..c71c5c62ec 100644
--- a/src/constants.rs
+++ b/src/constants.rs
@@ -39,7 +39,7 @@ pub const CALENDAR_ITEMS_COUNT: usize = 100;
pub const WATCHED_THRESHOLD_COEF: f64 = 0.7;
pub const CREDITS_THRESHOLD_COEF: f64 = 0.9;
/// The latest migration scheme v... | 1 | 1 | 1 | [{"id": "G0", "claim": "The default value set for sendCrashReports should be true, not false, in the v16 storage migration and in the migration test.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Stremio__stremio-core__753 | Stremio/stremio-core | 753 | defect | 354f6b1734e37a44ea23ed99234d22b90daa7bfa | b51a711fb22d912141fff242d8086298e9addd92 | feat: add ctx delete account action | Closes https://github.com/Stremio/stremio-tasks/issues/300
Changed the handling of Logout messages, now when `CtxAction::Logout` is dispatched, it will dispatch `Internal::Logout`
https://github.com/Stremio/stremio-core/pull/753/files#diff-30ea419c3fb216cc24c692f6ccd053854151825012d9a17bf285525e276e50ffR117
This... | diff --git a/src/models/ctx/update_profile.rs b/src/models/ctx/update_profile.rs
index d939c2641e..caa478eab8 100644
--- a/src/models/ctx/update_profile.rs
+++ b/src/models/ctx/update_profile.rs
@@ -30,6 +30,14 @@ pub fn update_profile<E: Env + 'static>(
Effects::none().unchanged()
}
... | 5 | 4 | 0 | [{"id": "G0", "claim": "The delete_account helper should take the password as &str instead of &String.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The DeleteAccount action variant should not carry a bare, untyped String; it should carry a nam... | null |
Stride-Labs__stride__1023 | Stride-Labs/stride | 1,023 | defect | c4298c8cf5222653e85b02feab7e000d69e043c0 | 04a9321f580128918530efe984f1dab87e89172e | reward converter - restore trade route ICA | Added support for restoring a trade route ICA. The original restore function fails because a trade route ICA is not necessarily associated with a host zone | diff --git a/dockernet/scripts/community-pool-staking/stake_proposal.sh b/dockernet/scripts/community-pool-staking/stake_proposal.sh
index 8426a4b6a4..3554163a2b 100644
--- a/dockernet/scripts/community-pool-staking/stake_proposal.sh
+++ b/dockernet/scripts/community-pool-staking/stake_proposal.sh
@@ -4,7 +4,7 @@ SCRIP... | 1 | 1 | 1 | [{"id": "G0", "claim": "The doc example for trade route ICA owners should use a dash, not a dot, to separate the reward and host denoms ({chainId}.{rewardDenom}-{hostDenom}.{accountType}).", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Stride-Labs__stride__1032 | Stride-Labs/stride | 1,032 | defect | 8c2dcb993c458b8a2244b0acbcfe61eb74075270 | 93f238c008cd86d62fcd1a2314defdedb03efe39 | add validator weight cap | ## Context
Caps the weight percentage that a single validator can have.
**Question for reviewer**: At what number of validators should we start doing this check? I put it at 10 for now, but considering we add all validators in one tx, it actually probably doesn't need to be that high.
## Brief Changelog
* Added... | diff --git a/proto/stride/stakeibc/params.proto b/proto/stride/stakeibc/params.proto
index 1c1c743bfa..e66b110444 100755
--- a/proto/stride/stakeibc/params.proto
+++ b/proto/stride/stakeibc/params.proto
@@ -26,6 +26,7 @@ message Params {
uint64 default_max_redemption_rate_threshold = 15;
uint64 ibc_transfer_timeo... | 7 | 4 | 1 | [{"id": "G0", "claim": "Run CheckValidatorWeightsBelowCap before k.SetHostZone so that, if the check fails, the host zone is not set.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Put the cap check in a separate if statement returning nil at th... | null |
Stride-Labs__stride__1039 | Stride-Labs/stride | 1,039 | defect | aa3ad92a26df58f074042dc943d61ec09ec356ff | c8288dcf9e4b71b9cf5670e16bf848d29cc6f539 | autopilot fallback address | <!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for creating a PR! ✰
v Before smashing the submit button please review the checkboxes.
v If a checkbox is n/a - please still include it but + a little note why
v If your PR doesn't close a... | diff --git a/app/app.go b/app/app.go
index d42ca579e3..d9b0c4c0b2 100644
--- a/app/app.go
+++ b/app/app.go
@@ -612,8 +612,11 @@ func NewStrideApp(
appCodec,
keys[autopilottypes.StoreKey],
app.GetSubspace(autopilottypes.ModuleName),
+ app.BankKeeper,
app.StakeibcKeeper,
- app.ClaimKeeper)
+ app.ClaimKeepe... | 4 | 1 | 0 | [{"id": "G0", "claim": "The choice of the 16-byte fixed channel-id prefix length (and the 8-byte sequence encoding) in the fallback-address store key is unexplained and should be justified.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new custom lo... | null |
Stride-Labs__stride__1045 | Stride-Labs/stride | 1,045 | defect | e95161d33b37ddabe3b67abfe15051a2aa709220 | 9bf051a10d2f81556693821a16fdffbe56365e1c | send disable tokenization tx for delegation account on hub | Runs the disable tokenization ICA tx for the delegation ICA on the hub
Should prevent fast and large withdrawal attempts using tokenization | diff --git a/app/upgrades/v17/upgrades.go b/app/upgrades/v17/upgrades.go
index e24bbcc76d..d81e6c645f 100644
--- a/app/upgrades/v17/upgrades.go
+++ b/app/upgrades/v17/upgrades.go
@@ -2,6 +2,7 @@ package v17
import (
"fmt"
+ "time"
errorsmod "cosmossdk.io/errors"
sdkmath "cosmossdk.io/math"
@@ -9,6 +10,7 @@ i... | 4 | 4 | 1 | [{"id": "G0", "claim": "Move the MsgDisableTokenizeShares message definition out of proto/stride/stakeibc/ica_account.proto into proto/cosmos/.../lsm_tx.proto.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The hardcoded \"cosmoshub-4\" in the upgrade ha... | null |
Stride-Labs__stride__105 | Stride-Labs/stride | 105 | defect | 507ca75e78856f18d81be54eb07584b790e05c39 | e3c931f2ca3d57e1a7ea3f6e00d7bcd1eeda5018 | [PLAT-2] Restore ICA Channel | ### Summary
* Added message `RestoreInterchainAccount` to restore an ICA Account after the channel has gone down
* Below I've included the testing plan I went through. It's a little convoluted, so I'll leave it up to the descretion of the reviewer whether they want to run through this again.
### Testing Plan
####... | diff --git a/docs/static/openapi.yml b/docs/static/openapi.yml
index 53cd01f465..9dd0af4b90 100644
--- a/docs/static/openapi.yml
+++ b/docs/static/openapi.yml
@@ -28818,6 +28818,9 @@ paths:
additionalProperties: {}
parameters:
- name: body
+ description: >-
+ MsgSu... | 5 | 3 | 1 | [{"id": "G0", "claim": "ValidateBasic should validate the account type as well (the validity check should be added there, or moved there from the CLI command), instead of the check living only in CmdRestoreInterchainAccount.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"... | null |
Stride-Labs__stride__1053 | Stride-Labs/stride | 1,053 | defect | 349fce3a8d0c73f0543b3fe91ee57c9461c1ac5b | e845e1ad412ec7a8aeb1f0f5d7b4234d22fae1c4 | dynamically update user redemption records during unbonding | ## Context
(See #1049 for more context)
Refactored the dynamic redemption rate during unbonding PR.
Motivation for refactoring:
* Further modularize functions to give more fine grained test coverage
* Explicitly separate steps that modify state vs those that are just doing calculations
* Put the new dynamic u... | diff --git a/app/apptesting/test_helpers.go b/app/apptesting/test_helpers.go
index ee6432706a..3d6700fd43 100644
--- a/app/apptesting/test_helpers.go
+++ b/app/apptesting/test_helpers.go
@@ -519,7 +519,11 @@ func (s *AppTestHelper) MockICAChannel(connectionId, channelId, owner, address s
func (s *AppTestHelper) Conf... | 9 | 6 | 1 | [{"id": "G0", "claim": "GetQueuedHostZoneUnbondingRecords should return a map instead of parallel epoch-number and record slices.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The zeroing of user redemption record Amounts and host zone unbonding NativeT... | null |
Stride-Labs__stride__1084 | Stride-Labs/stride | 1,084 | defect | eb3564c70cc4024caf73b3b8f7506a2716617573 | 6552b593ebef800cd3ba7730daf8c8c3445ba164 | V18 Upgrade Migrations | Migrates User Redemption Records to new format in v18 upgrade
Note: we should test this twice with LocalStride. First, with a _slightly_ stale cache, so we can more accurately gauge what will happen at upgrade time. Second, with the most recent mainnet state (as part of the standard localstride flow).
TODO: Add ... | diff --git a/app/upgrades.go b/app/upgrades.go
index 66e628b61d..5cd6d77e5a 100644
--- a/app/upgrades.go
+++ b/app/upgrades.go
@@ -22,6 +22,7 @@ import (
v15 "github.com/Stride-Labs/stride/v17/app/upgrades/v15"
v16 "github.com/Stride-Labs/stride/v17/app/upgrades/v16"
v17 "github.com/Stride-Labs/stride/v17/app/upg... | 15 | 13 | 3 | [{"id": "G0", "claim": "The pull request should add more thorough unit testing, since the unbonding-records migration is a sensitive change and the current tests do not cover everything.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The hardcoded redem... | null |
Stride-Labs__stride__1089 | Stride-Labs/stride | 1,089 | defect | 6403334a037ae7a6e87bfe7d964d7364e1df5d1f | 7f262d22837523c90cdc9f14f609890eeaae97f6 | decrement terra delegations in progress by 3 in upgrade | // Decrement DelegationChangesInProgress on Terra vals by 3
// - Fetches terra host zone
// - Loops validators
// - Decrements each validator's DelegationChangeInProgress by 3 | diff --git a/app/upgrades/v18/upgrades.go b/app/upgrades/v18/upgrades.go
index 4a01d4de12..60069a8f66 100644
--- a/app/upgrades/v18/upgrades.go
+++ b/app/upgrades/v18/upgrades.go
@@ -12,6 +12,7 @@ import (
recordskeeper "github.com/Stride-Labs/stride/v17/x/records/keeper"
recordtypes "github.com/Stride-Labs/stride/... | 6 | 6 | 0 | [{"id": "G0", "claim": "Confirm that flooring each validator's DelegationChangesInProgress at 0 (instead of going negative) is the intended behaviour.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Move the hardcoded terra chain id \"phoenix-1\" out... | null |
Stride-Labs__stride__1138 | Stride-Labs/stride | 1,138 | defect | ffde5708a48bfe6560aa785ec6310181fee6baf0 | 17d8d5baf6529476f3e8bab3114fccfffe76ea7d | added register rebate tx | ## Context
Added transaction to register a rebate by specifying the rebate percentage and liquid stake amount. The transaction stores the relevant parameters on the rebate section of the host zone. | diff --git a/proto/stride/stakeibc/tx.proto b/proto/stride/stakeibc/tx.proto
index 0aeebbeea9..8decb9a504 100644
--- a/proto/stride/stakeibc/tx.proto
+++ b/proto/stride/stakeibc/tx.proto
@@ -41,6 +41,8 @@ service Msg {
returns (MsgDeleteTradeRouteResponse);
rpc UpdateTradeRoute(MsgUpdateTradeRoute)
ret... | 6 | 6 | 0 | [{"id": "G0", "claim": "The proto field `liquid_stake_amount` should be renamed to `liquid_staked_amount` (past tense) for clarity.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The proto comment on the liquid stake amount should make clear it is the nu... | null |
Stride-Labs__stride__1142 | Stride-Labs/stride | 1,142 | defect | ffde5708a48bfe6560aa785ec6310181fee6baf0 | 6721d29e09592e2c01f51956f73597a888bfc6d5 | added toggle trade controller tx | ## Context
Added tx to grant or revoke trade permissions to an account on behalf of the trade ICA. The transaction does this via an ICA with an authz grant/revoke message.
Reviewer - please double check the authz message contents look correct. | diff --git a/proto/stride/stakeibc/tx.proto b/proto/stride/stakeibc/tx.proto
index 0aeebbeea9..94f2ec1901 100644
--- a/proto/stride/stakeibc/tx.proto
+++ b/proto/stride/stakeibc/tx.proto
@@ -41,6 +41,8 @@ service Msg {
returns (MsgDeleteTradeRouteResponse);
rpc UpdateTradeRoute(MsgUpdateTradeRoute)
ret... | 10 | 6 | 2 | [{"id": "G0", "claim": "ValidateBasic should add a check that msg.PermissionChange is a valid AuthzPermissionChange enum value, rather than relying on CLI-level checks.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "TestGetTradeRouteFromTradeChainId... | null |
Stride-Labs__stride__1147 | Stride-Labs/stride | 1,147 | defect | 4136c5bbced20b02edc60d07050062e08bb1cced | 6a1815191badc870ac5ce300c9975202555e8fdb | generalized community pool destination address | ## Context
In order to support sending tokens to a community pool treasury address (which is not the default community pool), this PR adds an optional address field to the host zone struct. If the field is empty, tokens are sent to the default community pool via `MsgFundCommunityPool. If the field is not empty and an ... | diff --git a/proto/stride/stakeibc/host_zone.proto b/proto/stride/stakeibc/host_zone.proto
index e000707945..f82415fd04 100644
--- a/proto/stride/stakeibc/host_zone.proto
+++ b/proto/stride/stakeibc/host_zone.proto
@@ -20,71 +20,114 @@ message CommunityPoolRebate {
];
}
+// Core data structure to track liquid sta... | 3 | 1 | 1 | [{"id": "G0", "claim": "The treasury address read in BuildFundCommunityPoolMsg should get some validity check at that point, or the reviewer needs confirmation that validation will happen elsewhere (validateBasic when the address is set).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "... | null |
Stride-Labs__stride__1148 | Stride-Labs/stride | 1,148 | defect | e1408d14c9e7a6174a9ca0666ede827d90e26e42 | cc27a2026439a05eb0fce76d4a283a8749a765b7 | v20 upgrade handler scaffolding | Adds the upgrade handler shell for v20. Upgrade logic to be done in separate PRs | diff --git a/app/upgrades.go b/app/upgrades.go
index afa0dc974f..1391619c1b 100644
--- a/app/upgrades.go
+++ b/app/upgrades.go
@@ -28,6 +28,7 @@ import (
v18 "github.com/Stride-Labs/stride/v19/app/upgrades/v18"
v19 "github.com/Stride-Labs/stride/v19/app/upgrades/v19"
v2 "github.com/Stride-Labs/stride/v19/app/upgr... | 3 | 3 | 2 | [{"id": "G0", "claim": "The v20 upgrade handler call should not pass appCodec, since the handler does not need it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The dydx community-pool treasury logic should be scratched from this PR so the PR is just th... | null |
Stride-Labs__stride__1162 | Stride-Labs/stride | 1,162 | defect | 1882c33dc380993fb95583edfca33295d9785b35 | 3ac87f999fb270a059ad67c22df73a23b4f529c1 | updated rebate to use native denom instead of reward denom | ## Context
The rebate must now be issued using the native denom (DYDX) instead of the reward denom (USDC).
## Brief Changelog
* Removed `CalculateRewardsSplitBeforeRebate` and `CalculateRewardsSplitAfterRebate` in favor of a simpler function `CalculateRewardsSplit` that returns the portion of rebate, stride fee, ... | diff --git a/x/stakeibc/client/cli/tx_toggle_trade_controller.go b/x/stakeibc/client/cli/tx_toggle_trade_controller.go
index a117790637..45d435ece2 100644
--- a/x/stakeibc/client/cli/tx_toggle_trade_controller.go
+++ b/x/stakeibc/client/cli/tx_toggle_trade_controller.go
@@ -14,9 +14,13 @@ import (
func CmdToggleTrad... | 5 | 1 | 0 | [{"id": "G0", "claim": "The sanity checks such as the stTokenSupply.IsZero() division-by-zero guard should be kept in the refactored reward-split calculation.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The callback should check for a 0 amount so i... | null |
Stride-Labs__stride__1199 | Stride-Labs/stride | 1,199 | defect | f567b88e1ec89514228ddc097b516f09aea56bc1 | 759eba7ce561cd643905a8cda54aff08b66695df | batch undelegations - redemption sweep | ## Context
Updated redemption sweep to use `ClaimableNativeTokens` instead of `NativeTokens`
## Brief Changelog
* Updated redemption callback to set `ClaimableNativeTokens` at the same time that the status is updated to `Claimable`
* Updated the claim callback to decrement `ClaimableNativeTokens`
* Fixed a bug ... | diff --git a/x/stakeibc/keeper/icacallbacks_claim.go b/x/stakeibc/keeper/icacallbacks_claim.go
index 57dc42a2c9..1d88a3edd4 100644
--- a/x/stakeibc/keeper/icacallbacks_claim.go
+++ b/x/stakeibc/keeper/icacallbacks_claim.go
@@ -100,7 +100,7 @@ func (k Keeper) DecrementHostZoneUnbonding(ctx sdk.Context, userRedemptionRec... | 2 | 1 | 0 | [{"id": "G0", "claim": "The cleanup check should account for the known host-zone rounding (off-by-one) error, or confirm it always shorts the user so that the absolute compare of ClaimableNativeTokens to zero is safe.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": ... | null |
Stride-Labs__stride__1213 | Stride-Labs/stride | 1,213 | defect | 76625b7b4d8fd6ace04f70db1c8490f553063023 | 102b23914406d7728941268d23fbf233799b9432 | staketia migration - disable staketia LS | During the stTIA migration, liquid stakes are disabled from staketia and will be handled in stakeibc. This PR removes the `LiquidStake` functionality from staketia | diff --git a/proto/stride/staketia/tx.proto b/proto/stride/staketia/tx.proto
index e26666cab0..b8e1d3b6a5 100644
--- a/proto/stride/staketia/tx.proto
+++ b/proto/stride/staketia/tx.proto
@@ -75,10 +75,12 @@ service Msg {
returns (MsgSetOperatorAddressResponse);
}
+// Deprecated: Liquid stakes should be handle... | 2 | 1 | 0 | [{"id": "G0", "claim": "The 'Liquid staking is no longer enabled in staketia' error message should suggest 'use stakeibc instead'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Leftover LiquidStake references in msgs.go, msgs_test.go and other fi... | null |
Stride-Labs__stride__1273 | Stride-Labs/stride | 1,273 | defect | dc638d89ebd8f9b457d132c4beb9a09d5357a44c | f9bd12a2361cf8a607fe6421d4a1c5f4b12482a7 | removed autopilot support for metadata in receiver and increased memo lengths | ## Context and purpose of the change
Now that all our host zones are beyond IBC version 5, we can deprecate the autopilot format that accepts the metadata JSON in the receiver field. This PR also updates the max length for the receiver and memo fields (thanks to @PoolPirate, #1255)
## Brief Changelog
* Removed sup... | diff --git a/deps/gaia b/deps/gaia
index 3b9a281247..58b4e54a95 160000
--- a/deps/gaia
+++ b/deps/gaia
@@ -1 +1 @@
-Subproject commit 3b9a281247ab9bd87483ad7fc1dcea9f26c4b8f6
+Subproject commit 58b4e54a95c7fc6a64272ccd0f09f46213c005ad
diff --git a/dockernet/config/relayer_config_stride.yaml b/dockernet/config/relayer_c... | 2 | 1 | 0 | [{"id": "G0", "claim": "MaxMemoCharLength does not need to be set to a power of two (4096).", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The PR removes the pre-ibc-go-v5 fallback that read routing metadata from the Receiver field, and it is unclear whe... | null |
Stride-Labs__stride__1321 | Stride-Labs/stride | 1,321 | defect | 3b9150fe0c4109463a48687eda9b6d01861989d3 | a031eb4fc265d9298ac6050e8711be4589b2be5e | Change reward distribution to auction off rewards | - Before: Liquid stake rewards and then send them to fee collector module
- After: Send rewards directly to auction module | diff --git a/x/stakeibc/keeper/hooks.go b/x/stakeibc/keeper/hooks.go
index 1953731130..b15aa862e7 100644
--- a/x/stakeibc/keeper/hooks.go
+++ b/x/stakeibc/keeper/hooks.go
@@ -89,7 +89,7 @@ func (k Keeper) BeforeEpochStart(ctx sdk.Context, epochInfo epochstypes.EpochInf
k.TransferAllRewardTokens(ctx)
}
if epochIn... | 2 | 2 | 1 | [{"id": "G0", "claim": "The AllocateRewardsFromHostZones wrapper is unnecessary indirection and hooks should call AuctionOffRewardCollectorBalance directly.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The error log on the failed transfer does not inte... | null |
Stride-Labs__stride__1344 | Stride-Labs/stride | 1,344 | defect | ea5aaefef2dd9998710b9ae9cbb10f130d4d4356 | ae06ce047419671604caba9989b93ba2d1a09739 | updated buyback and burn ICQ logic | * Made query ID constant across queries
* Removed query timeout time (since we can just timeout at the update interval)
* Renamed `UpdateAt` to `LastQueryTime` | diff --git a/app/upgrades/v26/upgrades.go b/app/upgrades/v26/upgrades.go
index 68120bde2d..c266619bf6 100644
--- a/app/upgrades/v26/upgrades.go
+++ b/app/upgrades/v26/upgrades.go
@@ -26,8 +26,7 @@ func CreateUpgradeHandler(
OsmosisChainId: "osmosis-1",
OsmosisConnectionId: "connection-2",
U... | 1 | 1 | 1 | [{"id": "G0", "claim": "The deps/osmosis submodule pointer was changed in the pull request by accident and should be reverted.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Stride-Labs__stride__1422 | Stride-Labs/stride | 1,422 | defect | 7b765bba6f968aa00d1dc9abd09e314fac628fe1 | 761ce19be9ae5cc1a8d8fd01cc4e091463bd4839 | v28 Upgrade Handler + Bounds Change | Adds an upgrade handler for the v28 upgrade.
Also adjusts the outer bounds for all host zones in the v28 upgrade. | diff --git a/app/upgrades.go b/app/upgrades.go
index 89f7fb19d..c39650536 100644
--- a/app/upgrades.go
+++ b/app/upgrades.go
@@ -37,6 +37,7 @@ import (
v25 "github.com/Stride-Labs/stride/v27/app/upgrades/v25"
v26 "github.com/Stride-Labs/stride/v27/app/upgrades/v26"
v27 "github.com/Stride-Labs/stride/v27/app/upgra... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new Osmosis-specific redemption-rate adjustment (OsmosisChainId, OsmosisRedemptionRateBuffer and the special-cased outer adjustment) should be removed because the outer bounds are already wide enough without it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "intr... | null |
Stride-Labs__stride__1425 | Stride-Labs/stride | 1,425 | defect | 643f461f58dae8c8ab24e78891c6d162d047e51d | 05af2377a8c2dbe85f563f45f2d4c5fcca1d1597 | Delete Stale ICQ Query | Deletes stale ICQ Query for Evmos
Also adds a unit test that creates a Mock Host Zone + ICQ Queries to verify the query was processed correctly
We will also need to verify this migration passes successfully in localstride | diff --git a/app/upgrades.go b/app/upgrades.go
index c39650536..6c33b45f8 100644
--- a/app/upgrades.go
+++ b/app/upgrades.go
@@ -371,6 +371,7 @@ func (app *StrideApp) setupUpgradeHandlers(appOpts servertypes.AppOptions) {
app.mm,
app.configurator,
app.StakeibcKeeper,
+ app.InterchainqueryKeeper,
),
)... | 5 | 4 | 2 | [{"id": "G0", "claim": "Remove the unconditional icqKeeper.DeleteQuery(ctx, QueryId) after the loop, since deletion is already handled inside the loop and the extra deletion is redundant and could mask issues.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "c... | null |
Stride-Labs__stride__1456 | Stride-Labs/stride | 1,456 | defect | 098d30256b1087aae32c7ae5f109f59e8ba6ebed | 817cef3c5f0f980db1ab894a5d6cca253c1e498b | ICS Migration - Opt-In PSS with PoA style set | ## Context
Stride changes to handle the start of the migration to PoA, consisting of a 7-validator opt-in PSS set. The changes in this PR are:
* Updating the ICS fee param to no longer send payments to ICS
* Explicitly sends revenue shares to validators
## Brief Changelog
* Updated reward collection hook to sen... | diff --git a/app/upgrades.go b/app/upgrades.go
index 15d29c9a3..6256004d8 100644
--- a/app/upgrades.go
+++ b/app/upgrades.go
@@ -38,6 +38,7 @@ import (
v26 "github.com/Stride-Labs/stride/v28/app/upgrades/v26"
v27 "github.com/Stride-Labs/stride/v28/app/upgrades/v27"
v28 "github.com/Stride-Labs/stride/v28/app/upgra... | 3 | 2 | 1 | [{"id": "G0", "claim": "utils/poa.go, holding hard-coded PoA payment constants, is too inconspicuous in utils and should be flagged as important / do-not-change (e.g. a warning comment, a CI guard, or a more conspicuous file name).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "int... | null |
Stride-Labs__stride__242 | Stride-Labs/stride | 242 | defect | 92261d08793f1c7da7f73c7bc3b7fdd350def108 | a80ea69b39a4ec36cfe37a7eea0cc9c32a6e7654 | add transfer callback unittest | <!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for creating a PR! ✰
v Before smashing the submit button please review the checkboxes.
v If a checkbox is n/a - please still include it but + a little note why
v If your PR doesn't close a... | diff --git a/app/apptesting/test_helpers.go b/app/apptesting/test_helpers.go
index 029b57f0e8..c79f9b9362 100644
--- a/app/apptesting/test_helpers.go
+++ b/app/apptesting/test_helpers.go
@@ -3,6 +3,8 @@ package apptesting
import (
"strings"
+ ibctransfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/type... | 1 | 1 | 0 | [{"id": "G0", "claim": "Wrap the error returned by TransferCallback when unmarshalling the callback args fails, using the existing ErrUnmarshalFailure type, so the 'unexpected EOF' surfaced by the test is less cryptic.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
Stride-Labs__stride__506 | Stride-Labs/stride | 506 | defect | 097b5a457443215b22b5883e2237165feed489ab | b47726927409517ee1ccc7789c999cc0ba76ae38 | [RATE-LIMIT] Implemented AddInflow, AddOutflow, GetChannelValue | <!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for creating a PR! ✰
v Before smashing the submit button please review the checkboxes.
v If a checkbox is n/a - please still include it but + a little note why
v If your PR doesn't close a... | diff --git a/app/app.go b/app/app.go
index 100ea18253..d574974385 100644
--- a/app/app.go
+++ b/app/app.go
@@ -507,6 +507,7 @@ func NewStrideApp(
appCodec,
keys[ratelimitmoduletypes.StoreKey],
app.RateLimitingICS4Wrapper,
+ app.BankKeeper,
)
ratelimitModule := ratelimitmodule.NewAppModule(appCodec, app.Ra... | 1 | 1 | 1 | [{"id": "G0", "claim": "The ratelimit keeper should depend on an expected BankKeeper interface defined in the x/ratelimit types folder exposing only GetSupply, instead of the full bank keeper, so ratelimit has access only to GetSupply of the bank module.", "category": "design", "verdict": "supported", "priority": "P1",... | null |
Stride-Labs__stride__614 | Stride-Labs/stride | 614 | defect | c7e946547a7caefad23756e484e77b3399bb454b | 6c5c463e069ffaafe1f4f863ba13eaa690c022be | Safety bound per hostzone | <!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for creating a PR! ✰
v Before smashing the submit button please review the checkboxes.
v If a checkbox is n/a - please still include it but + a little note why
v If your PR doesn't close a... | diff --git a/proto/stride/stakeibc/params.proto b/proto/stride/stakeibc/params.proto
index 339818b7de..8eb4db8d75 100755
--- a/proto/stride/stakeibc/params.proto
+++ b/proto/stride/stakeibc/params.proto
@@ -34,4 +34,6 @@ message Params {
uint64 ibc_transfer_timeout_nanos = 16;
uint64 safety_num_validators = 17;
... | 3 | 3 | 2 | [{"id": "G0", "claim": "Add more test cases for IsRedemptionRateWithinSafetyBounds: a zone without custom bounds that falls back to the default thresholds, and a second host zone with tests across both hosts (e.g. Osmo 0.3-2, Gaia 1.5-2.5 at 0.1/0.3/1.5/2.2).", "category": "testing", "verdict": "supported", "priority":... | null |
Stride-Labs__stride__709 | Stride-Labs/stride | 709 | defect | 4c358855509f201249285ffe30a905d85e848d33 | 522b7342e09d30f11554e36a701800a635816f5d | [LSM] Interchainquery Callback Data and Unique ID | * Added callback data to query struct
* Modified MakeRequest so that it takes a query type instead of a bunch of arguments
* Renamed MakeRequest to SubmitICQRequest
* Added query counter
* Added optional unique argument to SubmitICQRequest to force query ID to be unique
* Added unit tests | diff --git a/proto/stride/interchainquery/v1/genesis.proto b/proto/stride/interchainquery/v1/genesis.proto
index da5e303404..9c1eebea39 100644
--- a/proto/stride/interchainquery/v1/genesis.proto
+++ b/proto/stride/interchainquery/v1/genesis.proto
@@ -11,9 +11,11 @@ message Query {
string connection_id = 2;
string... | 5 | 2 | 1 | [{"id": "G0", "claim": "GetQueryId is not idempotent when forceUnique is true (identical inputs can return different IDs), and the split between an idempotent and a non-idempotent mode could lead callers to make mistakes; the description does not make this clear.", "category": "design", "verdict": "opposed", "priority"... | null |
Stride-Labs__stride__711 | Stride-Labs/stride | 711 | defect | 6542bb5af440c1073ef1d7294640c2a2fb1ee7d8 | 85e3b869ff7361cb2266c7c05ed602de6d861039 | core lsm deposit keeper functions with unit tests | <!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for creating a PR! ✰
v Before smashing the submit button please review the checkboxes.
v If a checkbox is n/a - please still include it but + a little note why
v If your PR doesn't close a... | diff --git a/x/stakeibc/keeper/lsm_token_deposit.go b/x/stakeibc/keeper/lsm_token_deposit.go
index ac9a45e514..b20bffa768 100644
--- a/x/stakeibc/keeper/lsm_token_deposit.go
+++ b/x/stakeibc/keeper/lsm_token_deposit.go
@@ -1,27 +1,50 @@
package keeper
import (
+ "github.com/cosmos/cosmos-sdk/store/prefix"
sdk "gi... | 11 | 11 | 1 | [{"id": "G0", "claim": "In SetLSMTokenDeposit, don't cast the deposit key to []byte since it's already a byte array.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In RemoveLSMTokenDeposit, call store.Delete(depositKey) without the redundant []b... | null |
Stride-Labs__stride__714 | Stride-Labs/stride | 714 | defect | f40f86fae1e4495bc365801a415aabb68738e0d4 | 1aaf9238a31678a7804e15d54c3062657f873b00 | [LSM] Implement RefundLSMToken | Implemented helper function to refund an LSM token to a user in the event that the slash query failed | diff --git a/x/stakeibc/keeper/lsm.go b/x/stakeibc/keeper/lsm.go
index 9ea6074f09..ce8c32a8f6 100644
--- a/x/stakeibc/keeper/lsm.go
+++ b/x/stakeibc/keeper/lsm.go
@@ -108,3 +108,22 @@ func (k Keeper) ShouldQueryValidatorExchangeRate(ctx sdk.Context, validator type
// Submit query if the query interval checkpoint has ... | 4 | 1 | 0 | [{"id": "G0", "claim": "The new comment reads 'Refund and LSM Token' where it should read 'Refund an LSM Token'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test should assert on error types rather than matching error strings.", "category":... | null |
Stride-Labs__stride__718 | Stride-Labs/stride | 718 | defect | f7f91f134099dbe161c817dc84b263cd59328b36 | ac6b1b68da8ee4e1304beca88061cbd358f64255 | Ethan/lsm keeper helpers | <!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for creating a PR! ✰
v Before smashing the submit button please review the checkboxes.
v If a checkbox is n/a - please still include it but + a little note why
v If your PR doesn't close a... | diff --git a/x/stakeibc/keeper/lsm_token_deposit.go b/x/stakeibc/keeper/lsm_token_deposit.go
index 1a8d8fcf02..c25e6601ef 100644
--- a/x/stakeibc/keeper/lsm_token_deposit.go
+++ b/x/stakeibc/keeper/lsm_token_deposit.go
@@ -48,27 +48,52 @@ func (k Keeper) GetAllLSMTokenDeposit(ctx sdk.Context) []types.LSMTokenDeposit {
... | 5 | 5 | 0 | [{"id": "G0", "claim": "The LSM token deposit tests should be named Test{FunctionName} (e.g. TestGetLSMTokenDeposit) instead of putting the action last, to match the functions they test.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The comme... | null |
Stride-Labs__stride__723 | Stride-Labs/stride | 723 | defect | d74ac67843ef8b0220660fd895b7d8f480bb6654 | b987dfaa14634d747b10a472e6d217e07d48738c | [LSM] Update Redemption Rate Calculation | Splitting this into 2 PRs. The first one updates the RR calculation (by including LSM token deposits and unbalanced delegations) and cleans up the existing unit test
The second PR will add additional test coverage to the redemption rate code | diff --git a/x/stakeibc/keeper/hooks.go b/x/stakeibc/keeper/hooks.go
index 0f14997dae..8838f94d86 100644
--- a/x/stakeibc/keeper/hooks.go
+++ b/x/stakeibc/keeper/hooks.go
@@ -136,9 +136,16 @@ func (k Keeper) SetWithdrawalAddress(ctx sdk.Context) {
}
// Updates the redemption rate for each host zone
-// The redempti... | 13 | 7 | 1 | [{"id": "G0", "claim": "The new docstring uses \"balance\" and \"delegate\" with two different meanings across the five sub-components (for the first three \"balance\" means amount, for the last two it means allocated fairly), and it would be better to say \"amount\" or \"total\" for the first three.", "category": "doc... | null |
Stride-Labs__stride__757 | Stride-Labs/stride | 757 | defect | a61aae7acf67c03a5a3fc98314c7f304b46d1ba4 | cd4e02f6a6debd665a21aabb69e25754663ce2b1 | [LSM] Retry Interchain Queries | ## Context and purpose of the change
Now that interchain queries can be UX blocking, it's important that we resubmit them after a timeout. A retry is also net positive so I don't see why we wouldn't want to do it for the other queries.
## Brief Changelog
* Renamed field `Timeout` to `TimeoutTimestamp` in the quer... | diff --git a/proto/stride/interchainquery/v1/genesis.proto b/proto/stride/interchainquery/v1/genesis.proto
index 24eea75f59..f7013aba1b 100644
--- a/proto/stride/interchainquery/v1/genesis.proto
+++ b/proto/stride/interchainquery/v1/genesis.proto
@@ -2,6 +2,7 @@ syntax = "proto3";
package stride.interchainquery.v1;
... | 5 | 1 | 1 | [{"id": "G0", "claim": "A timed-out query may be re-submitted in every end block until its callback lands, which the reviewer does not think is the desired behavior.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "RetryICQRequest is mostly a copy-paste... | null |
Stride-Labs__stride__758 | Stride-Labs/stride | 758 | defect | 9545cf0bb2df542ec5a140dd96ce56280aed0a27 | d133ee04919f24eaf0a1c85e708978def03d37da | [LSM] Added unit test for RebalanceDelegationsForHostZone | ## Brief Changelog
* Added unit tests for RebalanceDelegationsForHostZone
* Removed unit tests in msg_server_rebalance_validators as they're redundant
* Moved setup function that was in `msg_server_rebalance_validators` and needed by the rebalance callback into the callback itself
| diff --git a/x/stakeibc/keeper/icacallbacks_rebalance_test.go b/x/stakeibc/keeper/icacallbacks_rebalance_test.go
index d3c9fb1eda..5d6ae6eac5 100644
--- a/x/stakeibc/keeper/icacallbacks_rebalance_test.go
+++ b/x/stakeibc/keeper/icacallbacks_rebalance_test.go
@@ -3,8 +3,10 @@ package keeper_test
import (
sdkmath "cos... | 2 | 1 | 0 | [{"id": "G0", "claim": "The '// TODO [LSM]: Revert type' comment above the lsmstakingtypes import should be explained or removed.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "A test should be added that verifies rebalancing messages are batc... | null |
Stride-Labs__stride__759 | Stride-Labs/stride | 759 | defect | cf7c2971370f3374e392444d1294f075f378f649 | ef78abc4d930d0e77dd62d1a5b8276126b4bba8a | [LSM] Detokenization ICA/ICQ Overlap Check | <!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for creating a PR! ✰
v Before smashing the submit button please review the checkboxes.
v If a checkbox is n/a - please still include it but + a little note why
v If your PR doesn't close a... | diff --git a/x/stakeibc/keeper/icacallbacks_reinvest_test.go b/x/stakeibc/keeper/icacallbacks_reinvest_test.go
index 90b613c375..5ccfcfe4ea 100644
--- a/x/stakeibc/keeper/icacallbacks_reinvest_test.go
+++ b/x/stakeibc/keeper/icacallbacks_reinvest_test.go
@@ -22,11 +22,10 @@ import (
)
type ReinvestCallbackState str... | 2 | 2 | 0 | [{"id": "G0", "claim": "Use GetLSMDepositsForHostZoneWithStatus instead of GetLSMDepositsForHostZone so that when there are no deposits in progress the loop runs zero times.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The validator storage should... | null |
Stride-Labs__stride__832 | Stride-Labs/stride | 832 | defect | 9072c5280301caf0f5f3658e846158cb932b6fd1 | 372083c708b677f3a0d6dd006274dd5ac12e9568 | [LSM] Added unit test for setting the slash query checkpoint | <!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for creating a PR! ✰
v Before smashing the submit button please review the checkboxes.
v If a checkbox is n/a - please still include it but + a little note why
v If your PR doesn't close a... | diff --git a/x/stakeibc/keeper/host_zone.go b/x/stakeibc/keeper/host_zone.go
index 3dabeb05f2..965a8e405a 100644
--- a/x/stakeibc/keeper/host_zone.go
+++ b/x/stakeibc/keeper/host_zone.go
@@ -176,11 +176,7 @@ func (k Keeper) IncrementValidatorSlashQueryProgress(
// Optionally re-calculate the checkpoint
// Threshold... | 1 | 1 | 0 | [{"id": "G0", "claim": "It would be worth adding a test case with non-round numbers to cover the integer truncation in the checkpoint computation.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Stride-Labs__stride__851 | Stride-Labs/stride | 851 | defect | 46e681a3bbb157c24171f7fb50a55ece3d9887f2 | 3f0668ac2281c3aa4f7e252d625551fe3c54d3c0 | [LSM] Red team small issues | <!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for creating a PR! ✰
v Before smashing the submit button please review the checkboxes.
v If a checkbox is n/a - please still include it but + a little note why
v If your PR doesn't close a... | diff --git a/x/stakeibc/keeper/host_zone.go b/x/stakeibc/keeper/host_zone.go
index 965a8e405a..963420326e 100644
--- a/x/stakeibc/keeper/host_zone.go
+++ b/x/stakeibc/keeper/host_zone.go
@@ -267,6 +267,7 @@ func (k Keeper) AddValidatorToHostZone(ctx sdk.Context, chainId string, validato
// Removes a validator from a... | 12 | 10 | 2 | [{"id": "G0", "claim": "The TestGetBalanceRatio loop should assert with s.Require().Error/NoError on err instead of checking tc.errorExpected with Require().True/False.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In TestSortUnbondingCapacityByPriorit... | null |
Stride-Labs__stride__858 | Stride-Labs/stride | 858 | defect | 46e681a3bbb157c24171f7fb50a55ece3d9887f2 | d6b65c175510c96ee3ba0bf4bba0a4f3698e41c8 | [LSM] Updated stToken and redemption rate calculation (LSM Token now represents shares) | <!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for creating a PR! ✰
v Before smashing the submit button please review the checkboxes.
v If a checkbox is n/a - please still include it but + a little note why
v If your PR doesn't close a... | diff --git a/x/stakeibc/keeper/hooks.go b/x/stakeibc/keeper/hooks.go
index a6bdb55aab..d97564177a 100644
--- a/x/stakeibc/keeper/hooks.go
+++ b/x/stakeibc/keeper/hooks.go
@@ -149,16 +149,17 @@ func (k Keeper) SetWithdrawalAddress(ctx sdk.Context) {
// Updates the redemption rate for each host zone
// At a high level,... | 10 | 5 | 0 | [{"id": "G0", "claim": "When an LSM liquid stake hits a validator whose exchange rate is not yet known, the tx fails without also kicking off an asynchronous ICQ to fetch that exchange rate.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "There should be ... | null |
Stride-Labs__stride__881 | Stride-Labs/stride | 881 | defect | 59913b1d3f693c70c2aff032fb9c9622e3c2a0d7 | f7a353ba153cf68aa527239309de5a00206e9017 | ICS loose ends | ## Context and purpose of the change
This PR involves whitelisting missing param keys and a helper function for registering stToken denoms to consumer whitelist.
stTokens need to be whitelisted on consumer chain to be flown to provider chain and distributed to hub validators.
These updates were originally included i... | diff --git a/app/app.go b/app/app.go
index f8ac680b88..3591e38330 100644
--- a/app/app.go
+++ b/app/app.go
@@ -570,6 +570,7 @@ func NewStrideApp(
app.StakingKeeper,
app.IcacallbacksKeeper,
app.RatelimitKeeper,
+ app.ConsumerKeeper,
)
app.StakeibcKeeper = *stakeibcKeeper.SetHooks(
stakeibcmoduletypes.Ne... | 4 | 4 | 2 | [{"id": "G0", "claim": "The pull request should have a more detailed description.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "WhitelistedParams may not include all param change proposals, so the author should confirm every module's params are c... | null |
Stride-Labs__stride__938 | Stride-Labs/stride | 938 | defect | 52581d22459e29b340605edaaada2aaf87d081cc | 61580584f449354f38a80b6c493e86ed14106a55 | add inner bounds | **summary**
add inner bounds
**tests**
- unittests
- dockernet
- verify bounds are set upon registration
- verify hz halts if the inner bound is crossed
```
➜ stride git:(tight-bounds) ✗ stridedl q stakeibc show-host-zone GAIA
host_zone:
...
last_redemption_rate: "1.000000000000000000"
... | diff --git a/deps/gaia b/deps/gaia
index 321d15a574..3b9a281247 160000
--- a/deps/gaia
+++ b/deps/gaia
@@ -1 +1 @@
-Subproject commit 321d15a574def0f338ceacc5c060159ebba95edc
+Subproject commit 3b9a281247ab9bd87483ad7fc1dcea9f26c4b8f6
diff --git a/proto/stride/stakeibc/tx.proto b/proto/stride/stakeibc/tx.proto
index d7... | 2 | 2 | 2 | [{"id": "G0", "claim": "The CLI should not fall back to a zero bound when the argument string is empty or bad; parse with sdk.MustNewDecFromStr instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G3", "claim": "The inner bounds check in IsRedemptionRateWithinS... | null |
Stride-Labs__stride__941 | Stride-Labs/stride | 941 | defect | ce7fb02252026d47ce69dd12171627ba23ef3c10 | e272d67c6f06c3c903b770d6c87f16810ee6a6ea | v15 upgrade handler | <!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for creating a PR! ✰
v Before smashing the submit button please review the checkboxes.
v If a checkbox is n/a - please still include it but + a little note why
v If your PR doesn't close a... | diff --git a/app/upgrades.go b/app/upgrades.go
index 407e297284..4683c1b586 100644
--- a/app/upgrades.go
+++ b/app/upgrades.go
@@ -18,6 +18,7 @@ import (
v12 "github.com/Stride-Labs/stride/v14/app/upgrades/v12"
v13 "github.com/Stride-Labs/stride/v14/app/upgrades/v13"
v14 "github.com/Stride-Labs/stride/v14/app/upg... | 2 | 1 | 1 | [{"id": "G0", "claim": "Confirm that the variable the v15 upgrade handler sets does not require initializing a new store key (i.e. no new store is needed, as it is part of the existing stakeibc store).", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
Stride-Labs__stride__951 | Stride-Labs/stride | 951 | defect | 80c5db387d2a6c72dfa41922a5cb95f39d7cbb43 | 7b4eb66e1b66af53da8a9f145643167551918363 | Inflation Fix | **Summary**
Fixes functionality after invariant checks
**Test plan**
Dockernet test - main functionality
1. Kick off RR changes by running `make start-docker build=s && make test-integration-docker`
2. Set max inner bound `$STRIDE_MAIN_CMD tx stakeibc set-redemption-rate-bounds GAIA 1 1.000001 --from $STRIDE... | diff --git a/app/upgrades.go b/app/upgrades.go
index bbc9b3757c..591b9c44ec 100644
--- a/app/upgrades.go
+++ b/app/upgrades.go
@@ -19,6 +19,7 @@ import (
v13 "github.com/Stride-Labs/stride/v15/app/upgrades/v13"
v14 "github.com/Stride-Labs/stride/v15/app/upgrades/v14"
v15 "github.com/Stride-Labs/stride/v15/app/upg... | 4 | 2 | 1 | [{"id": "G0", "claim": "The upgrade handler's startup log line says v15 instead of v16; change it to \"Starting upgrade v16...\".", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ResumeHostZone should also remove the host zone's stAsset denom from the... | null |
Stride-Labs__stride__96 | Stride-Labs/stride | 96 | defect | 64d9ea092935694f16833722bdd723d4acbf5b3d | cc01b210429384784a3530710d6ef72913504acb | Claim Undelegated Tokens Unit Test | **Summary**
* Added unit tests for `MsgClaimUndelegatedTokens`
* The ICA calls required a lot of initial state - it was a little too much to mock out for this type of test. I resorted to breaking up the original function into smaller functions so we could run the tests without calling `SubmitTx`
**Testing Plan**
... | diff --git a/x/stakeibc/keeper/keeper_test.go b/x/stakeibc/keeper/keeper_test.go
index f4b4848abe..0a8eae0635 100644
--- a/x/stakeibc/keeper/keeper_test.go
+++ b/x/stakeibc/keeper/keeper_test.go
@@ -14,9 +14,9 @@ type KeeperTestSuite struct {
msgServer types.MsgServer
}
-func (suite *KeeperTestSuite) SetupTest() {... | 5 | 4 | 0 | [{"id": "G0", "claim": "The duplicated SetConnection line in the test setup should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A failure test with bad inputs for submitTxs should be added, wherever it best belongs.", "category": "... | null |
Stride-Labs__stride__965 | Stride-Labs/stride | 965 | defect | 25b5025f691b8d7a073c1840924c198fd00c3123 | 4dd6bbba230114abd1a5333f100054de828a4cc2 | community pool stake + redeem | ## Brief Changelog
* Added epochly liquid stake + transfer
* Added epochly redemption
* Added stToken to the return type for liquid stake | diff --git a/proto/stride/stakeibc/host_zone.proto b/proto/stride/stakeibc/host_zone.proto
index a012f4c73f..d18bef8221 100644
--- a/proto/stride/stakeibc/host_zone.proto
+++ b/proto/stride/stakeibc/host_zone.proto
@@ -32,9 +32,11 @@ message HostZone {
[ (cosmos_proto.scalar) = "cosmos.AddressString" ];
strin... | 1 | 1 | 0 | [{"id": "G0", "claim": "The Epoch 2 comments read like the code liquid stakes all tokens in the holding address and redeems all tokens in the holding address; at least the comments should be updated to not say holding but use the full communityPoolStakeAddress or communityPoolRedeemAddress.", "category": "maintainabili... | null |
Stride-Labs__stride__991 | Stride-Labs/stride | 991 | defect | 2dee6d755f066c639f0eef2792eab34c8d36b034 | 797b299b22091fc47e5d69e35835d3a434af4e3f | min_swap_amount also gates reward token transfers | Updating the starting transfer(s) in the route to use the pre-existing min_swap_amount TradeRoute field to determine if the transfer is worth it or reward tokens need to build up. The parameter is part of the configurable fields in the update-trade-route tx.
This is to avoid small transfers and swaps given that the... | diff --git a/proto/stride/stakeibc/trade_route.proto b/proto/stride/stakeibc/trade_route.proto
index 6e5735a059..9fd9e1cac5 100644
--- a/proto/stride/stakeibc/trade_route.proto
+++ b/proto/stride/stakeibc/trade_route.proto
@@ -43,6 +43,7 @@ message TradeRoute {
string spot_price = 10;
// min and max set boundar... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `math` import alias added in reward_converter.go should be `sdkmath`, the alias used in most places in the codebase.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
Stride-Labs__stride__992 | Stride-Labs/stride | 992 | defect | d4f4fa667be167d1e2ba38e5515edd75f027f515 | 8511850e4952274b4778e07003bf7d94179941c4 | phase 2 - misc proto renaming | ## Changelog
* Renamed price_update_time → price_update_timestamp and changed type to int64
* Renamed target_denom → host_denom
* Renamed TradeRewardTokens to SwapRewardTokens | diff --git a/proto/stride/stakeibc/trade_route.proto b/proto/stride/stakeibc/trade_route.proto
index 1ca3226b90..3f8adbda6a 100644
--- a/proto/stride/stakeibc/trade_route.proto
+++ b/proto/stride/stakeibc/trade_route.proto
@@ -4,7 +4,6 @@ package stride.stakeibc;
import "gogoproto/gogo.proto";
import "stride/stakeibc... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new PriceUpdateTimestamp is stored in seconds (ctx.BlockTime().Unix()) while most other timestamps in the codebase, such as those passed into the ICA msgs and in epoch trackers, are nanos, and it should use nanos for consistency.", "category": "design", "verdict": "supported", "priority": "P... | null |
Stride-Labs__stride__994 | Stride-Labs/stride | 994 | defect | d4f4fa667be167d1e2ba38e5515edd75f027f515 | e5422fb3276db3fffbcfc775ae02c2958ef1663e | phase 2 - set ICA addresses in callback | ## Brief Changelog
* Pulled out ICAAccounts out of TradeHop into TradeRoute
* Changed To/FromAccount to be To/FromAddress
* Moved OnChanOpenAck to keeper
* Cleanup and bug fix to OnChanOpenAck
* Split OnChanOpenAck into separate functions `StoreHostZoneIcaAddress` and `StoreTradeRouteIcaAddress` | diff --git a/proto/stride/stakeibc/trade_route.proto b/proto/stride/stakeibc/trade_route.proto
index 1ca3226b90..14ebc0393d 100644
--- a/proto/stride/stakeibc/trade_route.proto
+++ b/proto/stride/stakeibc/trade_route.proto
@@ -4,7 +4,6 @@ package stride.stakeibc;
import "gogoproto/gogo.proto";
import "stride/stakeibc... | 3 | 3 | 2 | [{"id": "G0", "claim": "The TradeHop type is now redundant — with the ICA accounts at the trade route level its only new piece of information is the transfer channel, and duplicating addresses across the two structures risks them going out of sync on mutation — so it should be eliminated.", "category": "design", "verdi... | null |
StrikeForceZero__bevy_auto_plugin__22 | StrikeForceZero/bevy_auto_plugin | 22 | defect | a85a45dffc72c87fc112ea76085c8150f5d596ed | b83b97269b9d15d02088143b488e402e7e99f1d6 | Update to Bevy 0.17 | This is my attempt at upgrading to Bevy 0.17, following the migration guide.
## Event Trait Split
The `Event` trait has been split into multiple different traits. Most importantly, buffered events are now called `Message`. Because of this, I have renamed `auto_add_event` to `auto_add_message`, but left `auto_even... | diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 03dd0d89..b6914fd7 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -108,6 +108,8 @@ jobs:
run: cargo install wasm-bindgen-cli --locked
- name: Run wasm tests
+ env:
+ RUSTFLAGS: --deny wa... | 3 | 3 | 2 | [{"id": "G0", "claim": "Change `auto_event` to be a no-op (maybe temporarily deprecated with an explanation) and revisit the new proposals later.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Restore `auto_add_event`, deprecated and temporarily aliased ... | null |
StrikeForceZero__bevy_auto_plugin__46 | StrikeForceZero/bevy_auto_plugin | 46 | defect | 41065da4cd027a96143e024dc116c4cb1fe2a136 | e9656bd2f9557790ca66a6c9e5ea75b5b8bcc5dd | Add `auto_add_plugin` from bevy-butler | #34 looks really nice, might as well help!
Copied most of the `insert_resource` stuff for this. I made the initial value optional, calling `default()` when it's `None`.
A couple weird points, `insert_resource` has `resource` as its init value key, but since `plugin` is taken by the plugin to add stuff to, I did `... | diff --git a/crates/bevy_auto_plugin_proc_macros/docs/proc_attributes/auto_add_plugin.md b/crates/bevy_auto_plugin_proc_macros/docs/proc_attributes/auto_add_plugin.md
new file mode 100644
index 00000000..498c31b6
--- /dev/null
+++ b/crates/bevy_auto_plugin_proc_macros/docs/proc_attributes/auto_add_plugin.md
@@ -0,0 +1,... | 4 | 2 | 2 | [{"id": "G0", "claim": "The macro should not force `Default` on the target plugin, and an `init` param should be added instead (bare `init` => `#target::default()`, `init = X` => passes `X` through to the add_plugins call).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":... | null |
Stu142__FreeCAD-Gridfinity-Workbench__96 | Stu142/FreeCAD-Gridfinity-Workbench | 96 | defect | c9edc235aec392369f7f33359aacb53d14ff6075 | d46d26034db83f7051e8d704fee9bcf24bc6c5f4 | FreeCAD integrated tests | As there are some issues coming up that are caused mainly by me, I thought to improve the test system. FreeCAD has it's own way of running tests, which is not used at the moment IIUC.
You can run the new tests with `freecad -t freecad.gridfinity_workbench.test_gridfinity`.
I want to mainly include tests for worki... | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b6c2edb..a25187a 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -5,11 +5,29 @@ on:
workflow_dispatch:
jobs:
- test:
+ unit-tests:
runs-on: ubuntu-latest
container: ruudjhuu/freecad:v1.0.0
steps... | 5 | 4 | 2 | [{"id": "G0", "claim": "The current unit tests should be changed to run inside FreeCAD (in CLI mode) so the project has only one way of running tests to maintain.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Before merging, the CI should stop provisionin... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.