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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Kaggle__kaggle-cli__540 | Kaggle/kaggle-cli | 540 | defect | 69629f7ae1ab3877cae8bc4cd75038272d700d80 | 8bebae3a5bc8957dae3f9ad6a09e5d5ab8aa6895 | Support XDG base directory specification on Linux | This changes the default configuration directory on Linux to follow the [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html). To maintain backwards compatibility the `~/.kaggle` directory is always used if it already exists.
Precedence for choosing the conf... | diff --git a/kaggle/api/kaggle_api_extended.py b/kaggle/api/kaggle_api_extended.py
index 69fb506e..76640c0c 100644
--- a/kaggle/api/kaggle_api_extended.py
+++ b/kaggle/api/kaggle_api_extended.py
@@ -289,8 +289,23 @@ class KaggleApi(KaggleApi):
MAX_NUM_INBOX_FILES_TO_UPLOAD = 1000
MAX_UPLOAD_RESUME_ATTEMPTS =... | 7 | 6 | 2 | [{"id": "G0", "claim": "The XDG base directory handling should perhaps be applied on other Unix-like systems too, not just Linux.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The change is being made in generated code (kaggle/api/kaggle_api_extended.py... | null |
Kaggle__kaggle-cli__618 | Kaggle/kaggle-cli | 618 | defect | 48d0433575cac8dd20cf7557c5d749987f5c14a2 | 1719479169133567cad16ed11422501b2d27f98c | Update tests | This exercises all the API functions, unlike the original, which only run a few. It might be best to use `View File` to see `python_api_tests.py`. (I didn't even look at the diff.)
| diff --git a/tests/dataset/data.csv b/tests/dataset/data.csv
new file mode 100644
index 00000000..c748f22b
--- /dev/null
+++ b/tests/dataset/data.csv
@@ -0,0 +1,6 @@
+id, fruit
+1, apple
+2, banana
+3, citrus
+4, apple
+5, durian
\ No newline at end of file
diff --git a/tests/kernel/kernel-metadata.json b/tests/kernel/... | 3 | 3 | 2 | [{"id": "G0", "claim": "The serial python_api_tests.py script should be converted to real Python tests so a failure does not stop the rest, failures are reported per case, and single cases can run alone.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
Kaggle__kaggle-cli__644 | Kaggle/kaggle-cli | 644 | defect | 63244ad6e3179dfba72c0e48d0898a7a4e86360e | b5beea9fe4bf1d959c357d91a513deb97bb68677 | Convert arg strings to enum values | Fixes #641 as a side effect. | diff --git a/kaggle/api/kaggle_api_extended.py b/kaggle/api/kaggle_api_extended.py
index 5107e75a..0e739941 100644
--- a/kaggle/api/kaggle_api_extended.py
+++ b/kaggle/api/kaggle_api_extended.py
@@ -56,10 +56,18 @@
from kaggle.configuration import Configuration
from kagglesdk import KaggleClient, KaggleEnv
from ka... | 8 | 7 | 4 | [{"id": "G0", "claim": "Revert the debug change that sets args = {'--local'} so localhost is not used by default.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "These valid-value lists should not be hardcoded here if Kapigen already provides them; e... | null |
Kaggle__kaggle-cli__955 | Kaggle/kaggle-cli | 955 | defect | 562b65cca52f66beb7ddc6b903b72d033fc26f76 | db8afa96455368afb32575e84fb97ed4e08b59ba | feat: Implement kaggle benchmark client | # Benchmarks CLI: Manage benchmark tasks from the command line
Adds a new `kaggle benchmarks tasks` command group (alias: `kaggle b t`) for creating, running, monitoring, and downloading benchmark task results — all from the CLI.
## What are Benchmark Tasks?
Benchmark tasks let you define an evaluation in Pyth... | diff --git a/src/kaggle/api/kaggle_api_extended.py b/src/kaggle/api/kaggle_api_extended.py
index d3952a64..6c15892c 100644
--- a/src/kaggle/api/kaggle_api_extended.py
+++ b/src/kaggle/api/kaggle_api_extended.py
@@ -55,6 +55,17 @@
from kagglesdk import get_access_token_from_env, KaggleClient, KaggleCredentials, KaggleE... | 9 | 4 | 3 | [{"id": "G0", "claim": "dolaameng asks nl917 to confirm that list_benchmark_models returns the list of models that the user can use for the run command.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "dolaameng asks andrewmwang to confirm that create... | null |
Kaggle__kaggle-cli__966 | Kaggle/kaggle-cli | 966 | defect | a08af173e61db3d61b0487fddee6d875011c2ef3 | 2e89cfd3685a784a18466d721d46a8d10f80cd68 | Add `kaggle kernels logs` CLI command | There's no way to view kernel execution logs directly in the terminal,
especially for in-progress runs. This adds a `logs` subcommand that
prints log output to stdout, with `--follow`/`-f` for continuous
polling (like `tail -f`) that stops on terminal kernel states.
Co-authored-by: kaggle-agent <kaggle-agent@users.nor... | diff --git a/src/kaggle/api/kaggle_api_extended.py b/src/kaggle/api/kaggle_api_extended.py
index 90e0f7b8..8adfa006 100644
--- a/src/kaggle/api/kaggle_api_extended.py
+++ b/src/kaggle/api/kaggle_api_extended.py
@@ -3601,6 +3601,85 @@ def kernels_status_cli(self, kernel, kernel_opt=None):
else:
pri... | 3 | 1 | 1 | [{"id": "G0", "claim": "Check whether kapigen serializes kernel status as a string or as a KernelWorkerStatus enum, since the terminal_statuses set uses plain strings while status is an enum server-side.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":... | null |
Kanaries__graphic-walker__450 | Kanaries/graphic-walker | 450 | defect | cf6c398fba41733f82eda445a718bceb77bc5725 | 5fd8c012282f4e2c931e4887695bd9482db4ef2f | fix: filter page in large data | fix a problem when with large data(10m+ row), the filter page will crash when trying to create a 10m+ array. | diff --git a/packages/graphic-walker/package.json b/packages/graphic-walker/package.json
index eec232cd4..cb5cfbafd 100644
--- a/packages/graphic-walker/package.json
+++ b/packages/graphic-walker/package.json
@@ -87,6 +87,7 @@
"i18next": "^21.9.1",
"i18next-browser-languagedetector": "^6.1.5",
"immer": "... | 6 | 2 | 1 | [{"id": "G0", "claim": "The MobX reaction's disposer is neither stored nor called, which can leak; save the disposer (e.g. call it when the store is destroyed) to avoid memory leaks.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The property name i... | null |
Kanaries__graphic-walker__489 | Kanaries/graphic-walker | 489 | defect | 2caac30f1cc4b1509211b66f02c3ce3c271664a6 | 45ae59fcaa495f0a13d9367636b6259587dbac1c | fix: import and export with vega-lite | <img width="2346" height="1352" alt="image" src="https://github.com/user-attachments/assets/ed87fcf9-3f70-41ab-b523-cac68dd3a40e" />
fix the issue that export invalid vega specs and cannot import the vega-lite spec.
also added a example page on examples. | diff --git a/packages/graphic-walker/jest.config.js b/packages/graphic-walker/jest.config.js
index 16148cfb1..0c0e996f5 100644
--- a/packages/graphic-walker/jest.config.js
+++ b/packages/graphic-walker/jest.config.js
@@ -5,4 +5,5 @@ module.exports = {
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1',
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The call to VegaliteMapper when importing a vlSpec passes 'Chart 1' as visId and vizStore.currentVis.visId as name, inverting the (vl, allFields, visId, name) signature, so imported specs get a hard-coded id and take the previous chart's internal id as their user-visible name.", "category": "cor... | null |
KartikTalwar__gmail.js__475 | KartikTalwar/gmail.js | 475 | defect | 2dcd9783903c8e9d09b291a174f75e3a9e673f75 | 82c1c80b4367862b0380c382fbed21532feacf66 | add archive and delete actions for new gmail dataLayer | example of usage
```
gmail.observe.after('archive', (oldIds, paramsUrl, paramsBody, newEmailIds, newThreadIds) => {
if(!oldIds) {
postArchivedOrDeletedThreads(oldIds);
} else {
postArchivedOrDeletedThreads(newEmailIds);
}
... | diff --git a/src/gmail.js b/src/gmail.js
index d491e1cc..6a950c3b 100755
--- a/src/gmail.js
+++ b/src/gmail.js
@@ -961,6 +961,26 @@ var Gmail = function(localJQuery) {
if (pathname && (pathname.endsWith("/i/s") || pathname.endsWith("/i/fd"))) {
api.tools.parse_request_payload(params, trigg... | 7 | 6 | 2 | [{"id": "G0", "claim": "The new archive/delete detection block added to the XHR observer should be put inside api.tools.parse_request_payload(), like the other parsed events.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The payload handling reads hardc... | null |
KartikTalwar__gmail.js__653 | KartikTalwar/gmail.js | 653 | defect | f5a26e0735d241b3f9ba56d92847bca4359e0c25 | 9f44e6d126032fbbc740df57df6bf78d409c0550 | Persist if a message is a draft during request parsing | Hi - I found it useful to be able to check if a message in `gmail.cache.emailIdCache` was draft or not. The below change seems to accomplish that for me (tested in Gmail with new messages and replies to existing conversations, as both a free and Gmail Business user).
I do not have any insight into what these labels ... | diff --git a/src/gmail.js b/src/gmail.js
index 1c1d7de4..d7f36994 100644
--- a/src/gmail.js
+++ b/src/gmail.js
@@ -1205,6 +1205,11 @@ var Gmail = function(localJQuery) {
return res;
};
+ api.tools.parse_fd_bv_is_draft = function(item) {
+ if (!Array.isArray(item)) return null;
+ return ... | 5 | 4 | 3 | [{"id": "G0", "claim": "The is_draft parser should return false instead of null when the item is not an array, so the value stays a boolean.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The parse_fd_bv_is_draft call sites in the fd/bv request loops sho... | null |
KartikTalwar__gmail.js__780 | KartikTalwar/gmail.js | 780 | defect | 8400b9a6c11f8dcdf2d4a9b85a83b469488aa2e3 | 11cb6747b70ba6512c01aabe06e1b5c1e3e707b5 | fix: avoid using deprecated jQuery functions to prepare for jQuery 4 … | …(#779)
- some DOM check functions were rewritten to use native DOM API
- jquery 3 dependency was removed from package.json | diff --git a/package.json b/package.json
index 754a8709..dc97d47f 100755
--- a/package.json
+++ b/package.json
@@ -22,9 +22,6 @@
"gmail chrome extension",
"gmail firefox extension"
],
- "dependencies": {
- "jquery": "^3.6.1"
- },
"devDependencies": {
"@types/jquery": "^... | 8 | 4 | 1 | [{"id": "G0", "claim": "The pull request should be simplified to only replace $.isArray with Array.isArray, since $.each is not deprecated according to the jQuery 4.0 beta notes and only that invocation needs replacing.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
Kava-Labs__kava__1038 | Kava-Labs/kava | 1,038 | defect | ca48e8782101e07e9e76ac866a5106d47eef3a83 | 8dd3355f7da56bec923c1ed5b34c87a7f214917c | Add some extra tests to kavadist | A number of new tests added to the kavadist module | diff --git a/app/test_common.go b/app/test_common.go
index 20d5fffc18..e532bdc936 100644
--- a/app/test_common.go
+++ b/app/test_common.go
@@ -6,6 +6,7 @@ import (
"testing"
"time"
+ "github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1... | 5 | 4 | 0 | [{"id": "G0", "claim": "The new godoc comments on the TestApp helpers should be written as single-line comments so godoc/vscode tooling picks them up.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test suite assertions should use suite.... | null |
Kava-Labs__kava__1078 | Kava-Labs/kava | 1,078 | defect | 7f91d2c4caa087ccf9b042d43300ad4509386b19 | ae52b3c368ce895550be3990f384fc3464e7fe09 | v44 Upgrade: Finish migrations for all cosmos modules | ## Summary
This PR completes testing all cosmos module upgrades.
The gov and auth module is covered separately in the following PRs:
- https://github.com/Kava-Labs/kava/pull/1072
- https://github.com/Kava-Labs/kava/pull/1065
Since the migration code for all other cosmos modules are already done, this PR focuses ... | diff --git a/migrate/v0_16/cosmos.go b/migrate/v0_16/cosmos.go
index 5bd91895fc..8b79703963 100644
--- a/migrate/v0_16/cosmos.go
+++ b/migrate/v0_16/cosmos.go
@@ -42,7 +42,7 @@ func migrateGenutil(oldGenState v039genutil.GenesisState) *genutiltypes.GenesisS
}
}
-func MigrateCosmosAppState(appState genutiltypes.App... | 4 | 1 | 0 | [{"id": "G0", "claim": "The `gentxs` list in the v15 cosmos test data should be emptied (removed from the test cases), since gentxs exported from a chain are always empty and the old StdTx entries would need the new proto tx format for v44.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "in... | null |
Kava-Labs__kava__1190 | Kava-Labs/kava | 1,190 | defect | 214a07b7886c3fbe261050e75e1508037bf10569 | 87bf86cfcbaac572618d5e018b9638d6f7959598 | Savings module params | And parameters to the savings module, which is just a list of supported denoms.
Should be merged after the scaffolding PR. | diff --git a/app/app.go b/app/app.go
index f76ca2461f..061922b3a0 100644
--- a/app/app.go
+++ b/app/app.go
@@ -111,6 +111,9 @@ import (
pricefeed "github.com/kava-labs/kava/x/pricefeed"
pricefeedkeeper "github.com/kava-labs/kava/x/pricefeed/keeper"
pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
+ sa... | 1 | 1 | 1 | [{"id": "G0", "claim": "A test should be added to check that the savings keeper's Get/SetParams methods work as expected.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Kava-Labs__kava__1209 | Kava-Labs/kava | 1,209 | defect | c2e53f2d00b474ba06774ed78545bc79de978f37 | f225914d6d209516ea8caa45ad0a80081855fcfa | Incentive savings hooks + init/sync of savings claims | - Keeper logic for init/sync of savings reward claims.
- Introduce savings hooks to incentive module and call them from the savings module
Currently marked as draft as I'm still working on the sync savings claim tests. | diff --git a/x/incentive/keeper/hooks.go b/x/incentive/keeper/hooks.go
index dec450b0a1..3b9425f3ff 100644
--- a/x/incentive/keeper/hooks.go
+++ b/x/incentive/keeper/hooks.go
@@ -168,10 +168,10 @@ func (h Hooks) BeforePoolDepositModified(ctx sdk.Context, poolID string, deposit
// AfterSavingsDepositCreated function ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The denoms passed to BeforeSavingsDepositModified/SynchronizeSavingsReward should be only the newly added denoms — the set difference between the deposit coins and the existing deposit amount — because as written an existing `ukava` deposit that is topped up has its reward index set to the globa... | null |
Kava-Labs__kava__1379 | Kava-Labs/kava | 1,379 | defect | 05fcdafe987b017d61c52ddf06f61072dbc6e63c | eff7b3c2c6d911662571bdbe362e71991e710c5a | Add AccrualTime type and state methods | Adds a new proto type `AccrualTime` which contains the same fields as `AccumulationTime` but with an additional `ClaimType` field. We can get the same info from the store key, but it requires additional byte slice parsing that may be difficult to update later on.
| diff --git a/docs/core/proto-docs.md b/docs/core/proto-docs.md
index f34f05d765..ae4950bc1d 100644
--- a/docs/core/proto-docs.md
+++ b/docs/core/proto-docs.md
@@ -329,6 +329,7 @@
- [RewardPeriod](#kava.incentive.v1beta1.RewardPeriod)
- [kava/incentive/v1beta1/genesis.proto](#kava/incentive/v1beta1/genesis.pro... | 2 | 2 | 0 | [{"id": "G0", "claim": "Use a function to convert the subKey into a byte key so that the conversion is defined in one place.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the iterate methods so that IterateX iterates over all X and Itera... | null |
Kava-Labs__kava__1425 | Kava-Labs/kava | 1,425 | defect | 1555c99f1b666c61cf0fc2f17aff4a1c94b4ca91 | a6e262f3694b72a53cd0a4294f9eb19bdf847407 | Add x/community Lend proposals | Implements two new proposals:
* `CommunityPoolDepositProposal` - deposits community pool funds into lend position
* `CommunityPoolWithdrawProposal` - withdraws community pool funds from lend position | diff --git a/.gitignore b/.gitignore
index 2c64160039..017d95a6ab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,6 +10,7 @@
# Output of the go coverage tool
*.out
+cover.html
# Exclude build files
vendor
diff --git a/app/app.go b/app/app.go
index 60ddc60863..a36cbceb38 100644
--- a/app/app.go
+++ b/app/app.go
... | 5 | 2 | 1 | [{"id": "G0", "claim": "M002 refactors loadBlockedMaccAddrs to use an allowedMaccs map checked as `if allowedMaccs[addr]`, and M004 recommends using the two-value map lookup (`val, ok := myMap[...]`) for ultimate safety; the author (M011) defends the single-value check and asks whether he should check `ok && val`.", "c... | null |
Kava-Labs__kava__1460 | Kava-Labs/kava | 1,460 | defect | b26e12a57916f5cc272741b968a31be620533d2e | ff9c91380aa92786d5938d0f4c4bf9d65cce3886 | update lend proposals to use community pool | points the community pool lend proposals at the community pool. community module account is now only used as an ephemeral holding tank for managing lend positions for the community pool. community pools lend positions are held by the community module account (`kava17d2wax0zhjrrecvaszuyxdf5wcu5a0p4qlx3t5`)
confirmed ... | diff --git a/x/community/abci.go b/x/community/abci.go
deleted file mode 100644
index 1a4c88c04c..0000000000
--- a/x/community/abci.go
+++ /dev/null
@@ -1,12 +0,0 @@
-package community
-
-import (
- sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/community/keeper"
- abci "github.com/tendermint/t... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment at the top of HandleCommunityPoolLendDepositProposal (\"move funds from community pool to kavadist so hard position is help by kavadist\") needs updating because it misstates where the funds go.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introd... | null |
Kava-Labs__kava__1567 | Kava-Labs/kava | 1,567 | defect | 8c1c29a03a2dc9ed9b40d681f4a8f964f72d82f6 | 01ee82ed51a4f62e4d49ff1bf1b85834ed3a1beb | feat: add community cdp withdraw collateral proposal | ## Description
Adds proposal for withdrawing cdp collateral.
## Checklist
- [x] Changelog has been updated as necessary.
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4edfa9245e..20627529e9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -45,8 +45,10 @@ Ref: https://keepachangelog.com/en/1.0.0/
- (x/incentive) [#1512] Add grpc query service.
- (deps) [#1544] Bump confio/ics23/go to v0.9.0, cosmos/keyring to v1.2.0.
- (x/committee) [#... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new CommunityCDPWithdrawCollateralProposal is not registered in init — it needs the govv1beta1.RegisterProposalType and ModuleCdc.Amino.RegisterConcrete calls that the other CDP proposals have.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"i... | null |
Kava-Labs__kava__1599 | Kava-Labs/kava | 1,599 | defect | 6585ac24b06f591feaf0cd87d02d066de21093d2 | 41aeef6134bec92d6493b53bcbe1bdcda44d4ab6 | fix(evmutil): register MsgConvertCosmosCoinToERC20 on amino | <!--- Provide a general summary of your changes in the Title above -->
<!--- Consider using Conventional Commits prefixes like feat, fix, docs -->
<!-- https://www.conventionalcommits.org/en/v1.0.0/ -->
## Description
Noticed the new `MsgConvertCosmosCoinToERC20` wasn't registered on amino. So added a test to hel... | diff --git a/app/app_test.go b/app/app_test.go
index 2733551f69..11dc59e1f9 100644
--- a/app/app_test.go
+++ b/app/app_test.go
@@ -2,11 +2,17 @@ package app
import (
"encoding/json"
+ "fmt"
"os"
"sort"
"testing"
"time"
+ "github.com/cosmos/cosmos-sdk/codec"
+ sdk "github.com/cosmos/cosmos-sdk/types"
+ "g... | 2 | 1 | 0 | [{"id": "G0", "claim": "The amino-registration check could use testify's require.PanicsWithValue (or PanicsWithError) instead of the hand-rolled catchPanic helper to assert the panic.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The hardcoded skip che... | null |
Kava-Labs__kava__1603 | Kava-Labs/kava | 1,603 | defect | 13b079b70f7d016436b063d781b079e6e2aa6a02 | bb294ac4f95d3036a5d53440ab876157480311b6 | feat(evmutil)!: implement MsgConvertCosmosCoinToERC20 | <!--- Provide a general summary of your changes in the Title above -->
<!--- Consider using Conventional Commits prefixes like feat, fix, docs -->
<!-- https://www.conventionalcommits.org/en/v1.0.0/ -->
## Description
* adds message server handler for MsgConvertCosmosCoinToERC20
* registers the message for codec... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index be16579aa5..bb722e9ef5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -40,6 +40,10 @@ Ref: https://keepachangelog.com/en/1.0.0/
- (evmutil) [#1590] & [#1596] Add allow list param of sdk native denoms that can be transferred to evm
- (evmutil) [#1591] & [#1596] Configure... | 3 | 3 | 0 | [{"id": "G0", "claim": "The CHANGELOG line's phrase 'for converting representing an sdk.Coin as an ERC20' reads awkwardly and should say 'for representing' instead.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The exported test helper methods De... | null |
Kava-Labs__kava__1706 | Kava-Labs/kava | 1,706 | defect | ebcebc4be3cb494a79738efe244e4a3a85a58fd9 | 0aed828aee28f2fbff5ced9c85bbef1ce728386d | feat: disable inflation upgrade logic | <!--- Provide a general summary of your changes in the Title above -->
<!--- Consider using Conventional Commits prefixes like feat, fix, docs -->
<!-- https://www.conventionalcommits.org/en/v1.0.0/ -->
## Description
<!--- Describe your changes in detail -->
Add begin blocker logic to `x/community` to handle th... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index e2bbf17ea9..79ba058520 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -39,10 +39,14 @@ Ref: https://keepachangelog.com/en/1.0.0/
### Features
- (metrics) [#1668] Adds non-state breaking x/metrics module for custom telemetry.
- (metrics) [#1669] Add performance timing m... | 5 | 4 | 2 | [{"id": "G0", "claim": "Separate the \"should this run?\" check out of DisableInflationAfterUpgrade (e.g. into a checkForUpgrade helper) so the function is simplified.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add, at minimum, test cases th... | null |
Kava-Labs__kava__1741 | Kava-Labs/kava | 1,741 | defect | bc260d809187f702a98919d0174d0efb4eb12f50 | 1e2836776b895a0ba103decc845ecaff1995e3f3 | Community Param Updates | Changes:
- Updates the store migration to set time and rewards initially to zero. Existing chains on consensus version 1 will be dependent on the mint module and need different parameters. We will set the parameters in the upgrade handlers after migrations run.
- Change the StakingRewardsPerSecond type from Int... | diff --git a/client/docs/config.json b/client/docs/config.json
index 819207cdc7..5c5b20b65c 100644
--- a/client/docs/config.json
+++ b/client/docs/config.json
@@ -233,6 +233,23 @@
]
}
},
+ {
+ "url": "./out/swagger/kava/community/v1beta1/query.swagger.json",
+ "tags": {
+ "renam... | 1 | 1 | 1 | [{"id": "G0", "claim": "In client/docs/config.json, the new Community query.swagger.json entry should rename the tag \"Query\" to \"Community\" rather than the copy-pasted \"Savings\".", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Kava-Labs__kava__1804 | Kava-Labs/kava | 1,804 | defect | f00727fe854c8a44b87797b975f149f8efbab7d7 | 56b27cb19dacea4233f6ad2e121f4baecced8c8e | feat(cli): Add `rocksdb compact` command | <!--- Provide a general summary of your changes in the Title above -->
<!--- Consider using Conventional Commits prefixes like feat, fix, docs -->
<!-- https://www.conventionalcommits.org/en/v1.0.0/ -->
## Description
- Manual compaction command only enabled with rocksdb
## Checklist
- [x] Changelog has been... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index d941c30336..7c2b1ef25c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -36,6 +36,9 @@ Ref: https://keepachangelog.com/en/1.0.0/
## [Unreleased]
+### Features
+
+- (cli) [#1804] Add `rocksdb compact` command for manual DB compaction of state or blockstore.
## [v0.25... | 5 | 5 | 3 | [{"id": "G0", "claim": "The command must reuse the opendb code that separates the raw db instance from the dbm wrapper (ultimately loading the options the db was last opened with) instead of opening it with grocksdb.NewDefaultOptions(), otherwise the db may be opened with incompatible options and the compacted files re... | null |
Kava-Labs__kava__1848 | Kava-Labs/kava | 1,848 | defect | cf2d83b0204fafdcb86fc82cbd0c8c526aa3d46f | 02a484c9239869112eb1dff28a90483b83d24672 | Implement bep3 evm native conversion logic | <!--- Provide a general summary of your changes in the Title above -->
<!--- Consider using Conventional Commits prefixes like feat, fix, docs -->
<!-- https://www.conventionalcommits.org/en/v1.0.0/ -->
## Description
<!--- Describe your changes in detail -->
Replaces https://github.com/Kava-Labs/kava/pull/1834
... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 73e11a52cd..1ec6259607 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -45,6 +45,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
- (validator-vesting) [#1832] Add grpc query service to replace removed legacy querier
- (incentive) [#1836] Update x/incentive cli to use grpc... | 8 | 8 | 1 | [{"id": "G0", "claim": "The exported DefaultBEP3ConversionDenoms slice should be made private (or use constants) so other packages cannot modify it, since adding unauthorised assets there could allow minting of coins.", "category": "security", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
Kava-Labs__kava__1955 | Kava-Labs/kava | 1,955 | defect | 2d079889942f11c804595325e352b9c63993e2c7 | 7ab743b1b890f8e6d5a2f28cbd57124c0a3e8c84 | feat(x/precisebank): Emit events for send/mint/burn | ## Description
- Emits **only** akava amounts for **both** ukava and akava send/mint/burns. If both akava,ukava are sent (not possible via x/evm nor cosmos messages but still an edge case), then the sum is emitted.
| diff --git a/x/precisebank/keeper/burn.go b/x/precisebank/keeper/burn.go
index 387502705a..10886091a9 100644
--- a/x/precisebank/keeper/burn.go
+++ b/x/precisebank/keeper/burn.go
@@ -8,6 +8,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
authtypes "gith... | 2 | 1 | 0 | [{"id": "G0", "claim": "The getFullExtendedValueAmount helper seems useful enough to be publicly exposed in the types package.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "nit: move the full-emission event computation to before the extendedAmount.IsPos... | null |
Kava-Labs__kava__1957 | Kava-Labs/kava | 1,957 | defect | 60a8073574e2cd8cef4ba39daa1b6894f6fb07cb | fa3e30bc3b28666c8a12424bc8b7f7c0b372b49b | feat(x/precisebank): Add SpendableCoin method | ## Description
- Change `GetBalance()` to return full balances instead of spendable
- Add `SpendableCoin()` method with support of akava
| diff --git a/x/precisebank/keeper/view.go b/x/precisebank/keeper/view.go
index baf77bf8c6..38a428e0e4 100644
--- a/x/precisebank/keeper/view.go
+++ b/x/precisebank/keeper/view.go
@@ -18,15 +18,42 @@ func (k Keeper) GetBalance(
return k.bk.GetBalance(ctx, addr, denom)
}
- // x/bank for integer balance - spendable... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a similar test case for the non-extended denom path with a non-zero fractional balance, to guard against a future regression.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Kava-Labs__kava__1958 | Kava-Labs/kava | 1,958 | defect | 23ce7d8169d1ef5f3bf5b2ae649d9779fd6471f9 | 1f78cbb684f20eee421a8a5a14bc9328bcc044a7 | feat(x/precisebank): Display 0 reserve balance to module consumers | Module reserve represents fractional balances, so it should be hidden to consumers to not have a misleading total balance that doubles the fractional balances.
This modifies `GetBalance()` and `SpendableCoin()` to always return zero coins when fetching the reserve address balance. | diff --git a/x/precisebank/keeper/burn_integration_test.go b/x/precisebank/keeper/burn_integration_test.go
index c569f69eb3..6f10e8524d 100644
--- a/x/precisebank/keeper/burn_integration_test.go
+++ b/x/precisebank/keeper/burn_integration_test.go
@@ -261,7 +261,7 @@ func (suite *burnIntegrationTestSuite) TestBurnCoins_... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test should also mint other denoms (an unrelated denom, and ukava since the reserve can legitimately hold it when fractional balances exceed the conversion factor) and verify the overridden zero balance applies only to akava while other denoms respond correctly.", "category": "testing", "ver... | null |
Kava-Labs__kava__388 | Kava-Labs/kava | 388 | defect | b551e16f51cce6eefbc359a3c90950ac71e65682 | 226549392b823c95ed1400624b49bcf5a0c01a51 | R4R: bep3 module upgrades | This PR updates the bep3 module to be compatible with the bep3-deputy process:
- Timestamp param "now" defaults to `time.Now().Unix` unless it is manually set i.e. `1583452892` (deputy-created swaps will have manually set timestamps)
- Secure number generation via `crypto/rand` with proper hexadecimal encoding. Print... | diff --git a/contrib/genesis_examples/genesis_bep3.json b/contrib/testnet-5000/genesis_examples/genesis_bep3.json
similarity index 94%
rename from contrib/genesis_examples/genesis_bep3.json
rename to contrib/testnet-5000/genesis_examples/genesis_bep3.json
index f91596f970..2380227e0a 100644
--- a/contrib/genesis_exampl... | 2 | 2 | 0 | [{"id": "G0", "claim": "Use tendermint's tmtime.Now() instead of the standard library's time.Now() everywhere the pull request reads the current time — the tmtime import M001 suggests, the 'now' default in GetCmdCreateAtomicSwap (M002), the keeper's timestamp range check (M003), and the review-level request to 'always ... | null |
Kava-Labs__kava__412 | Kava-Labs/kava | 412 | defect | 1a2137761e420dcc6f4e8d4b7bdbf02a9384955b | 3f4aba1c7f16274497a621d01da8a5ef61ecdc7f | simulation decoders for kava modules | - [x] Implement store decoder for all kava modules
- [x] Tests | diff --git a/go.mod b/go.mod
index 1058353755..aa784d2589 100644
--- a/go.mod
+++ b/go.mod
@@ -6,9 +6,7 @@ require (
github.com/btcsuite/btcd v0.20.1-beta // indirect
github.com/cosmos/cosmos-sdk v0.34.4-0.20191010193331-18de630d0ae1
github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d // indirect
- gith... | 4 | 4 | 4 | [{"id": "G0", "claim": "The cdp DecodeStore switch has no case for types.CdpKeyPrefix, so values stored under that prefix are never decoded.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The bep3 decoder should unmarshal types.AtomicSwap values rat... | null |
Kava-Labs__kava__423 | Kava-Labs/kava | 423 | defect | 1bdf580a61e35e03e420122924a039aed31eb83a | 184c5f202622dda6512a6369175fa38ee215053d | [R4R] BEP3 simulations | This PR implements simulations for the BEP3 module.
Test simulations with `go test -mod=readonly ./app -run TestFullAppSimulation -Enabled -Commit -NumBlocks=100 -BlockSize=200 -Seed 2 -v -timeout 24h`
**Result**:
```
...
"bep3": {
"claimAtomicSwap": {
"ok": 294
},
"createAtomicSwap": {
"ok":... | diff --git a/app/sim_test.go b/app/sim_test.go
index ede0aaf167..db6a797b4b 100644
--- a/app/sim_test.go
+++ b/app/sim_test.go
@@ -34,6 +34,7 @@ import (
"github.com/cosmos/cosmos-sdk/x/staking"
stakingsimops "github.com/cosmos/cosmos-sdk/x/staking/simulation/operations"
"github.com/cosmos/cosmos-sdk/x/supply"
+ ... | 4 | 2 | 0 | [{"id": "G0", "claim": "GenSupportedAssets should include bnb, xrp, and btc with some frequency so that at least one of these denoms is present in each sim, to test interactions between bep3-supplied coins and the cdp/auction modules.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduc... | null |
Kava-Labs__kava__428 | Kava-Labs/kava | 428 | defect | 8d199746cd5cd179315d41214a146319f879e26f | 09597cce27b3f2acb65940ee189f7c5e3436dc70 | [R4R] Pricefeed cleanup | Closes #416 | diff --git a/x/pricefeed/alias.go b/x/pricefeed/alias.go
index be764b2cc8..1e5aa2bef7 100644
--- a/x/pricefeed/alias.go
+++ b/x/pricefeed/alias.go
@@ -1,8 +1,8 @@
// nolint
// autogenerated code using github.com/rigelrozanski/multitool
// aliases generated for the following subdirectories:
-// ALIASGEN: github.com/k... | 3 | 2 | 1 | [{"id": "G0", "claim": "GetRawPrices' use of MustUnmarshalBinaryBare panics on a failed unmarshal; the non-panicking UnmarshalBinaryBare should be used instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "PostedPrice.String() (and the other price... | null |
Kava-Labs__kava__511 | Kava-Labs/kava | 511 | defect | 6c68e41758410631a6cdf9b8cfdff77d85c1a1ab | f57b9e96c18bfb7402d8f8cea17e90dd4d8ce617 | [R4R] Add BnbDeputyFixedFee param to BEP3 module | Resolves https://github.com/Kava-Labs/kava/issues/506
**Problem**: The bep3-deputy specifies an 'other_chain_fixed_fee', a fee paid to the deputy for outgoing swaps (Kava -> BnbChain). If a swap's amount is less than the other_chain_fixed_fee, the bep3-deputy will not relay it. This is usually not a problem as the f... | diff --git a/contrib/testnet-6000/genesis_examples/wip_genesis.json b/contrib/testnet-6000/genesis_examples/wip_genesis.json
index a9a9fae7ff..528b582a28 100644
--- a/contrib/testnet-6000/genesis_examples/wip_genesis.json
+++ b/contrib/testnet-6000/genesis_examples/wip_genesis.json
@@ -47,7 +47,8 @@
"assets_supp... | 2 | 2 | 0 | [{"id": "G0", "claim": "The negative-fee sanity check in validateBnbDeputyFixedFeeParam is unnecessary for a uint64 and should be dropped or replaced.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment explaining that incoming swaps have alr... | null |
Kava-Labs__kava__514 | Kava-Labs/kava | 514 | defect | 467e6f7d8b48cea93f6d6d6f1b26675e4332aed9 | 08087fef5a7f1ff1896042a5eb9c9e449253bf5b | x/pricefeed: GenesisState validation | closes #502 | diff --git a/x/pricefeed/genesis.go b/x/pricefeed/genesis.go
index 476d4c5675..0bfe7f48ce 100644
--- a/x/pricefeed/genesis.go
+++ b/x/pricefeed/genesis.go
@@ -6,10 +6,6 @@ import (
// InitGenesis sets distribution information for genesis.
func InitGenesis(ctx sdk.Context, keeper Keeper, gs GenesisState) {
- err := ... | 1 | 1 | 1 | [{"id": "G0", "claim": "PostedPrices.Validate should not reject a second posted price for the same market from a different oracle — it should only flag duplicates when both the marketID and the oracle address repeat.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Kava-Labs__kava__567 | Kava-Labs/kava | 567 | defect | 547c651c95203916bda8b506f3342c9c0479ec11 | d8c1c90ac5e4f787a4b7668bb3881234154a0982 | Update GetTotalSurplus and GetTotalDebt to be consistent | Changes:
- Add explicit tests for GetTotalSurplus/Debt functions
- Update GetTotalSurplus and GetTotalDebt to have consistent implementations
Fixes exhibit 13 | diff --git a/x/cdp/keeper/auctions.go b/x/cdp/keeper/auctions.go
index b69068656c..c3ba3b35a1 100644
--- a/x/cdp/keeper/auctions.go
+++ b/x/cdp/keeper/auctions.go
@@ -88,18 +88,14 @@ func (k Keeper) NetSurplusAndDebt(ctx sdk.Context) error {
// GetTotalSurplus returns the total amount of surplus tokens held by the liq... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new tests should use a require context (suite.Require()) instead of the default assertion context, and this applies to all the new tests.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Kava-Labs__kava__590 | Kava-Labs/kava | 590 | defect | f0e73e4aa8ab829026f713236ba3a0480641c4f7 | 7b24d0ab8369d7e05dc56bdcddea094f8b5ffa3b | Add CLI Command to Query Kavadist Balance | - Add QueryGetBalance type and register new keeper query function
- Regenerate alias.go with aliasgen tool
- Add cli command to query kavadist balance | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5162c33167..6543ea76a9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -36,6 +36,8 @@ Ref: https://keepachangelog.com/en/1.0.0/
## [Unreleased]
+[\#590](https://github.com/Kava-Labs/kava/pull/590) Add CLI query to return kavadist module account balance
+
[\#584](http... | 1 | 1 | 0 | [{"id": "G0", "claim": "The balance query test should assert on bz with Require().NotNil instead of NotNil so the suite halts instead of panicking on nil.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Kava-Labs__kava__737 | Kava-Labs/kava | 737 | defect | e7758ff1bbb5846f311f13453e49081e7569c96c | 6dea7fd121da02d4cc6ed45ffcdfa8c061450809 | Add sync cdp interest method | Ready for initial review
* adds `SynchronizeInterest` method that gets called whenever a user interacts with a CDP
* adds `CalculateNewInterest` method that can be called by clients to calculate how much interest has accrued since `SynchronizeInterest` was last called on a CDP.
Open questions:
* Because CDP... | diff --git a/x/cdp/abci.go b/x/cdp/abci.go
index 8fa0652c70..5c2de1b12f 100644
--- a/x/cdp/abci.go
+++ b/x/cdp/abci.go
@@ -31,17 +31,11 @@ func BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock, k Keeper) {
continue
}
- err := k.UpdateFeesForAllCdps(ctx, cp.Type)
+ err := k.AccumulateInterest(ctx, cp.... | 10 | 8 | 4 | [{"id": "G0", "claim": "In AddCdp the interest factor should be assigned to the variable first and then persisted, i.e. k.SetInterestFactor should take interestFactor instead of restating sdk.OneDec().", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim... | null |
Kava-Labs__kava__758 | Kava-Labs/kava | 758 | defect | f7a73c9245864a90f8996129c0d9cbc5134d0698 | 652062e4c786bc536f28034dd6eade2b5b5e490e | Hard: LTV index refactor | Goal: Breakout Set/Update/Delete as separate functions for the LTV index.
The Hard LTV index is different than the CDP index as it's based upon two store objects (Borrow, Deposit) which can be updated individually as opposed to just one object (CDP), so the resulting implementation is not 1:1 with the goal. The meth... | diff --git a/x/hard/handler.go b/x/hard/handler.go
index 1d98746c9c..4d4d6c719d 100644
--- a/x/hard/handler.go
+++ b/x/hard/handler.go
@@ -124,7 +124,7 @@ func handleMsgRepay(ctx sdk.Context, k keeper.Keeper, msg types.MsgRepay) (*sdk.
}
func handleMsgLiquidate(ctx sdk.Context, k keeper.Keeper, msg types.MsgLiquida... | 2 | 2 | 2 | [{"id": "G0", "claim": "The liquidation loop should catch ErrBorrowNotFound (the case where a borrower in the LTV index has only supplied coins and has no borrow object) instead of panicking on it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
Kava-Labs__kava__780 | Kava-Labs/kava | 780 | defect | 72a6df17fdec2f1d1a490c09447afc3a46ea98b6 | 1820ed23805ded03971beaca508542cf69dd5f3f | Incentive PR 4: claim Hard rewards via the Incentive module | - [x] Add message for hard rewards claims that allow users to claim rewards
- [x] Message claims all (supply, borrow, delegation) HARD rewards and deletes the claim object from the store
- [x] CLI/Rest API should also be updated for new transaction types
- [x] Added basic Hard claims queries
Questions:
- What sh... | diff --git a/x/incentive/alias.go b/x/incentive/alias.go
index 29f759408a..98b8c82928 100644
--- a/x/incentive/alias.go
+++ b/x/incentive/alias.go
@@ -23,7 +23,8 @@ const (
ModuleName = types.ModuleName
QuerierRoute = types.QuerierRoute
QueryGetClaimPeriods = types.QueryGetClai... | 1 | 1 | 0 | [{"id": "G0", "claim": "The claim events emitted by ClaimUSDXMintingReward and ClaimHardReward should include the claim type as an attribute.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Kava-Labs__kava__786 | Kava-Labs/kava | 786 | defect | 58494fe35703f35725c1df2227aefc9831331b58 | afb624bf22b353f915730ac1605b4a96047d401f | [R4R] fix: match reward payouts to current harvest v1 payouts | Pays out rewards (USDX or hard) on either the 1st or 15th of the month. Note: this is a back port of harvest v1 so that hard rewards claiming on kava-5 matches kava-4 harvest reward claiming. | diff --git a/x/incentive/keeper/payout.go b/x/incentive/keeper/payout.go
index c930c70332..b680e98121 100644
--- a/x/incentive/keeper/payout.go
+++ b/x/incentive/keeper/payout.go
@@ -1,6 +1,8 @@
package keeper
import (
+ "time"
+
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/t... | 1 | 1 | 0 | [{"id": "G0", "claim": "The switch statement in GetPeriodLength should be removed or given a default case, since its cases share the same logic and no default case is specified.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Kava-Labs__kava__885 | Kava-Labs/kava | 885 | defect | 99095a8fc34ead9352afd83e9cd81c37ac760c01 | 9f2c5861dc1080ecca029c9ef679ce6790d0d1c1 | Fix: delete incentive reward factors on full withdraw/repay | Fixes the recently reported bug where incentive reward indexes were not being deleted on Hard repay/withdraw. | diff --git a/x/hard/keeper/repay.go b/x/hard/keeper/repay.go
index 7df0e6c55f..5736475bfe 100644
--- a/x/hard/keeper/repay.go
+++ b/x/hard/keeper/repay.go
@@ -67,9 +67,7 @@ func (k Keeper) Repay(ctx sdk.Context, sender, owner sdk.AccAddress, coins sdk.C
}
// Call incentive hook
- if !borrow.Amount.Empty() {
- k.... | 1 | 1 | 0 | [{"id": "G0", "claim": "A unit test should be added for the setDifference helper.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Kava-Labs__kava__897 | Kava-Labs/kava | 897 | defect | fa57876ad8340f352bdbdf9fd5245ec898b099cf | 5048d79fb1e0d68f00588aa99b70f68dc44fd9df | Call incentive hooks before CDPs are modified in begin blocker | In the cdp module, risky cdps are synced regularly to update their collateral ratio so they can be accurately liquidated (if below liquidation ratio).
This modifies the cdp, however the `BeforeCDPModified` hook was not called. This PR adds the hook call and a test. | diff --git a/x/cdp/keeper/interest.go b/x/cdp/keeper/interest.go
index 551a4fb14c..a222d62333 100644
--- a/x/cdp/keeper/interest.go
+++ b/x/cdp/keeper/interest.go
@@ -159,6 +159,7 @@ func (k Keeper) CalculateNewInterest(ctx sdk.Context, cdp types.CDP) sdk.Coin {
func (k Keeper) SynchronizeInterestForRiskyCDPs(ctx sdk.... | 1 | 1 | 1 | [{"id": "G0", "claim": "The test's extra SynchronizeUSDXMintingReward call seems unnecessary, since the cdp should already have been synced in the begin blocker.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Kava-Labs__kava__972 | Kava-Labs/kava | 972 | defect | cbb8b04292010b1bec60367477c82d0805c3adcd | af0b9ba60de8252bd8b3aa7d3f9317c8ac16335c | Swap module simulations: swap msg operations | This PR contains
1. Simulated `MsgSwapExactForTokens` operation
2. Simulated `MsgSwapForExactTokens` operation
3. Swap simulation decoder + test | diff --git a/app/params/params.go b/app/params/params.go
index 11e5e1af8c..fdd43a5bdc 100644
--- a/app/params/params.go
+++ b/app/params/params.go
@@ -15,6 +15,8 @@ const (
DefaultWeightMsgClaimReward int = 20
DefaultWeightMsgDeposit int = 20
DefaultWeightMsgWithdraw int = 20
... | 2 | 2 | 0 | [{"id": "G0", "claim": "The comment on the account-pool search in SimulateMsgSwapExactForTokens should say 'for which trade is possible' instead of 'for which withdraw is possible'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment on the... | null |
Keats__jsonwebtoken__106 | Keats/jsonwebtoken | 106 | defect | 6e2f461a1bf5b7ba3e4f2b522834d6c326d1622d | 7f4be7f03e8b7162cf67bb77658e5b73c2afe81e | Add PEM decoding support | This adds a new top level function `decode_pem`, and a subsequent function `as_key` on the result type for use with `sign` and `verify`.
This contributes to #76 and #77
However it does not include X.509 certificate support.
I have an idea on how to do that but this should handle many cases that users want as PE... | diff --git a/Cargo.toml b/Cargo.toml
index c7a8393d..6522d17a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -17,3 +17,5 @@ serde = "1.0"
ring = { version = "0.16.5", features = ["std"] }
base64 = "0.10"
chrono = "0.4"
+pem = "0.6"
+simple_asn1 = "0.4.0"
diff --git a/README.md b/README.md
index ecdb723a..9b83297c 10064... | 7 | 2 | 0 | [{"id": "G0", "claim": "The pem crate adds `failure` to the list of sub-dependencies and a PR removing it should be checked with the pem author.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new README sentence 'If you want to use DER encod... | null |
Keats__jsonwebtoken__185 | Keats/jsonwebtoken | 185 | defect | f7e1f922e10dc57ea50b4916e370786813ca2419 | 9ac57931a7ad83fdc14fd1426743126422debe82 | Add tests for Header::x5c_der(), and modify its return type to be fallible. | Add some tests to cover the new `Header::x5c_der()` method added in #184. | diff --git a/tests/header/cert_chain.json b/tests/header/cert_chain.json
new file mode 100644
index 00000000..477844ae
--- /dev/null
+++ b/tests/header/cert_chain.json
@@ -0,0 +1 @@
+["MIIE3jCCA8agAwIBAgICAwEwDQYJKoZIhvcNAQEFBQAwYzELMAkGA1UEBhMCVVMxITAfBgNVBAoTGFRoZSBHbyBEYWRkeSBHcm91cCwgSW5jLjExMC8GA1UECxMoR28gRGFkZHk... | 1 | 1 | 0 | [{"id": "G0", "claim": "Header::x5c_der() should return an error instead of an Option, so that a base64 decoding failure is surfaced rather than silently swallowed into None.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}] | null |
Keats__jsonwebtoken__274 | Keats/jsonwebtoken | 274 | defect | 7081a836b7cca301cb0d96e0cd97495426a4d3aa | e12d2488917a009edd37b69cd6192fd672ebf4ec | CERTIFICATE tag for pem files | Fix for issues #259, surrealdb/surrealdb#1256.
Adds `CERTIFICATE` tag for pem files.
RSA tests were extended with certificates.
Self-signed certificates were generated as follows:
```
# openssl req -new -key private.pem -out certificate.csr
# openssl x509 -req -days 358000 -in certificate.csr -signkey private.p... | diff --git a/src/decoding.rs b/src/decoding.rs
index 145a24d8..4b329419 100644
--- a/src/decoding.rs
+++ b/src/decoding.rs
@@ -55,7 +55,7 @@ impl DecodingKey {
/// If you're using HMAC with a base64 encoded secret, use this.
pub fn from_base64_secret(secret: &str) -> Result<Self> {
- let out = base64... | 2 | 2 | 0 | [{"id": "G0", "claim": "Add a note somewhere in the test folder next to the certificate with the openssl commands used to generate it.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment \"// This handles PKCS#8 public & private keys\" need... | null |
Keats__jsonwebtoken__420 | Keats/jsonwebtoken | 420 | defect | 87bbe49004de17ac1c64bf25d7751c0e43cff5dc | 26f26f36cfc1b140f6d677db5e2766e87761445c | feat: allow users to specify a custom header not defined in the struct | * allow users to specify custom header values for token generation
* remove deprecated verify_slices_are_equal
* update tests | diff --git a/src/header.rs b/src/header.rs
index 220f0fa4..1aa115a7 100644
--- a/src/header.rs
+++ b/src/header.rs
@@ -1,3 +1,4 @@
+use std::collections::HashMap;
use std::result;
use base64::{engine::general_purpose::STANDARD, Engine};
@@ -10,7 +11,7 @@ use crate::serialization::b64_decode;
/// A basic JWT head... | 9 | 7 | 3 | [{"id": "G0", "claim": "The name `extra` for the new additional-headers field is not self-explanatory and not common in other implementations, so it should be renamed (e.g. to `extras`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull re... | null |
Keats__jsonwebtoken__441 | Keats/jsonwebtoken | 441 | defect | 14567554a5e0820d76797806638372c75a8635e3 | e9a5fe4ee6826ed8f09463dd5b815c771a274581 | feat: add `dangerous::insecure_decode` | Add `jsonwebtoken::dangerous::insecure_decode` to support decoding headers and claims with no signature validation.
This should fulfill #401 and also provides a solution for #438 | diff --git a/src/decoding.rs b/src/decoding.rs
index 8d9a72f9..7ebb8fde 100644
--- a/src/decoding.rs
+++ b/src/decoding.rs
@@ -292,6 +292,23 @@ pub fn decode<T: DeserializeOwned + Clone>(
Ok(TokenData { header, claims })
}
+/// Decode a JWT with NO VALIDATION
+///
+/// DANGER: This performs zero validation on t... | 1 | 1 | 0 | [{"id": "G0", "claim": "The pre-existing `Validation::insecure_disable_signature_validation` should be deprecated for now (with removal planned for v11), since validating claims without signature validation appears useless given the new `dangerous::insecure_decode`.", "category": "design", "verdict": "supported", "prio... | null |
Keats__jsonwebtoken__49 | Keats/jsonwebtoken | 49 | defect | 99e0a2ed018db5a522fb1e7e3cb5e5520e604339 | aac095c904910756cb87a79acbb02f5acc0fe80a | Add a method to decode a token without signature validation | Per #48, a new method should be added to decode a token without validating the signature. This is labelled as unsafe, since it definitely is. It solves my use case for `jwt-cli`, which the secret is generally not known.
- Solves #48
- `dangerous_unsafe_decode`
- No docs (aside from cargo) since people probably sho... | diff --git a/src/lib.rs b/src/lib.rs
index 2f1f4ab3..c1822379 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -122,6 +122,39 @@ pub fn decode<T: DeserializeOwned>(token: &str, key: &[u8], validation: &Validat
Ok(TokenData { header: header, claims: decoded_claims })
}
+/// Decode a token without any signature valida... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new decode-without-signature-validation function should not perform any other validation either - it could just take the token, instead of taking a Validation and rejecting tokens whose algorithm is not in validation.algorithms.", "category": "design", "verdict": "supported", "priority": "P1... | null |
Keats__tera__128 | Keats/tera | 128 | defect | e62e2d21750851195134fb8f95637f3b23d0b0eb | f07017be5f50cf688c368dcf6360d145a5145037 | Implemented filter sections | This implements the filter sections from #102.
According to the tests it seems to work fine. However I am pretty unsure about the parser modifications as I wrote this part mostly by trial and error. | diff --git a/src/parser.rs b/src/parser.rs
index d9f643e45..8c28666b0 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -167,7 +167,16 @@ pub enum Node {
/// Name of the filter
name: String,
/// kwargs for that filter, the Node is an expression
- params: HashMap<String, Node>
+ ... | 5 | 5 | 1 | [{"id": "G0", "claim": "Move the `?` from the `Value::String(value?)` line onto the preceding `self.render_node(*body.clone())` line.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Use Tera's existing `ValueRender` trait (`val.render()`) instead of `forma... | null |
Keats__tera__260 | Keats/tera | 260 | defect | 306dadd424748a78a71dd09045bc625af5392713 | 19111befa97f85dad3101cbf8c2318c18f9ef989 | Allow variable access via square brackets | Fixes #173
Allows tera to compute variables inside square brackets.
Allows us to do things like: `var[i]`
If you have any suggestions / feedback please comment | diff --git a/src/parser/mod.rs b/src/parser/mod.rs
index 84ffac663..4c53487ab 100644
--- a/src/parser/mod.rs
+++ b/src/parser/mod.rs
@@ -176,7 +176,7 @@ fn parse_basic_expression(pair: Pair<Rule>) -> ExprVal {
Rule::fn_call => ExprVal::FunctionCall(parse_fn_call(pair)),
Rule::macro_call => ExprVal::Ma... | 9 | 8 | 3 | [{"id": "G0", "claim": "The parse error messages overlap - the new `dotted_square_bracket_ident` message reads as a duplicate of `an identifier`, producing confusing expectations, so the `Rule::ident` message should be made more precise (e.g. mention it can only be a-z etc).", "category": "documentation", "verdict": "s... | null |
Keats__tera__272 | Keats/tera | 272 | defect | 5c1d0cd71bc03d1fd836f6b732eee291c69eecb2 | 61bf77079326e7ead8833430762d43b679f77a2f | Add loop controls (`break` and `continue`) | Resolves #267.
Most rendering functions return `Result<String>`. I wanted to avoid reusing `Result` to indicate that a `break` or `continue` was encountered, so I changed the return type of some functions to `Result<LoopControl>`.
`LoopControl` is similar to `Result`, but doesn't indicate failure. This ensures th... | diff --git a/docs/content/docs/templates.md b/docs/content/docs/templates.md
index 6e28f1eb1..b1c4a853a 100644
--- a/docs/content/docs/templates.md
+++ b/docs/content/docs/templates.md
@@ -274,6 +274,27 @@ If you are iterating on an array, you can also apply filters to the container:
{{loop.index}}. {{product.name}}... | 2 | 2 | 1 | [{"id": "G0", "claim": "A `for_content` new type should be created in the grammar and only that should have `break` and `continue`, so the tags cannot be used outside a for loop directly in the grammar.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
Keats__tera__302 | Keats/tera | 302 | defect | 6b1a75885c4fb64a8dc4afe62ead7f2ec6d863c4 | ba28b5fd1d97d9d70d7379b5b9072c74c4b3974f | Reworked the math evaluation to work on u64, i64 or f64 | #301 This is a basic fix for the problem. It just solves it. It also now panics on NaN operations (divide by 0), I am not sure if it is the expected behavior. I also haven't provided tests yet. | diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs
index c959f9ff7..c934a2824 100644
--- a/src/renderer/mod.rs
+++ b/src/renderer/mod.rs
@@ -241,10 +241,10 @@ impl<'a> Renderer<'a> {
/// In some cases, we will have filters in lhs/rhs of a math expression
/// `eval_as_number` only works on ExprVal rather... | 6 | 5 | 2 | [{"id": "G0", "claim": "Templates should not panic/error out on a NaN math result; the NaN should be returned so the template still renders.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The line `Ok(Number::from_f64(ll * rr).unwrap())` in the Mul ... | null |
Keats__tera__426 | Keats/tera | 426 | defect | 28d2f551c7ce4444bad9f04a82aa3925ba8d6a08 | 82bd49ffba7d29844f81e45734042dca17cc67ab | Implemented feature from issue #395 ("else" case in for loops) | Fixes #395
I've implemented the functionality requested in issue #395 along with some test cases that cover the code.
I've made the following decisions that I'd like some feedback on:
### Renamed {% empty %} -> {% else %}
I've taken the liberty of naming the fail-case "else" instead of "empty" since I feel l... | diff --git a/src/parser/ast.rs b/src/parser/ast.rs
index ccffc781f..b2317f27d 100644
--- a/src/parser/ast.rs
+++ b/src/parser/ast.rs
@@ -295,6 +295,8 @@ pub struct Forloop {
pub container: Expr,
/// What's in the forloop itself
pub body: Vec<Node>,
+ /// The body to execute in case of an empty object
... | 5 | 3 | 2 | [{"id": "G0", "claim": "Iterating over an undefined variable should error even when the for loop defines an {% else %} block, instead of silently rendering the else body.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The nested if/else on the empty-body... | null |
Keats__tera__58 | Keats/tera | 58 | defect | 2c5d49f71551df3d0daf52cca36dfb7766c4c476 | bff67bbf29a5f11a0f468575b1ed61fe7387ec02 | Implement testers | This PR contributes an implementation of [tests](http://jinja.pocoo.org/docs/dev/templates/#tests) for Tera. Closes #56.
| diff --git a/README.md b/README.md
index 1c3583dae..ad8674046 100644
--- a/README.md
+++ b/README.md
@@ -187,6 +187,26 @@ Again, straight from jinja2 docs:
When trying to render that template, Tera will see that it depends on a parent template and will render it first, filling the blocks as it encounters them in the... | 4 | 1 | 0 | [{"id": "G0", "claim": "The reviewer is tempted to always use 64-bit values instead of keeping 32-bit integers for == and != comparisons.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether one test syntax could suffice instead of th... | null |
Keats__tera__620 | Keats/tera | 620 | defect | 9950df9d5537194754edac1ffaa21af8f2228c0b | 907a4bd38d9b35e0c1dd6967c9f4f6c6097b2616 | Allow iteration on a string | I wanted to add some silly per-character rainbow text for my own blog with this style

I managed to do so with `split` but it feels hacky
```jinja2
{%- macro rainbow(text) -%}
{%- set color_index = 0 -%... | diff --git a/docs/content/docs/_index.md b/docs/content/docs/_index.md
index cf3409f61..9b429524a 100644
--- a/docs/content/docs/_index.md
+++ b/docs/content/docs/_index.md
@@ -523,6 +523,19 @@ Loop over items in a array:
{{loop.index}}. {{product.name}}
{% endfor %}
```
+
+Or on characters of a string:
+
+```jinj... | 2 | 2 | 2 | [{"id": "G0", "claim": "The pull request adds string iteration without any tests; Keats asks the author to add some tests.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Iterating with `.chars()` yields Unicode scalar values rather than grapheme cluster... | null |
Keats__tera__621 | Keats/tera | 621 | defect | c40bb308c9835053bb855e31a2eedd45be142519 | e9f68ba8db36a84f51e366f0940166122c19ff1d | Fix parsing of filter arguments separated by whitespaces | The filter_tag rule is compound atomic, denying implicit whitespaces in
sub-rules such as fn_call. This commit marks fn_call as non-atomic, and
adds filter and macro unit tests for arguments separated by spaces. | diff --git a/src/parser/tera.pest b/src/parser/tera.pest
index ef2444a1e..4effd43ec 100644
--- a/src/parser/tera.pest
+++ b/src/parser/tera.pest
@@ -108,7 +108,7 @@ string_array = !{ "[" ~ (string ~ ",")* ~ string? ~ "]"}
// A keyword argument: something=10, something="a value", something=1+10 etc
kwarg = { ident ~... | 2 | 1 | 0 | [{"id": "G0", "claim": "A filter tag with arguments separated by whitespace, e.g. `{% filter foo(bar=42, baz=\"qux\") %}`, fails to parse with 'expected an identifier (must start with a-z)'.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "Ideally w... | null |
Keats__validator__132 | Keats/validator | 132 | defect | 07a477eb6e45e232badc89628fa3243230945bfa | 2555af4b998b8540850753b2df7703b8230d8d11 | The `range` validator can now take a value reference as a parameter #66 | This implementation required some changes when it comes to the `Validator::Range` value. I therefor suggest that we add a depreciation notice on that value and add a new value `Validator::RangeRef` for compatibility reasons. This will only effect users that used the validation directly, indirect usage with `#[derive(Va... | diff --git a/README.md b/README.md
index 98b1e6b3..e8ed21d8 100644
--- a/README.md
+++ b/README.md
@@ -56,9 +56,10 @@ match signup_data.validate() {
};
```
-The `validate()` method returns a `Result<(), ValidationErrors>`. In the case of an invalid result, the
-`ValidationErrors` instance includes a map of errors k... | 4 | 3 | 3 | [{"id": "G0", "claim": "The `self.` value-prefix feature of the range validator seems very niche and unnecessary, so it should be removed to keep the API small and easy to understand.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Since nobody uses the c... | null |
Keats__validator__321 | Keats/validator | 321 | defect | 43d24d3256218d0158958e69240ef055ebcbf2d2 | 3cb4c7926e17a1810cf32b1d72c6881303b08f25 | Fix broken support for nested validation with multiple errors | Fixes #319. | diff --git a/validator/src/types.rs b/validator/src/types.rs
index 30b236a6..861f2d28 100644
--- a/validator/src/types.rs
+++ b/validator/src/types.rs
@@ -72,17 +72,16 @@ impl ValidationErrors {
) -> &mut ValidationErrors {
match child {
Ok(()) => self,
- Err(errors) => {
- ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new fails_nested_validation_multiple_members test should verify that validation actually returns errors for both fields, not merely that validation fails.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Keats__validator__359 | Keats/validator | 359 | defect | 2f243314bb0e484a66c49fd2145a8e15f8449187 | cf9fac1dff4df6e81fdfbb6cf2730fd87d49fff2 | Fix Merge issues between custom and nested | A response that should fix #357
Did not include the test in this PR since it should be merged in from #357
Slight behavior change in that it we dont run nested if custom has an error. its a bug fix should be called a patch/minor? (Given that this behavior is better than a panic)
Called an unwrap here to show e... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2edf8d4d..f4f668bc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
## Changelog
+## 0.19.1 (unreleased)
+
+- Bug fix for nested issue with custom by putting it under a different name for merging.
+
+
## 0.19.0 (2024/11/03)
- Swap to using proc-macro-er... | 3 | 3 | 2 | [{"id": "G0", "claim": "Joining the errors in a list would make more sense than the map with 'self'/'nested' keys the PR currently uses for merging.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Redesign the error types so the change brings only one bre... | null |
Keats__validator__60 | Keats/validator | 60 | defect | 5edb34ac261f7025ee0bb9c25ec1c216ded5aba2 | 752c7b8d96c535884002e39e69d704e92e03b21e | Nested Validation | I've made an implementation of nested struct validation. It uses plain `[#validate]` attributes added to a parent struct's fields in order to detect which nested structs should be validated.
With specialization, it could work without the field attribute as we could speculatively validate all fields, having a default n... | diff --git a/validator/src/lib.rs b/validator/src/lib.rs
index 6cb0cb14..ef9685f1 100644
--- a/validator/src/lib.rs
+++ b/validator/src/lib.rs
@@ -29,5 +29,5 @@ pub use validation::cards::validate_credit_card;
pub use validation::phone::validate_phone;
pub use validation::Validator;
-pub use types::{ValidationError... | 7 | 7 | 1 | [{"id": "G0", "claim": "The PR's error format should represent nested errors as a schema-shaped nested structure (an enum of struct/list/field error kinds) instead of a flat map keyed by joined path strings like `phone.number`, since joined keys collide with valid JSON key names.", "category": "design", "verdict": "sup... | null |
KeepSafe__ReLinker__12 | KeepSafe/ReLinker | 12 | defect | b5e0f6250297ea6908bcde1608542ff259224b33 | e7a5c88d1bd858fd98742e0cf1177c23b7e9db48 | Add Unit Tests + Config + Modularize code | Fixes #9
Library: Introduce LibraryLoader interface
Library: Major updates, modularizing a lot of code
Added more unit tests, should cover all public use functions at this point.
| diff --git a/library/build.gradle b/library/build.gradle
index e858c6c..bf7b4a3 100644
--- a/library/build.gradle
+++ b/library/build.gradle
@@ -16,6 +16,23 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
+ testOptions {
+ unitTest... | 8 | 3 | 0 | [{"id": "G0", "claim": "The in-place (fluent) API naming introduced by this PR is messed up and should not ship as is.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The single-line if statement logging the APK lookup should be formatted consistently wit... | null |
KeepSafe__ReLinker__43 | KeepSafe/ReLinker | 43 | defect | e0a78d947d34040887bb63eccd4431466f95fc82 | 84af4690916f241c222730389f5519aaa88d0aa9 | Fixing few bugs | 1. ELf parser was not closed
2. Dynamic64Structure had bad buffer capacity | diff --git a/relinker/src/main/java/com/getkeepsafe/relinker/ReLinkerInstance.java b/relinker/src/main/java/com/getkeepsafe/relinker/ReLinkerInstance.java
index e790316..daa86e5 100755
--- a/relinker/src/main/java/com/getkeepsafe/relinker/ReLinkerInstance.java
+++ b/relinker/src/main/java/com/getkeepsafe/relinker/ReLin... | 2 | 2 | 2 | [{"id": "G0", "claim": "The unexplained increase of the Dynamic64Structure ByteBuffer capacity from 4 to 8 bytes should be justified and covered by a test demonstrating the problem it fixes.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The parser is n... | null |
KeepSafe__ReLinker__65 | KeepSafe/ReLinker | 65 | defect | 4a0ad080725abf65596fb4c47a46a34920c34dce | 65fa198176a7c3f82e9a420cb165347f7b01d7dd | Better error message if supported ABI's cannot be found inside the APK. | This PR adds a better error message if an ABI cannot be successfully located.
This is helpful as some app users are side-loading APKs outside the Play Store. If those apps have been built using App Bundle or APK Split, it could result in users loading an APK that doesn't support their device, which results in a rat... | diff --git a/relinker/src/main/java/com/getkeepsafe/relinker/ApkLibraryInstaller.java b/relinker/src/main/java/com/getkeepsafe/relinker/ApkLibraryInstaller.java
index 150d944..cb6e58a 100644
--- a/relinker/src/main/java/com/getkeepsafe/relinker/ApkLibraryInstaller.java
+++ b/relinker/src/main/java/com/getkeepsafe/relin... | 6 | 5 | 1 | [{"id": "G0", "claim": "The retry mechanism for transient IO errors present in the loop this method was copied from was removed here; the author offers to re-add it if the reviewers think it is needed.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Re... | null |
KeepSafe__dexcount-gradle-plugin__271 | KeepSafe/dexcount-gradle-plugin | 271 | defect | 38753cab9bc40d73eac4fceff7769ce4998383b0 | 905e0dcecf9d373c214c126ca40a99fd084c04cb | Count declared methods and fields | I broke down the PR into smaller commits. It might be easier to review them individually. This PR resolves #270.
Overall this PR adds one new parameter `printDeclarations` to the extension. When turned on the report prints also declared methods in separate columns. This only works for AARs, because I couldn't find ... | diff --git a/README.md b/README.md
index 9168c78e..c57172bc 100644
--- a/README.md
+++ b/README.md
@@ -125,6 +125,7 @@ dexcount {
teamCitySlug = null
runOnEachPackage = true
maxMethodCount = 64000
+ printDeclarations = true
enabled = true
}
```
@@ -142,6 +143,7 @@ Each flag controls some aspect... | 12 | 9 | 4 | [{"id": "G0", "claim": "The 'test AAR method count' test fails on CI with java.lang.IndexOutOfBoundsException: fromIndex = -1 while passing locally, and the cause is unknown.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The jar analysis should use... | null |
Keyfactor__ejbca-ce__500 | Keyfactor/ejbca-ce | 500 | defect | 7d947b08b82461ad63116462aee4ac4df7f9a44a | 55b88af58e211af8e53d528b9a894b69a86cb6ea | Fix to issue Link Certificate using previous Signature Algorithm | It is possible to get EJBCA to renew a CA using a different signing key algorithm (ie., RSA to ECDSA). The steps required are:
1. Create a new EC key on the CA's CryptoToken (assuming a move from RSA to ECDSA)
2. Set the CryptoToken's Signature Algorithm to use ECDSA. This can be done using the Command Line Interface... | diff --git a/modules/ejbca-ejb/src/org/ejbca/core/ejb/ca/caadmin/CAAdminSessionBean.java b/modules/ejbca-ejb/src/org/ejbca/core/ejb/ca/caadmin/CAAdminSessionBean.java
index 3164c242a70..9a117350e52 100644
--- a/modules/ejbca-ejb/src/org/ejbca/core/ejb/ca/caadmin/CAAdminSessionBean.java
+++ b/modules/ejbca-ejb/src/org/e... | 7 | 6 | 1 | [{"id": "G0", "claim": "The CA token's signature algorithm need not be changed to issue the link certificate since certprofile.getSignatureAlgorithm takes precedence; temporarily setting the old algorithm on a cloned certificate profile passed to the link-certificate creation would be enough, avoiding mutation of the t... | null |
Keyfactor__ejbca-ce__775 | Keyfactor/ejbca-ce | 775 | defect | 751f3159eb4d1e3a8e647db36c649511ad0a4e68 | 9627d96c98c18340d065bd1ddffb1ae818b84087 | Improvement to client function certimportdir(v9) | ## Describe your changes
- Added an option to use an alternate CA certificate.
When importing certificates into a newly migrated CA, the code performs a certificate verification based upon the CA's current certificate. A problem with this occurs when the certificates being imported had been issued from one of the ... | diff --git a/modules/ejbca-ejb-cli/src/org/ejbca/ui/cli/ca/CaImportCertDirCommand.java b/modules/ejbca-ejb-cli/src/org/ejbca/ui/cli/ca/CaImportCertDirCommand.java
index ff315657252..f918a11d55f 100644
--- a/modules/ejbca-ejb-cli/src/org/ejbca/ui/cli/ca/CaImportCertDirCommand.java
+++ b/modules/ejbca-ejb-cli/src/org/ejb... | 4 | 2 | 2 | [{"id": "G0", "claim": "The string-mapping block contains a copy-paste bug: 'CERTIFICATEHOLD' is mapped a second time to AA_COMPROMISE, so a filename with the AA compromise reason would be treated as certificate hold (and AA_COMPROMISE would never be reachable).", "category": "correctness", "verdict": "supported", "pri... | null |
Keyrunes__keyrunes__16 | Keyrunes/keyrunes | 16 | defect | 1c23a5272ff6cf6bb2be3449840abab413a494c6 | 1409baf0459d1cad70be8cb60bb7a88e6d7a5556 | Feat: User Registration with Groups | Introduce `POST /api/admin/user` endpoint allowing administrators to create a new user by providing username, email, password, and optionally assigning the user to one or more groups. On success, the API returns the created user’s details along with the list of groups.
Refactor user creation logic by extracting the ... | diff --git a/Cargo.lock b/Cargo.lock
index ca95b06..b062847 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1421,6 +1421,7 @@ dependencies = [
"rand 0.8.5",
"regex",
"rstest",
+ "secrecy",
"serde",
"serde_json",
"serde_with",
@@ -2267,6 +2268,16 @@ version = "1.2.0"
source = "registry+https://github.com/rust-... | 3 | 3 | 0 | [{"id": "G0", "claim": "The newly added /api/admin/user route should also be added to the API list in the startup tracing log (around line 107).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "CreateUserRequest should include a first_login option s... | null |
Keyrunes__keyrunes__32 | Keyrunes/keyrunes | 32 | defect | b5bf825a329f070aa2e967e40507d1801af4165d | 2a916f79536119b073442466b579083953c42c01 | feature: cli tool for password recovery | #18
<img width="1051" height="263" alt="image" src="https://github.com/user-attachments/assets/104eb8da-7321-4830-a486-584a15c315d8" />
<img width="592" height="235" alt="image" src="https://github.com/user-attachments/assets/7548ffbc-0da8-4a59-a8d5-da54dca2c59e" />
<img width="592" height="235" alt="image" s... | diff --git a/migrations/20250819092538_create_users_table.sql b/migrations/20250819092538_create_users_table.sql
index f2c0c6c..11e2817 100644
--- a/migrations/20250819092538_create_users_table.sql
+++ b/migrations/20250819092538_create_users_table.sql
@@ -14,6 +14,19 @@ CREATE UNIQUE INDEX IF NOT EXISTS users_external... | 7 | 4 | 2 | [{"id": "G0", "claim": "The CLI --generate-token flow must store the generated token in a database table and return the reset URL built from the stored token.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "When the user accesses the reset URL, the backen... | null |
KhronosGroup__OpenCL-CLHPP__145 | KhronosGroup/OpenCL-CLHPP | 145 | defect | 8df6c8f457f4eb3914338f189f01dcb193664f61 | bd300ca78e8be8a31b000b5027e0d17aba9f4fe7 | Fix cl::enqueueMapSVM for cl::vector and cl::pointer | Fix the missing reference symbol for cl::enqueueMapSVM. Otherwise vector will be coppied and enqueueMapSVM will map to a different pointer address. Added tests. | diff --git a/include/CL/opencl.hpp b/include/CL/opencl.hpp
index 75b9c92c..973d8ae1 100644
--- a/include/CL/opencl.hpp
+++ b/include/CL/opencl.hpp
@@ -9320,7 +9320,7 @@ inline cl_int enqueueMapSVM(
*/
template<typename T, class D>
inline cl_int enqueueMapSVM(
- cl::pointer<T, D> ptr,
+ cl::pointer<T, D> &ptr,... | 2 | 2 | 2 | [{"id": "G0", "claim": "Running the new testMapSVM on Windows (MSVC) segfaults in debug builds because even an empty cl::vector calls into the allocator (clSVMAlloc plus context retains/releases) which the test does not expect, so the test fails; the PR author proposed using an initialized std::vector like testEnqueueM... | null |
KhronosGroup__OpenCL-CLHPP__286 | KhronosGroup/OpenCL-CLHPP | 286 | defect | 83cc072d8240aad47ef4663d572a31ef27d0411a | 9eb335bd87434b59aef6fd549213d888280cae13 | expose header parameters in clCompileProgram | I use this to include dynamically generated headers.
Exposing this should offer more flexibility without breaking existing code due to the defaults. | diff --git a/include/CL/opencl.hpp b/include/CL/opencl.hpp
index ac0d4151..f69efae4 100644
--- a/include/CL/opencl.hpp
+++ b/include/CL/opencl.hpp
@@ -6703,6 +6703,9 @@ class Program : public detail::Wrapper<cl_program>
#if CL_HPP_TARGET_OPENCL_VERSION >= 120
cl_int compile(
const char* options = nullptr... | 3 | 3 | 3 | [{"id": "G0", "claim": "The new header parameters could be C++ vectors instead of raw pointer/count arguments — a vector of cl::Program for the programs and a vector of strings for the include names — as linkProgram does.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "... | null |
KhronosGroup__OpenCL-Headers__107 | KhronosGroup/OpenCL-Headers | 107 | defect | 1b2a1850f410aaaaeaa56cead5a179b5aea4918e | a910e3da291dcfa782d0e9776e867a2dbb1e3695 | Comprehensive CMake Package Config support | # Summary
This PR is part of a set of PRs implementing CMake Package Config detection support for all OpenCL repos independently and as part of the OpenCL SDK as well.
Related PRs:
- [OpenCL-CLHPP](https://github.com/KhronosGroup/OpenCL-CLHPP/pull/109)
- [OpenCL-ICD-Loader](https://github.com/KhronosGroup/OpenCL-... | diff --git a/.travis/install.sh b/.travis/install.sh
new file mode 100644
index 00000000..5ee7683c
--- /dev/null
+++ b/.travis/install.sh
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+set -e
+set -x
+
+if [[ "$(uname -s)" == 'Darwin' ]]; then
+ brew update || brew update
+ brew outdated pyenv || brew upgrade pyenv
+ brew i... | 7 | 4 | 2 | [{"id": "G0", "claim": "The package cannot be consumed as the README documents: find_package(OpenCLHeaders) fails with -DOpenCLHeaders_ROOT and, when the config is found via -DOpenCLHeaders_DIR, linking OpenCL::OpenCLHeaders fails because the imported target is named OpenCL::Headers; bashbaug would like this working be... | null |
KhronosGroup__OpenCL-Headers__123 | KhronosGroup/OpenCL-Headers | 123 | defect | d65bcc5123f93ce7c6b2a3c164fed35c423fc83d | 5699525d7aa601d0acfea4ab4def0289906b9f99 | Add testing for cl_d3d10.h, cl_d3d11.h, and cl_dx9_media_sharing.h | Adds missing testing for cl_d3d10.h, cl_d3d11.h, and cl_dx9_media_sharing.h. | diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 32d83121..505d1d88 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -15,17 +15,22 @@ function(add_header_test NAME SOURCE)
PUBLIC
-DCL_TARGET_OPENCL_VERSION=${VERSION}
)
- # ICD on Windows uses system headers, which ar... | 1 | 1 | 0 | [{"id": "G0", "claim": "A test for cl_dx9_media_sharing_intel.h should probably be added alongside the tests this PR adds for the other D3D/DX9 headers.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
KhronosGroup__OpenCL-Headers__148 | KhronosGroup/OpenCL-Headers | 148 | defect | dc461719e56d3a780743ca16f570be26c3601822 | 22a183ef1ac1422270bc8bb4d3008ec54af3fcc8 | Move cl_icd_layer.h from OpenCL-ICD-Loader to OpenCL-Headers. | As discussed in https://github.com/KhronosGroup/OpenCL-Docs/pull/521, moving the layer definition header here. | diff --git a/CL/cl_icd_layer.h b/CL/cl_icd_layer.h
new file mode 100644
index 00000000..1f53fe7f
--- /dev/null
+++ b/CL/cl_icd_layer.h
@@ -0,0 +1,61 @@
+/*
+ * Copyright (c) 2020 The Khronos Group Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compli... | 2 | 2 | 0 | [{"id": "G0", "claim": "The include guard `__ICD_LAYER_H` is a reserved identifier; since there are no backward-compatibility concerns yet, use `OPENCL_CL_ICD_LAYER_H` instead, matching the informal convention of cl_half.h and cl_icd.h.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope":... | null |
KhronosGroup__OpenCL-Headers__64 | KhronosGroup/OpenCL-Headers | 64 | defect | de78569cf67fca1a33d9c10b676978916845d364 | f363cf88019b0f1a93aefbbc4e9bb3174e24e3ec | Add tests and Travis CI config | The tests are copied from OpenCL-CTS. A small amount of additional CMake work will be needed to test on Windows as well.
Contributes to #58. | diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..e760fa61
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,16 @@
+language: c
+
+compiler:
+ - gcc
+ - clang
+
+os:
+ - linux
+ - osx
+
+script:
+ - mkdir -p build
+ - cd build
+ - cmake ../tests
+ - make
+ - make test
diff --git a/tests/CMak... | 5 | 2 | 0 | [{"id": "G0", "claim": "The test files should include the CL headers via the non-system include search path (quoted includes) instead of <...> so they do not rely on the system search path.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The duplicated h... | null |
KhronosGroup__OpenCL-SDK__50 | KhronosGroup/OpenCL-SDK | 50 | defect | ff44fc38e298ff883716c4cc67a9976eb5205570 | ae3c0b3d9d3cf979d7f90bd97b9352a1c281dcd7 | Fix UtilsCpp debug install | On Windows, Debug and Release C++ libraries aren't link compatible. If the name of a library on disk is the same for both Debug and Release builds, they can't be installed side-by-side and makes it much harder to consume them for development purposes where both versions would be needed. This PR addresses that by changi... | diff --git a/.github/workflows/presubmit.yml b/.github/workflows/presubmit.yml
index fb831cf9..9ad2e44f 100644
--- a/.github/workflows/presubmit.yml
+++ b/.github/workflows/presubmit.yml
@@ -83,10 +83,9 @@ jobs:
shell: pwsh
run: |
if ('${{ matrix.deps }}' -eq 'vcpkg') {
- git clo... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new useutil.cpp test does not build for the reviewer - something is missing or extra in the cl::util::get_context call, and this must be fixed before merging.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
KhronosGroup__OpenGL-Registry__186 | KhronosGroup/OpenGL-Registry | 186 | defect | a24f3f7a4c924fdbc666024f99c70e5b8e34c819 | 1e2f5a0d5dddae4beafb204e770fb91efa6be377 | Remove redundant type definitions in gl.xml now that khrplatform.h is required for all headers | The first commit in this branch just does what was discussed in #184, using a common definition for GLintptr / GLsizeiptr. However, now that khrplatform.h is required everywhere, the final state of the branch uses the khronos_* sized types more broadly to define GL types. Arguably there are a few cases I left out, but ... | diff --git a/api/GL/glcorearb.h b/api/GL/glcorearb.h
index ff3e9a85..22d4bc46 100755
--- a/api/GL/glcorearb.h
+++ b/api/GL/glcorearb.h
@@ -79,14 +79,15 @@ extern "C" {
#define GL_VERSION_1_0 1
typedef void GLvoid;
typedef unsigned int GLenum;
-typedef float GLfloat;
+#include <KHR/khrplatform.h>
+typedef khronos_flo... | 2 | 2 | 2 | [{"id": "G0", "claim": "The `inttypes` pseudo-type left in gl.xml looks no longer necessary since khrplatform.h already provides that logic, so it (with the related stddef pseudo-type) should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla... | null |
KhronosGroup__Vulkan-Hpp__1725 | KhronosGroup/Vulkan-Hpp | 1,725 | defect | 1620b8b0bf9daacae6394e682b2db5946230a175 | 8bbda0b75a401c06cd77118be11fea60ce8d5010 | Fix ArrayWrapper1D::operator std::string() and ArrayWrapper1D::operator std::string_view() to return a string/string_view of the correct length. | Resolves #1718. | diff --git a/snippets/ArrayWrapper1D.hpp b/snippets/ArrayWrapper1D.hpp
index ea7f681f5..c109fb506 100644
--- a/snippets/ArrayWrapper1D.hpp
+++ b/snippets/ArrayWrapper1D.hpp
@@ -46,14 +46,14 @@ class ArrayWrapper1D : public std::array<T, N>
template <typename B = T, typename std::enable_if<std::is_same<B, char>::valu... | 2 | 2 | 2 | [{"id": "G0", "claim": "Replace the unbounded strlen with a bounded variant such as strnlen, since strlen can take a variable amount of time and reads beyond the buffer (possible UB) when the char array contains no null terminator.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introdu... | null |
KhronosGroup__Vulkan-Hpp__1932 | KhronosGroup/Vulkan-Hpp | 1,932 | defect | b2c409dd3153aad120480f1f110d6207b379b0a2 | cf0446cf36da123f20957decb3963b31b6e3b2dd | Use `import std;` guarded by macro | Resolves #1815. Work in progress. | diff --git a/CMakeLists.txt b/CMakeLists.txt
index d57aac174..c5ec65ea4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,6 +37,7 @@ option( VULKAN_HPP_SAMPLES_BUILD_ONLY_DYNAMIC "Build only dynamic. Required in c
option( VULKAN_HPP_TESTS_BUILD_ONLY_DYNAMIC "Build only dynamic" OFF )
option( VULKAN_HPP_BUILD_WI... | 9 | 7 | 5 | [{"id": "G0", "claim": "Import statements in #included files are ill-formed per [cpp.import]/3, so the approach of putting the imports in the headers has a problem.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The PR hits a Catch-22: `import std;` m... | null |
KhronosGroup__Vulkan-Hpp__2244 | KhronosGroup/Vulkan-Hpp | 2,244 | defect | 114936cae293bbde4a9ff26778fb0edc9b1bacb2 | ce3ab25b92fc94f7a26ba54893e4e6d5ca9a0022 | Introduce defines VULKAN_HPP_DISPATCH_LOADER_[DYNAMIC|STATIC]_TYPE | Resolves #2111. | diff --git a/README.md b/README.md
index 08a910260..389a35ec6 100644
--- a/README.md
+++ b/README.md
@@ -57,6 +57,8 @@ The goal of the Vulkan-Hpp is to provide header only C++ bindings for the Vulkan
- [VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE](#default_dispatch_loader_dynamic_storage)
- [VULKAN_HPP_DISA... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new README table-of-contents entry for the static loader type is misnamed: at S1 it reads VULKAN_HPP_DISPATCH_LOADER_DYNAMIC_STATIC instead of VULKAN_HPP_DISPATCH_LOADER_STATIC_TYPE, and its link points to #dispatch_loader_dynamic_static instead of the section's actual #dispatch_loader_stati... | null |
KhronosGroup__Vulkan-Hpp__2277 | KhronosGroup/Vulkan-Hpp | 2,277 | defect | db104e1c01a25ffd0635bc9cfb675570a11f000e | a45914bab0e406bc955b3d2bebfb14547309cae7 | Tests: Enabled ArrayProxy test for C++Module, except for gcc <= 15 | Related to #1993
gcc 15 has an issue where it doesn't seem to respect `pragma GCC diagnostic ignored "-Winit-list-lifetime"` when importing vulkan_hpp as a module, so I've disabled the test for it. Otherwise, passing an initializer-list to construct an ArrayProxy would emit this warning. | diff --git a/tests/ArrayProxy/ArrayProxy.cpp b/tests/ArrayProxy/ArrayProxy.cpp
index 4b59f64f7..5aad95d19 100644
--- a/tests/ArrayProxy/ArrayProxy.cpp
+++ b/tests/ArrayProxy/ArrayProxy.cpp
@@ -25,11 +25,15 @@
// unknown compiler... just ignore the warnings for yourselves ;)
#endif
+#include <array>
#include <vecto... | 2 | 2 | 1 | [{"id": "G0", "claim": "The exclusion condition skips the ArrayProxy CXX_MODULE test for all upcoming gcc versions above 15, not just gcc 15, which asuessenbach asks whether that is intended.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The commen... | null |
KhronosGroup__Vulkan-Hpp__2449 | KhronosGroup/Vulkan-Hpp | 2,449 | defect | d24090c24b6cc4a731dfbd4dc4789ce974daa847 | d308888a39aed62a2e705683b5e64d4fde252bd7 | Tests: Added Debug/Release assert function for tests | This will resolve #2389.
It introduces a new `release_assert` that will also work when compiling in Release mode, which the standard `assert` did not. Pretty much exactly what was discussed in #2292. | diff --git a/tests/ArrayProxy/ArrayProxy.cpp b/tests/ArrayProxy/ArrayProxy.cpp
index 23af217b1..6a46fb211 100644
--- a/tests/ArrayProxy/ArrayProxy.cpp
+++ b/tests/ArrayProxy/ArrayProxy.cpp
@@ -26,16 +26,13 @@
// unknown compiler... just ignore the warnings for yourselves ;)
#endif
-
+#include "../test_macros.hpp"
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The newly added tests/test_macros.hpp should be run through clang-format so the release_assert macro matches the project's formatting style.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
KhronosGroup__Vulkan-Samples__487 | KhronosGroup/Vulkan-Samples | 487 | defect | 7dabb786558966030203a96a726b1d80458e43b2 | 05142f72bcaef900c81653bfe38b3c1187b3fd9c | Event Pipelines | ## Description
Builds on-top of #485.
The Event Bus allows for communication between components and the firing of one off events. It does not allow for a Sample to continually fire and react to a given sequence of events.
Pipelines aim to allow stages to continually run without the need for an Event Observer t... | diff --git a/components/events/CMakeLists.txt b/components/events/CMakeLists.txt
index 266f4b5554..c5726a97f5 100644
--- a/components/events/CMakeLists.txt
+++ b/components/events/CMakeLists.txt
@@ -19,6 +19,8 @@ vkb__register_component(
NAME events
SRC
src/input_manager.cpp
+ src/event_bus.cpp
+ src/p... | 4 | 3 | 0 | [{"id": "G0", "claim": "Using the bare term 'pipeline' for event-related classes could confuse it with Vulkan's graphics pipelines, so the pull request should use a distinct name such as 'EventPipeline'.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The... | null |
KhronosGroup__Vulkan-Samples__491 | KhronosGroup/Vulkan-Samples | 491 | defect | 7dabb786558966030203a96a726b1d80458e43b2 | b1e1ef11fbae3164d7375f689724e7d42791222c | Headless and GLFW Windows | ## Description
Adds Headless and GLFW windows back to the project. Events are forwarded though the Event Bus interface.
No need to pass Platform anymore as the Event Bus acts as the communication mechanism.
Headless and GLFW tests included. GLFW tests will not work in the CI so these require `VKB_TEST_GLFW` lo... | diff --git a/bldsys/cmake/component_helpers.cmake b/bldsys/cmake/component_helpers.cmake
index c5f1b72356..0288bd658d 100644
--- a/bldsys/cmake/component_helpers.cmake
+++ b/bldsys/cmake/component_helpers.cmake
@@ -16,10 +16,24 @@
add_custom_target(vkb_components)
+set_property(TARGET vkb_components PROPERTY FOLDE... | 2 | 2 | 1 | [{"id": "G0", "claim": "Questions why headers are added to the target explicitly in add_library and suggests setting the include directory alone should suffice.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The assert-only null check will crash if the c... | null |
KhronosGroup__Vulkan-Samples__495 | KhronosGroup/Vulkan-Samples | 495 | defect | 7dabb786558966030203a96a726b1d80458e43b2 | 0dc4fcf3a00a1d2c0fe88ffe77e7bf556bd3206d | STD Filesystem VFS | ## Description
Replaces OS specific filesystem implementations with std filesystem
This is significantly slower when it comes to enumerating files or folders. Likely due to the conversion between path and string. For now I have added a TODO for future reference | diff --git a/bldsys/cmake/test_helpers.cmake b/bldsys/cmake/test_helpers.cmake
index 54c7a3d233..bd0681e181 100644
--- a/bldsys/cmake/test_helpers.cmake
+++ b/bldsys/cmake/test_helpers.cmake
@@ -50,7 +50,8 @@ function(vkb__register_tests)
endif()
add_test(NAME ${TARGET_NAME}
- COMMAND ${TARGET_N... | 17 | 14 | 2 | [{"id": "G0", "claim": "The new helper `get_individual_directory_parts` could be given a more concise name such as `tokenize_path`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Reserving space for that many strings in the new directory-parts h... | null |
KhronosGroup__Vulkan-Samples__506 | KhronosGroup/Vulkan-Samples | 506 | defect | f810b1b6b0ca91b3b2f740d7721555beb814a2d7 | b31f2cf103f3e64f77b859b3eb6ac72b9eb0c9a2 | Replace StackErrorPtr in filesystem by exceptions | ## Description
This PR shows how exceptions could be used in the new framework -> see #505.
All functions in vfs/filesystem.hpp that previously returned a StackErrorPtr have been changed to throw an exception on failure.
Besides that, the non-modifying functions have been marked as const, and some enumeration fu... | diff --git a/bldsys/cmake/test_helpers.cmake b/bldsys/cmake/test_helpers.cmake
index 53f1742219..8a2f6d8ded 100644
--- a/bldsys/cmake/test_helpers.cmake
+++ b/bldsys/cmake/test_helpers.cmake
@@ -57,7 +57,8 @@ function(vkb__register_tests)
endif()
add_test(NAME ${TARGET_NAME}
- COMMAND ${TARGET_N... | 2 | 2 | 0 | [{"id": "G0", "claim": "The overridden functions in filesystem.hpp should keep `override` and drop the redundant `virtual` keyword.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The file name hard-coded in every error message in android_aasset_... | null |
KhronosGroup__Vulkan-Tools__860 | KhronosGroup/Vulkan-Tools | 860 | defect | a01cfc0b78dc7a2d14913b33b53a7420fabd73a3 | 34c208f00c530b0164728d106150513bbadfbf00 | icd: Add VkPhysicalDeviceDriverProperties | This commit adds support for the VkPhysicalDeviceDriverProperties struct in the output of vkGetPhysicalDeviceProperties2. This is useful for users of Mock ICD wishing to know the version of MockICD used. The driverInfo field is used for this purpose and contains the git branch & tag info data. The use of Git in CMake i... | diff --git a/CMakeLists.txt b/CMakeLists.txt
index 57d05a398..d451176d3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -139,6 +139,29 @@ endif()
# Default to using the static CRT
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
+# Find the Git branch & tag info for use in Mock ICD
+set(G... | 1 | 1 | 1 | [{"id": "G0", "claim": "The C++ code requires GIT_BRANCH_NAME and GIT_TAG_INFO to be defined while the CMake code stays permissive when git or .git is absent, so builds that do not run the repo's CMake (the gn build) will fail to compile; the C++ code should match the CMake code's permissive fallback.", "category": "co... | null |
KhronosGroup__Vulkan-Utility-Libraries__141 | KhronosGroup/Vulkan-Utility-Libraries | 141 | defect | 85f06aeb61d4c80a72904fbf2c2c7fe10fd15c73 | fd6af7e29f5e3b0c13429e8ce5b1e845688c4275 | cmake: Only create 1 test executable | Simplifies the code and makes adding Android testing much easier.
Since you only have to deploy 1 binary. | diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 2094b778..fa49d7c1 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -9,8 +9,24 @@ find_package(magic_enum REQUIRED CONFIG)
include(GoogleTest)
+add_executable(vul_tests)
+
add_subdirectory(layer)
-add_subdirectory(generated)
-add_subdir... | 1 | 1 | 0 | [{"id": "G0", "claim": "The per-directory tests/layer/CMakeLists.txt seems unnecessary and everything should just be put into tests/CMakeLists.txt, as is done for the other libraries.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
KhronosGroup__Vulkan-Utility-Libraries__22 | KhronosGroup/Vulkan-Utility-Libraries | 22 | defect | 776604e3dda3a2c32c648d1ca4230f2af5bdcaa6 | 83637010a97eed7891c4908b27bf3866a87f7e2a | layer: avoid conflict with validation layer setting extension | The validation layer is already using VK_STRUCTURE_TYPE_INSTANCE_LAYER_SETTINGS_EXT with a specific value. We need a different value and name to avoid the layer setting library to interpret some structure which are specificed differently causing a segfault. | diff --git a/include/vulkan/layer/vk_layer_settings.h b/include/vulkan/layer/vk_layer_settings.h
index 53b662b..eafc1a8 100644
--- a/include/vulkan/layer/vk_layer_settings.h
+++ b/include/vulkan/layer/vk_layer_settings.h
@@ -30,7 +30,7 @@ extern "C" {
typedef void *(*VL_LAYER_SETTING_LOG_CALLBACK)(const char *pSetting... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a NOTE comment that VK_STRUCTURE_TYPE_MAX_ENUM - 42 is used by the validation layers, so the choice of -43 for VK_STRUCTURE_TYPE_LAYER_SETTINGS_EXT is documented and the conflict is avoided.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
KhronosGroup__Vulkan-Utility-Libraries__261 | KhronosGroup/Vulkan-Utility-Libraries | 261 | defect | 249718532de66af4496b7fe886f951d657395884 | 562754fed13e1fc36c76e0ccfe43d1eeab65fdd7 | formats: Add vkuFormatTexelBlockSize | `Element` is not a real spec term, it is a `Texel` inside a `Texel Block`
This adds `vkuFormatTexelBlockSize` and deprecates `vkuFormatElementSize`/`vkuFormatElementSizeWithAspect` as they should not be used.
The core issues is there are various places (like vertex inputs) where we use Formats and want the texel ... | diff --git a/include/vulkan/utility/vk_format_utils.h b/include/vulkan/utility/vk_format_utils.h
index d1310bb7..12adc4d0 100644
--- a/include/vulkan/utility/vk_format_utils.h
+++ b/include/vulkan/utility/vk_format_utils.h
@@ -270,12 +270,19 @@ inline VkExtent3D vkuFormatTexelBlockExtent(VkFormat format);
// Returns t... | 2 | 1 | 0 | [{"id": "G0", "claim": "Remove the deprecated vkuFormatElementSize and vkuFormatElementSizeWithAspect functions in this change instead of keeping them with deprecation comments.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a comment to the new vkuF... | null |
KhronosGroup__Vulkan-Utility-Libraries__68 | KhronosGroup/Vulkan-Utility-Libraries | 68 | defect | d414e86858986b0479324c706fb37a8bfb09490b | 68222e6027eb911ce31222b3267d475070903e9b | tests: Ensure vk_enum_string_helper.h is C compatible | Added ifdef checks for backcompat
Intended to properly address these issue(s):
- https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/3233
- https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/1211 | diff --git a/include/vulkan/vk_enum_string_helper.h b/include/vulkan/vk_enum_string_helper.h
index 6e6c0f02..f03241b6 100644
--- a/include/vulkan/vk_enum_string_helper.h
+++ b/include/vulkan/vk_enum_string_helper.h
@@ -7,27 +7,10 @@
// SPDX-License-Identifier: Apache-2.0
// NOLINTBEGIN
#pragma once
+#ifdef __cpluspl... | 1 | 1 | 1 | [{"id": "G0", "claim": "Wrapping 64-bit bitmask string functions in #ifdef __cplusplus so they disappear in C builds feels very wrong; replace the switch statement with an if-elseif chain so these functions work in C too.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
KhronosGroup__Vulkan-ValidationLayers__10446 | KhronosGroup/Vulkan-ValidationLayers | 10,446 | defect | 4cf7390eb853a54e7f9ae1c948ac09995ed8b8e5 | f1b477004eee2ca4d095846683d5acf48bda468a | Only check 02689 if format has depth | Can't have `VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT` with a stencil only format | diff --git a/layers/core_checks/cc_drawdispatch.cpp b/layers/core_checks/cc_drawdispatch.cpp
index c0adf9645ab..914585ab33a 100644
--- a/layers/core_checks/cc_drawdispatch.cpp
+++ b/layers/core_checks/cc_drawdispatch.cpp
@@ -18,6 +18,7 @@
*/
#include <vulkan/vk_enum_string_helper.h>
+#include <vulkan/utility/vk_fo... | 1 | 1 | 0 | [{"id": "G0", "claim": "AttachmentInfo::IsDepth() wrongly treats a stencil-only depth-stencil attachment as having depth, and the fix should be made inside IsDepth() itself (per the suggested implementation) so the mistake cannot happen again at other call sites.", "category": "correctness", "verdict": "supported", "pr... | null |
KhronosGroup__Vulkan-ValidationLayers__10597 | KhronosGroup/Vulkan-ValidationLayers | 10,597 | defect | c2267d62725e3fed78272afc8fc9d28d08a4be24 | f20b6b19fd5e4d83e8df5b6734ec6f7400bdfb39 | Validate min and max depth bounds | From: https://gitlab.khronos.org/vulkan/vulkan/-/merge_requests/7614 | diff --git a/layers/core_checks/cc_cmd_buffer_dynamic.cpp b/layers/core_checks/cc_cmd_buffer_dynamic.cpp
index 93182401577..870f3ce8af0 100644
--- a/layers/core_checks/cc_cmd_buffer_dynamic.cpp
+++ b/layers/core_checks/cc_cmd_buffer_dynamic.cpp
@@ -1609,6 +1609,10 @@ bool CoreChecks::PreCallValidateCmdSetDepthBounds(Vk... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new vkCmdSetDepthBounds min>max LogError should anchor its location at minDepthBounds (error_obj.location.dot(Field::minDepthBounds)) instead of the generic command location.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
KhronosGroup__Vulkan-ValidationLayers__10718 | KhronosGroup/Vulkan-ValidationLayers | 10,718 | defect | aef0ba183b6478e5030a7546b83e6929c39a542e | 95e70710a53097a176a5c2c1350ad71599e964ff | Validate dedicated memory with wrong object | Closes #10702 | diff --git a/layers/core_checks/cc_device_memory.cpp b/layers/core_checks/cc_device_memory.cpp
index e5644353f45..df40e089f3e 100644
--- a/layers/core_checks/cc_device_memory.cpp
+++ b/layers/core_checks/cc_device_memory.cpp
@@ -968,6 +968,14 @@ bool CoreChecks::ValidateBindBufferMemory(VkBuffer buffer, VkDeviceMemory ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The buffer bind error message should say the dedicated image handle is not VK_NULL_HANDLE, wording the suggestion block applies to the line added in S1 (and the parallel image bind message shares it).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}... | null |
KhronosGroup__Vulkan-ValidationLayers__11245 | KhronosGroup/Vulkan-ValidationLayers | 11,245 | defect | 6dbf6cf2870e5c00c235614ce51a3e4a70bfdb46 | 5d9b6342a4b0764006a06dbc6820c6ec89f53a43 | layers: Add VK_QCOM_multiview_per_view_viewports | adds `VK_QCOM_multiview_per_view_viewports` VUs
there should be dynamic rendering VUs, but waiting on https://gitlab.khronos.org/vulkan/vulkan/-/merge_requests/7892 to add them | diff --git a/layers/core_checks/cc_pipeline_graphics.cpp b/layers/core_checks/cc_pipeline_graphics.cpp
index 0602cef96e3..6b56bdff7f8 100644
--- a/layers/core_checks/cc_pipeline_graphics.cpp
+++ b/layers/core_checks/cc_pipeline_graphics.cpp
@@ -106,6 +106,10 @@ bool CoreChecks::ValidateGraphicsPipeline(const vvl::Pipel... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new viewport/scissor validation assumes a subpass view_mask cannot be 0; if it is 0, MostSignificantBit(0) yields uint32_max and the layer will report a confusing error.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
KhronosGroup__Vulkan-ValidationLayers__11298 | KhronosGroup/Vulkan-ValidationLayers | 11,298 | defect | 4221dc0e9d1d336d8d762d300b5038a7d30288d8 | 81e8cc4231ced800234d18cbd685d7a91bcdd0e9 | layers: Add layers and tests for VUs 09921, 09917, 09870 | - storing constants in spirv to `EntryPoint::datagraph_constants`
- rearranged layers (`ValidateDataGraphPipelineShaderModuleSpirv`), unit tests and related spirv code to process constants _dynamically_, not _statically_ as previously done (incorrect)
- added new checks and tests | diff --git a/layers/core_checks/cc_data_graph.cpp b/layers/core_checks/cc_data_graph.cpp
index 05e4891da58..f37d1ba5fad 100644
--- a/layers/core_checks/cc_data_graph.cpp
+++ b/layers/core_checks/cc_data_graph.cpp
@@ -155,15 +155,24 @@ bool CoreChecks::ValidateTensorSemiStructuredSparsityInfo(VkDevice device, const
... | 8 | 3 | 1 | [{"id": "G0", "claim": "ValidateDataGraphPipelineShaderModuleSpirv is getting big and should be split into ValidateDataGraphPipelineShaderModuleConstants and ValidateDataGraphPipelineShaderModuleResources; the author offers to do it now or in the next PR.", "category": "maintainability", "verdict": "uncertain", "priori... | null |
KhronosGroup__Vulkan-ValidationLayers__11407 | KhronosGroup/Vulkan-ValidationLayers | 11,407 | defect | c82a2edfd152ea6c1006973660a8104a867dc5ef | 13cc427eca186ca330db63b312ec6731cc4fac2b | layers: Check if VkPhysicalDeviceFeatures2 found | closes https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/11390 | diff --git a/layers/vulkan/generated/feature_not_present.cpp b/layers/vulkan/generated/feature_not_present.cpp
index a467362a40c..88502ce5194 100644
--- a/layers/vulkan/generated/feature_not_present.cpp
+++ b/layers/vulkan/generated/feature_not_present.cpp
@@ -3,8 +3,8 @@
/*******************************************... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment added at line 35 ('There is a chance the user passed in only other feature structs') may add confusion rather than help when just reading the code, since the code there looks self-documenting (a null check).", "category": "documentation", "verdict": "supported", "priority": "P3", "sc... | null |
KhronosGroup__Vulkan-ValidationLayers__11432 | KhronosGroup/Vulkan-ValidationLayers | 11,432 | defect | ca32d9ef4e8a43c0e24b1979dfa2fe2f5479d6d5 | 2471684738279981edab31e143e7de2ef0ed5dce | Add missing present timing info VUs | Closes #11417 | diff --git a/layers/core_checks/cc_state_tracker.cpp b/layers/core_checks/cc_state_tracker.cpp
index f3b05529e8d..f36a7ad6249 100644
--- a/layers/core_checks/cc_state_tracker.cpp
+++ b/layers/core_checks/cc_state_tracker.cpp
@@ -1,6 +1,6 @@
-/* Copyright (c) 2015-2025 The Khronos Group Inc.
- * Copyright (c) 2015-2025 ... | 3 | 3 | 2 | [{"id": "G0", "claim": "In manual_PreCallValidateGetSwapchainTimeDomainPropertiesEXT the std::string plus if/else used to build the message should be a single const char* conditional expression.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The... | null |
KhronosGroup__Vulkan-ValidationLayers__11491 | KhronosGroup/Vulkan-ValidationLayers | 11,491 | defect | df738a2720f1c3f227f6196915472465e200c2fd | 17d2435af0a6c6ca79603d31cddbba2d5d3de2b7 | layers: Add 04880 | closes https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/11378 | diff --git a/layers/core_checks/cc_ray_tracing.cpp b/layers/core_checks/cc_ray_tracing.cpp
index c0292473436..017be190643 100644
--- a/layers/core_checks/cc_ray_tracing.cpp
+++ b/layers/core_checks/cc_ray_tracing.cpp
@@ -1788,6 +1788,13 @@ bool CoreChecks::PreCallValidateCmdWriteAccelerationStructuresPropertiesKHR(
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new VUID-vkCmdWriteAccelerationStructuresPropertiesKHR-query-04880 error message should print all the info, i.e. include firstQuery in the logged text (the suggestion reformats the message to start with firstQuery and adds it as a format argument).", "category": "usability", "verdict": "supp... | null |
KhronosGroup__Vulkan-ValidationLayers__11581 | KhronosGroup/Vulkan-ValidationLayers | 11,581 | defect | bee5e6c69a08d8f27b277b13fc715384428b2743 | 7215968512d0022628e18e79ed1ab951ea9f5e22 | User-configurable gpuav indices_count | This can be used by apps using large amounts of draw commands to not run into the internal limit.
I have a test app that happens to end up using 8194 draw commands. The validation layers output an error because it's running into the internal invalid_index_command limit of 8191.
What else would be needed to get some... | diff --git a/layers/gpuav/core/gpuav_constants.h b/layers/gpuav/core/gpuav_constants.h
index 79a042ffaf3..6236598e029 100644
--- a/layers/gpuav/core/gpuav_constants.h
+++ b/layers/gpuav/core/gpuav_constants.h
@@ -23,12 +23,6 @@ namespace gpuav {
// constant
namespace cst {
-// Number of indices held in the buffer u... | 7 | 7 | 4 | [{"id": "G0", "claim": "When the tracking limit is hit, the layer's message should tell the user how to raise the setting to a higher value, as the DebugPrintf warning does.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A test that does over 8k d... | null |
KhronosGroup__Vulkan-ValidationLayers__11584 | KhronosGroup/Vulkan-ValidationLayers | 11,584 | defect | 971893efdc1b33aebc1e59e8b606c2ef048a0d3b | 73a5a2099d28fad8ad8d1afc3585e06cb1e28c79 | layers: Fix PTLAS descriptor handling and overlap validation | tests: Fix some VUIDs and added more PTLAS coverage | diff --git a/layers/best_practices/bp_pipeline.cpp b/layers/best_practices/bp_pipeline.cpp
index 9fc65f03470..7af365b9ac9 100644
--- a/layers/best_practices/bp_pipeline.cpp
+++ b/layers/best_practices/bp_pipeline.cpp
@@ -416,6 +416,7 @@ bool BestPractices::PreCallValidateCreatePipelineLayout(VkDevice device, const V
... | 4 | 2 | 2 | [{"id": "G0", "claim": "The unconditionally inserted VK_DESCRIPTOR_TYPE_PARTITIONED_ACCELERATION_STRUCTURE_NV in TypeToDescriptorTypeSet should be removed: without CapabilityRayTracingClusterAccelerationStructureNV there is zero chance a module can be mapped to PTLAS, and the capability-gated insert three lines down al... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.