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
solana-program__token-2022__913
solana-program/token-2022
913
defect
de38c63590f635bee175fd38e0877c863e77cc49
a7cc533df2d48d25dff50f9aadc8424ec00afc5c
[program] Require that confidential balance is zero before a mint can be closed
#### Problem When the `ConfidentialMintBurn` extension is enabled, the mint account maintains both a public `supply` and a `confidential_supply` encrypted under ElGamal. However, the SPL Token program does not verify that the `confidential_supply` equals zero before allowing the mint account to be closed. As a re...
diff --git a/clients/rust-legacy/tests/confidential_mint_burn.rs b/clients/rust-legacy/tests/confidential_mint_burn.rs index 71c651f1a..5e1374550 100644 --- a/clients/rust-legacy/tests/confidential_mint_burn.rs +++ b/clients/rust-legacy/tests/confidential_mint_burn.rs @@ -1095,3 +1095,100 @@ async fn pause_confidential...
1
1
0
[{"id": "G0", "claim": "After minting and then burning tokens, confidential_supply will most likely not be an identically zero ciphertext, so closable() would keep rejecting a mint whose true balance is zero, and it should be clarified (e.g. in a comment) that RotateSupplyElGamalPubkey can reset the supply ciphertext t...
null
solana-program__token-2022__92
solana-program/token-2022
92
defect
caf79c528405591b8fe07f3d535956cad7aa3687
652cf52c7b48c2568e62cc0af4771c88d3c23035
[rust-legacy-cli] Add pausable extension
#### Problem The rust legacy cli does not yet have support for the pausable extension. #### Summary of Changes Added support for the pausable extension. I think the changes should be pretty straightforward. However, I realized that the solana account-decoder in the monorepo does not yet have support for the pausab...
diff --git a/clients/cli/src/clap_app.rs b/clients/cli/src/clap_app.rs index 814c1c18c..28965c36f 100644 --- a/clients/cli/src/clap_app.rs +++ b/clients/cli/src/clap_app.rs @@ -168,6 +168,8 @@ pub enum CommandName { ApplyPendingBalance, UpdateGroupAddress, UpdateMemberAddress, + Pause, + Resume, }...
2
2
0
[{"id": "G0", "claim": "Rename the create-token argument `pausable` (`--pausable`) to `enable_pause` (`--enable-pause`) for consistency.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Alias the `pause_authority` argument to `owner` on the Pause ...
null
solana-program__token-2022__93
solana-program/token-2022
93
defect
caf79c528405591b8fe07f3d535956cad7aa3687
28eff4fb9256d7bf97b3c015387c240eda9289a1
[rust-legacy-cli] Add scaled ui amount extension
#### Problem The rust legacy cli does not yet have support for the scaled ui amount extension. #### Summary of Changes Added support for the scaled ui amount extension. - I think everything should be straightforward. One exception is how the unix timestamp should be taken in as input and how it should be printed...
diff --git a/clients/cli/src/clap_app.rs b/clients/cli/src/clap_app.rs index 814c1c18c..e9fb7e55d 100644 --- a/clients/cli/src/clap_app.rs +++ b/clients/cli/src/clap_app.rs @@ -168,6 +168,7 @@ pub enum CommandName { ApplyPendingBalance, UpdateGroupAddress, UpdateMemberAddress, + UpdateUiMultiplier, }...
8
8
1
[{"id": "G0", "claim": "Rename the create-token arg from `ui_multiplier`/`--ui-multiplier` to `ui_amount_multiplier`/`--ui-amount-multiplier` so the CLI is more verbose and consistent.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the `U...
null
solana-program__token-2022__959
solana-program/token-2022
959
defect
998eecb3de327a7bc2b1f1a31724e2acd4e33fea
6a9ae30f0f827d8c3fd1344e6e69a2f6f2c0553e
program: Support permissioned burn in confidential-mint-burn
#### Problem The permissioned burn extension is supposed to require a signature from the authority in order to perform a burn, but the confidential-mint-burn extension doesn't honor it. #### Summary of changes Similar to normal burn, add a permissioned version of confidential-burn, and respect the mint configu...
diff --git a/clients/rust-legacy/src/token.rs b/clients/rust-legacy/src/token.rs index 51ac34bab..3abafddf6 100644 --- a/clients/rust-legacy/src/token.rs +++ b/clients/rust-legacy/src/token.rs @@ -3499,6 +3499,42 @@ where .await } + /// Confidentially burn tokens with permissioned burn authority + ...
1
1
1
[{"id": "G0", "claim": "The account-list docs for the new confidential burn instructions (both single-authority and multisignature sections) omit the permissioned burn authority account, even though the constructor logic handles it.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "intr...
null
solana-program__token-metadata__57
solana-program/token-metadata
57
defect
5327d4b7492d6d22306d43db34513ee6afe4bf5b
179e7c1097777da32c7eb0d975245ccde5781a19
no-std friendly interface
No std updates to the interface crate: - Update `solana-pubkey` to `solana-address` (it was an alias anyway) - Replaces use of `spl-pod` with `solana-zero-copy` - Switch `OptionalNonZeroPubkey` usage with `solana-nullable`'s `MaybeNull`. See inline note on serde serialization.
diff --git a/.gitignore b/.gitignore index ad13a7e..3e38c50 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ node_modules test-ledger dist +.idea diff --git a/Cargo.lock b/Cargo.lock index c27b724..2bc6884 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -382,7 +382,7 @@ dependencies = [ "proc-macro-error2", ...
3
2
1
[{"id": "G0", "claim": "The hand-written `maybe_null_address_str` serde shim added by this PR deserves reconsideration: discuss whether to keep backwards compatibility on the option serialization, and implement the serde customization at a lower/shared level (e.g. `MaybeNull`) instead of a manual module in this crate."...
null
solana-program__token__120
solana-program/token
120
defect
4f76dd72e36833a1eb0f9521c77acfbea35cf074
928d7db1d4f55ac835c67fba4f2af9580951bfae
p-token: Add delegate support to `unwrap_lamports`
### Problem Currently it is not possible to use a delegate to `unwrap_lamports`. ### Solution Add delegate support to `unwrap_lamports`. The delegate implementation works similarly to how it works on `transfer`: * delegates can only unwrap up to the amount delegated * when the delegated amount reaches 0, the...
diff --git a/pinocchio/interface/src/instruction.rs b/pinocchio/interface/src/instruction.rs index 80b44c15..3bd85017 100644 --- a/pinocchio/interface/src/instruction.rs +++ b/pinocchio/interface/src/instruction.rs @@ -504,10 +504,17 @@ pub enum TokenInstruction { /// /// Accounts expected by this instruction...
1
1
0
[{"id": "G0", "claim": "The test function `unwrap_lamports_from_multisig` is misleading because it unwraps lamports from a multisig-owned account, not from the multisig itself, and should be renamed (e.g. to `unwrap_lamports_with_multisig_owner`).", "category": "maintainability", "verdict": "supported", "priority": "P3...
null
solana-program__token__121
solana-program/token
121
defect
4f76dd72e36833a1eb0f9521c77acfbea35cf074
a997ffd3f5876b373785f75baf635dab7a82c68a
p-token: Add self-revoke delegate
### Problem Currently only the account owner is able to revoke a delegate, although there are use-cases where it would be interesting for a delegate to revoke itself. ### Solution Update the `revoke` implementation to allow a delegate to revoke itself.
diff --git a/pinocchio/interface/src/instruction.rs b/pinocchio/interface/src/instruction.rs index 80b44c15..8ef3dbd8 100644 --- a/pinocchio/interface/src/instruction.rs +++ b/pinocchio/interface/src/instruction.rs @@ -124,11 +124,11 @@ pub enum TokenInstruction { /// /// * Single owner /// 0. `[writ...
2
1
0
[{"id": "G0", "claim": "The delegate check would be slightly clearer if the condition used `source_account.delegate()` directly instead of comparing `source_account.delegate()` with the authority key, though the reviewer notes there is no actual difference.", "category": "maintainability", "verdict": "opposed", "priori...
null
solana-program__token__132
solana-program/token
132
defect
dab16aaef3b9186abd6ab08cc7203224d8d05d63
07047b8c446c7164bbf98968c77340a4498b20ff
program: Sync native updates rent exempt reserve
#### Problem This is the p-token version of https://github.com/solana-program/token-2022/pull/1006. The current rent-exempt reserve at the time of account creation is stored in the `is_native` field of a token account. When rent is decreased, or ever increased, this value will be incorrect, leading to an incorrec...
diff --git a/pinocchio/program/README.md b/pinocchio/program/README.md index a7e6022a..3a46d1bb 100644 --- a/pinocchio/program/README.md +++ b/pinocchio/program/README.md @@ -23,3 +23,7 @@ was built against tag [`program@3.5.0`](https://github.com/solana-program/token/releases/tag/program%40v3.5.0), commit [`4d5ff30...
1
1
1
[{"id": "G0", "claim": "Add a test that uses a rent sysvar with a lower/higher lamports-per-byte value to simulate the situation where the minimum rent requirement changes between account creation and sync_native.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
solana-program__token__137
solana-program/token
137
defect
e7fe2e31c1b1f6c437ba3bb8911b687976d22e87
f04d72330e87c16902202824832dee67dbcd80ef
p-token: Add optional rent sysvar account
### Problem PR #132 add the requirement of using the Rent sysvar in `SyncNative` to update the current rent-exempt reserve. This led to an increase in CUs from `61` to `207`. ### Solution Allow the Rent sysvar account to be provided, which reduces the current CUs from `207` to `90`. * <del>Note: This is in ...
diff --git a/pinocchio/interface/src/instruction.rs b/pinocchio/interface/src/instruction.rs index be946987..f74ac950 100644 --- a/pinocchio/interface/src/instruction.rs +++ b/pinocchio/interface/src/instruction.rs @@ -383,8 +383,14 @@ pub enum TokenInstruction { /// /// Accounts expected by this instruction:...
4
3
0
[{"id": "G0", "claim": "The doc comment may not be the best way to specify an optional account in the docs.", "category": "documentation", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add another version of the sync_native function that includes the sysvar account, so the test ...
null
solana-program__token__36
solana-program/token
36
defect
3daf44899f0bd71c879d28dffdfb788dd944f3c5
6ee62a434225200e3e6490f627c68ec5fc1fb589
p-token: Add `withdraw_excess_lamports` instruction
### Problem As part of the migration to `p-token`, it will be proposed to add the `withdraw_excess_lamports` instruction – this is the same instruction that already exists in SPL Token-2022. ### Solution This PR updates the `TokenInstruction` enum to add a `WithdrawExcessLamports` variant with the same value a...
diff --git a/Cargo.lock b/Cargo.lock index f30c2e0f..bcdc9550 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2840,11 +2840,13 @@ name = "pinocchio-token-program" version = "0.0.0" dependencies = [ "assert_matches", + "num-traits", "pinocchio", "pinocchio-log", "solana-program-test", "solana-sdk", "spl-token...
4
1
0
[{"id": "G0", "claim": "The reviewer wonders whether the widespread #[inline(always)] annotations could actually make things worse (larger binary with no CU benefit) and asks what their impact is.", "category": "performance", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Inste...
null
solana-program__token__39
solana-program/token
39
defect
90152b12d0993a0052bcff169405de56c7d63c1d
80340061fefc0bc1cca021e2d2158998be2fce3f
p-token: Add `spl-token` test fixtures
This PR adds a script to run `spl-token` fixtures against the `p-token` program (342 fixtures in total).
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 52cfd078..b5437ae4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -151,6 +151,35 @@ jobs: path: ./**/*.so key: ${{ runner.os }}-builds-${{ github.sha }} + build_ptoken: + name: Build p-tok...
4
3
0
[{"id": "G0", "claim": "These fixture-based CI tests should be called \"conformance\" rather than \"Test Fixtures\" (a nit, explicitly left to the author's discretion).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Use the mollusk change the re...
null
solana-program__token__87
solana-program/token
87
defect
3fff4ceb3a4ed5b20ca191d0ea4bd3736a306748
82fa3b543a8f02579fab322bb5f570aa02faf33b
p-token: Add `unwrap_lamports` instruction
### Problem In order to transfer out lamports from native SOL accounts, currently it is necessary to create and close ATAs or token accounts all the time. ### Solution This PR adds a new `unwrap_lamports` instruction that allows transferring out lamports directly to any destination account. This eliminates th...
diff --git a/p-interface/src/instruction.rs b/p-interface/src/instruction.rs index 7ebcc074..630393cf 100644 --- a/p-interface/src/instruction.rs +++ b/p-interface/src/instruction.rs @@ -498,6 +498,21 @@ pub enum TokenInstruction { /// 3. `..+M` `[signer]` M signer accounts. WithdrawExcessLamports = 38, +...
8
6
1
[{"id": "G0", "claim": "The UnwrapLamports discriminator must be set to at least 45 instead of the implicit 39, because token-2022 already uses discriminator values up into that range for other instructions.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla...
null
solana-program__token__98
solana-program/token
98
defect
75116550519a9ee3fdfa6c819aca91e383fffa39
b93bb2c422990df1b7c8abe99421907b186bb3be
p-token: Add ui amount precision tests
### Problem In practice, mints can have up to `u8::MAX` precision. Both `AmountToUiAmount` and `UiAmountToAmount` use the decimal value as precision to convert an amount to/from a string representation. ### Solution This PR adds tests to specifically check the behaviour when the maximum precision value is used...
diff --git a/Cargo.lock b/Cargo.lock index db8e89d4..3076777e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3038,20 +3038,17 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "pinocchio" version = "0.9.2" -source = "registry+https://github.com/rust-lang/crates.io-inde...
1
1
1
[{"id": "G0", "claim": "The git (branch) dependencies on pinocchio should be removed before approval — the reviewer will approve once the PR no longer depends on git crates.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
solanum-ircd__solanum__41
solanum-ircd/solanum
41
defect
1a16d47edba8606b014a53dd3203658d5432fdef
0a5e893c867e502775b0990077de7c3fb773005a
Fix a corner case of superset matching
The algorithm we're using gets stuck if it has a ? and can only see a * to feed to it, even if it could skip over that * and consume a character following it. Remedy this by rearranging the input so * always precedes ? in runs of wildcards, so when we're matching ? we know we can skip things.
diff --git a/.gitignore b/.gitignore index c1043028b..9cd2a5146 100644 --- a/.gitignore +++ b/.gitignore @@ -57,6 +57,8 @@ ircd/version.c.last ssld/ssld wsockd/wsockd tests/core +tests/hostmask1 +tests/match1 tests/msgbuf_parse1 tests/msgbuf_unparse1 tests/rb_dictionary1 diff --git a/ircd/match.c b/ircd/match.c i...
2
2
0
[{"id": "G0", "claim": "Remove the redundant `|| swap == p` condition from the '*' case of match_arrange_stars.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A comment should explain what property match_arrange_stars imposes on its outputs.", "...
null
solidiquis__erdtree__47
solidiquis/erdtree
47
defect
ead30d7e4626e3454aa09cb3c552ec8b412fa208
3fc914dc407c0f181da64fac228fa8576194e27b
Add option to suppress size from being printed
Closes #8
diff --git a/README.md b/README.md index 5c28d9ff..418a1e8c 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,7 @@ Options: -l, --level <NUM> Maximum depth to display -n, --scale <NUM> Total number of digits after the decimal to display for disk usage [default: 2] -s, --sort <SORT> ...
2
2
1
[{"id": "G0", "claim": "The suppress-size help text should be reworded to \"Omit disk usage from output; disabled by default\" in both src/cli.rs and README.md.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The suppress_size test should pass the ...
null
solidiquis__erdtree__61
solidiquis/erdtree
61
defect
bc70dd86833131112b923d25de285994f388fdb2
9feab2db55799d92fc7663c993ce7af215868ad9
Add option to print size on the left
Added option to left-align disk usage ``` --size-left Show the size on the left, decimal aligned ```
diff --git a/src/render/context/mod.rs b/src/render/context/mod.rs index 7cd1e3c8..6def5fe7 100644 --- a/src/render/context/mod.rs +++ b/src/render/context/mod.rs @@ -97,6 +97,10 @@ pub struct Context { #[arg(long)] pub suppress_size: bool, + /// Show the size on the left, decimal aligned + #[arg(long...
4
2
1
[{"id": "G0", "claim": "There is no test covering --size-left combined with a non-default precision.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The functions whose #[inline] attributes this pull request removed (extend_output, traverse) may benefit ...
null
solidity-parser__parser__105
solidity-parser/parser
105
defect
bb79aae09bc2d9a7f20b5045d9d9016ead883034
114907850188585aae62858e57e1bfeafa2edf6f
Feature: return comments with the parser
added the `comments` option and when it's set to `true`, the AST will have an extra property with an array of all of the comments within the source. Also fixed a bug where the `loc` of a token will display the wrong `end` property if the token contained new lines. Once this is published `prettier-plugin-solidity` w...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 32791f5..60c5e06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# Unreleased + +- Parser function now has an option to return comments as part of the parsed result. (#105) + # 0.17.0 - Using the official typescript target for antlr4. (#103) diff --git a/...
3
2
0
[{"id": "G0", "claim": "The BaseComment/BlockComment/LineComment hierarchy is redundant since the subtypes add no fields, and should be collapsed into the single suggested `Comment` interface.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In loc(), pref...
null
solidjs__solid__1116
solidjs/solid
1,116
defect
cf51350b9eea4a27e3c3a8459caa6a75c36a4894
8b1cebd1b69831935be0b873064323cd6cc3c4f4
Fix `Dynamic` types
<!-- Thanks for submitting a pull request! We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory. Before submitting a pull request, please make sure the following is done: 1. Fork ...
diff --git a/packages/solid/web/src/index.ts b/packages/solid/web/src/index.ts index 478d1aa68..f2ff0afd4 100644 --- a/packages/solid/web/src/index.ts +++ b/packages/solid/web/src/index.ts @@ -99,9 +99,20 @@ export function Portal<T extends boolean = false, S extends boolean = false>(pro return marker; } -type Dy...
5
5
3
[{"id": "G0", "claim": "The new DynamicBaseProps conditional type duplicates the existing ComponentProps helper, so the PR should use ComponentProps instead, deciding whether ComponentProps itself should accept `string & {}` (returning `{ [x: string]: unknown }` for unknown web components) or whether that parsing is ha...
null
solidjs__solid__1286
solidjs/solid
1,286
defect
e5a879caa2f92e6f9625db9d511fd4b1b3642501
7fd54dcd5de94754f98dd9263fa020e09563edd6
Solid v1.6
## Summary This release mainly focuses on better support for partial hydration and for spreads. We've extended partial hydration support to skip serializing server-only resources, and added support for Context API. For spreads we've fixed native DOM elements not properly merging updates. We also reduced the need for...
diff --git a/CHANGELOG.md b/CHANGELOG.md index a2b7c217c..00f8d5460 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,79 @@ # Changelog +## 1.6.0 - 2022-10-x + +Solid v1.6 doesn't bring a ton of new features but brings some big improvements in existing ones. + +### Highlights + +#### Official Partial Hydration...
1
1
0
[{"id": "G0", "claim": "Fix the typo \"Islands cana then\" in the CHANGELOG.md sentence about hydrating Islands serializing their props.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
solidjs__solid__2589
solidjs/solid
2,589
defect
a0524c066d8f105e0c6c7b971490b162e9e552b1
da37e2d1bf3202d83b6845aa5499a05e7ed7c5c3
fix: lazily create inTransition external source to prevent use-after-dispose
Fixes #2275 ## Problem When using `enableExternalSource` with transitions and a suspense context, the `inTransition` external source is created eagerly during computation setup and disposed after the transition promise resolves. If a subsequent transition starts later, the code tries to call `.track()` on the already...
diff --git a/.changeset/fix-external-source-transition.md b/.changeset/fix-external-source-transition.md new file mode 100644 index 000000000..241d0022b --- /dev/null +++ b/.changeset/fix-external-source-transition.md @@ -0,0 +1,5 @@ +--- +"solid-js": patch +--- + +fix: lazily create inTransition external source to pre...
1
1
0
[{"id": "G0", "claim": "The setTimeout(50) wait added in the new test can flake on slow CI; the test should instead await the same completion channel the transition already exposes.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
solidjs__solid__763
solidjs/solid
763
defect
805aa70f4b92b447081f6eaa1acab353f905d21a
3222679e07c6f39a8634591fd2dbed3ee237b87f
refactor(store): improve store types
store.ts `NotWrappable` now consists of all non-object/array types. Simplified `DeepReadonly<T>`. Simplified `StoreNode`. `Store<T>` is now an alias for `DeepReadonly<T>`. Refactored `Part`, `Next`, and `SetStoreFunction` to improve their performance. Changed `NullableNext` to `Next`, and `Next` to `WrappableNext...
diff --git a/packages/solid/store/src/index.ts b/packages/solid/store/src/index.ts index 7d3631f77a..65f1e3e694 100644 --- a/packages/solid/store/src/index.ts +++ b/packages/solid/store/src/index.ts @@ -9,8 +9,8 @@ export type { ArrayFilterFn, Part, Next, - Readonly, + WrappableNext, DeepReadonly } from ...
5
2
2
[{"id": "G0", "claim": "The author suggests `DistributeRest`'s `P extends P` might be refactored to use `any`, as in the TypeScript docs example.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "non25 reports a type error he cannot find a way to f...
null
solidstate-network__solidstate-solidity__136
solidstate-network/solidstate-solidity
136
defect
262be5f79125577c1cd3534809e6b533f7b21fda
f7c22b315d2641c11dfbd02d072f02ea2a7f708e
Library to handle Merkle trees on-chain
Contains: - `MerkleTree` struct - `updateNode` function to update a leaf node hash and the associated parent hashes Potential changes: - Make `updateNode` private - Add `remove`, `update` and `add` functions, which use `updateNode`
diff --git a/contracts/data/IncrementalMerkleTree.sol b/contracts/data/IncrementalMerkleTree.sol new file mode 100644 index 000000000..f03e5dcc9 --- /dev/null +++ b/contracts/data/IncrementalMerkleTree.sol @@ -0,0 +1,155 @@ +// SPDX-License-Identifier: MIT + +pragma solidity ^0.8.8; + +/** + * @title MerkleTree impleme...
6
6
1
[{"id": "G0", "claim": "The updateNode loop's arithmetic, including the increment placed at the end of the body, needs to sit in an unchecked block (possibly by wrapping the whole function, though the reviewer calls that premature).", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introd...
null
solidstate-network__solidstate-solidity__164
solidstate-network/solidstate-solidity
164
defect
f2042274357258316b650827700ae5f3b9e44075
8058b1f3c9b692ab1ec174f00d08ae492a2671cd
Update `UintUtils`
Several API changes and optimizations. Further changes needed: * [x] `toString` tests * [x] `toBinString` implementation * [ ] `toBase64String` implementation (see [here](https://github.com/Brechtpd/base64/blob/main/base64.sol)) * [x] reconcile padding input values - `toDecString(uint256,uint256)` accepts a stri...
diff --git a/abi/AccessControl.json b/abi/AccessControl.json index 2bb0a2fdd..2905b390e 100644 --- a/abi/AccessControl.json +++ b/abi/AccessControl.json @@ -1,7 +1,7 @@ [ { "inputs": [], - "name": "UintUtils__InsufficientHexLength", + "name": "UintUtils__InsufficientPadding", "type": "error" }, ...
2
2
1
[{"id": "G0", "claim": "The revert tests should not nest a `describe('reverts if')` block directly inside an identical parent `describe('reverts if')` block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "toHexString and the other base-named fun...
null
solidstate-network__solidstate-solidity__216
solidstate-network/solidstate-solidity
216
defect
7be27707a219634aeb07aafeac9f85e301138e53
0504667f1c96809a60fa45208586876199e77ffc
Add enumerable functions to AccessControl
We add two new function, getRoleMember(role, index) and getRoleMemberCount(role) to AccessControl. The function and parameter names are borrowed from OpenZeppelin to make them familiar. These are quite lightweight, and AccessControlStorage already uses EnumerableSet, so it made sense to just add them to AccessControl i...
diff --git a/abi/AccessControl.json b/abi/AccessControl.json index 2bb0a2fdd..ae1fb45e7 100644 --- a/abi/AccessControl.json +++ b/abi/AccessControl.json @@ -1,4 +1,9 @@ [ + { + "inputs": [], + "name": "EnumerableSet__IndexOutOfBounds", + "type": "error" + }, { "inputs": [], "name": "UintUtils__...
4
3
0
[{"id": "G0", "claim": "The npm-generated lib/package-lock.json should be removed from the pull request since the author only used yarn.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The npm-generated spec/package-lock.json should be removed fr...
null
solo-io__solo-kit__147
solo-io/solo-kit
147
defect
87812f959e22cd2a5d64777dc112c52be5216894
419599d7e795c884d0d901920ef31eef2f60b22b
Verify crd registration
BOT NOTES: resolves https://github.com/solo-io/solo-kit/issues/146
diff --git a/Gopkg.lock b/Gopkg.lock index 65823d9ca..060cf2edc 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -9,6 +9,21 @@ revision = "0ebda48a7f143b1cce9eb37a8c1106ac762a3430" version = "v0.34.0" +[[projects]] + digest = "1:1fe87891e29a291377b0b2224b99fd857553dff7dce8a6ffb5fda003ce52a8b0" + name = "github.com...
1
1
1
[{"id": "G0", "claim": "The changelog entry should not label this change as BREAKING_CHANGE: there is no API change and the check only makes the function more resilient to failure, so it is not a breaking change.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
solo-io__solo-kit__162
solo-io/solo-kit
162
defect
25db2582e9c2eb34e620430c3c2a71a16ff01ba8
c07a407226ed0c2467b4b9607817506ec38cfe06
implement multi watcher
aggregates watches from different clients into a single list BOT NOTES: resolves https://github.com/solo-io/solo-kit/issues/161
diff --git a/changelog/v0.7.4/multiwatcher.yaml b/changelog/v0.7.4/multiwatcher.yaml new file mode 100644 index 000000000..32c8638cf --- /dev/null +++ b/changelog/v0.7.4/multiwatcher.yaml @@ -0,0 +1,4 @@ +changelog: + - type: NEW_FEATURE + description: create the ability to aggregate watches for resources into a si...
5
5
3
[{"id": "G0", "claim": "The loop in resourcesByWatcher.merge() reads listsByWatcher without holding the lock, so merge() must be called under the access lock — including at the error-path call site the reviewer flagged on S3.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"},...
null
solo-io__solo-kit__170
solo-io/solo-kit
170
defect
384dbdaa27e3754a07a4cc65f9331e2f5a0d7d20
704462d476b1957ed2816e2f5e05e92bfdbf24b2
remove ResourceByNamespace generated type
BOT NOTES: resolves https://github.com/solo-io/go-utils/issues/169
diff --git a/changelog/v0.9.0/remove_bynamespaces.yaml b/changelog/v0.9.0/remove_bynamespaces.yaml new file mode 100644 index 000000000..f85521232 --- /dev/null +++ b/changelog/v0.9.0/remove_bynamespaces.yaml @@ -0,0 +1,6 @@ +changelog: + - type: BREAKING_CHANGE + description: Remove the `ResourcesByNamespace` type...
1
1
1
[{"id": "G0", "claim": "The send on the aggregatedErrs channel in the error branch of AggregatedWatch can potentially block forever.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
solo-io__solo-kit__206
solo-io/solo-kit
206
defect
6ed97c885039e52d90837d059ebdec1038b20140
485a6d6e5dfa2333822de7eea41849b3501a1839
Crd registry
rework of how solo-kit handles Crds to support multiple versions in kubernetes BOT NOTES: resolves https://github.com/solo-io/solo-kit/issues/207
diff --git a/Gopkg.lock b/Gopkg.lock index ffed6cb2e..0ea12dea1 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -562,7 +562,7 @@ version = "v0.1" [[projects]] - digest = "1:62209c4aec8a021a838f2d8b65bfcf565bc6623a354ac7508c50f90c96b9e005" + digest = "1:406e5580cc9ff927201b9271e6d854f49fef8665aba0801477ebe017e322d87...
3
2
0
[{"id": "G0", "claim": "The CombinedCrd type added in crd.go should be renamed to MultiVersionCrd.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The error built inline with fmt.Errorf in RegisterCrd should be extracted (e.g. into a named error ...
null
solo-io__solo-kit__218
solo-io/solo-kit
218
defect
a5b6bd42322788ea33293f320de942e053506e18
c41811fd3af5dbe25703380bb9bd52c49e969d0c
resuscitate Consul & Vault storage clients
BOT NOTES: resolves https://github.com/solo-io/solo-kit/issues/217
diff --git a/Gopkg.lock b/Gopkg.lock index febf577a4..32dffe241 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -273,12 +273,12 @@ revision = "3d5d8f294aa03d8e98859feac328afbdf1ae0703" [[projects]] - branch = "master" - digest = "1:183f00c472fb9b2446659618eebf4899872fa267b92f926539411abdc8b941df" + digest = "1:351...
5
4
1
[{"id": "G0", "claim": "MarshalYAML wraps its logic in an anonymous closure that seems unnecessary and makes the function harder to read.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Resource interface should be kept and a separate Version...
null
solo-io__solo-kit__271
solo-io/solo-kit
271
defect
be3900774ec49a4ee23a84fcca345a06953f6f7d
3905d6ebeb17b2f1a4459d33ec162171fe83597e
add ready channel to event loop that is closed after the first sync is called
part of https://github.com/solo-io/gloo/issues/1191 BOT NOTES: resolves https://github.com/solo-io/solo-kit/pull/271
diff --git a/Gopkg.lock b/Gopkg.lock index 54c50bdd3..8b8f76d7b 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -825,15 +825,14 @@ revision = "8a6051197512ff9cbf65108d80613b631fe0b4f3" [[projects]] - branch = "master" - digest = "1:c44a77760372a998be8d4656e8d3c865f68735ec4cad1743a245903a58f64249" + digest = "1:7b5...
3
2
0
[{"id": "G0", "claim": "The changelog entry marks the Ready() event-loop channel as NON_USER_FACING, but the reviewer says it is definitely user facing and should be labeled a new feature.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The names E...
null
solo-io__solo-kit__279
solo-io/solo-kit
279
defect
60015bef6312a5178344b53743183c846d3cc534
676f3c8f9f34f6eaafbebf620c8ed73d4842fb9a
Generate data file for hugo docs
BOT NOTES: resolves https://github.com/solo-io/solo-kit/issues/280
diff --git a/Gopkg.lock b/Gopkg.lock index 8b8f76d7b..8a33a58d9 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -1341,6 +1341,7 @@ "google.golang.org/grpc/codes", "google.golang.org/grpc/metadata", "google.golang.org/grpc/status", + "gopkg.in/yaml.v2", "k8s.io/api/apps/v1", "k8s.io/api/core/v1",...
5
5
0
[{"id": "G0", "claim": "WriteCrossProjectDocsHugo calls the relatively expensive parser.ProcessDescriptors again for each project with the same arguments already used in pkg/code-generator/cmd/main.go, and the reviewer asks to reuse those results by generating a map[*model.ProjectConfig]*model.Project in main.go and pa...
null
solo-io__solo-kit__284
solo-io/solo-kit
284
defect
099d830c66798b4148d9a430fae1d2624b5fbc66
dda76a273243f9db914690293e5c78845e4a728d
enable ability to report warnings with v2 reporter
BOT NOTES: resolves https://github.com/solo-io/solo-kit/pull/283 resolves https://github.com/solo-io/solo-kit/pull/285
diff --git a/changelog/v0.10.23/report-warnings.yaml b/changelog/v0.10.23/report-warnings.yaml new file mode 100644 index 000000000..2ae3ec27f --- /dev/null +++ b/changelog/v0.10.23/report-warnings.yaml @@ -0,0 +1,7 @@ +changelog: + - type: NEW_FEATURE + description: Enable reporting warnings with V2 Reporter + ...
2
2
0
[{"id": "G0", "claim": "Remove the empty AfterEach block the pull request adds to pkg/api/v2/reporter/reporter_test.go.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the \"// TODO: fix tests\" comment the pull request adds to pkg/api/v2/...
null
solo-io__solo-kit__299
solo-io/solo-kit
299
defect
edabce1760d5b89bfdb056ec4e9b567c9ca00c21
01e009d02566cb05b90999b9cc0db9d5462eb368
multi cluster base client
BOT NOTES: resolves https://github.com/solo-io/solo-kit/issues/295
diff --git a/Gopkg.lock b/Gopkg.lock index 8a33a58d9..ac140e09d 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -614,7 +614,7 @@ version = "v0.1" [[projects]] - digest = "1:dc0972707c2d7362020673111dbf1db20315636b7012c0946e8195cb10034328" + digest = "1:3d9c9642b67d870552b27319be6d628adb7a611d99f9cfa1196acaf9300fe44...
7
7
0
[{"id": "G0", "claim": "Questions whether every ClusterAdded should register the client and suggests the client getter, which instantiates the client, may be the one to register it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Asks why ProcessResource ...
null
solo-io__solo-kit__327
solo-io/solo-kit
327
defect
aec16acdb1c3f8d3f566b615548f52f030500415
4d68e2d133a6979aef1f1310d1f16d9cf413779f
Gen hash
BOT NOTES: resolves https://github.com/solo-io/gloo/issues/1711
diff --git a/Gopkg.lock b/Gopkg.lock index 717507f0f..89eddd114 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -1322,6 +1322,7 @@ "github.com/gogo/protobuf/types", "github.com/golang/mock/gomock", "github.com/golang/protobuf/proto", + "github.com/golang/protobuf/ptypes", "github.com/golang/protobuf/...
2
2
2
[{"id": "G0", "claim": "In the snapshot emitter templates, a hash error is only DPanic-logged and execution continues with the zero-value hash; the reviewer asks that the code either panic on the error, return, or increment a metric instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope"...
null
solo-io__solo-kit__410
solo-io/solo-kit
410
defect
e87adeba6c4dcea75ab88c884d5bef2980c6f5f9
7d04b4f14056c0aed231e4d969a887804fc43572
Set snapshot fix
Currently, there is no way to determine if a resource in the snapshot does not exist or should be empty. This means SetSnapshot will send a response to envoy with nil listeners/routes if only the endpoints/clusters are set. The gloo envoy snapshot will set the resource to an empty list if the intended behavior is f...
diff --git a/changelog/v0.18.2/set-snapshot-fix.yaml b/changelog/v0.18.2/set-snapshot-fix.yaml new file mode 100644 index 000000000..b252b555a --- /dev/null +++ b/changelog/v0.18.2/set-snapshot-fix.yaml @@ -0,0 +1,6 @@ +changelog: + - type: FIX + description: > + Set snapshot will send a response for a resourc...
2
2
0
[{"id": "G0", "claim": "Expand the comment above the nil-resources check to explain the difference between a nil and an empty (zero) resource, since that distinction is the main motivation for the change.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai...
null
solo-io__solo-kit__431
solo-io/solo-kit
431
defect
d7292e805976076032cf0b283975c9fa20eba024
19ca318a254eca52073bc8dedcf14a5434988480
schema-gen: support description truncation and int64 primitive type
# Description - Fix issue with serialization of int64's and validation schemas: https://github.com/solo-io/gloo/issues/5043 - Expose options to control how large descriptions are in validation schemas: https://github.com/solo-io/gloo/issues/4789 # Context ## int64's in validation schemas (https://github.com/solo-...
diff --git a/changelog/v0.21.1/schemagen-int64-and-descriptions.yaml b/changelog/v0.21.1/schemagen-int64-and-descriptions.yaml new file mode 100644 index 000000000..5530b0f00 --- /dev/null +++ b/changelog/v0.21.1/schemagen-int64-and-descriptions.yaml @@ -0,0 +1,9 @@ +changelog: + - type: FIX + description: Ensure s...
2
1
0
[{"id": "G0", "claim": "The ValidationSchemaOptions comment should document the interaction between MaxDescriptionCharacters = 0 and RemoveDescriptionsFromSchema = true, i.e. which of the two overrides the other.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1...
null
solo-io__solo-kit__451
solo-io/solo-kit
451
defect
33fda1f5c53cd3c91298760d2f275f6b834a424d
0499b1f7ea1ba056cffd80efb2de57ab7d04a42b
Generate v1 CRDs
Generate CRDs in the v1 format. The changes between API versions are documented here: https://kubernetes.io/docs/reference/using-api/deprecation-guide/ The biggest change for our CRDs was moving to a list of versions. Also update ResourceClients and tests to use the newer format.
diff --git a/api/external/kubernetes/customresourcedefinition/resource.go b/api/external/kubernetes/customresourcedefinition/resource.go index 3055d275b..468ca4d83 100644 --- a/api/external/kubernetes/customresourcedefinition/resource.go +++ b/api/external/kubernetes/customresourcedefinition/resource.go @@ -6,15 +6,15 ...
2
1
1
[{"id": "G0", "claim": "Because GenerateOpenApiValidationSchemas iterates over every CRD version while ApplyValidationSchemaToCRD always writes to the first validation schema, supporting multiple versions would have each version's schema overwrite the previous ones; the reviewer asks to either explicitly support only o...
null
solo-io__solo-kit__462
solo-io/solo-kit
462
defect
28ef206f64b4ae00ea03c8310511a4bb35ca6f57
69b4bb9081ae5384e2265f3010074fb2188144a0
Update `Snapshot` interface to have `MakeConsistent` function
For context behind these changes, see the PR description on https://github.com/solo-io/gloo/pull/6289
diff --git a/changelog/v0.25.0/make-consistent.yaml b/changelog/v0.25.0/make-consistent.yaml new file mode 100644 index 000000000..9f41e9816 --- /dev/null +++ b/changelog/v0.25.0/make-consistent.yaml @@ -0,0 +1,9 @@ +changelog: + - type: BREAKING_CHANGE + description: >- + Adds `MakeConsistent` to `Snapshot` i...
2
1
0
[{"id": "G0", "claim": "Add a comment stating that MakeConsistent should never be called on a generic snapshot, since it is not used for snapshots with dependent resources.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Reconsider panicking in Gen...
null
solo-io__solo-kit__463
solo-io/solo-kit
463
defect
a6e936be3932298ff6dc2e5bc119c2e7c704970a
22582ef447674540a1d273e714417c74cdc31482
Support custom Vault secret prefix
Updates - Add `PathPrefix` `VaultSecretClientFactory` & clientResource. - Update `resourceDirectory` to use new pathPrefix (or default to "secret/"), instead of hard-coding to `secret`. - Create `DefaultTestPathPrefix` const for tests to use - Add path prefix to tests + update `vault secrets` test setup command to ...
diff --git a/changelog/v0.24.3/support-custom-vault-secret-prefix.yaml b/changelog/v0.24.3/support-custom-vault-secret-prefix.yaml new file mode 100644 index 000000000..eccd91101 --- /dev/null +++ b/changelog/v0.24.3/support-custom-vault-secret-prefix.yaml @@ -0,0 +1,5 @@ +changelog: + - type: NEW_FEATURE + issueLi...
4
3
1
[{"id": "G0", "claim": "Add comments to the ResourceClient struct fields (like the referenced gloo PR does) outlining what these fields represent for a vault resource client.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The default pathPrefix be...
null
solo-io__solo-kit__468
solo-io/solo-kit
468
defect
8ff49f7a22d1b9a85d45c5581eddeb5ff49bed74
f61b89740ea906f78c0c315de7525029264c04e2
Support set-based label selectors
# Description Add support for resource clients to select objections with labels using an expression # Context The label selector is the core grouping primitive in Kubernetes. In solo-kit we previously only supported selecting resources from the apiserver via [equality-based requirements](https://kubernetes.io/docs...
diff --git a/changelog/v0.27.1/set-based-label-selector.yaml b/changelog/v0.27.1/set-based-label-selector.yaml new file mode 100644 index 000000000..f805cd0fe --- /dev/null +++ b/changelog/v0.27.1/set-based-label-selector.yaml @@ -0,0 +1,9 @@ +changelog: + - type: NEW_FEATURE + issueLink: https://github.com/solo-io...
1
1
0
[{"id": "G0", "claim": "The comment on ExpressionSelector implies it is only for set-based selections, though the field acts as a generic label selector string; the author suggests the description be modified (someday) to reflect this.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "i...
null
solo-io__solo-kit__474
solo-io/solo-kit
474
defect
97bd7c2c67420a6d99bb96f220f2e1a04c6d8a0d
f1d38af16d1b9213fcd09a33657d299480aafb6f
ordering-struct-for-watches
Updated for go1.16. If we want to wait for go1.18 then we can just swap out the stucts from the utils. If you have questions about the struct, please ask them in the [Priority Struct PR](https://github.com/solo-io/go-utils/pull/483). Please only discuss `solo-kit` changes here. Using the PrioirtyStruct to ord...
diff --git a/changelog/v0.27.3/ordering-responses-to-envoy.yaml b/changelog/v0.27.3/ordering-responses-to-envoy.yaml new file mode 100644 index 000000000..4e023a132 --- /dev/null +++ b/changelog/v0.27.3/ordering-responses-to-envoy.yaml @@ -0,0 +1,9 @@ +changelog: + - type: NEW_FEATURE + issueLink: https://github.co...
9
4
1
[{"id": "G0", "claim": "The numberOfPriorities field is redundant because it is just the length of the priority map/sets and should be dropped.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "There should not be a separate Init method; setup belo...
null
solo-io__solo-kit__476
solo-io/solo-kit
476
defect
97bd7c2c67420a6d99bb96f220f2e1a04c6d8a0d
402b14f55833ed0ff459f0f421c91b0a650c4268
Removed v1 WriteReports
BOT NOTES: resolves https://github.com/solo-io/solo-projects/issues/3338
diff --git a/changelog/v0.27.3/remove-v1.yaml b/changelog/v0.27.3/remove-v1.yaml new file mode 100644 index 000000000..bf5ba23c3 --- /dev/null +++ b/changelog/v0.27.3/remove-v1.yaml @@ -0,0 +1,4 @@ +changelog: + - type: NEW_FEATURE + issueLink: https://github.com/solo-io/solo-projects/issues/3338 + description: ...
1
1
0
[{"id": "G0", "claim": "The v1 WriteReports removal is a breaking change, so the changelog entry should be typed as BREAKING_CHANGE rather than NEW_FEATURE.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
solo-io__solo-kit__502
solo-io/solo-kit
502
defect
c29e432c35841cabb7498f68e264abb95f91120b
824303afd92765e912479f9218d7d1d7ccad92c0
[Gloo 1.8] Kube Resource Client Improvements
# Description Add enhancements to the Kube resource client for the solo-kit version that power Gloo Edge 1.8 # Context ## Support Expression Selection (https://github.com/solo-io/gloo/issues/6406) This bug was resolved in later versions of solo-kit, but never made it's way to this branch. [This PR](https://git...
diff --git a/Makefile b/Makefile index 21f1ad2dc..dcac2434b 100644 --- a/Makefile +++ b/Makefile @@ -6,9 +6,17 @@ ROOTDIR := $(shell pwd) PACKAGE_PATH:=github.com/solo-io/solo-kit OUTPUT_DIR ?= $(ROOTDIR)/_output SOURCES := $(shell find . -name "*.go" | grep -v test.go) -VERSION ?= $(shell git describe --tags) GO_B...
3
2
1
[{"id": "G0", "claim": "Wrapping the ginkgo test target in the RELEASE guard may stop the tests from running in CI.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test description should read \"ignores unknown fields when reading a malformed resou...
null
solo-io__solo-kit__517
solo-io/solo-kit
517
defect
2b3115139a918a6423d694b37f8fe1f1f1d18e5c
80b78a0709269265b78f5bf5eeddf84ac8312e39
Resource client patch for apply status
lowers the number of api calls made to k8s apiserver; helps with status scalability for gloo as a client not getting rate limited talking to the k8s apiserver. ~only marked with WIP label for now to prevent merges until https://github.com/solo-io/gloo/pull/7133 passes ci; in the meantime this is ready for review~ gl...
diff --git a/changelog/v0.30.3/patch-status.yaml b/changelog/v0.30.3/patch-status.yaml new file mode 100644 index 000000000..decad6374 --- /dev/null +++ b/changelog/v0.30.3/patch-status.yaml @@ -0,0 +1,5 @@ +changelog: + - type: FIX + resolvesIssue: false + description: Improve scalability of v2 status reporter ...
2
2
0
[{"id": "G0", "claim": "The changelog should call out that the status is now written with enums rendered as strings instead of ints.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The apply-status error messages (e.g. \"patching secret from kubern...
null
solo-io__solo-kit__61
solo-io/solo-kit
61
defect
bd125b289e404433f59b32148cb6eb54c488c5ec
f381558f965a79376a15ce8dbd83349dfc888d0c
Test template cache fix
this fixes a generated test: this change checks ahead-of-time whether any resource does *not* have `HasStatus` set. if not, it creates a kube clientset. if any resource `HasStatus`, it creates a kube cache. if the resource group has both, the test needs both
diff --git a/pkg/code-generator/codegen/templates/snapshot_emitter_test_template.go b/pkg/code-generator/codegen/templates/snapshot_emitter_test_template.go index 3caa9f17b..7016d5a32 100644 --- a/pkg/code-generator/codegen/templates/snapshot_emitter_test_template.go +++ b/pkg/code-generator/codegen/templates/snapshot_...
3
2
0
[{"id": "G0", "claim": "The template sets `needs_standard_client` and `needs_crd_client` where they are defined but the code below does not consistently refer to them, which seems a bit weird.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`need...
null
solo-io__solo-kit__83
solo-io/solo-kit
83
defect
3152f9f329ed57cda1d3400f2d6890d47ba1e7e5
2bc9e2471ae586e8c234d360bd29099743638b6f
Sk rst
this is still not done. but rst generation is under a flag so generation shouldn't change in the mean time. opening a PR as this might take me a bit more time, and i want to make sure the foundations are in
diff --git a/pkg/code-generator/cmd/main.go b/pkg/code-generator/cmd/main.go index 789234548..aa724eae7 100644 --- a/pkg/code-generator/cmd/main.go +++ b/pkg/code-generator/cmd/main.go @@ -14,6 +14,7 @@ import ( "github.com/gogo/protobuf/protoc-gen-gogo/descriptor" "github.com/solo-io/solo-kit/pkg/code-generator/co...
2
1
0
[{"id": "G0", "claim": "The const block defining the DocsOutput values in options.go is confusing.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The CI build fails: the Test Kube ResourceClient spec 'can watch resources across namespaces when u...
null
someguynamedjosh__ouroboros__45
someguynamedjosh/ouroboros
45
defect
743fd1851e27d5f3a37d707ab3fd9998ef158380
14ce9fdc01f44c983dd14cd456b52c2cf3728ffc
Forego aliased in check fn
Get rid of aliased boxes in the check function. Accidentally did it based on #44 so check the commits to see only the new changes.
diff --git a/examples/src/lib.rs b/examples/src/lib.rs index f7c8c45..ba05c68 100644 --- a/examples/src/lib.rs +++ b/examples/src/lib.rs @@ -30,7 +30,6 @@ pub struct DocumentationExample { #[borrows(int_data)] int_reference: &'this i32, #[borrows(mut float_data)] - #[not_covariant] float_referenc...
9
7
2
[{"id": "G0", "claim": "Update the comment on the `Macro(..)` arm, which still says the function assumes \"false\" although the arm now returns `None`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Returning `None` would be a more conservative ap...
null
sonos__dinghy__203
sonos/dinghy
203
defect
affd62fdd6a5ddbe8a902c0fb9de1b233bfddfc5
a8ec5b093ad81a02c706d148d2446b136c471f3f
Support tvOS and watchOS simulators
Closes #194 and #193. It's unclear if we want test these targets in CI. For one, these targets require the [`build-std` nightly feature](https://doc.rust-lang.org/cargo/reference/unstable.html#build-std) and for another, all targets for [watchOS are tier 3](https://doc.rust-lang.org/nightly/rustc/platform-support/ap...
diff --git a/.travis.sh b/.travis.sh index 8ff55e75..8181d66c 100755 --- a/.travis.sh +++ b/.travis.sh @@ -4,7 +4,7 @@ set -x title() { set +x - echo -e '\n\033[1;33m '$@' \033[0m\n' + echo -e '\n\033[1;33m '$@' \033[0m\n' set -x } @@ -40,7 +40,7 @@ tests_sequence() { && ! $CARGO_DINGHY ...
6
5
2
[{"id": "G0", "claim": "The checked-in test-ws/test-bin/.cargo/config.toml should not be part of this PR — it should be removed (or moved to a separate example/documentation PR) because Dinghy is meant to work without project modifications and, with the runner attributes in place, the CI would no longer test the same t...
null
sonos__tract__735
sonos/tract
735
defect
25bc2c90221edc3d4538b2eb6b020a712cb2c462
619eb24f77e35efbeb20a129e3554d35c4ef8b16
Add NonMaxSuppression operator
Hello! This PR implements the ONNX NonMaxSuppression operator. (https://github.com/onnx/onnx/blob/main/docs/Operators.md#NonMaxSuppression) I am not sure whether my TypedOp implementation is correct, I had to use a Symbol to make it work. The thing is, NonMaxSuppression outputs a tensor of the shape `[num_selecte...
diff --git a/harness/onnx-test-suite/node-1.10.1.txt b/harness/onnx-test-suite/node-1.10.1.txt index 0a221734e2..46c03344f0 100644 --- a/harness/onnx-test-suite/node-1.10.1.txt +++ b/harness/onnx-test-suite/node-1.10.1.txt @@ -89,6 +89,14 @@ test_cast_FLOAT_to_DOUBLE test_cast_FLOAT_to_FLOAT16 test_cast_FLOAT_to_STRI...
5
5
3
[{"id": "G0", "claim": "The new NonMaxSuppression operator should also be bound to nnef, preferably implemented in onnx-opl rather than tract-core, and the author should do it before merge.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The expansion fai...
null
sonots__cumo__115
sonots/cumo
115
defect
cf46de19cd1d0e650f68dace8fe8ca00eb8deebf
d4c30de464dfa7278c14619e648d7d6b6e6b6999
Arithmetic sequence support.
I supported the arithmetic sequence for Ruby 2.6 with this pull request. Please confirm. This is a pull request with the same content as https://github.com/ruby-numo/numo-narray/pull/121. The changes are as follows. * Support arithmetic sequence in Ruby 2.6. * Support endless ranges in Ruby 2.6. * Numo::NAr...
diff --git a/ext/cumo/extconf.rb b/ext/cumo/extconf.rb index 15c8274f..0a77a213 100644 --- a/ext/cumo/extconf.rb +++ b/ext/cumo/extconf.rb @@ -159,6 +159,7 @@ def create_depend have_type("uint64_t", stdint) end have_func("exp10") +have_func("rb_arithmetic_sequence_extract") have_var("rb_cComplex") have_func("r...
2
2
0
[{"id": "G0", "claim": "The declaration of cumo_na_parse_enumerator_step has an unneeded trailing space before the closing parenthesis.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Defining a struct named `enumerator`, copied from ruby/enumerator.c, in ...
null
sony__gobreaker__29
sony/gobreaker
29
defect
92b9680a31b97b984e5c59865844f538d6f75d45
07726a01c37e664c91142eb11a547fc8435196fe
Allow custom inspection of errors
Not all errors should be counted towards tripping the circuit breaker, this PR adds support for a custom inspection strategy to determine if an error should trip the circuit breaker or not.
diff --git a/gobreaker.go b/gobreaker.go index f402217..de13b0b 100644 --- a/gobreaker.go +++ b/gobreaker.go @@ -98,6 +98,11 @@ func (c *Counts) clear() { // Default ReadyToTrip returns true when the number of consecutive failures is more than 5. // // OnStateChange is called whenever the state of the CircuitBreaker...
4
4
3
[{"id": "G0", "claim": "The new callback should be named IsSuccessful rather than ShouldTrip (rename the shouldTrip field to isSuccessful and defaultShouldTrip to defaultIsSuccessful) because IsSuccessful is more straightforward.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ...
null
sony__gobreaker__6
sony/gobreaker
6
defect
809bcd5a528f344e95c2368796c9225d128f9b3e
a77fa11dacb990ad29547811decf81307d0d4920
two step circuit breaker
providing a two-step circuit breaker where checking whether a request can proceed and reporting the otucome is separated. see previous discussions on the topic in #4
diff --git a/gobreaker.go b/gobreaker.go index ce960ed..2fb020b 100644 --- a/gobreaker.go +++ b/gobreaker.go @@ -115,6 +115,13 @@ type CircuitBreaker struct { expiry time.Time } +// TwoStepCircuitBreaker is like CircuitBreaker but instead of surrounding a function +// with the breaker functionality, it only ch...
4
4
1
[{"id": "G0", "claim": "It would be better to rename NewTwoStep to NewTwoStepCircuitBreaker.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "fail2Step should return error.", "category": "testing", "verdict": "supported", "priority": "P1", "scope"...
null
sony__gobreaker__70
sony/gobreaker
70
defect
5bd8570dae0b618d30bdf7604b4cef7fa7acbbba
36b0f9e8c0f6d5b2adb0f77f193dd7abd4fccf3c
Title: Implement Distributed Circuit Breaker
# Distributed Circuit Breaker Implementation ## Overview This implementation introduces a distributed version of our circuit breaker pattern. The new `DistributedCircuitBreaker` extends the existing `CircuitBreaker` functionality by supporting any storage backend through a generic `CacheClient` interface, enablin...
diff --git a/go.mod b/go.mod index 4367bed..f33f655 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,8 @@ module github.com/sony/gobreaker go 1.12 -require github.com/stretchr/testify v1.3.0 +require ( + github.com/alicebob/miniredis/v2 v2.33.0 + github.com/redis/go-redis/v9 v9.6.2 + github.com/stretchr/testify v1.3.0 ...
4
2
2
[{"id": "G0", "claim": "The implementation should be moved from the repository root into the v2 directory, where the latest implementation lives.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should not modify the v1 module's go.mod and...
null
sony__gobreaker__73
sony/gobreaker
73
defect
5bd8570dae0b618d30bdf7604b4cef7fa7acbbba
c301deab31675a5558c717decdb398bea55e8c63
Title: Implement Distributed Circuit Breaker (#70)
* feature/redis-circuit-breaker * feature/redis-circuit-breaker * Refactor * save state * Saving half-open state also * Saving half-open state also * Added test case * Saving state transition * Pass context * Moved redis circuit breaker to v2 * Revert go.mod and go.sum * Acked review co...
diff --git a/v2/distributed_gobreaker.go b/v2/distributed_gobreaker.go new file mode 100644 index 0000000..2565d90 --- /dev/null +++ b/v2/distributed_gobreaker.go @@ -0,0 +1,213 @@ +package gobreaker + +import ( + "context" + "fmt" + "time" +) + +// SharedState represents the shared state of DistributedCircuitBreaker. ...
2
2
1
[{"id": "G0", "claim": "The SharedStateStore interface should carry an identifier (e.g. a `name` parameter) so implementations can distinguish between multiple circuit breakers sharing one store.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The storage...
null
sony__nmos-cpp__217
sony/nmos-cpp
217
defect
5144d9f5f7864711112311552d06c697d4cdf1ba
8eb1a59b797a8fce1256988b7d51f3924cd6ef3d
Updates from the Parameter Registers
Adds the extended values for `colorspace` and `transfer_characteristic` from the Parameter Registers, and new `nmos::make_components` and `nmos::make_raw_video_flow` overloads that enable the additional component names introduced to support ST 2110-20 raw and ST 2110-22 JPEG XS signal formats like CLYCbCr, ICtCp, XYZ a...
diff --git a/Development/nmos-cpp-node/config.json b/Development/nmos-cpp-node/config.json index 68295a6d9..fb76aa162 100644 --- a/Development/nmos-cpp-node/config.json +++ b/Development/nmos-cpp-node/config.json @@ -5,7 +5,7 @@ // Custom settings for the example node implementation // how_many: provides fo...
6
3
0
[{"id": "G0", "claim": "The experimental-extension comment in nmos/components.h should be replaced with wording that says component names may be defined in the Flow Attributes register since IS-04 v1.3 and references sdp::samplings.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "intr...
null
sony__nmos-cpp__346
sony/nmos-cpp
346
defect
b5c8d2eef1d3de9e1621e1cb97dadf902d98212c
eca4fcab2e76bc2f9bb3bde369857a6b52f6d142
Fix SMPTE 291 exactframerate field
Unit tests + basically same fix for #344 as proposed by @cmaberto in #345.
diff --git a/Development/nmos/sdp_utils.cpp b/Development/nmos/sdp_utils.cpp index 2bc863982..da426accd 100644 --- a/Development/nmos/sdp_utils.cpp +++ b/Development/nmos/sdp_utils.cpp @@ -832,8 +832,8 @@ namespace nmos { return sdp_parameters::fmtp_t::value_type{ sdp::fields::DID_SDID, make_fmtp_...
2
2
2
[{"id": "G0", "claim": "The expected SSN fmtp value in the new video/smpte291 test should be \"ST2110-40:2021\" rather than \"ST2110-40:2022\".", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The wacky video/smpte291 test's ssn parameter should use s...
null
sony__nmos-cpp__393
sony/nmos-cpp
393
defect
0a29731aab4bcd5b6b0a1023c74ea0114312fcdd
73f85b0c5f52375222f46ad617321cddee5a8a1e
Optimize is12 method handlers
1. Enhance the control method handlers support to make it easier to add user callbacks. 2. Combine standard and non-standard control method handlers.
diff --git a/Development/nmos-cpp-node/main.cpp b/Development/nmos-cpp-node/main.cpp index 857fac13e..e4b420fa2 100644 --- a/Development/nmos-cpp-node/main.cpp +++ b/Development/nmos-cpp-node/main.cpp @@ -138,7 +138,7 @@ int main(int argc, char* argv[]) .on_request_authorization_code(nmos::experimental...
1
1
0
[{"id": "G0", "claim": "The typedef name `method_handler` feels too generic and should be renamed to `control_protocol_method_handler`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sony__nmos-cpp__400
sony/nmos-cpp
400
defect
12501c375de7957d97f9f49685b8923984c02b23
f549730c19514ccd5c27e4a1344376eb6ef1036c
Fix validation of MS-05 NcFloat32 values.
- Validation check for NcFloat32 was enforcing values between `std::numeric_limits<float_t>::min` and `std::numeric_limits<float_t>::max`. - However, `std::numeric_limits<float_t>::min` is the lowest __positive__ float value and so legitimate float32 numbers including 0.0 and all negative floats fail the validation. ...
diff --git a/Development/nmos/control_protocol_utils.cpp b/Development/nmos/control_protocol_utils.cpp index d22718bef..dd9afc31c 100644 --- a/Development/nmos/control_protocol_utils.cpp +++ b/Development/nmos/control_protocol_utils.cpp @@ -185,7 +185,7 @@ namespace nmos }; ...
1
1
1
[{"id": "G0", "claim": "The float32 no-throw assertion should use std::numeric_limits<float_t>::lowest() instead of std::numeric_limits<float_t>::min(), matching the production fix's use of lowest().", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
sony__nmos-cpp__436
sony/nmos-cpp
436
defect
21d1a81842f2a9e10add3a0253cf8522c411a704
10c8c9ec89572a2fe6998d34d56c485f148b4026
Fix condition variable wait
Windows `boost::condition_variable_any::wait` would throw nested lock exceptions when `boost::shared_mutex` has reached the maximum number of exclusive_waiting locks. This problem occurs inside the `boost::basic_condition_variable::do_wait_until` when `relocker` is out of scope. This could cause program termination d...
diff --git a/Development/boost/thread/win32_condition_variable.hpp b/Development/boost/thread/win32_condition_variable.hpp new file mode 100644 index 000000000..cb1c30f0d --- /dev/null +++ b/Development/boost/thread/win32_condition_variable.hpp @@ -0,0 +1,444 @@ +// based on the <boost/thread/win32/condition_variable.h...
4
3
0
[{"id": "G0", "claim": "The note comment in Development/bst/shared_mutex.h should read 'throws' rather than 'would throw', with a space after 'locks.' before 'A modified version'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The note comment in ...
null
sony__nmos-cpp__438
sony/nmos-cpp
438
defect
530bfce30fd00f53e2ca6f8f387d41a3359b56c8
1d2f0becb6825a69140514c97ce3a355a021cf90
Fix SDP session ID length limitation
According to the [RFC 4566 5.2. Origin](https://tools.ietf.org/html/rfc4566#section-5.2) ``` <sess-id> is a numeric string such that the tuple of <username>, <sess-id>, <nettype>, <addrtype>, and <unicast-address> forms a globally unique identifier for the session. The method of <sess-id> allocation is u...
diff --git a/Development/nmos/sdp_utils.h b/Development/nmos/sdp_utils.h index 9d0568af7..669dccf3d 100644 --- a/Development/nmos/sdp_utils.h +++ b/Development/nmos/sdp_utils.h @@ -82,19 +82,28 @@ namespace nmos struct origin_t { utility::string_t user_name; - uint64_t session_...
3
3
2
[{"id": "G0", "claim": "The change is at the least incomplete because the same length limitation applies to `sess-version`, which should be extended to `sess-version` too.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Storing session id/version via...
null
sony__nmos-cpp__455
sony/nmos-cpp
455
defect
34c865ccb60dd1672df5429db9d313ebef580806
28bf9d9cbbe619d32968951176677f196a3d6a04
Fix condition variable wait on Windows
In Windows, there is a maximum number of exclusive locks that can be held. Once it reaches the maximum value, the lock will throw a lock exception. This enhancement improves the low-level relocker's handling of lock exceptions in its destructor.
diff --git a/Development/boost/thread/win32_condition_variable.hpp b/Development/boost/thread/win32_condition_variable.hpp index 051c87230..7c06ab57d 100644 --- a/Development/boost/thread/win32_condition_variable.hpp +++ b/Development/boost/thread/win32_condition_variable.hpp @@ -10,8 +10,8 @@ #include <boost/thread/w...
3
2
1
[{"id": "G0", "claim": "The comment fixed one typo but introduced a new one: 'unhanded' should be 'unhandled'.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The relocker destructor's infinite retry loop could spin forever if `lock` keeps throwing...
null
sony__nmos-cpp__468
sony/nmos-cpp
468
defect
8080930400e180e1aa9c960e7a8697976c644a0c
50b2693dea46b4f0c4fdfa4219060b8176d28120
Minor fix on IS-12, IS-14 and C++11 Compatibility
There are C++11 compatibility, compiler warnings, and a few bugs reported by Niitsu, Keita-san.
diff --git a/Development/nmos/configuration_utils.cpp b/Development/nmos/configuration_utils.cpp index 849befb3a..7c90457f0 100644 --- a/Development/nmos/configuration_utils.cpp +++ b/Development/nmos/configuration_utils.cpp @@ -724,7 +724,7 @@ namespace nmos } // Order role paths by length so we im...
2
2
0
[{"id": "G0", "claim": "The new testFindMembersByClassId test should live in control_protocol_utils_test.cpp rather than configuration_utils_test.cpp.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test's local variables exmaple_1 and exmapl...
null
sony__nmos-cpp__471
sony/nmos-cpp
471
defect
9d228e9cb542acafc8df0a074c8c45525ae635f2
c475b5d2489f0890163b8483a36f9544590fdc78
MS-05 Device Model Object Validation Util
Check that constructed Device Model object has required properties.
diff --git a/Development/nmos/control_protocol_utils.cpp b/Development/nmos/control_protocol_utils.cpp index 3cd640a08..ee4132b2a 100644 --- a/Development/nmos/control_protocol_utils.cpp +++ b/Development/nmos/control_protocol_utils.cpp @@ -985,6 +985,20 @@ namespace nmos } } + // Validat...
4
4
2
[{"id": "G0", "claim": "validate_resource should be declared and defined as void taking a const resource& rather than returning bool and taking a control_protocol_resource&.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The property check should also tr...
null
sony__nmos-cpp__485
sony/nmos-cpp
485
defect
20cb0c5f5f4cc3a370a96fa635edccf6aea285b2
e16cbd74d0358a6dbd2afc87aeb261ea0c45622b
Fix service name generation to enforce RFC 6763 length limit
Truncate mDNS service instance names exceeding 63 bytes with a hash suffix to ensure RFC 6763 compliance, since Avahi does not automatically truncate like mDNSResponder. Also use underscore rather than colon as the host/port separator, and declare service_name in the header. Add unit tests for service_name. Made-wit...
diff --git a/Development/cmake/NmosCppTest.cmake b/Development/cmake/NmosCppTest.cmake index b2328fd74..2acecf83e 100644 --- a/Development/cmake/NmosCppTest.cmake +++ b/Development/cmake/NmosCppTest.cmake @@ -55,6 +55,7 @@ set(NMOS_CPP_TEST_NMOS_TEST_SOURCES nmos/test/json_validator_test.cpp nmos/test/jwt_gen...
3
1
0
[{"id": "G0", "claim": "The '#include <functional>' added at the top of Development/nmos/mdns.cpp is not required and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In testServiceNameOneOver63Bytes the truncated service name s...
null
sooperset__mcp-atlassian__1084
sooperset/mcp-atlassian
1,084
defect
d9b99f2e762ec976ab62a5efa96b5bcd240b61e8
98610cd4d52c770a98b7ffd81f37247750f58979
feat(helm): expose OAuth proxy + client storage configuration for FastMCP auth
## Summary This PR adds Helm/runtime support for configuring the OAuth proxy feature (discovery + DCR endpoints) and optional custom OAuth client registration storage. It is intended to close the remaining deployment/configuration gap after the OAuth proxy work that has already landed. ## What this includes 1. Helm...
diff --git a/helm/README.md b/helm/README.md index 52a626d9c..9d8db058d 100644 --- a/helm/README.md +++ b/helm/README.md @@ -61,6 +61,51 @@ See the `values.yaml` file for all configuration options. - **confluence/jira.enabled**: Enable/disable Confluence or Jira integration - **config.readOnlyMode**: Disable all writ...
3
3
2
[{"id": "G0", "claim": "Only 3 of the 8 required AsyncKeyValue protocol methods are validated, so a factory returning a storage missing `ttl` or the bulk methods passes validation but crashes at runtime with AttributeError when PydanticAdapter calls them; the validation should check all 8 methods (get, put, delete, ttl...
null
sooperset__mcp-atlassian__1090
sooperset/mcp-atlassian
1,090
defect
d9b99f2e762ec976ab62a5efa96b5bcd240b61e8
ccb4767222c6398f16317042fcb1d56b45388d3f
feat(confluence): add get_space_page_tree tool for page hierarchy discovery
## Description Implements #1085. Adds a new read-only tool `confluence_get_space_page_tree` that returns a flat, token-efficient representation of all pages in a Confluence space with parent relationships. As discussed in [MCPs Are Not Like Other APIs](https://blog.fsck.com/2025/10/19/mcps-are-not-like-other-apis/), ...
diff --git a/src/mcp_atlassian/confluence/pages.py b/src/mcp_atlassian/confluence/pages.py index fb3404504..d961e1aa5 100644 --- a/src/mcp_atlassian/confluence/pages.py +++ b/src/mcp_atlassian/confluence/pages.py @@ -704,6 +704,92 @@ def get_page_children( logger.debug("Full exception details:", exc_info=T...
6
5
3
[{"id": "G0", "claim": "get_space_page_tree fetches with a single get_all_pages_from_space() call, so Confluence's server-side cap (~200-250 results) makes large spaces silently return incomplete results; a pagination loop is needed.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "intro...
null
sooperset__mcp-atlassian__133
sooperset/mcp-atlassian
133
defect
e021c8866e2dc6c01e9f82c0c0cff3283d4126a4
6c81aa3f77efd9d44ac9bd187f98728148da51b7
Add support for jira/confluence search filter
Add confluence-spaces and jira-projects filter arguments, these filters help narrow down search results to the most relevant spaces or projects, improving response quality and performance.
diff --git a/.env.example b/.env.example index ba2be57b4..5254285da 100644 --- a/.env.example +++ b/.env.example @@ -5,6 +5,7 @@ CONFLUENCE_URL=https://your-domain.atlassian.net/wiki # Your Confluence cloud URL CONFLUENCE_USERNAME=your.email@domain.com # Your Atlassian account email CONFLUENCE_API_TOKE...
2
2
1
[{"id": "G0", "claim": "The optional filter variables (e.g. CONFLUENCE_SPACES_FILTER) in .env.example should be commented out since they are not required for basic setup.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Test cases should be added fo...
null
sooperset__mcp-atlassian__168
sooperset/mcp-atlassian
168
defect
08e5fa25883ff5c70ca3c3b2d738d0b208378ee7
ec49d5b07d1ed687b8e68689db438b427c1f6127
Implement possibility to upload attachments to JIRA
As the title says - Added attachment upload capability to Jira issues: 1. Upload attachments to a Jira issue: jira_update_issue --issue_key "PROJ-123" --attachments "/path/to/file1.txt,/path/to/file2.pdf" 2. Upload attachments while updating other fields: jira_update_issue --issue_key "PROJ-123" --fields '{"summa...
diff --git a/src/mcp_atlassian/jira/attachments.py b/src/mcp_atlassian/jira/attachments.py index 61f276428..b7cd9577e 100644 --- a/src/mcp_atlassian/jira/attachments.py +++ b/src/mcp_atlassian/jira/attachments.py @@ -156,3 +156,121 @@ def download_issue_attachments( "downloaded": downloaded, "...
2
2
2
[{"id": "G0", "claim": "The parsing logic for the attachments argument does not handle the comma-separated list of file paths that the tool schema description advertises; either add comma-separated parsing or correct the schema so the two are consistent before merging.", "category": "correctness", "verdict": "supported...
null
sooperset__mcp-atlassian__173
sooperset/mcp-atlassian
173
defect
08e5fa25883ff5c70ca3c3b2d738d0b208378ee7
87a087e6343ae692f80c73fcf91562d52188d3a5
On prem confluence with basic auth is also made available
This will allow basic auth parameters to be used with on-prem confluence
diff --git a/src/mcp_atlassian/server.py b/src/mcp_atlassian/server.py index 639cd608b..e515e7cc9 100644 --- a/src/mcp_atlassian/server.py +++ b/src/mcp_atlassian/server.py @@ -31,13 +31,13 @@ def get_available_services() -> dict[str, bool | None]: """Determine which services are available based on environment var...
2
2
1
[{"id": "G0", "claim": "Before merging, add unit tests for get_available_services covering the new on-prem User/Token configuration, the existing on-prem PAT and Cloud configurations, and cases where services are not configured.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ...
null
sooperset__mcp-atlassian__178
sooperset/mcp-atlassian
178
defect
fa88126b74c0ab852599a2698c7ce54cb3bdc757
50a04c0e6aebac148138c782ca0fc4ae4413bd3d
New tool : Attach content to confluence page
Allow LLM to attach content to confluence page via new tool "confluence_attach_content"
diff --git a/src/mcp_atlassian/confluence/pages.py b/src/mcp_atlassian/confluence/pages.py index fcc7f33b7..94c303912 100644 --- a/src/mcp_atlassian/confluence/pages.py +++ b/src/mcp_atlassian/confluence/pages.py @@ -435,3 +435,45 @@ def delete_page(self, page_id: str) -> bool: except Exception as e: ...
6
6
4
[{"id": "G0", "claim": "attach_content should raise an error instead of returning False, and should return the updated ConfluencePage object in case of success rather than a bool.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The broad `except Exception...
null
sooperset__mcp-atlassian__235
sooperset/mcp-atlassian
235
defect
c2bcea40ffd4ccdbea46935605d6a1e0c113004d
5feb012ff62db6f8850bfab3f63956cd5c214abb
fix: Added create_sprint
***definitely feel free to rip me up for not following standards here, python definitely isn't my usual forte*** ### Description Adding new jira_create_sprint functionality ### Changes - Added create_sprint function to sprints.py - Added new tool jira_create_sprint - Mapped jira_create_sprint tool call to spr...
diff --git a/CHANGELOG.md b/CHANGELOG.md index bd0c9b8de..f5e10a8eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## [Unreleased] +- added `jira_create_sprint` ## [0.6.4] - 2025-04-09 diff --git a/README.md b/README.md index 85319c998..20e03c352 100644 --- a/README.md +++ b/README.md...
7
7
2
[{"id": "G0", "claim": "The success log in create_sprint should not use ERROR level nor carry the developer-specific text \"SPRINTDAVE\"; use INFO and remove the identifier.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "create_sprint's except b...
null
sooperset__mcp-atlassian__244
sooperset/mcp-atlassian
244
defect
c2bcea40ffd4ccdbea46935605d6a1e0c113004d
04c418ac902950bda9e057ef34c193ea3b5196bf
Feature: Add jira_batch_create_issues tool
# PR Description ## Changes Implemented batch Jira issue creation: - Added `batch_create_issues` in `IssuesMixin` - Registered as `jira_batch_create_issues` tool - Supports required fields (project, summary, type) and optional fields (description, assignee, components) - Includes validation mode and...
diff --git a/CHANGELOG.md b/CHANGELOG.md index bd0c9b8de..37f56e680 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ ## [Unreleased] +### Added +- Added `batch_create_issues` method to create multiple Jira issues in a single operation + - Supports validation-only mode for checking issue data before c...
4
4
2
[{"id": "G0", "claim": "The `call_tool` handler for `jira_batch_create_issues` must call `ctx.jira.batch_create_issues` directly instead of looping over the issues and calling the individual `ctx.jira.create_issue` method, so the Jira bulk creation API is actually used.", "category": "correctness", "verdict": "supporte...
null
sooperset__mcp-atlassian__245
sooperset/mcp-atlassian
245
defect
c2bcea40ffd4ccdbea46935605d6a1e0c113004d
73b87a0e4f4688871a70a02a1dff8d2fbdd4b98c
fix: add update_sprint
### Description Added update sprint functionality -- technically this adds a wrapper for atlassian-python.update_partially_sprint ### Changes - added update_sprint method to sprints.py - added test for update_sprint method to test_sprints.py
diff --git a/CHANGELOG.md b/CHANGELOG.md index bd0c9b8de..37f7ac308 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## [Unreleased] +- Added `jira_update_sprint` ## [0.6.4] - 2025-04-09 diff --git a/README.md b/README.md index 85319c998..a9f3fdd1f 100644 --- a/README.md +++ b/README.md...
4
3
2
[{"id": "G0", "claim": "The update_sprint docstring lists `name` although the parameter is `sprint_name` and omits the description for the `goal` parameter.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `jira_update_sprint` tool's input schem...
null
sooperset__mcp-atlassian__328
sooperset/mcp-atlassian
328
defect
2ea1a1f23f3d7a82aa4150d517aedcd7b968e309
73b40ece3a8361ee5aa020e37e4022ef99871881
feat: add support for getting and adding labels for Confluence pages
## Description This PR adds support for labels on Confluence pages: - get all labels on a page - add a label to a page Note: I am not very experienced in Python programming. Please excuse any mistakes 🙈 ## Changes - Add `ConfluenceLabel` with the properties as defined in [Atlassian REST API Spec](https:/...
diff --git a/README.md b/README.md index 69d9fc6b8..f17d4a184 100644 --- a/README.md +++ b/README.md @@ -351,8 +351,8 @@ For Jira Server/DC, use: |`confluence_create_page`|`jira_batch_create_issues`| |`confluence_update_page`|`jira_update_issue`| |`confluence_delete_page`|`jira_delete_issue`| -||`jira_get_transition...
8
8
2
[{"id": "G0", "claim": "The call to self.confluence.get_page_by_id(page_id=page_id, expand=\"space\") in get_page_labels seems unnecessary and should be removed.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ConfluenceLabel should not inherit from ...
null
sooperset__mcp-atlassian__471
sooperset/mcp-atlassian
471
defect
dd66c3110b68275096176ce843d33ac92fbc74dc
5f32e7eccae69d320a3b42be7b99e025f8137be2
[draft]: add oauth multicloud support
<!-- Thank you for your contribution! Please provide a brief summary. --> ## Description ## Description Me and my team desperately need feature to have multi cloud support for jira/confluence (each user can connect and use its own atlassian cloud). Our use case: we have a chat bot that allows users to use jira...
diff --git a/Dockerfile b/Dockerfile index 3473182d1..0f77e19c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,4 +46,10 @@ COPY --from=uv --chown=app:app /app/.venv /app/.venv # Place executables in the environment at the front of the path ENV PATH="/app/.venv/bin:$PATH" +# For minimal OAuth setup without environm...
2
2
2
[{"id": "G0", "claim": "The pull request's code fails the repository's pre-commit lint checks, and the author should fix the lint failures by running `pre-commit run --all-files`.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new OAuth func...
null
sooperset__mcp-atlassian__482
sooperset/mcp-atlassian
482
defect
dd66c3110b68275096176ce843d33ac92fbc74dc
3d48fed64f71890dd9cd046ac2d8a96f61701906
feat: Implement Bring Your Own Token (BYOT) OAuth Support
<!-- Thank you for your contribution! Please provide a brief summary. --> This pull request introduces support for "Bring Your Own Token" (BYOT) OAuth authentication in the `mcp-atlassian` server. This allows users to provide a pre-existing, externally managed OAuth 2.0 access token directly to the server, bypassing i...
diff --git a/README.md b/README.md index 738363d95..de26186ba 100644 --- a/README.md +++ b/README.md @@ -75,12 +75,37 @@ MCP Atlassian supports three authentication methods: 8. Add obtained credentials to `.env` or IDE config: - `ATLASSIAN_OAUTH_CLOUD_ID` (from wizard) - `ATLASSIAN_OAUTH_CLIENT_ID` + - `ATLA...
5
5
1
[{"id": "G0", "claim": "The OAuth setup list in README.md lists `ATLASSIAN_OAUTH_CLIENT_ID` twice.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider reversing precedence in get_oauth_config_from_env so an explicitly provided access token (BY...
null
sooperset__mcp-atlassian__949
sooperset/mcp-atlassian
949
defect
dc4baa8f29d935a89170e1104f3fd9c486fdbc91
08f54e95d4b99f3e0432f0c007917ede35b9afcf
fix: remove credential/token logging and harden security
## Description Remove all credential/token logging patterns across the codebase and harden security in SSL handling, file downloads, and JQL construction. Tokens, secrets, and credential material (full or partial) should never be written to logs at any level. ## Changes - **oauth.py**: Remove token exchange payload ...
diff --git a/src/mcp_atlassian/jira/attachments.py b/src/mcp_atlassian/jira/attachments.py index df6b6b75c..e28de4bc6 100644 --- a/src/mcp_atlassian/jira/attachments.py +++ b/src/mcp_atlassian/jira/attachments.py @@ -37,6 +37,13 @@ def download_attachment(self, url: str, target_path: str) -> bool: if not o...
3
3
2
[{"id": "G0", "claim": "Escaping '\"' without first escaping backslashes lets a project name ending with '\\' bypass the JQL injection sanitization; backslashes must be escaped before double-quotes.", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The pa...
null
sooperset__mcp-atlassian__985
sooperset/mcp-atlassian
985
defect
ab36f8161bba807b16964f2c6124174c9eca1acf
b632ef9410471f1074129c17d0fc300a9d2875b6
fix: sync OAuth tokens to base keyring username for load_tokens() compatibility
## Summary Fixes #984 When saving tokens, `_save_tokens()` uses `_get_keyring_username()` which includes `cloud_id` or `base_url` hash in the key (e.g., `oauth-{client_id}-cloud-{cloud_id}`). However, `load_tokens()` uses a simpler pattern (`oauth-{client_id}`) without the context suffix. This mismatch causes `load_...
diff --git a/src/mcp_atlassian/utils/oauth.py b/src/mcp_atlassian/utils/oauth.py index 3e1a15116..2a15d20a0 100644 --- a/src/mcp_atlassian/utils/oauth.py +++ b/src/mcp_atlassian/utils/oauth.py @@ -356,6 +356,7 @@ def _save_tokens(self) -> None: """ try: username = self._get_keyring_user...
2
2
0
[{"id": "G0", "claim": "A brief inline comment should note that if the same client_id is used for both Cloud and DC, the base keyring key gets overwritten by whichever saved last.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A test case for the ...
null
soot-oss__SootUp__1052
soot-oss/SootUp
1,052
defect
e846a4932d1e611d5e663ca5625d9b1a51b933c1
0cc09d24f62b03c5e696c3f599bb2d9d36cfe2a3
Add support to trap removal
- Added a `removeTrap` method to `StmtGraph` - Implemented `removeTrap` in `MutableBlockStmtGraph`
diff --git a/sootup.core/src/main/java/sootup/core/graph/ForwardingStmtGraph.java b/sootup.core/src/main/java/sootup/core/graph/ForwardingStmtGraph.java index 5019922f46a..4525946288e 100644 --- a/sootup.core/src/main/java/sootup/core/graph/ForwardingStmtGraph.java +++ b/sootup.core/src/main/java/sootup/core/graph/Forw...
1
1
0
[{"id": "G0", "claim": "The removeTrap implementation in MutableBlockStmtGraph seems a bit complicated and should be discussed/simplified.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
soot-oss__SootUp__116
soot-oss/SootUp
116
defect
bb4546e61b5a3664f542f805f09ab3abef3e4335
b80cccbba8088e30e29519a9e4b1a8aaaa25d92c
Reenhance/local generator
accidentally removed functionality to check whether the name of a local is already taken in a methods body. It is now reintroduced as an option - if Body is given as a parameter in the constructor. It is useful if Locals are created without and with LocalGenerator.
diff --git a/src/main/java/de/upb/soot/jimple/basic/LocalGenerator.java b/src/main/java/de/upb/soot/jimple/basic/LocalGenerator.java index 8a2af337910..e94ba29650b 100644 --- a/src/main/java/de/upb/soot/jimple/basic/LocalGenerator.java +++ b/src/main/java/de/upb/soot/jimple/basic/LocalGenerator.java @@ -1,15 +1,13 @@ ...
4
4
2
[{"id": "G0", "claim": "All fields in LocalGenerator that can be final should be marked final, and nullable ones annotated with @Nullable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The parameterless constructor should be removed and a Local...
null
soot-oss__SootUp__1191
soot-oss/SootUp
1,191
defect
a5ac1ecc52111c896dafa7451edad1b871027a8a
7531f26f5e178c7b26bef8d4ee095de784cec958
SootClassBuilder- review added changes
create SootClass builder & OverrideClassSource builder using step builder pattern
diff --git a/sootup.core/src/main/java/sootup/core/frontend/OverridingClassSource.java b/sootup.core/src/main/java/sootup/core/frontend/OverridingClassSource.java index 4d320e90522..a45a04d2643 100644 --- a/sootup.core/src/main/java/sootup/core/frontend/OverridingClassSource.java +++ b/sootup.core/src/main/java/sootup/...
2
2
2
[{"id": "G0", "claim": "Add the single add methods (withMethod, withField, withModifier, withInterface) to the OverridingClassSource builder as well, mirroring what SootClassBuilder has.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a test case cove...
null
soot-oss__SootUp__1304
soot-oss/SootUp
1,304
defect
2e191f31a647c1607f76f1223e7b08935e92e3da
1ed26d29cc0c09fbf674ef527b0d14462f5c4f6a
Simplify the callgraph algorithm to speed up
simplified the algorithm to call less the expensive method that calculates the concrete dispatch. Default method handling is only done when the base method is a default method. Fixed #1194 that did not correctly resolve special invokes
diff --git a/sootup.callgraph/src/main/java/sootup/callgraph/AbstractCallGraphAlgorithm.java b/sootup.callgraph/src/main/java/sootup/callgraph/AbstractCallGraphAlgorithm.java index 79725f4bd96..00dc98f9db2 100644 --- a/sootup.callgraph/src/main/java/sootup/callgraph/AbstractCallGraphAlgorithm.java +++ b/sootup.callgrap...
2
2
0
[{"id": "G0", "claim": "The repeated view.getTypeHierarchy() call inside findDefaultMethod should be cached.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The explicit loop after collecting fitting default methods into a list should be replaced by ...
null
soot-oss__SootUp__136
soot-oss/SootUp
136
defect
7929d678237bf0c79807d8d84a73488ffbcb6769
e18405e30907910ac54c2aab0697c5d00f85b3f9
Remove unneeded parameter from MethodSource.resolveBody
As a `MethodSource` corresponds to exactly one method in the analyzed code, the `SootMethod` parameter is removed with this PR. This required a slight adjustment to `AsmMethodSource` which requires its declaring class to be known. This value is set at method resolve time inside `AsmClassSource`. Resolves #121.
diff --git a/src/main/java/de/upb/soot/core/SootMethod.java b/src/main/java/de/upb/soot/core/SootMethod.java index f6705c8e65b..c654db2cbfa 100644 --- a/src/main/java/de/upb/soot/core/SootMethod.java +++ b/src/main/java/de/upb/soot/core/SootMethod.java @@ -89,10 +89,11 @@ public SootMethod( @Nullable private Bo...
2
1
1
[{"id": "G0", "claim": "The pull request's tests fail on CI even though they did not fail locally, and the cause needs to be found and fixed.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The @SuppressWarnings(\"StatementWithEmptyBody\") annotation abo...
null
soot-oss__SootUp__1435
soot-oss/SootUp
1,435
defect
c7af7eba13242e1f6d559371a3e0ee47a62d6bda
028c82857947d91df2ddd1a176f80be206428464
sorting method calls
Closes [#1086](https://github.com/soot-oss/SootUp/issues/1086)
diff --git a/sootup.callgraph/src/main/java/sootup/callgraph/GraphBasedCallGraph.java b/sootup.callgraph/src/main/java/sootup/callgraph/GraphBasedCallGraph.java index dba344eccea..8c825c0cbdb 100644 --- a/sootup.callgraph/src/main/java/sootup/callgraph/GraphBasedCallGraph.java +++ b/sootup.callgraph/src/main/java/sootu...
2
2
1
[{"id": "G0", "claim": "The position-extraction helpers should return a more precise type and the comparison logic should be moved into a custom Comparator class.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The sorting should be made optional...
null
soot-oss__SootUp__16
soot-oss/SootUp
16
defect
6ff80a9ec96816ec2b8cca3e67c3630f26d20efc
cb2ca658c97a48adb7891955e0c4c731987815da
Feature/signature IDs
Instead of using Strings everywhere, we discussed on using separate Signature Objects. See issue #5 for details.
diff --git a/src/main/java/de/upb/soot/ClassSource.java b/src/main/java/de/upb/soot/ClassSource.java index 077b59cddae..9ffeae5905b 100644 --- a/src/main/java/de/upb/soot/ClassSource.java +++ b/src/main/java/de/upb/soot/ClassSource.java @@ -21,9 +21,10 @@ import com.google.common.base.Preconditions; -import soot.j...
6
6
1
[{"id": "G0", "claim": "It might indeed make sense to create/initialize default signatures for primitives (int, byte, boolean, ...) in the SignatureFactory constructor.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "MethodSignature lacks hashCode/equals ...
null
soot-oss__SootUp__17
soot-oss/SootUp
17
defect
251e2726440dab65273c512345225bed1ca466d5
3f2124b9fdf6ac49b5b6528079f34012e2fe37f1
fix ClassSignature toString method for empty package
Printing out the fully-qualified name was buggy when the package name was empty. Anyway, ``SignatureFactory`` has the method ``ClassSignature getClassSignature(String className, String packageName)`` how do we want to represent the empty package? Either ``packageName = ""`` or ``packageName=null`` or both?
diff --git a/src/main/java/de/upb/soot/signatures/ClassSignature.java b/src/main/java/de/upb/soot/signatures/ClassSignature.java index b013b837f64..4179697b7a5 100644 --- a/src/main/java/de/upb/soot/signatures/ClassSignature.java +++ b/src/main/java/de/upb/soot/signatures/ClassSignature.java @@ -49,8 +49,10 @@ public i...
3
2
1
[{"id": "G0", "claim": "The guard added in ClassSignature.getFullyQualifiedName calls isEmpty() on packageSignature.packageName before the null check, so a null package name will throw a NullPointerException; the reviewer suggests using Guava's Strings.isNullOrEmpty() for the check.", "category": "correctness", "verdic...
null
soot-oss__SootUp__203
soot-oss/SootUp
203
defect
16bc09c4f14aa3ca33c40c2e598c6e8851cc4672
5e10984f6d955ab8fee71321fbdce3a49beaf409
Simplify generics for end-users
Generics are great, but there were some places where we could simplify usage for end-users by returning more-specific types. The main change of this PR is that `JavaView.getClass(...)` and `JavaView.getClasses()` will now return only `SootClass`. Results won't include `JavaModuleInfo`. This is now only supported by `Ja...
diff --git a/de.upb.swt.soot.core/src/main/java/de/upb/swt/soot/core/frontend/ClassProvider.java b/de.upb.swt.soot.core/src/main/java/de/upb/swt/soot/core/frontend/ClassProvider.java index 4bd8e783914..f12a8772c5a 100644 --- a/de.upb.swt.soot.core/src/main/java/de/upb/swt/soot/core/frontend/ClassProvider.java +++ b/de....
2
1
0
[{"id": "G0", "claim": "The new TODO questions whether JavaModuleView should be a separate class rather than having its features folded into JavaView, and the code 'might need to be changed' accordingly.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The t...
null
soot-oss__SootUp__246
soot-oss/SootUp
246
defect
90f3a03b55651858ac158b377f3f40d7c8e7f69b
69f6d5ed97a16bb91e381d72ff744c1fe73d15e1
implement NopEliminator
Implement the NopEliminator based on https://github.com/Sable/soot/blob/master/src/main/java/soot/jimple/toolkits/scalar/NopEliminator.java
diff --git a/de.upb.swt.soot.java.bytecode/src/main/java/de/upb/swt/soot/java/bytecode/interceptors/NopEliminator.java b/de.upb.swt.soot.java.bytecode/src/main/java/de/upb/swt/soot/java/bytecode/interceptors/NopEliminator.java index 75b706f2ee4..ad116853dd3 100644 --- a/de.upb.swt.soot.java.bytecode/src/main/java/de/up...
1
1
0
[{"id": "G0", "claim": "Handling the last statement should be excluded completely from the loop and done after it instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
soot-oss__SootUp__301
soot-oss/SootUp
301
defect
ad680f036002cabbe94dd48b098281ad72936c95
3a99a6ee773ff1f4c70541e990a55c0749f20d43
ConditionalBranchFolder
closes #242
diff --git a/de.upb.swt.soot.java.bytecode/src/main/java/de/upb/swt/soot/java/bytecode/interceptors/ConditionalBranchFolder.java b/de.upb.swt.soot.java.bytecode/src/main/java/de/upb/swt/soot/java/bytecode/interceptors/ConditionalBranchFolder.java index afe9e7649c8..2882b35e7cd 100644 --- a/de.upb.swt.soot.java.bytecode...
2
2
2
[{"id": "G0", "claim": "The pipeline fails because MinimalBytecodeTestSuite resolves with the default interceptor set, which now removes unreachable branches; the test suite should resolve with an empty interceptor set.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G...
null
soot-oss__SootUp__302
soot-oss/SootUp
302
defect
b39014211a5856209a146f4060acc4ee35902a46
2ea71537fb6c6c4287ad99f6422b1f2319dc03da
Fix/war and jar #293
Closes #293 Merged the ModuleCompositionTest into PathBasedAnalysisInputLocationTest
diff --git a/de.upb.swt.soot.java.bytecode/src/main/java/de/upb/swt/soot/java/bytecode/inputlocation/JavaClassPathAnalysisInputLocation.java b/de.upb.swt.soot.java.bytecode/src/main/java/de/upb/swt/soot/java/bytecode/inputlocation/JavaClassPathAnalysisInputLocation.java index 75779ef0402..7f5f7099529 100644 --- a/de.up...
2
2
0
[{"id": "G0", "claim": "The loop over classesInXML in testClassReceival only prints debug output, so it should either assert something or be removed.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The static fields in PathBasedAnalysisInputLocation (jar...
null
soot-oss__SootUp__349
soot-oss/SootUp
349
defect
7849dcebec408a9da52f92d2876ef39380d7ad47
075f1826180b6e048b2617f931314f024d0b2403
LocalPacker
- [x] BackwardingStmtGraph + test - [x] Locals' Liveness Analysis: FlowFunction + MergeFunction + test - [x] Compute Interferences of Locals - [x] LocalColorAssigner for Locals - [x] LocalPacker and test
diff --git a/de.upb.swt.soot.core/src/main/java/de/upb/swt/soot/core/graph/BackwardsStmtGraph.java b/de.upb.swt.soot.core/src/main/java/de/upb/swt/soot/core/graph/BackwardsStmtGraph.java new file mode 100644 index 00000000000..202d1c72acd --- /dev/null +++ b/de.upb.swt.soot.core/src/main/java/de/upb/swt/soot/core/graph...
3
2
0
[{"id": "G0", "claim": "The test should add comments showing the statements as java code before and after applying the LocalPacker.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The analyser collects stmts without successors as startingStmts beca...
null
soot-oss__SootUp__370
soot-oss/SootUp
370
defect
7849f6bf221abbd80f5a03016664ae48318f1802
3c58d0a48640576bfab174797e26fa55bfcb4c0b
Fix/jimpleparser multiline comments
fixes #369
diff --git a/de.upb.swt.soot.jimple.parser/src/main/antlr4/de/upb/swt/soot/jimple/Jimple.g4 b/de.upb.swt.soot.jimple.parser/src/main/antlr4/de/upb/swt/soot/jimple/Jimple.g4 index d96120d2ac0..bd051ec155f 100644 --- a/de.upb.swt.soot.jimple.parser/src/main/antlr4/de/upb/swt/soot/jimple/Jimple.g4 +++ b/de.upb.swt.soot.ji...
2
2
0
[{"id": "G0", "claim": "The test helper returns a SootClass, so its name should say what it returns (e.g. parseJimpleClass).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out debugging print block in the test should be removed.", ...
null
soot-oss__SootUp__379
soot-oss/SootUp
379
defect
d1a649825e46a0485c3b6035ec865e07e83fe910
d93a1552bfd11e50c254d5fc94d8100940fc919c
generics for (Method|Field)Signature to remove cast/unnecessary duplicate field
- memory improvement/removed unnecessary data redundancy in SootClassmember Subtypes i.e. a respective *SubSignature reference was additionally stored in the Subclass of SootClassMember.
diff --git a/de.upb.swt.soot.core/src/main/java/de/upb/swt/soot/core/model/Body.java b/de.upb.swt.soot.core/src/main/java/de/upb/swt/soot/core/model/Body.java index 4adee0aa9da..e6e6f1878f2 100644 --- a/de.upb.swt.soot.core/src/main/java/de/upb/swt/soot/core/model/Body.java +++ b/de.upb.swt.soot.core/src/main/java/de/u...
1
1
0
[{"id": "G0", "claim": "It would be cleaner if SootClassMember held only its SootClassMemberSignature and the sub-signature were accessed through the signature rather than exposed on the member itself.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
soot-oss__SootUp__414
soot-oss/SootUp
414
defect
c9432d459f815833753dd6b9a5f1dc95a5c0fb20
b8289d1f9bdee1e52993d6afe1b894d87ec89277
Fix problems of body interceptor
- [x] fit LocalLivenessAnalyser with Trap - [x] fit LocalPacker with Trap - [x] using ExceptionalStmtGraph for UnreachableCodeEliminator - [x] fix LocalNameStandardizer
diff --git a/de.upb.swt.soot.core/src/main/java/de/upb/swt/soot/core/graph/MutableExceptionalStmtGraph.java b/de.upb.swt.soot.core/src/main/java/de/upb/swt/soot/core/graph/MutableExceptionalStmtGraph.java index 7e249b1c9f5..9519354474e 100644 --- a/de.upb.swt.soot.core/src/main/java/de/upb/swt/soot/core/graph/MutableEx...
1
1
0
[{"id": "G0", "claim": "The now-unused, commented-out method inferExceptionalSuccs in MutableExceptionalStmtGraph.java should be deleted if it is no longer needed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
soot-oss__SootUp__472
soot-oss/SootUp
472
defect
715accf05d9e4cf6560b847bfb81c8c7d9ba2ee3
00c865a226762790868ea4f781ddc1a60321359b
Fix AsmMethodSource assignReadOps(...) always false
Fixed an if condition in the AsmMethodSource class that always evaluated to false and created redundant jimple statements. Also updated the test cases to account for the removal of the redundant jimple statements. See old Soot PR [#1834](https://github.com/soot-oss/soot/pull/1834)
diff --git a/de.upb.swt.soot.java.bytecode/src/main/java/de/upb/swt/soot/java/bytecode/frontend/AsmMethodSource.java b/de.upb.swt.soot.java.bytecode/src/main/java/de/upb/swt/soot/java/bytecode/frontend/AsmMethodSource.java index 618ce11f527..aff6f954dd1 100644 --- a/de.upb.swt.soot.java.bytecode/src/main/java/de/upb/sw...
3
1
0
[{"id": "G0", "claim": "Please remove the stale FIXME comment above the if condition in assignReadOps(...).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Can SootUp combine the constant addition and method invocations so the generated body is...
null
soot-oss__SootUp__494
soot-oss/SootUp
494
defect
1916ee98a29d5aa6f04f1e491bb59bc57024d18a
307f2870981b4b929a143859125bbdb6bf62e884
Mutable project view
Added a mutable view that has the capability to add and remove classes/methods
diff --git a/de.upb.swt.soot.core/src/main/java/de/upb/swt/soot/core/BaseViewChangeListener.java b/de.upb.swt.soot.core/src/main/java/de/upb/swt/soot/core/BaseViewChangeListener.java new file mode 100644 index 00000000000..3a6cb2f5d75 --- /dev/null +++ b/de.upb.swt.soot.core/src/main/java/de/upb/swt/soot/core/BaseViewC...
8
6
0
[{"id": "G0", "claim": "Remove the System.out.println debug output from BaseViewChangeListener (or rename it to a class named something like Default*).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use .putIfAbsent in MutableJavaView.addClass t...
null
soot-oss__SootUp__658
soot-oss/SootUp
658
defect
16b693cffa206fabd71caa89e9526f8a675b0a0f
596ea9407987d5088213d4ae087613ba5de97dcb
use cached values i.e. for the typehierarchy
+ classtypecache + cached typehierarchy -- a wild identifierfactory occurence + readability
diff --git a/sootup.core/src/main/java/sootup/core/typehierarchy/TypeHierarchy.java b/sootup.core/src/main/java/sootup/core/typehierarchy/TypeHierarchy.java index d3d355e5310..6e70a97ae20 100644 --- a/sootup.core/src/main/java/sootup/core/typehierarchy/TypeHierarchy.java +++ b/sootup.core/src/main/java/sootup/core/type...
4
2
2
[{"id": "G0", "claim": "Hardcoding the JDK class types in AugEvalFunction's one-time setup means the developer must always add the JVM classes to the analysis environment, and it will probably only work for Java 8 since modules are ignored.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "intro...
null
soot-oss__SootUp__858
soot-oss/SootUp
858
defect
4dd5bdbdf69d3958a578302e38e5ab01c8d100c1
5303f74b1ac425eb5335e7d12d90e80878e8a227
Improve/interceptors
- remove deprecated builder.*stmtgraph-manipulations* - just do it directly - readability - simplify
diff --git a/sootup.core/src/main/java/sootup/core/jimple/basic/Local.java b/sootup.core/src/main/java/sootup/core/jimple/basic/Local.java index 079d9ace828..fa3a6df7a99 100644 --- a/sootup.core/src/main/java/sootup/core/jimple/basic/Local.java +++ b/sootup.core/src/main/java/sootup/core/jimple/basic/Local.java @@ -109...
2
1
0
[{"id": "G0", "claim": "The loop should use the normal stmt iterator instead of wrapping the stmt graph in Lists.newArrayList.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The local variables isAssignStmt and isReturnStmt should be inlined into the if he...
null
soot-oss__SootUp__867
soot-oss/SootUp
867
defect
b3fff66a09ff05d575850bb571e489945ae43d8b
982a78b560fe7cafc4c85ad7ee1615928547acfc
Adapt IdentityValidator with test cases
The Identity Validator, based on Soot code, now includes added test cases covering all branches, except for cases where "parameterRef" is out-of-index. This omission is intentional, as it prevents the jimple file from being unloaded due to such jimple methods.
diff --git a/sootup.core/src/main/java/sootup/core/validation/IdentityValidator.java b/sootup.core/src/main/java/sootup/core/validation/IdentityValidator.java index c173091006c..099109c297e 100644 --- a/sootup.core/src/main/java/sootup/core/validation/IdentityValidator.java +++ b/sootup.core/src/main/java/sootup/core/v...
2
2
2
[{"id": "G0", "claim": "IdentityValidator.validate must handle the case where the method cannot be found in the given view instead of unconditionally calling .get() on the Optional.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "When the body contai...
null
soot-oss__SootUp__928
soot-oss/SootUp
928
defect
a7261ffff0fa8277c4f43dfb0c24eba3ebd96e8b
26e2b3520053d8563ec27c84b5946e9363b3020a
add `ReversePostOrderBlockTraversal` and update `DominanceFinder`
# Summary Implement RPO Traversal to Enhance CFG Analysis in Soot # Details This PR addresses the specific issue raised in the Issue #923 concerning the potential problems due to the lack of Reverse Post-Order (RPO) traversal in the dominance analysis. The proposed changes introduce an RPO traversal algorithm,...
diff --git a/sootup.core/src/main/java/sootup/core/graph/BackwardsStmtGraph.java b/sootup.core/src/main/java/sootup/core/graph/BackwardsStmtGraph.java index 5337bec5895..3f06a66c441 100644 --- a/sootup.core/src/main/java/sootup/core/graph/BackwardsStmtGraph.java +++ b/sootup.core/src/main/java/sootup/core/graph/Backwar...
1
1
0
[{"id": "G0", "claim": "The FORWARD branch's forwards post-order implementation should be moved out of `ForwardingStmtGraph`, because that class proxies calls to the backing `StmtGraph` and has nothing to do with traversal direction.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced...
null