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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Neptune-Crypto__neptune-core__268 | Neptune-Crypto/neptune-core | 268 | defect | 16e4340b3b140e3281d20b5a8e5e3c4de636f660 | 71728a012340a458d64b699601077b7c256a79e8 | Bootstrapper Mode | We are observing that people would like to participate in the network but can't because the two nodes listed in the README.md refuse connections. They do this because their max number of peers has already been reached.
This PR adds functionality for running a node in "bootstrapper mode", wherein it will drop the lon... | diff --git a/src/config_models/cli_args.rs b/src/config_models/cli_args.rs
index 2ddcdec78..f848336dc 100644
--- a/src/config_models/cli_args.rs
+++ b/src/config_models/cli_args.rs
@@ -56,7 +56,17 @@ pub struct Args {
/// Will not prevent outgoing connections made with `--peers`.
/// Set this value to 0 to re... | 1 | 1 | 1 | [{"id": "G0", "claim": "The disconnect-from-longest-lived-peer behavior triggered on AcceptedMaxReached should be conditioned on the node running as a bootstrapper, since otherwise all nodes would disconnect peers when the max is reached (and the new `bootstrap` CLI field is never used anywhere).", "category": "correct... | null |
Neptune-Crypto__neptune-core__318 | Neptune-Crypto/neptune-core | 318 | defect | f7c816b6bc130ca7e87e13c39b7fd8e5ad2ca1e6 | 39ce7ee3c89c18eaeeff1d696fdb3623c5464044 | Add archival block mmr to state | feat(archival_state): Add archival block MMR
Add a new field to the archival state, `archival_block_mmr` which is an archival MMR of all block digests in the canonical chain. This allows the client to instantly check if a block belongs to the canonical chain, and thus to faster prune abandoned monitored UTXOs, which... | diff --git a/src/config_models/data_directory.rs b/src/config_models/data_directory.rs
index b268a6b7c..bb38fd0dc 100644
--- a/src/config_models/data_directory.rs
+++ b/src/config_models/data_directory.rs
@@ -7,6 +7,7 @@ use directories::ProjectDirs;
use crate::config_models::network::Network;
use crate::models::da... | 1 | 1 | 0 | [{"id": "G0", "claim": "The get_and_try_get_agree property test only checks agreement for successful queries; test agreement for unsuccessful queries too (e.g. that get_leaf_async panics where try_get_leaf returns None) using catch_unwind.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "int... | null |
Neptune-Crypto__neptune-core__373 | Neptune-Crypto/neptune-core | 373 | defect | 7493d58cfd4fe17ded4825edd17e9c5327df1aaa | fe5bd1a9aee660d2186358bb0add25a5002e6d81 | Lossless Display for `NativeCurrencyAmount` | Most importantly, add methods `display_n_decimals` and `display_lossless`.
Also:
- Refactor to avoid `BigInt` in conversions when possible. Percolate simpler types.
- Disambiguate `from_str` by renaming to `coins_from_str`. | diff --git a/src/bin/dashboard_src/send_screen.rs b/src/bin/dashboard_src/send_screen.rs
index 1d1181880..c146b4906 100644
--- a/src/bin/dashboard_src/send_screen.rs
+++ b/src/bin/dashboard_src/send_screen.rs
@@ -1,6 +1,5 @@
use std::cmp::max;
use std::error::Error;
-use std::str::FromStr;
use std::sync::Arc;
use s... | 10 | 8 | 1 | [{"id": "G0", "claim": "The doc-comment on `to_nau_f64` should distinguish that a nau f64 is different from a decimal display, i.e. one should not typically use this function for display purposes.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The... | null |
Neptune-Crypto__neptune-core__397 | Neptune-Crypto/neptune-core | 397 | defect | c883bba813c23cddd0d2a04516e4919ad7295451 | 093e6cd9f3aa82cbc1c5b16a7e01e525a950ef0e | feat: record sent tx details in wallet, rate-limit sent payments to 2 per block. | addresses #364. (lays groundwork)
This PR records details of sent tx in the wallet-db.
This ensures that wallets will have sufficient metadata to group together utxos related to a single payment, eg when displaying wallet history.
It is also used for adding a 2 payments per block rate limit implemented in th... | diff --git a/src/main_loop/proof_upgrader.rs b/src/main_loop/proof_upgrader.rs
index 0f0190799..60879c119 100644
--- a/src/main_loop/proof_upgrader.rs
+++ b/src/main_loop/proof_upgrader.rs
@@ -453,7 +453,7 @@ impl UpgradeJob {
)
})
.collect_vec();
- let ... | 2 | 2 | 2 | [{"id": "G0", "claim": "The wallet-db entries for sent transactions would store secret key material via UnlockedUtxo (which carries the LockScriptAndWitness), and the reviewer asks whether that is a good idea and whether the secret keys can be avoided.", "category": "security", "verdict": "supported", "priority": "P1",... | null |
Neptune-Crypto__neptune-core__480 | Neptune-Crypto/neptune-core | 480 | defect | 7fd784430664f2b1cb66e96d112f2ab95074c580 | efe5d1f3e358b61ab7b11c1641e69dd6c9e54b35 | Separate reconnecter from peer discovery | Reconnecting to peers specified on the command line does not share any logic with discovering new peers. Separate the two functions to increase readability, maintainability, and testability.
Also:
- release read locks on global state sooner
- increase accuracy of comments describing peer discovery
- simplify test... | diff --git a/src/main_loop.rs b/src/main_loop.rs
index 42aac5510..3e86ecb62 100644
--- a/src/main_loop.rs
+++ b/src/main_loop.rs
@@ -879,104 +879,127 @@ impl MainLoopHandler {
Ok(())
}
- /// Perform peer discovery and (if necessary) reconnect to the peers listed
- /// as CLI arguments. Peer discov... | 3 | 3 | 2 | [{"id": "G0", "claim": "The number of peers to disconnect is computed with the wrong sign: `max_num_peers - num_peers` should be `num_peers - max_num_peers`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The comment saying execution stops there bec... | null |
Neptune-Crypto__neptune-core__490 | Neptune-Crypto/neptune-core | 490 | defect | 26e523283effaeebbb570900fccaec748474a395 | 4d6a065606dc60eb44d250c4ebc5508ac50cc853 | Thv/ 481 pw to pc upgrade race condition | Close #481 by way of (1): "Transaction initiator retains the original PritmitiveWitness, upgrades it to the new block, and then attempts to make a new ProofCollection that can then be shared."
Fixes broken `PrimitiveWitness::validate`. | diff --git a/src/main_loop/proof_upgrader.rs b/src/main_loop/proof_upgrader.rs
index d6332154e..1ae19b225 100644
--- a/src/main_loop/proof_upgrader.rs
+++ b/src/main_loop/proof_upgrader.rs
@@ -298,6 +298,7 @@ impl UpgradeJob {
// No locks may be held here!
let (upgraded, expected_utxos) = ma... | 5 | 5 | 0 | [{"id": "G0", "claim": "The test helper `pw_backed_tx` should be renamed to `primitive_witness_backed_tx` because the abbreviation \"pw\" is hard to figure out.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Test names like `pw_pc_happy_path` sh... | null |
Neptune-Crypto__neptune-core__537 | Neptune-Crypto/neptune-core | 537 | defect | 6bbe15a57e2e8b40b6c16ca559907ebe73db684c | 424014999b37ddb87c00b98d694a49a3aab00162 | privacy(mine_loop): Never add zero-valued composer outputs | If a block is empty, i.e. contains no inputs and only the coinbase rewards, *and* the composer chooses to reward the entire block subsidy to the guesser, there is no need for the composer to add any outputs to the coinbase transaction.
Prior to this commit, the composer would in that scenario add two ouputs to the c... | diff --git a/cliff.toml b/cliff.toml
index bdefb42c8..fab222c86 100644
--- a/cliff.toml
+++ b/cliff.toml
@@ -38,30 +38,31 @@ conventional_commits = true
filter_unconventional = true
split_commits = false
commit_preprocessors = [
- { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/issues/${2}))" },... | 2 | 1 | 0 | [{"id": "G0", "claim": "The composer_outputs function should not go from returning a Result with an error to panicking (why did the PR make this change?).", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new expect message is wrong and should say \"guess... | null |
Neptune-Crypto__neptune-core__578 | Neptune-Crypto/neptune-core | 578 | defect | 2d908eedfb696f6bdb5816b3eba22c654ce12b98 | f8b0ba7e81744b8534ebfdd25a27080c499c9fbd | backup wallet DB before migrating | closes #577
It is important to backup wallet db before migrating in case:
1. anything goes wrong with the migration
2. user needs to downgrade the software for some reason.
This refactors RustyWalletDatabase::connect() into two methods try_connect() and try_connect_and_migrate(). The former returns an error th... | diff --git a/src/lib.rs b/src/lib.rs
index 5d834b8a5..d3a66fe21 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -30,6 +30,7 @@ pub mod tests;
use std::collections::HashMap;
use std::env;
use std::net::SocketAddr;
+use std::path::PathBuf;
use anyhow::Context;
use anyhow::Result;
@@ -123,7 +124,7 @@ pub async fn initi... | 7 | 6 | 2 | [{"id": "G0", "claim": "The backup function opens the DB before/while copying, so the backup fails on Windows with os error 32 (file used by another process).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "copy_dir_recursive should use std::io::Erro... | null |
Neptune-Crypto__neptune-core__580 | Neptune-Crypto/neptune-core | 580 | defect | 54fc08c6041169cb2912c62bc90053b47f7496e4 | 43e469fcb2f076fac81348aacafe2fd5e0cf2a4d | Fix MSMP Resync From Blocks | Cf. #568.
Function `resync_membership_proofs_from_stored_blocks` contains a logical error (now fixed) by failing to update the `RemovalRecords` in the course of updating a `MsMembershipProof` with a `MutatorSetUpdate`.
Test `resync_ms_membership_proofs_across_stale_fork` missed the opportunity to catch this logic... | diff --git a/src/models/blockchain/block/mod.rs b/src/models/blockchain/block/mod.rs
index 345888bc0..a842b4b58 100644
--- a/src/models/blockchain/block/mod.rs
+++ b/src/models/blockchain/block/mod.rs
@@ -1754,7 +1754,7 @@ pub(crate) mod tests {
use super::*;
use crate::models::state::tx_creation_conf... | 3 | 2 | 0 | [{"id": "G0", "claim": "The resync solution is really slow and could probably be solved by reading the membership proofs from the archival mutator set, if such a state is available.", "category": "performance", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Docstring typo: \"as w... | null |
Neptune-Crypto__neptune-core__639 | Neptune-Crypto/neptune-core | 639 | defect | 079e730d8e43bbd7dcba2529e058ee6abada159a | ff224366c53c8f8b247fd7fbfa18bc7e47b765dd | Improve `Pow`'s `preprocess` | This PR:
- Adds a test that `preprocess` can be canceled by closing the channel.
- Checks the channel periodically in `preprocess` and aborts early if it is canceled.
- Uses memory more efficiently.
- Drops twenty-first's `MerkleTree` as a dependency for the module `Pow`, in favor of a local struct `MTree`. Mot... | diff --git a/src/models/blockchain/block/mod.rs b/src/models/blockchain/block/mod.rs
index fa8e2f238..abdfd5976 100644
--- a/src/models/blockchain/block/mod.rs
+++ b/src/models/blockchain/block/mod.rs
@@ -605,7 +605,7 @@ impl Block {
// 2025-07-31, 101.09 NPT
(ReceivingAddress::from_bech32m(... | 4 | 4 | 1 | [{"id": "G0", "claim": "The `paths_agree` test should be renamed (e.g. to `authentication_paths_agree`) to highlight that the test covers more than just indices.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `verify_fails_on_wrong_index` ne... | null |
Neptune-Crypto__neptune-core__651 | Neptune-Crypto/neptune-core | 651 | defect | 48e37ee603e7ddfdd4ceeda1ec38f6d71a8d1f6e | 4f835008174fd68765e3a1327e08253834f3125b | 648 reduce block proposal switching frequency | Closes #648. | diff --git a/neptune-core/src/config_models/cli_args.rs b/neptune-core/src/config_models/cli_args.rs
index a3a441e2d..e73116f67 100644
--- a/neptune-core/src/config_models/cli_args.rs
+++ b/neptune-core/src/config_models/cli_args.rs
@@ -158,22 +158,13 @@ pub struct Args {
#[clap(long, default_value = "1")]
pu... | 11 | 8 | 0 | [{"id": "G0", "claim": "The added comment 'Notify all peers of the block proposal we just accepted. This regardless of delta from previous suggestion (as long as delta) is positive.' is very confusing and should be clarified, e.g. 'Do this regardless of the difference in guesser fee, relative to the previous proposal (... | null |
NervJS__taro__13633 | NervJS/taro | 13,633 | defect | c4aaf60554af633c8017a49278fb58a25e19df73 | 8c487f46c36ac32d5df429dc8cb4790880d0f4b0 | fix(taro-h5): request timeout use AbortController abort | <!--
请务必阅读贡献者指南:
https://github.com/NervJS/taro/blob/master/CONTRIBUTING.md
-->
<!-- PULL REQUEST TEMPLATE -->
<!-- (Update "[ ]" to "[x]" to check a box) -->
**这个 PR 做了什么?** (简要描述所做更改)
修复 taro-h5 request 参数 timeout 不生效
**这个 PR 是什么类型?** (至少选择一个)
- [x] 错误修复(Bugfix) issue: fix #13624
- [ ] 新功能(Feature... | diff --git a/packages/taro-h5/__tests__/network/request.test.ts b/packages/taro-h5/__tests__/network/request.test.ts
index c1610e09037d..48f58ef5afbe 100644
--- a/packages/taro-h5/__tests__/network/request.test.ts
+++ b/packages/taro-h5/__tests__/network/request.test.ts
@@ -140,4 +140,31 @@ describe('request', () => {
... | 1 | 1 | 1 | [{"id": "G0", "claim": "Browser support for AbortController is too low, so the PR should add the abortcontroller-polyfill instead of relying on the native constructor.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
NervJS__taro__13693 | NervJS/taro | 13,693 | defect | 1aa0bbee40cfcfa38876aa543932f39604a7dd0b | 680504266e12ff0811d9f16bd60cb6869e41cf06 | Feat/cli global plugin | <!--
请务必阅读贡献者指南:
https://github.com/NervJS/taro/blob/master/CONTRIBUTING.md
-->
<!-- PULL REQUEST TEMPLATE -->
<!-- (Update "[ ]" to "[x]" to check a box) -->
**这个 PR 做了什么?** (简要描述所做更改)
为 taro-cli 新增了全局插件和插件集配置,可以在没有项目 config 文件的情况下,运行 taro 相关插件,[参考文档](https://taro-docs-pro.pf.jd.com/docs/cli#%E5%85%A8%E5%... | diff --git a/packages/taro-cli/.gitignore b/packages/taro-cli/.gitignore
index ead9cfc9304c..a10aa285f193 100644
--- a/packages/taro-cli/.gitignore
+++ b/packages/taro-cli/.gitignore
@@ -2,4 +2,5 @@ templates/*
!templates/default
templates/default/.*
!templates/plugin-compile
+!templates/global-config
!src/__tests_... | 18 | 18 | 2 | [{"id": "G0", "claim": "The new Kernel method is misspelled as `applayCliCommandPlugin` (including in the internalMethods list) and should be `applyCliCommandPlugin`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The loop variable is misspelled... | null |
NervJS__taro__14644 | NervJS/taro | 14,644 | defect | ee423f56b74a0a40c42446f78cc6d0a2019295ca | 682d66337f101c61b287fc66799dcafaef1c6d20 | fix(http): cookie does not work due to lowercase header of http2 | <!--
请务必阅读贡献者指南:
https://github.com/NervJS/taro/blob/master/CONTRIBUTING.md
-->
<!-- PULL REQUEST TEMPLATE -->
<!-- (Update "[ ]" to "[x]" to check a box) -->
**这个 PR 做了什么?** (简要描述所做更改)
http插件在启用cookie时,会从http响应获取`Set-Cookie`,但在http/2约束所有header使用小写字母,导致cookie无法工作,这个pr支持在找不到`Set-Cookie`时尝试查找`set-cookie`
... | diff --git a/packages/taro-plugin-http/src/runtime/XMLHttpRequest.ts b/packages/taro-plugin-http/src/runtime/XMLHttpRequest.ts
index aad96c137e13..5e00c59e36d2 100644
--- a/packages/taro-plugin-http/src/runtime/XMLHttpRequest.ts
+++ b/packages/taro-plugin-http/src/runtime/XMLHttpRequest.ts
@@ -262,7 +262,7 @@ export cl... | 3 | 3 | 2 | [{"id": "G0", "claim": "Other places in the code also read headers with case-sensitive direct key access (e.g. header['Content-Length'] and this.#header['Content-Length']) and should be checked and fixed the same way as the Set-Cookie read.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope":... | null |
NervJS__taro__18654 | NervJS/taro | 18,654 | defect | 2de837425e7201b5d964152be22c8e79e3045529 | b5b488ed0bc301476fa31c9a189d578d73dbe7c6 | 修复picker一些列问题,适配harmony侧,内置大屏放大计算,增加暗黑模式 | <!--
请务必阅读贡献者指南:https://github.com/NervJS/taro/blob/master/CONTRIBUTING.md
并使用 "[x]" 进行勾选
-->
**这个 PR 做了什么?** (简要描述所做更改)
1.修复Picker滚动位置异常问题
2.Picker适配harmony侧
3.picker内置计算大屏缩放比例作为兜底
4.picker增加暗黑模式,增加部分颜色参数暴露
5.修复picker判断异常问题
6.修复video控制异常问题
**这个 PR 是什么类型?** (至少选择一个)
- [x] 错误修复 (Bugfix) issue: fix #
- [... | diff --git a/crates/native_binding/package.json b/crates/native_binding/package.json
index a26a0374b41e..f67318fa2b6c 100644
--- a/crates/native_binding/package.json
+++ b/crates/native_binding/package.json
@@ -1,6 +1,6 @@
{
"name": "@tarojs/binding",
- "version": "4.1.8",
+ "version": "4.1.9-beta.5",
"descrip... | 6 | 1 | 1 | [{"id": "G0", "claim": "The test setup does not mock @tarojs/taro, so Taro.getSystemInfo is undefined and the tests fail with a TypeError when PickerGroup renders with selectedIndex; add a getSystemInfo mock to packages/taro-components-react/__tests__/setup.ts.", "category": "testing", "verdict": "supported", "priority... | null |
NetApp__harvest__1763 | NetApp/harvest | 1,763 | defect | 6d5d73227b9d08b79584b6d144b3680e57a073f1 | f104c0836a9b387cdb5b07615726af169379adc9 | fix: handle min-max for network dashboard | - Removed from `NVMe/FC ports` as this table don't have column #C for `used%` | diff --git a/cmd/tools/grafana/dashboard_test.go b/cmd/tools/grafana/dashboard_test.go
index 6654bd3f0..41b321d10 100644
--- a/cmd/tools/grafana/dashboard_test.go
+++ b/cmd/tools/grafana/dashboard_test.go
@@ -54,7 +54,7 @@ func TestUnitsAndExprMatch(t *testing.T) {
mt := newMetricsTable()
visitDashboards([]string{"... | 2 | 2 | 1 | [{"id": "G0", "claim": "Questions whether the new percentunit min/max check added to the dashboard test should apply only to the gradient-gauge display mode or to other display modes as well.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Some overr... | null |
NetApp__harvest__1833 | NetApp/harvest | 1,833 | defect | 372a8b144dff0f75130767bc0ba82cae76d79ad9 | 41829397f6c8c6a3b7c15cad297856386497d601 | feat: Ontap s3 dashboard - config metrics | <img width="1777" alt="image" src="https://user-images.githubusercontent.com/83282894/226386264-c88253d2-e4da-4685-92f0-dc0859ed72f9.png">
<img width="1730" alt="image" src="https://user-images.githubusercontent.com/83282894/226387699-6b8c8b19-4b56-4ba1-948d-491584a7b3c0.png">
| diff --git a/conf/rest/9.7.0/ontap_s3.yaml b/conf/rest/9.7.0/ontap_s3.yaml
index 7045cb71f..d298e602d 100644
--- a/conf/rest/9.7.0/ontap_s3.yaml
+++ b/conf/rest/9.7.0/ontap_s3.yaml
@@ -7,6 +7,7 @@ counters:
- ^svm.name => svm
- ^volume.name => volume
- ^name => bucket
+ - ^encry... | 5 | 5 | 0 | [{"id": "G0", "claim": "The Object Count panel should use the locale unit so the full number is shown instead of a shortened one.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The size column overrides should use the `bytes` unit instead of `decbytes`."... | null |
NetApp__harvest__1840 | NetApp/harvest | 1,840 | defect | f44bfec27b06aba6f126ac8ed643eea2a323ce1e | 5acd21634396c220cc93063dc6b4e0832af53f3c | feat: Add routes to network dashboard | 
| diff --git a/cmd/collectors/rest/plugins/netroute/netroute.go b/cmd/collectors/rest/plugins/netroute/netroute.go
index f3301907b..791f601b4 100644
--- a/cmd/collectors/rest/plugins/netroute/netroute.go
+++ b/cmd/collectors/rest/plugins/netroute/netroute.go
@@ -25,6 +25,7 @@ var instanceLabels = []string{
"gateway",
... | 1 | 1 | 0 | [{"id": "G0", "claim": "Since the Routes panel in the dashboard only works with the RestCollector, that requirement should be noted in the Routes row.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NetApp__harvest__1935 | NetApp/harvest | 1,935 | defect | 83dba0133cd6658f415a6b856aedd206befb0da7 | a8cbdf0a6d53a64601d19788fe2752e8a8969513 | feat: Harvest should collect CIFS clients | Fixes: #1826
```bash
curl -s http://localhost:12990/metrics | rg -v "#|metadata_" | sort | prom
cifs_clients_labels{
client_ip = "10.249.154.33",
client_port = "50322",
cluster = "ocum-infinity",
datacenter = "nane1",
identifier = "153417359",
network_context_id = "9",
node = "ocum-infinity-01... | diff --git a/cmd/tools/template/template_test.go b/cmd/tools/template/template_test.go
index a92a06ec4..24e8b587a 100644
--- a/cmd/tools/template/template_test.go
+++ b/cmd/tools/template/template_test.go
@@ -360,17 +360,17 @@ func TestMetricsAreSortedAndNoDuplicates(t *testing.T) {
// check sorted exported instance... | 2 | 1 | 0 | [{"id": "G0", "claim": "Since most fields are exported as instance_keys, the exposed metrics will include all keys; move these entries out of instance_keys and into instance_labels so metrics do not carry them as labels (asked as a question, 'Is it possible to have all instance_keys included only in instance_labels?').... | null |
NetApp__harvest__1943 | NetApp/harvest | 1,943 | defect | b1c1d821493a8b2432936a01042b5821d766f79b | 0d5bcf300577d04e47c182572a9f80fc3ee4e700 | feat: CI regression runs locally | refactor: remove build tags
refactor: remove unnecessary CI sleeps
feat: wait less for collector data
feat: wait for both REST and ZAPI data
refactor: remove testify dependency
feat: improve logging
CI regressions runs 72% faster. 1006s -> 284s | diff --git a/Makefile b/Makefile
index 92322f9e1..53f9ebd0d 100644
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,7 @@ LINT_EXISTS := $(shell which golangci-lint)
GOVULNCHECK_EXISTS := $(shell which govulncheck)
MKDOCS_EXISTS := $(shell which mkdocs)
FETCH_ASUP_EXISTS := $(shell which ./.github/fetch-asup)
-
+CIVAR_EXIS... | 3 | 3 | 0 | [{"id": "G0", "claim": "The newly added CIVAR_EXISTS variable is unused and wrong: it should be named CIVAR/reflect the ci variable, and the cicheck target it belongs to actually just runs govulncheck, so CI does not need govulncheck here.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": ... | null |
NetApp__harvest__1985 | NetApp/harvest | 1,985 | defect | c566ccb1b092b39a80b8508b7322003c1efa5deb | f9e4798a1ae6ff03e984b296644e3161d6020051 | feat: add volume stat panels to volume dashboard | 
| diff --git a/grafana/dashboards/cmode/volume.json b/grafana/dashboards/cmode/volume.json
index 78583f4bf..ba9affb40 100644
--- a/grafana/dashboards/cmode/volume.json
+++ b/grafana/dashboards/cmode/volume.json
@@ -71,7 +71,7 @@
"gnetId": null,
"graphTooltip": 1,
"id": null,
- "iteration": 1678952925478,
+ "it... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new volume stat panels use `unit: \"string\"` and so display raw counter values like `1495183`; the reviewer asks whether they should instead show human-readable formatted values like `1.50 Mil`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NetApp__harvest__2052 | NetApp/harvest | 2,052 | defect | 483f82471c3e006da5e6c071cbed23970aaeda2c | 56627640775ba0511cbc887fc7c9c6e96a841b16 | test: adding ems unit tests | Handled these cases:
1. Basic non-bookend ems : `wafl.vol.autoSize.done` --> make sure ems should be raised
2. Matches non-bookend ems: `arw.volume.state`. --> make sure ems should be raised and label is same as enum passed
3. Basic bookend issuing ems: `wafl.vvol.offline` --> make sure ems should be raised
... | diff --git a/cmd/collectors/ems/ems.go b/cmd/collectors/ems/ems.go
index 6614dbc71..cce186c3c 100644
--- a/cmd/collectors/ems/ems.go
+++ b/cmd/collectors/ems/ems.go
@@ -451,8 +451,8 @@ func (e *Ems) getHref(names []string, filter []string) string {
nameFilter := "message.name=" + strings.Join(names, ",")
filter = a... | 5 | 5 | 1 | [{"id": "G0", "claim": "SendPostReqAndGetRes in pkg/util disables TLS certificate verification (InsecureSkipVerify), which should not be used in production code.", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G2", "claim": "Setup can hardcode homePath as ../../../ in... | null |
NetApp__harvest__2120 | NetApp/harvest | 2,120 | defect | b76529e78ab70723dca3bb488cd0041a4db897aa | bde1b29b9edae73f45550700957de27183ff07f1 | feat: autoresolve ems would export metric value as 0 and autoresolve=true label | <img width="1785" alt="image" src="https://github.com/NetApp/harvest/assets/83282894/3b8a3124-4832-46a6-bba3-729e45464afe"> | diff --git a/cmd/collectors/ems/ems.go b/cmd/collectors/ems/ems.go
index 310cc467e..5c9bc2f5c 100644
--- a/cmd/collectors/ems/ems.go
+++ b/cmd/collectors/ems/ems.go
@@ -25,6 +25,7 @@ const defaultSeverityFilter = "alert|emergency|error|informational|notice"
const MaxBookendInstances = 1000
const DefaultBookendResolut... | 3 | 3 | 1 | [{"id": "G0", "claim": "The documentation should be updated to define the autoresolve label.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The resolve_after docs should state that when the bookend pair is not received within the resolve_after dur... | null |
NetApp__harvest__2137 | NetApp/harvest | 2,137 | defect | aa62287c58991bfddd35d0962d8930483aae993f | d566fcafbc779f9e27fea12e76e48309bb05478a | fix: handle difference of pollInstance and pollData records via exportable | Added basic testPollData and testPollInstance function(without streaming and batching for tests).
Captured these case:
1. same records in pollInstance and pollData
2. PollInstance has less records than pollData
3. pollInstance has more records than pollData | diff --git a/cmd/collectors/rest/plugins/qtree/qtree.go b/cmd/collectors/rest/plugins/qtree/qtree.go
index 81833f6c0..e854c1e51 100644
--- a/cmd/collectors/rest/plugins/qtree/qtree.go
+++ b/cmd/collectors/rest/plugins/qtree/qtree.go
@@ -187,7 +187,7 @@ func (my *Qtree) Run(dataMap map[string]*matrix.Matrix) ([]*matrix.... | 2 | 2 | 0 | [{"id": "G0", "claim": "Having both InvokeWithTimersWithTestFile and InvokeWithTimers (and likewise InvokeBatchRequestWithTestFile and InvokeBatchRequest) can be confusing; it may be better to merge them and use one method.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":... | null |
NetApp__harvest__2208 | NetApp/harvest | 2,208 | defect | 80ecee492f57d515331af73bdf4408f260473203 | 73b8ff54a74520e168b9caaa37e9d48534c6e88f | feat: Supporting topk in S3 dashboard | Prior the changes:
<img width="1724" alt="image" src="https://github.com/NetApp/harvest/assets/83282894/5e012460-bb80-45c0-b70a-011b159132c5">
Now with changes:
<img width="1733" alt="image" src="https://github.com/NetApp/harvest/assets/83282894/551865e5-9c5d-40a6-8779-74cbe0de64ac">
| diff --git a/grafana/dashboards/cmode/s3ObjectStorage.json b/grafana/dashboards/cmode/s3ObjectStorage.json
index c0d86d4f1..4e0672f92 100644
--- a/grafana/dashboards/cmode/s3ObjectStorage.json
+++ b/grafana/dashboards/cmode/s3ObjectStorage.json
@@ -488,14 +488,14 @@
{
"datasource": "${DS_PROMETHEUS}... | 1 | 1 | 0 | [{"id": "G0", "claim": "The TopResources variable's default should be top 5, i.e. the option \"5\" should be the selected one rather than the currently selected option.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NetApp__harvest__2306 | NetApp/harvest | 2,306 | defect | 5d8fa410393ad4670429e273770e10a57a199913 | 11d1d814ac27e41245dc4c87e560f20911a5fef2 | fix: adding log forwarding column in compliance table in security dashboard | <img width="1706" alt="image" src="https://github.com/NetApp/harvest/assets/83282894/4d9c6245-78ea-4e35-a763-e47562798163">
The counter was removed past year here: https://github.com/NetApp/harvest/commit/9ae12660fb97b6a64d1b321fc63e2cad65404a61 | diff --git a/grafana/dashboards/cmode/security.json b/grafana/dashboards/cmode/security.json
index b804755e3..52339923b 100644
--- a/grafana/dashboards/cmode/security.json
+++ b/grafana/dashboards/cmode/security.json
@@ -2153,7 +2153,7 @@
"panels": [
{
"datasource": "${DS_PROMETHEUS}",
- ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Since these are exact matches, better to use a map instead of a slice for excludedNames.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NetApp__harvest__2519 | NetApp/harvest | 2,519 | defect | 355360b5b5e0f7ee124571080ea940061fb5e7a2 | c85a9391f3c5c82549f1cbbfc3567a5d4e7bb7fd | feat: add HA down and sensor issues in Health Dashboard | 

| diff --git a/cmd/collectors/rest/plugins/health/health.go b/cmd/collectors/rest/plugins/health/health.go
index 5d9624f03..434957c24 100644
--- a/cmd/collectors/rest/plugins/health/health.go
+++ b/cmd/collectors/rest/plugins/health/health.go
@@ -23,6 +23,7 @@ const (
shelfHealthMatrix = "he... | 1 | 1 | 0 | [{"id": "G0", "claim": "The getHADown result/err handling would be clearer as a direct `return collectors.InvokeRestCall(h.client, href, h.Logger)`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NetApp__harvest__2601 | NetApp/harvest | 2,601 | defect | 8184341cf2f678ee09a72c0495e1a651acd76cd1 | 6b16882ffa8f96b3119511a62ed9e42f1ed16e4c | feat: adding template for Metrocluster diagnostics check | Monitoring the mcc diagnostics for these objects: Cluster, Node, Aggregate, Volume
**Cluster**
<img width="1770" alt="image" src="https://github.com/NetApp/harvest/assets/83282894/ff4f5e85-6b7f-4a43-bf1b-edd0515be7a4">
**Node**
<img width="1767" alt="image" src="https://github.com/NetApp/harvest/assets/83282894... | diff --git a/cmd/collectors/rest/plugins/metroclustercheck/metroclustercheck.go b/cmd/collectors/rest/plugins/metroclustercheck/metroclustercheck.go
new file mode 100644
index 000000000..6da7873c7
--- /dev/null
+++ b/cmd/collectors/rest/plugins/metroclustercheck/metroclustercheck.go
@@ -0,0 +1,157 @@
+package metroclus... | 6 | 6 | 2 | [{"id": "G0", "claim": "The repeated createMetric and instanceKeys.NewChildS calls in Init should be replaced by loops over slices of metric and label names.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The exported instance keys check_result ... | null |
NetApp__harvest__2759 | NetApp/harvest | 2,759 | defect | 8ba8d459bded1d26cac33f3de7758d15b07e2db0 | 5cda9ebe921064ecceaa89a9100ca5e3b3daa7b9 | refactor: changed field to use # to handle counter testcase | Fix for these logs in CI tests
<img width="1683" alt="image" src="https://github.com/NetApp/harvest/assets/83282894/165368e1-2a15-4c98-8995-1877226f68bc">
| diff --git a/conf/rest/9.12.0/node.yaml b/conf/rest/9.12.0/node.yaml
index 11198d0bd..42d75d5a9 100644
--- a/conf/rest/9.12.0/node.yaml
+++ b/conf/rest/9.12.0/node.yaml
@@ -9,7 +9,7 @@ counters:
- ^controller.failed_fan.message.message => failed_fan_message
- ^controller.failed_power_supply.message.mes... | 1 | 1 | 0 | [{"id": "G0", "claim": "The PR's switch of the REST template from `ha.partners.0.name` to `ha.partners.#.name` should be reconsidered, since `.0` fails only in direct REST calls - by reverting to `query *` for such expressions or by fixing the test code to handle `.0`, which makes sense as there can be only one partner... | null |
NetApp__harvest__2891 | NetApp/harvest | 2,891 | defect | 8c9b7577e1b34ad790fbc848a96aa00e5bb42d06 | 41b5729ee23e1e5bcbc0c64a18f9dd2001285267 | feat: adding description to panels | With this PR change, Only these panels are pending and we can target them in next release
```
// we don't get description for below panels, we need to manually formed them as per our need.
ignoreList := []string{
// These are from fsa
"Volume Access ($Activity) History", "Volume Access ($Activity) H... | diff --git a/cmd/tools/grafana/dashboard_test.go b/cmd/tools/grafana/dashboard_test.go
index 8f6578238..ca7af2b5d 100644
--- a/cmd/tools/grafana/dashboard_test.go
+++ b/cmd/tools/grafana/dashboard_test.go
@@ -1468,7 +1468,8 @@ func checkDescription(t *testing.T, path string, data []byte, count *int) {
// These are f... | 9 | 9 | 0 | [{"id": "G0", "claim": "The new panel description should read \"This panel displays details of volumes that are not protected.\" instead of \"This panel shows volumes details which are not being protected.\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "... | null |
NetApp__harvest__3002 | NetApp/harvest | 3,002 | defect | 00a4fa826af5b7eb36473a6b2f3b010192d317fe | 432e6ee0f6cb4b9fcc6f1f99cf69261eca5e546e | feat: Remove topk vars from StorageGRID dashboards | ```
harvest % rg -F '$Top' grafana/dashboards/ | rg -v TopResources | sort
harvest %
```
| diff --git a/cmd/tools/grafana/dashboard_test.go b/cmd/tools/grafana/dashboard_test.go
index c7631db39..f0c41da62 100644
--- a/cmd/tools/grafana/dashboard_test.go
+++ b/cmd/tools/grafana/dashboard_test.go
@@ -954,7 +954,10 @@ func ensureLookBack(text string) string {
space = 0
}
function := text[space:openInd... | 3 | 2 | 1 | [{"id": "G0", "claim": "Add one more sentence to the new comment explaining that this code=~\"[45].*\" pattern is used in the StorageGRID Overview dashboard to check HTTP StatusCodes.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Hidden topk temp... | null |
NetApp__harvest__3186 | NetApp/harvest | 3,186 | defect | b43656ea67dd59a3d3912172d0f64210ce6c1014 | 1ffcc1fc68d8dda1c6958dd9636dc328571501fc | feat: handle url limit in rest | This change would be in `build()` function which would be called by rest cli and rest/ems collector calls. | diff --git a/cmd/tools/rest/href_builder.go b/cmd/tools/rest/href_builder.go
index be04eadaf..be98ee7c3 100644
--- a/cmd/tools/rest/href_builder.go
+++ b/cmd/tools/rest/href_builder.go
@@ -1,11 +1,14 @@
package rest
import (
+ "fmt"
"slices"
"strconv"
"strings"
)
+const URLMaxLimit = 8 * 1024
+
type HrefB... | 4 | 4 | 1 | [{"id": "G0", "claim": "When fields are switched back to * on URL overflow, the hidden-fields logic must be handled as well instead of being dropped.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The URL-limit message should not be printed with fmt... | null |
NetApp__harvest__3306 | NetApp/harvest | 3,306 | defect | d6443e0c4049426b3d02a2eadf642c959fee741e | dfa366a4d88e38e2ddfb3bb1c4a8b0207485e6c2 | feat: Tracking cluster image update progress via Rest | ```
cluster_update_labels{cluster="umeng-aff300-01-02",datacenter="rest",phase="validation",phase_name="Pre-update checks",status="completed"} 1.0
cluster_update_labels{cluster="umeng-aff300-01-02",datacenter="rest",phase="ontap_updates",phase_name="ONTAP updates",status="completed"} 1.0
cluster_update_labels{cluste... | diff --git a/conf/rest/9.6.0/clusterupdate.yaml b/conf/rest/9.6.0/clusterupdate.yaml
new file mode 100644
index 000000000..dba72b979
--- /dev/null
+++ b/conf/rest/9.6.0/clusterupdate.yaml
@@ -0,0 +1,16 @@
+
+name: ClusterUpdate
+query: api/private/cli/cluster/image/show-update-progress
+object: cluster_u... | 1 | 1 | 1 | [{"id": "G0", "claim": "The collector should use the /api/cluster/software endpoint, as mentioned in the issue, because it provides detailed information, instead of api/private/cli/cluster/image/show-update-progress.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
NetApp__harvest__3507 | NetApp/harvest | 3,507 | defect | fc09b70dd9963c00f8fe29929e39aa4d599f9a4f | c2635925d4e4bc6d1540317d0c7bce7e0b8da051 | feat: adding uptime in lif perf templates | Dashboard changes are in-progress as there are many lif_labels which have svm empty and joining them with lif_uptime may cause issue in table. | diff --git a/cmd/collectors/lif.go b/cmd/collectors/lif.go
new file mode 100644
index 000000000..6e7bf4641
--- /dev/null
+++ b/cmd/collectors/lif.go
@@ -0,0 +1,32 @@
+package collectors
+
+import (
+ "github.com/netapp/harvest/v2/cmd/poller/plugin"
+ "github.com/netapp/harvest/v2/pkg/matrix"
+ "github.com/netapp/harves... | 1 | 1 | 0 | [{"id": "G0", "claim": "In Lif.Run, the empty-svm branch should set svm to the literal \"Cluster\" instead of the ipspace variable, which is slightly clearer.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
NetApp__harvest__3858 | NetApp/harvest | 3,858 | defect | 816552634205d9b7748a02f4d7c47cbdc7079ccf | 18d23322a2b06706bfa035b5bc53d6101e6ba000 | feat: display hot/cold data of volumes | <img width="1655" height="632" alt="image" src="https://github.com/user-attachments/assets/eb727db9-6706-47a4-af44-1c6a2e22821d" /> | diff --git a/conf/rest/9.12.0/volume.yaml b/conf/rest/9.12.0/volume.yaml
index 024e735d2..df44108c4 100644
--- a/conf/rest/9.12.0/volume.yaml
+++ b/conf/rest/9.12.0/volume.yaml
@@ -21,6 +21,7 @@ counters:
- ^space_mgmt_try_first => space_mgmt_try_first
- ^state ... | 2 | 2 | 0 | [{"id": "G0", "claim": "A time series panel for hot and cold data over time should also be added to the volume dashboard, next to the table.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The panel description should be reworded to: \"Display hot and col... | null |
NetApp__harvest__3880 | NetApp/harvest | 3,880 | defect | 831727965912cd82052cabe06e110ae42e2bb4b2 | 927e1397c25a9505c9e64dfa840e9f74362d3843 | feat: adding total throughput panel of destination volume of sm-sv | <img width="1148" height="418" alt="image" src="https://github.com/user-attachments/assets/75ea37ad-6642-4458-be82-ebc187f92db1" />
| diff --git a/cmd/tools/grafana/dashboard_test.go b/cmd/tools/grafana/dashboard_test.go
index a85af0823..3340868f8 100644
--- a/cmd/tools/grafana/dashboard_test.go
+++ b/cmd/tools/grafana/dashboard_test.go
@@ -936,7 +936,8 @@ func checkTopKRange(t *testing.T, path string, data []byte) {
for _, name := range expr.va... | 1 | 1 | 0 | [{"id": "G0", "claim": "The panel description should be reworded to \"This panel displays the total amount of data read from and written to the destination volume in an SnapMirror or SnapVault relationship.\" instead of the awkward \"This panel represents the total amount of data that has been read from and written to ... | null |
NetApp__harvest__3884 | NetApp/harvest | 3,884 | defect | 150782f370e7dafc33a6b2acdeb230fa3f178b67 | f56157084b6076dc9a6f8d919fa678f302fc2a33 | feat: adding nvm_mirror zapiperf object and removed read_ops and ops from iwarp | <img width="1337" height="763" alt="image" src="https://github.com/user-attachments/assets/cee8ff42-f2ee-405d-829a-55aaa5c66526" /> | diff --git a/conf/restperf/9.14.1/iwarp.yaml b/conf/restperf/9.14.1/iwarp.yaml
index 6788f0551..33e3bda0d 100644
--- a/conf/restperf/9.14.1/iwarp.yaml
+++ b/conf/restperf/9.14.1/iwarp.yaml
@@ -7,8 +7,6 @@ counters:
- ^^id
- ^node.name => node
- average_latency => avg_latency
- - ops ... | 4 | 4 | 3 | [{"id": "G0", "claim": "Keep the ops and read_ops counters in the iwarp templates instead of removing them, for backward compatibility.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A StatPerf template for the nvm_mirror object is needed as well, not ju... | null |
NetApp__harvest__3937 | NetApp/harvest | 3,937 | defect | d91249bab345f08e58b7c26a635172d066d209ec | 6f768f3d2f21f26c7722377a70fcd37ff6f96221 | feat: adding Min IOPs and workload size in adaptive qos | <img width="1847" height="364" alt="image" src="https://github.com/user-attachments/assets/50c269f2-9a3e-4929-adc6-10292f87490e" />
| diff --git a/cmd/collectors/qosCommon.go b/cmd/collectors/qosCommon.go
index 8af534070..7f74c49cd 100644
--- a/cmd/collectors/qosCommon.go
+++ b/cmd/collectors/qosCommon.go
@@ -23,7 +23,7 @@ var unitToMb = map[string]float32{
"tb": 1000 * 1000,
}
-type MaxXput struct {
+type Xput struct {
IOPS string
Mbps stri... | 2 | 2 | 1 | [{"id": "G0", "claim": "The joins in the new Workload size query should include datacenter and cluster (not just workload / policy_group, svm) so series match per datacenter and cluster.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A description o... | null |
NetApp__harvest__3948 | NetApp/harvest | 3,948 | defect | f8f8ac7bf9d3bdd3220f833ec0792e108d0d265b | 0f5c5d41cd8bc2ff57c71a6f9281e66222bee066 | feat: adding unique type field in metroclustercheck | ```
harvest % curl -s http://localhost:13001/metrics | grep -Ev "#|metadata_" |sort | uniq -c | grep -v '1 "' | sort -n | grep cluster_sta
1 metrocluster_check_cluster_status{datacenter="snap",cluster="stiA250mccip-htp-00605_siteA",result="not_applicable",name="negotiated_switchover_ready",node="",aggrega... | diff --git a/cmd/collectors/rest/plugins/metroclustercheck/metroclustercheck.go b/cmd/collectors/rest/plugins/metroclustercheck/metroclustercheck.go
index 10ce6102f..1679d17cb 100644
--- a/cmd/collectors/rest/plugins/metroclustercheck/metroclustercheck.go
+++ b/cmd/collectors/rest/plugins/metroclustercheck/metrocluster... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new column should be named \"Site\" with the values displayed as \"Remote\" or \"Local\" instead of \"Type\" with \"remote-site\"/\"local-site\".", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NetApp__harvest__4116 | NetApp/harvest | 4,116 | defect | 43c7f64a138ce8cb977ab74abc8d2bf789a8de7c | 094614fc19ba6466d224d1d9735322d35fa08ff1 | fix(collector): avoid double-counting shelf power | Harvest is reporting 699W fot a disk shelf which seems to be much more than what it actually is.
Here are the exact ONTAP CLI commands and the evidence (from your output) showing how Harvest is double‑counting shelf power:
Commands to run
# 1) Authoritative shelf power draw
storage shelf show -fields sh... | diff --git a/cmd/collectors/restperf/plugins/disk/disk.go b/cmd/collectors/restperf/plugins/disk/disk.go
index 87d51b331..19886f4d3 100644
--- a/cmd/collectors/restperf/plugins/disk/disk.go
+++ b/cmd/collectors/restperf/plugins/disk/disk.go
@@ -10,6 +10,7 @@ import (
"github.com/netapp/harvest/v2/pkg/errs"
"github.... | 1 | 1 | 0 | [{"id": "G0", "claim": "The pull request's disk collector code has lint errors (a default clause in the exhaustive switch over power rails) that need to be fixed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NetApp__harvest__4166 | NetApp/harvest | 4,166 | defect | 1e2cbbbd84aad099641460d24b5596aaff092c37 | 7aa12ce67a5e5d1d5dafbcc5f321b75b8a7c8c47 | feat: add time till full dashboard | Fixes: #4163
Thanks to @erikgruetter and @ReBaunana for reporting! | diff --git a/cmd/tools/grafana/dashboard_test.go b/cmd/tools/grafana/dashboard_test.go
index 65628e35ec..5b6edad52b 100644
--- a/cmd/tools/grafana/dashboard_test.go
+++ b/cmd/tools/grafana/dashboard_test.go
@@ -46,10 +46,37 @@ var exceptionLegendMap = map[string][]string{
}
var exceptionList = []string{
- "Total Po... | 7 | 3 | 1 | [{"id": "G0", "claim": "The TopResources variable has two entries with \"selected\": true (\"3\" and \"5\"); only one option should be selected and the default should be \"5\".", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The exceptionList is miss... | null |
NetApp__harvest__4188 | NetApp/harvest | 4,188 | defect | 1acea694f764b1a3f0c154277e9e0376498d8118 | e9566c41faee24e6a96ecd4786e5dea1535c04b3 | fix: `bin/grafana import --prefix` should handle all metrics with spa… | …ces and __name__
Thanks to kwikmr2 for reporting! | diff --git a/cmd/tools/grafana/grafana.go b/cmd/tools/grafana/grafana.go
index 1fece91c7..b12239575 100644
--- a/cmd/tools/grafana/grafana.go
+++ b/cmd/tools/grafana/grafana.go
@@ -1286,10 +1286,9 @@ func handlingPanels(p any, prefix string) {
// this function as well (or come up with a better solution).
func addPref... | 2 | 1 | 0 | [{"id": "G0", "claim": "The comment says `__name___` with three trailing underscores instead of two; it should read `__name__`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the `__name__` regex, `\\s?` can consume a trailing space outside the... | null |
NetGauze__NetGauze__45 | NetGauze/NetGauze | 45 | defect | eb4605db7ef19621ab9a751f1245639fb17b9e22 | f78007b14b243708380674b764bfe78f96c06237 | bmp parsing context own type | move `HashMap<PeerKey, BgpParsingContext>` into its own BmpParsingContext type
move the `BmpCodec::update_parsing_ctx` logic to `BmpParsingContext::update`
make `BmpCodec::update_parsing_ctx` call `BmpParsingContext::update` | diff --git a/crates/bgp-pkt/src/path_attribute/path_attribute.rs b/crates/bgp-pkt/src/path_attribute/path_attribute.rs
index de1e8680c..232dba467 100644
--- a/crates/bgp-pkt/src/path_attribute/path_attribute.rs
+++ b/crates/bgp-pkt/src/path_attribute/path_attribute.rs
@@ -945,9 +945,9 @@ impl ClusterId {
///
/// 1. t... | 3 | 3 | 1 | [{"id": "G0", "claim": "The unrelated doc-comment reformatting of path_attribute.rs should not be included in this PR.", "category": "scope", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "BmpParsingContext should not expose its internal HashMap as pub, since that gives two con... | null |
NetGauze__NetGauze__476 | NetGauze/NetGauze | 476 | defect | 3e6e91a9511f0f484bb42bd54b4a15414c670157 | 81e62bb92a237aa6f7d8622184ab2a4b4f4c27fc | Add Huawei IPFIX Registry Support | ### Description
- Introduced a new Huawei IPFIX registry XML file at `crates/flow-pkt/registry/huawei.xml` containing Huawei-specific information elements.
- Added a `get_huawei_config` function in `crates/flow-pkt/build.rs` to load the Huawei registry.
- Updated the vendor registry list in `build.rs` to include t... | diff --git a/crates/flow-pkt/build.rs b/crates/flow-pkt/build.rs
index bdecabcf5..b9bac9194 100644
--- a/crates/flow-pkt/build.rs
+++ b/crates/flow-pkt/build.rs
@@ -150,6 +150,22 @@ fn get_nokia_config(registry_path: &Path) -> SourceConfig {
)
}
+fn get_huawei_config(registry_path: &Path) -> SourceConfig {
+ ... | 1 | 1 | 0 | [{"id": "G0", "claim": "It would be nice to add a newline at the end of crates/flow-pkt/registry/huawei.xml, which the PR added without a trailing newline.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
Netatalk__netatalk__1092 | Netatalk/netatalk | 1,092 | defect | b6f713c3a54b279a5832fd07bda53818217d5a79 | 945d62a5d3666cb886e1f7b4c78153f421e7aabb | meson: Fix issues with quota support on linux and macOS hosts | This changeset:
- Fixes quota support on macOS hosts
- Restores missing configuration option for linux hosts (taken from autotools netatalk.m4 macro)
- Removes obsolete quota configuration data for linux and macOS hosts
macOS quota support tested on Sonoma host with Mac OS 9 client | diff --git a/etc/afpd/unix.h b/etc/afpd/unix.h
index 476ca137915b..00e491f7433b 100644
--- a/etc/afpd/unix.h
+++ b/etc/afpd/unix.h
@@ -47,16 +47,9 @@
#endif /* ! __svr4__ || HAVE_DQB_BTIMELIMIT */
#if defined(__linux__) || defined(HAVE_QUOTA_H)
-#ifndef NEED_QUOTACTL_WRAPPER
-/*#include <sys/quota.h>*/
-/*long quot... | 1 | 1 | 0 | [{"id": "G0", "claim": "The code comment above HAVE_BROKEN_DBTOB in meson_config.h misspells \"implementation\" as \"impllementation\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Netatalk__netatalk__1093 | Netatalk/netatalk | 1,093 | defect | 9df8bbae32a2845c2149ae8ae0d10bbd98a7e312 | 16b20177917adaa04c113833c4a1f3a68cb15bbb | [2.4] meson: Fix issues with quota support on macOS and linux hosts | This changeset:
- Fixes quota support on macOS hosts
- Restores missing configuration option for linux hosts (taken from autotools netatalk.m4 macro)
- Removes obsolete quota configuration data for linux and macOS hosts
macOS quota support tested on Sonoma host with Mac OS 9 client | diff --git a/etc/afpd/unix.h b/etc/afpd/unix.h
index 583b863eb174..ab37d7068764 100644
--- a/etc/afpd/unix.h
+++ b/etc/afpd/unix.h
@@ -49,16 +49,9 @@
#endif /* ! __svr4__ || HAVE_DQB_BTIMELIMIT */
#if defined(__linux__) || defined(HAVE_QUOTA_H)
-#ifndef NEED_QUOTACTL_WRAPPER
-/*#include <sys/quota.h>*/
-/*long quot... | 1 | 1 | 0 | [{"id": "G0", "claim": "Fix the typo in the meson_config.h comment: 'impllementation' should be spelled 'implementation'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
Netatalk__netatalk__1435 | Netatalk/netatalk | 1,435 | defect | ef5601c57747d7cea22f8957a029b4b80502d455 | 46b56827daf0870dd65728ce8c768ac531da6e9d | Add AppleTalk support back into afpd | Fixes #1333 This pull request adds back support for Apple Session Protocol in afpd. This is very much a work in progress, but is fully functional. Some legacy options like `authprintdir` and `ddpaddr` have not been enabled yet. To enable, add `appletalk = yes` under the `[global]` section of your `afp.conf` | diff --git a/etc/afpd/afp_asp.c b/etc/afpd/afp_asp.c
new file mode 100644
index 000000000000..576cf5bbf7c2
--- /dev/null
+++ b/etc/afpd/afp_asp.c
@@ -0,0 +1,377 @@
+/*
+ * Copyright (c) 1997 Adrian Sun (asun@zoology.washington.edu)
+ * Copyright (c) 1990,1993 Regents of The University of Michigan.
+ * All Rights Reserv... | 3 | 3 | 1 | [{"id": "G0", "claim": "Use `TODO` without the space in the comments added by this pull request (afp_config.c and asp_getsess.c) so they are easier to grok later.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add documentation for the new afp.conf option... | null |
Netatalk__netatalk__1936 | Netatalk/netatalk | 1,936 | defect | 9562b7c103ad740242fb6f560ad7bc6c83b55d30 | 6c85bdb584cfda306694f171ecbd1768ce65bdce | Avoid TOCTOU conditions | Addresses a number of file access race conditions, as flagged by Sonarqube. | diff --git a/bin/ad/ad_mv.c b/bin/ad/ad_mv.c
index 8db36169d07b..53c78953136b 100644
--- a/bin/ad/ad_mv.c
+++ b/bin/ad/ad_mv.c
@@ -282,13 +282,20 @@ static int do_move(const char *from, const char *to)
SLOG("Couldn't resolve CNID for %s", from);
return -1;
}
+ int srcfd = open(... | 1 | 1 | 1 | [{"id": "G0", "claim": "Remove the TOCTOU race condition window when accessing the AppleDouble metadata header file in ea_open() (libatalk/vfs/ea_ad.c).", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Netatalk__netatalk__2273 | Netatalk/netatalk | 2,273 | defect | 099f151532c20a65a67e03c3d12c3ce3ca5c0768 | d18da2cfed7d2c290867e5269094e8b887bd5d57 | Handle return codes from function calls consistently | Consistently handle return values from non-void functions, and exit the function/program early with logging on failure
This appeases the -Wunused-result compiler flag
Also includes a small meson change to always link with glib when building POSIX ACLs, not just on Linux. | diff --git a/etc/afpd/volume.c b/etc/afpd/volume.c
index 598b05cf8588..9dfab5ebf08c 100644
--- a/etc/afpd/volume.c
+++ b/etc/afpd/volume.c
@@ -1044,7 +1044,11 @@ int afp_closevol(AFPObj *obj, char *ibuf, size_t ibuflen _U_, char *rbuf _U_,
return AFPERR_PARAM;
}
- (void)chdir("/");
+ if (chdir("/"... | 3 | 3 | 1 | [{"id": "G0", "claim": "The new system() call sites should also treat a non-zero (positive) exit status as a failure, not only a < 0 return, in case the command itself fails.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "errno may not be set when t... | null |
Netatalk__netatalk__2368 | Netatalk/netatalk | 2,368 | defect | aae5caac5700b13004d70d42740f6979a1764ec6 | 9309596d46719850bb028705341054afe6d11da0 | testsuite: afp_lantest, Fix portability and thread safety issues | Sonarcube;
- Use portable PRIu64 format specifiers for uint64_t
- Replace magic numbers with named constants
- Use thread-safe getpwnam_r() instead of getpwnam()
- Update afp_lantest documentation | diff --git a/doc/manpages/man1/afp_lantest.1.md b/doc/manpages/man1/afp_lantest.1.md
index 6a089610c1a5..faabc1cdff07 100644
--- a/doc/manpages/man1/afp_lantest.1.md
+++ b/doc/manpages/man1/afp_lantest.1.md
@@ -257,6 +257,19 @@ For example, to run as root;
CNID_* = IO measurements for the cnid_dbd process (opt... | 3 | 3 | 0 | [{"id": "G0", "claim": "The added documentation line in afp_lantest.1.md exceeds 120 characters and should be reformatted to comply with the markdown formatting (codefmt.sh) rules.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G4", "claim": "C library header ... | null |
Netatalk__netatalk__2379 | Netatalk/netatalk | 2,379 | defect | 152b718a7273583034912548a92bceeec160f90d | 7aaa3b86ca218525c17457c0b65879c52f1aa15a | Fix code quality issues in rtmpqry and disambiguate comments | rtmqry: touch up a few variables to avoid implicit data type conversion
overall: rephrase and clean up code comments that SonarQube interpreted as commented-out C code | diff --git a/bin/rtmpqry/rtmpqry.c b/bin/rtmpqry/rtmpqry.c
index f65af4a5a442..422291121afe 100644
--- a/bin/rtmpqry/rtmpqry.c
+++ b/bin/rtmpqry/rtmpqry.c
@@ -125,7 +125,7 @@ int main(int argc, char** argv)
} else {
do_rtmp_rdr(sockfd, &sa_remote, all_routes, 2);
}
-
+
free(remote_addr);
}
... | 1 | 1 | 0 | [{"id": "G0", "claim": "In do_rtmp_request, give ret the type ssize_t instead of casting netddp_sendto's return to int, and perhaps make netddp_sendto a trivial inline function so it has a consistent prototype.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Netatalk__netatalk__2380 | Netatalk/netatalk | 2,380 | defect | 5b1bb82e1151cfef4f4d63d9f9cd8ebe52cdda50 | 4f1806655ba22a9e0b92076936b11a37230e7211 | test: Consistently initialize buffers before use in afpd component tests | Addressing uninitialized memory usage flagged by valgrind
With this fix, you can run the tests successfully in a valgrind wrapper, e.g. through meson:
```
meson setup build -Dwith-tests=true
meson compile -C build
meson test --wrapper='valgrind --leak-check=full --track-origins=yes' -C build
```
when run o... | diff --git a/test/afpd/afpfunc_helpers.c b/test/afpd/afpfunc_helpers.c
index 9b8a007de8c1..ecb84b2b1a5b 100644
--- a/test/afpd/afpfunc_helpers.c
+++ b/test/afpd/afpfunc_helpers.c
@@ -94,6 +94,7 @@ char **cnamewrap(const char *name)
static char buf[256];
static char *p = buf;
int len = 0;
+ memset(buf,... | 1 | 1 | 0 | [{"id": "G0", "claim": "In cnamewrap, use the `static char buf[256] = { 0 };` initializer on line 94 instead of the added separate `memset` call, which the reviewer finds neater.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
Netatalk__netatalk__2382 | Netatalk/netatalk | 2,382 | defect | 31722fbdb9a561ae782f52a5b878e83f1437e2c1 | 22dbd72f1099035b81cceb9121f547e2cb760086 | testsuite: afp_lantest - Fixed SonarQube issues | No changes to afp_lantest other than resolving SonarQube issues and C99 standards
Testing ok
```
+ afp_lantest -n 2 -7 -h 127.0.0.1 -p 548 -u test -w test -s 'File Sharing'
Connecting to host 127.0.0.1:548
IO monitoring: /proc_io is available
Looking for cnid_dbd processes with -u test in command line
Found cn... | diff --git a/doc/manpages/man1/afp_lantest.1.md b/doc/manpages/man1/afp_lantest.1.md
index 1b90b85511e7..73b77797494d 100644
--- a/doc/manpages/man1/afp_lantest.1.md
+++ b/doc/manpages/man1/afp_lantest.1.md
@@ -157,8 +157,8 @@ Run multiple iterations for statistical analysis:
# Example with IO Monitoring
-IO Monit... | 3 | 3 | 0 | [{"id": "G0", "claim": "The trailing backslashes the PR added to the man page lines may be unintentional, since a backslash stays a literal backslash when the markdown is transcoded to html.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use \\_it... | null |
Netatalk__netatalk__2424 | Netatalk/netatalk | 2,424 | defect | ae63e8ac1bfe17b260aa949eb575f08eef21cecb | 9d81c729cd71459c8404ab2751a1f79543064fcb | testsuite: Bugfixes for lantest.c, file system cleanup after tests | testsuite: Bugfixes for lantest.c; correctly cleanup after tests, and added new recursive tree delete function. lantest_io_monitor now uses highest found PID for afpd (most recent user process).
Identified underlying issue with FPEnumerate* response parsing (resolved in new delete_directory_tree), added FIXMEs to all ... | diff --git a/test/testsuite/lantest.c b/test/testsuite/lantest.c
index be6ba9705bfe..b92efefbc1ca 100644
--- a/test/testsuite/lantest.c
+++ b/test/testsuite/lantest.c
@@ -140,6 +140,9 @@ static int32_t validation_iterations = 100; /* validation iterations */
/* Forward declarations */
void clean_exit(int exit_code... | 5 | 3 | 0 | [{"id": "G0", "claim": "Container dependency bumps should go through Dependabot rather than manual edits in this PR, and the main Dockerfile should also be updated to use the patch version tag for transparency.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
Netatalk__netatalk__2433 | Netatalk/netatalk | 2,433 | defect | 1d115d0cc9159d389fbbd70d5093706892e7b6f9 | ce72893a875ab85b8337efafbaafb5cc37762ee9 | testsuite: enhanced 'dircache statistics:' log output and added log support to afp_lantest | testsuite: added more metadata to 'dircache statistics:' log output, and added afp.conf log file search support to afp_lantest to enable dircache reports
```
+ afp_lantest -n 2 -7 -h 127.0.0.1 -p 548 -u test -w test -s 'File Sharing'
Connecting to host 127.0.0.1:548
IO monitoring: /proc_io is available
Found cni... | diff --git a/doc/manpages/man1/afp_lantest.1.md b/doc/manpages/man1/afp_lantest.1.md
index 7bcf68a127ec..365cd409f2f7 100644
--- a/doc/manpages/man1/afp_lantest.1.md
+++ b/doc/manpages/man1/afp_lantest.1.md
@@ -166,86 +166,90 @@ For example, to run as root;
afp_lantest -n 2 -7 -h 127.0.0.1 -p 548 -u test -w test -... | 7 | 6 | 4 | [{"id": "G0", "claim": "The access() check before fopen() in read_log_tail opens a TOCTOU race condition window on the log file and should be removed.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new lantest_dircache_stats.c should carry a copyri... | null |
Netatalk__netatalk__2447 | Netatalk/netatalk | 2,447 | defect | 8e471e0a840b2a6f188c7f92e6db03b6bb5a010f | b4ca470585d04fa80c4457784890bac941c06579 | dircache: Add probabilistic validation for dramatic I/O reduction | Implement "ask forgiveness" model for directory cache validation that reduces filesystem stat() and lstat() calls by up to 99% while maintaining safety through automatic recovery and monitoring.
Relates to plan https://github.com/Netatalk/netatalk/discussions/2422. And resolves "Cache Validation Overhead" issue. Thi... | diff --git a/doc/manpages/man5/afp.conf.5.md b/doc/manpages/man5/afp.conf.5.md
index 72317b381a01..10a3bfe4b97d 100644
--- a/doc/manpages/man5/afp.conf.5.md
+++ b/doc/manpages/man5/afp.conf.5.md
@@ -531,6 +531,69 @@ vol dbnest = *BOOLEAN* (default: *no*) **(G)**
the CNID database in a folder called .AppleDB inside the... | 4 | 3 | 0 | [{"id": "G0", "claim": "The new dircache tuning documentation deserves a section in the Configuration chapter of the manual (doc/manual/Configuration.md), where similarly involved configuration topics are covered.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G... | null |
Netatalk__netatalk__984 | Netatalk/netatalk | 984 | defect | 62941f400b1507a29010e41d19cb7318dde828a8 | 437c65003866e4190c33566f2251880244c9133c | Optimize sort order of all headers | Header includes are now in correct sort order (global to local) and arranged alphabetically within each group.
#ifdefs now have a space either side so they can be read more easily.
This has been bugging me for ages. | diff --git a/bin/ad/ad.c b/bin/ad/ad.c
index 47885b26e8f5..273a37b7bb67 100644
--- a/bin/ad/ad.c
+++ b/bin/ad/ad.c
@@ -16,21 +16,21 @@
#include "config.h"
#endif /* HAVE_CONFIG_H */
-#include <unistd.h>
-#include <sys/types.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <stdarg.h>
+#include <errno.h>
#inclu... | 5 | 2 | 0 | [{"id": "G0", "claim": "Remove the commented-out macro definition in etc/afpd/afprun.c.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "What does the /* FIXME */ comment above the setresuid block in afprun.c refer to?", "category": "maintainabili... | null |
Netflix-Skunkworks__aardvark__45 | Netflix-Skunkworks/aardvark | 45 | defect | 64e4d5df5bc9080ddf8e89ab3ac2b390238afffc | 01b898590b5c4bfbda3928bb32acd09ef49f0a10 | Replace PhantomJS with new Access Advisor API (#44) | I replaced the need for PhantomJS with the new Access Advisor API (#44)
I could run `update` without trouble (against a single account). I aimed to _only_ replace PhantomJS. It's possible you could now simplify some of the code but I didn't wanna get into that too much.
I couldn't run the docker tests but wasn't ... | diff --git a/README.md b/README.md
index d680d2f..b77317d 100644
--- a/README.md
+++ b/README.md
@@ -7,8 +7,6 @@ Aardvark
Aardvark is a multi-account AWS IAM Access Advisor API (and caching layer).
-Aardvark uses PhantomJS to log into the AWS Console and obtain access advisor data. It then presents a RESTful API ... | 3 | 3 | 1 | [{"id": "G0", "claim": "Keep the comment on DEFAULT_NUM_THREADS noting that testing showed problems with more than 6 threads instead of removing it along with the PhantomJS cleanup.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new Access Adv... | null |
Netflix-Skunkworks__stethoscope-app__144 | Netflix-Skunkworks/stethoscope-app | 144 | defect | 672b13c44a3a2aba9e171c4827d21cdc99c2f443 | 3c712d32e5687422ee82cd61f59eafb8f7c11ff1 | Implement app query logic for mac | - Add app query logic for mac
- Update UI to show correct messaging
- Mark init and runall methods as deprecated as this will break
- Some formatting changes with standard formatter
- Update graphql to modern version | diff --git a/package.json b/package.json
index b038efd2..9277b789 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "Stethoscope",
"version": "3.0.6",
"private": true,
- "homepage": "./",
+ "homepage": "http://stethoscope.app",
"author": "Netflix",
"description": "Local Stethoscope a... | 8 | 7 | 4 | [{"id": "G0", "claim": "The external link in renderApplicationStateMessage should have rel=\"noopener noreferrer\" on target='_blank' to avoid the compiler warning.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Applications with spaces in their nam... | null |
Netflix-Skunkworks__stethoscope-app__146 | Netflix-Skunkworks/stethoscope-app | 146 | defect | ed026c54c0058e3124b69b704797d1e0becf5ef5 | afe5cb951e290a77bdbc6d50c48735c82ac6349c | Test fix | - Fixes issues with test URL and globals that aren't ignored by standardjs
- Replaces homepage with `./` | diff --git a/package.json b/package.json
index 949b3054..cc6918ff 100644
--- a/package.json
+++ b/package.json
@@ -1,8 +1,8 @@
{
"name": "Stethoscope",
- "version": "3.0.6",
+ "version": "3.1.0",
"private": true,
- "homepage": "https://stethoscope.app",
+ "homepage": "./",
"author": "Netflix",
"descrip... | 2 | 1 | 0 | [{"id": "G0", "claim": "The reviewer asks whether the homepage field should keep the previous site URL instead of the pull request's new `./` value.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test should wait for something to exist rather than... | null |
Netflix-Skunkworks__stethoscope-app__154 | Netflix-Skunkworks/stethoscope-app | 154 | defect | 4ea3a2b0ddc2aaa85590cf9c327136d8ff19c972 | 9a8aeb87535babcb3f1113a42b367aee372eb218 | Override build config and add support for pre-release versions | This pull request does the following:
1. Adds the ability to override name, publish url etc with environment variables present during build.
2. Adds support for pre-release automatic updates.
## Motivation
We want to modify the `package.json` and `src/config.json` before each build in order to simplify versio... | diff --git a/docs/BUILDS.md b/docs/BUILDS.md
index 17687580..adc0d416 100644
--- a/docs/BUILDS.md
+++ b/docs/BUILDS.md
@@ -52,6 +52,26 @@ yarn build:windows
signcode -$ commercial -a sha1 -t http://timestamp.digicert.com -i $MAIN_URL -spc $SPC_FILE.spc -v $PVK_FILE.pvk -n \"Stethoscope Installer\" \"dist/Stethoscope S... | 2 | 2 | 0 | [{"id": "G0", "claim": "The includePrerelease option used when parsing the current version should perhaps come from process.env.APP_ALLOW_PRERELEASE_UPDATES instead of being hard-coded to true.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The stet... | null |
Netflix__EVCache__122 | Netflix/EVCache | 122 | defect | 4e313dd8ca4e1319d0c6ee31fd462c5f0a2d2281 | 3281ff856e8d2bb7b39c0b3301b236cf2a87fb20 | Adding a config/FP to ignore the set alias. | This helps EVCache router clusters to use the correct backend regardless of the set alias. | diff --git a/evcache-core/src/main/java/com/netflix/evcache/pool/EVCacheClientPoolManager.java b/evcache-core/src/main/java/com/netflix/evcache/pool/EVCacheClientPoolManager.java
index fde9eb33..d5efc10a 100644
--- a/evcache-core/src/main/java/com/netflix/evcache/pool/EVCacheClientPoolManager.java
+++ b/evcache-core/sr... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `toUpperCase()` applied to `_app` in the ignoreAlias branch is redundant and should be dropped, since line 253 already upper-cases `_app` and the alias branch's return is upper-cased too.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
Netflix__EVCache__139 | Netflix/EVCache | 139 | defect | cca61a4803d1d7501e3ee66bc9af893cbbaeca01 | 6b9d4ddd053ca045682503db80ee6198be95243e | Add percentile timer metric for gzip compression ratio | EVCacheSerializingTranscoder is an exact copy of SerializingTranscoder, a transcoder class in Spymemcached. This pull request allows EVCacheSerializingTranscoder to add functionalities in the future, including logging, and custom encoding/decoding.
Compression ratio is defined as
```
long compression_ratio = Math... | diff --git a/evcache-core/src/main/java/com/netflix/evcache/EVCacheSerializingTranscoder.java b/evcache-core/src/main/java/com/netflix/evcache/EVCacheSerializingTranscoder.java
new file mode 100644
index 00000000..ae4a84f4
--- /dev/null
+++ b/evcache-core/src/main/java/com/netflix/evcache/EVCacheSerializingTranscoder.j... | 2 | 2 | 0 | [{"id": "G0", "claim": "The compression-ratio metric name constant should use '.' instead of '_' (\"evcache.client.compression_ratio\" → \"evcache.client.compression.ratio\").", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A tag including the compre... | null |
Netflix__EVCache__83 | Netflix/EVCache | 83 | defect | d706c9cf86aa687bad04c55a3f59155492593adf | dafe05a5b783326a274b3dd822c34ebe3cb2199c | Consolidating hashing to Impl, and removing hashing from EVCacheClient | EVCacheKey class handles the logic of overlaying hashing of app level and EVCacheClient level, making it possible for EVCacheImpl to take the hashing decision at both the levels, and thereby removing hashing logic from EVCacheClient | diff --git a/evcache-core/src/main/java/com/netflix/evcache/EVCacheImpl.java b/evcache-core/src/main/java/com/netflix/evcache/EVCacheImpl.java
index eaac4fea..383c3048 100644
--- a/evcache-core/src/main/java/com/netflix/evcache/EVCacheImpl.java
+++ b/evcache-core/src/main/java/com/netflix/evcache/EVCacheImpl.java
@@ -1... | 3 | 2 | 1 | [{"id": "G0", "claim": "In metaGet the KEY_HASH_COLLISION failure should be incremented with Call.META_GET.name() instead of Call.GET.name(), since the operation is a metaGet.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In add(), the encoded valu... | null |
Netflix__Hystrix__1265 | Netflix/Hystrix | 1,265 | defect | 3bfe0539d85d1baf449dffc7d79197a890924c81 | 0fde48ad8eb74da29929b8a397d21ffd1af86906 | Interrupt execution thread on HystrixCommand#queue()#cancel(true) | The implementation of java.util.concurrent.Future returned by com.netflix.hystrix.HystrixCommand#queue()#cancel(boolean mayInterruptIfRunning) ignores the "mayInterruptIfRunning" flag and never calls Thread#interrupt() on Hystrix Execution Thread running the command's run() method. This complicates the handling of situ... | diff --git a/hystrix-core/src/main/java/com/netflix/hystrix/HystrixCommand.java b/hystrix-core/src/main/java/com/netflix/hystrix/HystrixCommand.java
index b120bb00a..5bdecf58c 100755
--- a/hystrix-core/src/main/java/com/netflix/hystrix/HystrixCommand.java
+++ b/hystrix-core/src/main/java/com/netflix/hystrix/HystrixComm... | 3 | 3 | 2 | [{"id": "G0", "claim": "Add a test for cancel(false), where the Hystrix execution thread should keep sleeping and the unit-test latch timeout is hit instead of the thread being interrupted.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In Future.cancel... | null |
Netflix__aminator__109 | Netflix/aminator | 109 | defect | b0556ad828db60ee4df7eaa0664c6423d3ac1428 | 2bdf2772a5dec691ef762b5451d01e49c7f33f06 | AptChef provisioner | This is 1/2 of #97 and addresses amination using Chef on debian family hosts. I took a slightly different approach than @bunjiboys and would appreciate feedback.
We'd like to have the yum-style Chef provisioner as well and would like to see if we can get to common model until we can figure out how to break the volu... | diff --git a/MANIFEST.in b/MANIFEST.in
index 0b550412..00ad0cbb 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,2 +1,2 @@
-include LICENSE.txt README.rst requirements.txt
+include LICENSE.txt README.rst requirements.txt distribute_setup.py
global-include *.yml
diff --git a/aminator/default_conf/aminator.yml b/aminato... | 3 | 2 | 2 | [{"id": "G0", "claim": "The debug logging of the metadata uses direct key access, so a missing key may raise a KeyError; log yaml.dump(chef_json) instead to avoid it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The setting of context.package.attr... | null |
Netflix__archaius__159 | Netflix/archaius | 159 | defect | 403929eb6e3d6414eb0de465d1d1e12024b4d7ab | 8cec2458a88f66128ac65ebb767b574bd1b15e14 | #51. Provide mechanism for Dynamic Property users to un-subscribe callba... | ...cks for property value changes. This will free the references by the static DP so GC can reclaim those property wrapper instances in time.
| diff --git a/archaius-core/src/main/java/com/netflix/config/ChainedDynamicProperty.java b/archaius-core/src/main/java/com/netflix/config/ChainedDynamicProperty.java
index a2966e303..47fb0d1aa 100644
--- a/archaius-core/src/main/java/com/netflix/config/ChainedDynamicProperty.java
+++ b/archaius-core/src/main/java/com/ne... | 3 | 3 | 1 | [{"id": "G0", "claim": "Unsubscribing must also remove callbacks held in the ChainLink's own callbacks list, not only the delegate's callback.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The redundant callbackList in DynamicListProperty is unnece... | null |
Netflix__archaius__200 | Netflix/archaius | 200 | defect | a1be22713d1e67bce445c536e94895b57f59f93a | 4e417393c77849c7b3cfdd7bd3d6afc5cf401d74 | Initial pass at updating archaius-aws to use the AWS Java SDK 1.9. Note... | ... that
this builds and passes tests, but has not yet been operationally tested.
| diff --git a/archaius-aws/src/main/java/com/netflix/config/sources/AbstractDynamoDbConfigurationSource.java b/archaius-aws/src/main/java/com/netflix/config/sources/AbstractDynamoDbConfigurationSource.java
index 45fef6f54..a1f79a0c0 100644
--- a/archaius-aws/src/main/java/com/netflix/config/sources/AbstractDynamoDbConfi... | 1 | 1 | 0 | [{"id": "G0", "claim": "archaius-aws should depend on an explicit, fixed AWS SDK version (e.g. 1.9.0) instead of the non-fixed range '1.9+', since all other dependencies are explicit versions, which is more correct for a library such as Archaius.", "category": "maintainability", "verdict": "supported", "priority": "P2"... | null |
Netflix__archaius__295 | Netflix/archaius | 295 | defect | d46b1133d85a9ab4f5bd5a05dcf5078da5616903 | 0c74b98dd71a90b0d29879052b4cf85785710e05 | Cleanup ArchaiusModule | Simplify bindings in ArchaiusModule and support an externally provided A
ppConfig implementation instead of allowing ArcahiusModule to be inherited.
| diff --git a/archaius-guice/src/main/java/com/netflix/archaius/guice/ArchaiusModule.java b/archaius-guice/src/main/java/com/netflix/archaius/guice/ArchaiusModule.java
index 4b01c7da8..a3a75b982 100644
--- a/archaius-guice/src/main/java/com/netflix/archaius/guice/ArchaiusModule.java
+++ b/archaius-guice/src/main/java/co... | 3 | 2 | 1 | [{"id": "G0", "claim": "The constructor-based approach still requires using Module.override if something needs to be injected to create the initial AppConfig object (e.g., injecting DiscoveryClient to look up platformservice instances).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introdu... | null |
Netflix__archaius__297 | Netflix/archaius | 297 | defect | f19d1eb2e0fc3ab8cada295246791b85bf84a71a | 6595f95294507752c43a494ac32a488da565c3bc | DefaultAppConfig simplification | Modify DefaultAppConfig to be a DelegatingConfig instead of a CascadingCompositeConfig to avoid exposing all of the CascadingCompositeConfig functionality.
Remove withLoadSystem from ConfigLoader
Expose getting any layer from AppConfig
| diff --git a/archaius2-core/src/main/java/com/netflix/archaius/AppConfig.java b/archaius2-core/src/main/java/com/netflix/archaius/AppConfig.java
index 5bfb0bb11..e31127789 100644
--- a/archaius2-core/src/main/java/com/netflix/archaius/AppConfig.java
+++ b/archaius2-core/src/main/java/com/netflix/archaius/AppConfig.java... | 6 | 6 | 2 | [{"id": "G0", "claim": "The layer field at the top of the new cascade reads as the override layer, so name the variable override to make the code easier to follow.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The constructor passes the string ... | null |
Netflix__archaius__301 | Netflix/archaius | 301 | defect | 9cb09781c1a42309521535a100f18621cc442b80 | b4c7798aec5a2ccd7fb36fe5d8eaaddf87df6724 | Guice module to setup up Persisted2 client | Persisted2ClientProvider and documentation to setup a Persisted2 client as the OverrideLayer
| diff --git a/archaius2-persisted2/build.gradle b/archaius2-persisted2/build.gradle
index 7dbbc7b78..799c2ed19 100644
--- a/archaius2-persisted2/build.gradle
+++ b/archaius2-persisted2/build.gradle
@@ -21,6 +21,7 @@ dependencies {
compile 'com.fasterxml.jackson.core:jackson-core:2.4.3'
compile 'com.fasterxml.j... | 3 | 2 | 2 | [{"id": "G0", "claim": "getFilterString emits an empty '()' group and a misplaced 'and' when a scope's value list is empty, producing a malformed query like (scope1='foo') () and (scope3='bar').", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The que... | null |
Netflix__archaius__318 | Netflix/archaius | 318 | defect | 492222af7623760c5c63a90e7760aff2fa3797ca | f7edacc5a5a60157302ea85ecf6347a9b5c12b1b | EtcdConfigurationSource | An Etcd watched configuration source very similar to the ZooKeeperConfigurationSource.
Uses the Boon Etcd client https://github.com/boonproject/boon/blob/master/etcd/README.md. Seems to be the most widely adopted Etcd client.
Tests included.
| diff --git a/archaius-etcd/src/main/java/com/netflix/config/source/EtcdConfigurationSource.java b/archaius-etcd/src/main/java/com/netflix/config/source/EtcdConfigurationSource.java
new file mode 100644
index 000000000..beafc8e88
--- /dev/null
+++ b/archaius-etcd/src/main/java/com/netflix/config/source/EtcdConfiguration... | 3 | 3 | 2 | [{"id": "G0", "claim": "The update handler calls updateResponse.action() after only logging a wasError response, so a null action would cause a NullPointerException.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Instantiating three maps (create, se... | null |
Netflix__archaius__323 | Netflix/archaius | 323 | defect | b3c9d56bc511ba3a31aca442cf37737669f0044a | 3d3bee9755a32193b4e870f80c30fd7421e902f3 | Enhancements to configuration proxy | - Add PropertyInfo annotation to override the property name when proxying
- Add support for making proxied configuration immutable
- Add toString to proxies configuration interfaces
Example of new features,
``` java
@Configuration(immtuable=true) // Once created properties never change
public interface MyConfig {
... | diff --git a/archaius2-core/src/main/java/com/netflix/archaius/ImmutableProperty.java b/archaius2-core/src/main/java/com/netflix/archaius/ImmutableProperty.java
new file mode 100644
index 000000000..f62f44034
--- /dev/null
+++ b/archaius2-core/src/main/java/com/netflix/archaius/ImmutableProperty.java
@@ -0,0 +1,42 @@
+... | 1 | 1 | 0 | [{"id": "G0", "claim": "The annotation should be renamed from PropertyInfo to the more intuitive PropertyName.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Netflix__archaius__326 | Netflix/archaius | 326 | defect | 5e3fa765f2cbec20e18782ce4872ae048a28e534 | 146655c99046acba9f7807dc6a3900866c79abd2 | Inheritance support in configuration proxying | - Support proxying methods from inherited interfaces
- Remove incorrect setting of default value when parsing non-primitive types in fast properties
- Delegate parsing of various types to Decoder
| diff --git a/archaius2-core/src/main/java/com/netflix/archaius/DefaultDecoder.java b/archaius2-core/src/main/java/com/netflix/archaius/DefaultDecoder.java
index 1671777eb..b1ed05a9b 100644
--- a/archaius2-core/src/main/java/com/netflix/archaius/DefaultDecoder.java
+++ b/archaius2-core/src/main/java/com/netflix/archaius... | 1 | 1 | 0 | [{"id": "G0", "claim": "The PR should get all methods via the Class.getMethods() call instead of the custom recursive fillConfigMethods helper.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Netflix__archaius__327 | Netflix/archaius | 327 | defect | 2db6b85327ca68a092a4d604ada8dd8ede0de449 | 8cf8d23fd2ee2cf7641b51603e7aa1a6cd1cf7e2 | Read properties resource with utf-8 encoding. | We have some property values in chinese, but it seems that archaius read the properties with default IOS-8859-1 encoding, then the values in chinese become unreadable code.
We have to cast the chinese values to escaped unicode,it's really not human-friendly.
I make some changes in this PR to fix this problem, that it... | diff --git a/archaius-core/src/main/java/com/netflix/config/ConfigurationManager.java b/archaius-core/src/main/java/com/netflix/config/ConfigurationManager.java
index 634140265..407d730b1 100644
--- a/archaius-core/src/main/java/com/netflix/config/ConfigurationManager.java
+++ b/archaius-core/src/main/java/com/netflix/... | 2 | 1 | 0 | [{"id": "G0", "claim": "Please consolidate the duplicated UTF-8 properties-loading code in ConfigurationManager.loadPropertiesFromResources and URLConfigurationSource.poll into a single reusable function in the ConfigurationUtils class.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope":... | null |
Netflix__archaius__369 | Netflix/archaius | 369 | defect | f7667c3128c1150c4f1e9b5f17f84cdac1ec4a5d | 67a75cbf204ee4b39cf2bdf459a897a8f5e6ae48 | Performance optimization for primitive Dynamic***Property classes | This is an optimization to reduce the cpu hotspots I was seeing under load with usage of DynamicBooleanProperty/DynamicIntProperty getValue implementation.
As we use DynamicBooleanProperty's very frequently for feature-flagging in zuul, I was seeing this quite high up when profiling zuul under high load. It seems to be... | diff --git a/archaius-core/src/main/java/com/netflix/config/DynamicBooleanProperty.java b/archaius-core/src/main/java/com/netflix/config/DynamicBooleanProperty.java
index 58ff7673f..8a56bb0ca 100644
--- a/archaius-core/src/main/java/com/netflix/config/DynamicBooleanProperty.java
+++ b/archaius-core/src/main/java/com/ne... | 5 | 5 | 1 | [{"id": "G0", "claim": "The null check for the prop field in the new chooseValue() method of DynamicBooleanProperty is unnecessary.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "chooseValue() could be just the previous body of the get method — ... | null |
Netflix__archaius__377 | Netflix/archaius | 377 | defect | e787b417e16150183b6d67664f03289894ecb9d5 | cf148323b473d578bc7927eb8ecac3fbe625baea | README updates, tests and code clean up on 2.x | Cleaned up some unused code and added unit tests after running local code coverage. Please check if the code I deleted is indeed not used. Other than doing a search within the project and in Stash across projects I didn't have a good way of checking.
| diff --git a/README.md b/README.md
index 7859d52ec..c09d85a47 100644
--- a/README.md
+++ b/README.md
@@ -1,44 +1,52 @@
Archaius is a configuration library for accessing a mixture of static as well
-as dynamic configurations as a single configuration unit.
+as dynamic configurations as a single configuration unit.
+
+... | 1 | 1 | 1 | [{"id": "G0", "claim": "withConfigReaders takes a Set but this.loaders is a List, so multiple builder calls can still result in duplicate readers; the loaders field should be a Set.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Netflix__archaius__512 | Netflix/archaius | 512 | defect | c2262862c167bbcd03e89aca0e4801feed404823 | cf46cc42dc0bd73f2bedcc74219b88d6365493c5 | New LayeredConfig API | LayeredConfig will eventually replace CompositeConfig as the top level container for properties. LayeredConfig simplifies defining multiple override layers that may be added in any order while keeping a well-defined override order. A set of common layers is defined in the Layers class but additional user defined laye... | diff --git a/archaius2-api/src/main/java/com/netflix/archaius/Layers.java b/archaius2-api/src/main/java/com/netflix/archaius/Layers.java
new file mode 100644
index 000000000..0e5782096
--- /dev/null
+++ b/archaius2-api/src/main/java/com/netflix/archaius/Layers.java
@@ -0,0 +1,18 @@
+package com.netflix.archaius;
+
+imp... | 2 | 1 | 1 | [{"id": "G0", "claim": "The APPLICATION_OVERRIDE layer's ordering values appear wrong relative to REMOTE, since application-override typically beats remote.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new Layer API should not keep the reversed-... | null |
Netflix__archaius__530 | Netflix/archaius | 530 | defect | cc79f440d75a1786b8f4fb3835debe22cc0d9e72 | 5b83bdb9fefd13c916674910d53c07185f18d41c | API to unsubscribe to property change notifications | Sample usage
```
Property<Integer> prop = registry.get("foo", Integer.class);
Subscription subscription = prop.onChange((newValue) -> System.out.println("new value: " + newValue));
```
To unsubscribe
````
subscription.unsubscribe();
``` | diff --git a/archaius2-api/src/main/java/com/netflix/archaius/api/Property.java b/archaius2-api/src/main/java/com/netflix/archaius/api/Property.java
index 21eff3f5d..25b47fd9a 100644
--- a/archaius2-api/src/main/java/com/netflix/archaius/api/Property.java
+++ b/archaius2-api/src/main/java/com/netflix/archaius/api/Prope... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new onChange method's name does not make it obvious that it returns a Subscription; renaming the method to 'subscribe' would be clearer.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The nested Subscription interface may need... | null |
Netflix__archaius__578 | Netflix/archaius | 578 | defect | 069f7cf4dc112223a5858bbde22c3755e88da961 | db27514bea6f805260209f379e8ff7f861d3ef6f | Improved support for collection types | - Introduce a new TypeConverter contract through which the decoder may be extended.
- Capture array, enum and typed collection conversions via TypeConverter.Factory implementations
- Support typed collections, such as `Map<String, Long>`, when using ConfigProxyFactory without having to wrap them in a custom type | diff --git a/archaius2-api/src/main/java/com/netflix/archaius/api/Config.java b/archaius2-api/src/main/java/com/netflix/archaius/api/Config.java
index 24c63b7b3..c8d96ca97 100644
--- a/archaius2-api/src/main/java/com/netflix/archaius/api/Config.java
+++ b/archaius2-api/src/main/java/com/netflix/archaius/api/Config.java... | 5 | 3 | 0 | [{"id": "G0", "claim": "The new default decode(Type, String) casts the type to Class<T> without checking, so decoding with a Type that is not a Class may fail with an unhelpful error instead of a meaningful one.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ... | null |
Netflix__archaius__581 | Netflix/archaius | 581 | defect | 2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd | 1375d6febda5e304bf05201aee8fff3729dd1d8c | Dynamic loading notification | We need more complete notifications for configuration reloading, specifically we need an event before and after loading to control fast property behavior. | diff --git a/.travis.yml b/.travis.yml
index 66ff8685d..722c0b8e1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,6 @@
language: java
jdk:
-- oraclejdk8
+- openjdk8
sudo: false
install: ./installViaTravis.sh
script: ./buildViaTravis.sh
diff --git a/archaius-core/src/main/java/com/netflix/config/AbstractPolli... | 1 | 1 | 1 | [{"id": "G0", "claim": "The inner populateProperties catch in the polling run() loop should not have been narrowed from Throwable to Exception unless the outer catch is narrowed consistently.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Netflix__archaius__634 | Netflix/archaius | 634 | defect | a3c1b32601e83bb57d12b69f7130e08678a237aa | 71e25114df2e56f530a93c6a2cffba4e21c3e676 | Fix memory leak caused by anonymous listeners in abandoned views | Views created that depend on other views (Composite, Layered, and Prefixed) create listeners on the source view that update themselves. This reference to themselves prevents GC until the source view is abandoned, meaning creating unused dependent views is a memory and performance leak. This applies the WeakReference lo... | diff --git a/archaius2-core/src/main/java/com/netflix/archaius/config/DefaultCompositeConfig.java b/archaius2-core/src/main/java/com/netflix/archaius/config/DefaultCompositeConfig.java
index 3fc939d7..290f07cc 100644
--- a/archaius2-core/src/main/java/com/netflix/archaius/config/DefaultCompositeConfig.java
+++ b/archai... | 4 | 3 | 1 | [{"id": "G0", "claim": "The lambda parameters in the DependentConfigListener callbacks should use more descriptive names (e.g. depConfig/srcConfig) instead of vc/config.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asked for confi... | null |
Netflix__archaius__649 | Netflix/archaius | 649 | defect | 820e6567a0fd681abfae4e371b42135957668098 | 2ba62b634d6d299d799ee916a1e4a1e5464d8784 | Add ability to get an Iterable of keys from a Config | The existing `getKeys()` method of Config is problematic in practice in common usage, since it returns an `Iterator` instead of `Iterable`, which means callers have no ability to determine the size of the returned set of keys without fully iterating over it. | diff --git a/archaius2-api/src/main/java/com/netflix/archaius/api/Config.java b/archaius2-api/src/main/java/com/netflix/archaius/api/Config.java
index 9d20a155..84b0944b 100644
--- a/archaius2-api/src/main/java/com/netflix/archaius/api/Config.java
+++ b/archaius2-api/src/main/java/com/netflix/archaius/api/Config.java
@... | 1 | 1 | 1 | [{"id": "G0", "claim": "Update all the other methods of DefaultSettableConfig that alter the internal state to wrap the map in Collections.unmodifiableMap, as setProperty now does.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Netflix__archaius__663 | Netflix/archaius | 663 | defect | 5adec724fa1c9cb319f759793e587cfec8fb6cab | b0e3a0c4e2d48f0cacf6ca863e29758dfddbecf1 | Basic instrumentation changes behind a flag | Keeps track of usage data through ConcurrentCompositeConfiguration when enabled by the system property and also surfaces an uninstrumented endpoint for any calls that should not be recorded.
Also includes the ability to record stack traces of call sites (useful for debugging, but should not be used in prod). | diff --git a/archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java b/archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java
index 6477afbe..f9a76f60 100644
--- a/archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java
+++ b/archai... | 1 | 1 | 1 | [{"id": "G0", "claim": "usedProperties should be backed by a ConcurrentHashMap like the stackTraces one, or neither should be since both are subjected to the same possible races, and both fields could be final.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Netflix__archaius__690 | Netflix/archaius | 690 | defect | e939ef56aa8669d6bf999d5e17b6a537ea895a1f | 07dbcc9f5bd7d536b7fba3280107dde67109280b | Log "excessive" creation of factories and proxies | Add logging to help users find leaks of Config proxies and their factories. | diff --git a/archaius2-core/src/main/java/com/netflix/archaius/ConfigProxyFactory.java b/archaius2-core/src/main/java/com/netflix/archaius/ConfigProxyFactory.java
index a35eb16b..f5f147f9 100644
--- a/archaius2-core/src/main/java/com/netflix/archaius/ConfigProxyFactory.java
+++ b/archaius2-core/src/main/java/com/netfli... | 4 | 4 | 1 | [{"id": "G0", "claim": "The local variable `stackTraceForDebuggint` is misspelled and should be `stackTraceForDebugging`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It would make sense to make the magic constants (the 5 and 50 warning limits... | null |
Netflix__archaius__695 | Netflix/archaius | 695 | defect | e14dc80845f6bf266cd3ea4ac649b05451da6c96 | a539a0614b99260af3a7dcefaee0ab11bdd52c63 | Allow conversion for interface types | Change the behavior of ConfigProxyFactory to check the Decoder for the existence of a TypeConverter before assuming that an interface type should be a nested archaius proxy. | diff --git a/archaius2-core/src/main/java/com/netflix/archaius/ConfigProxyFactory.java b/archaius2-core/src/main/java/com/netflix/archaius/ConfigProxyFactory.java
index 8e669232..129d4341 100644
--- a/archaius2-core/src/main/java/com/netflix/archaius/ConfigProxyFactory.java
+++ b/archaius2-core/src/main/java/com/netfli... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment above the newly added decoder-registry condition in buildInvokerForMethod should be updated to reflect the new behavior.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Netflix__archaius__698 | Netflix/archaius | 698 | defect | 45feec706b08681c306407d48fab121ae5e71d9d | 90be839c5831cafc106a38a6c5734f76dac6fee6 | Update instrumentation with more call sites and instrumentation clearing endpoint | The instrumentation currently is missing a few cases that are addressed here:
- OverrideProperties were not instrumented
- Calls through getStringArray (which for NetflixConfiguration came via the getString call on for both DynamicProperty wrappers [updateValue] and direct NetflixConfiguration calls, covering a lar... | diff --git a/archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java b/archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java
index 2082ae14..a3e4402b 100644
--- a/archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java
+++ b/archai... | 1 | 1 | 1 | [{"id": "G0", "claim": "Synchronizing on the usedProperties set does not stop other threads from recording usage concurrently, so getAndClearUsedProperties can still lose a property recorded between the copy and the clear; avoiding that would require synchronizing the recording methods too.", "category": "correctness",... | null |
Netflix__archaius__702 | Netflix/archaius | 702 | defect | 24468919a2bbd4bd61867f4d00d176c815885441 | 8cc14ec773079ad773c78b3fc858b0a2481fda41 | Add a Decoder that accepts custom TypeConverters | Add a new Decoder, `CustomDecoder`, which allows users to easily specify custom `TypeConverter` implementations. `CustomDecoder` exposes a single static factory method, `create`, which accepts a Collection of `TypeConverter.Factory` instances.
As part of adding this feature, refactor `DefaultDecoder` in a re-usable ... | diff --git a/archaius2-core/src/main/java/com/netflix/archaius/DefaultDecoder.java b/archaius2-core/src/main/java/com/netflix/archaius/DefaultDecoder.java
index 7d020e9a..83912010 100644
--- a/archaius2-core/src/main/java/com/netflix/archaius/DefaultDecoder.java
+++ b/archaius2-core/src/main/java/com/netflix/archaius/D... | 1 | 1 | 0 | [{"id": "G0", "claim": "The decoder naming is unfortunate and the classes should be renamed/restructured, e.g. moving the existing code to a CustomizableDecoder holding the static factory with DefaultDecoder as a subclass that calls the constructor with an empty factory list.", "category": "design", "verdict": "support... | null |
Netflix__archaius__739 | Netflix/archaius | 739 | defect | 70da5b16686cc560f900ab142bf567ce17d7909e | a7d77a34493a6c1f3fd152831d6176799e46bda9 | Add support for parsing Collections and Maps from the Spring YML format | Add support for understanding the Spring YML (YamlPropertiesFactoryBean) way of parsing YML files via the Archaius endpoints. This supports the ConfigProxy and PropertyRepository as these all are eventually backed by AbstractConfig.
This enables all existing Archaius read methods to read multi-line/multi-property m... | diff --git a/archaius2-api/src/main/java/com/netflix/archaius/api/ArchaiusType.java b/archaius2-api/src/main/java/com/netflix/archaius/api/ArchaiusType.java
index 0a8878ca..7ed434ea 100644
--- a/archaius2-api/src/main/java/com/netflix/archaius/api/ArchaiusType.java
+++ b/archaius2-api/src/main/java/com/netflix/archaius... | 2 | 2 | 1 | [{"id": "G0", "claim": "The isMap/isCollection helpers should be moved to be private static helper methods in AbstractConfig so that things would work with any ParameterizedType, not just with ArchaiusType.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
Netflix__archaius__741 | Netflix/archaius | 741 | defect | 7ed4e17b67e5f36622e4e1043b57b93ad5b7d384 | 25e75ebe1afc7da12095894da0a75046b9aa72bb | filter out empty or null string while parsing urls | [Issue 664](https://github.com/Netflix/archaius/issues/644): Filtering out empty or null string before creating the URLs array | diff --git a/archaius2-core/src/main/java/com/netflix/archaius/readers/URLConfigReader.java b/archaius2-core/src/main/java/com/netflix/archaius/readers/URLConfigReader.java
index 32ec81e7b..d994ebe89 100644
--- a/archaius2-core/src/main/java/com/netflix/archaius/readers/URLConfigReader.java
+++ b/archaius2-core/src/mai... | 1 | 1 | 0 | [{"id": "G0", "claim": "Since a Stream is already in use, the `new URL(s)` construction should be moved into it (Arrays.stream().filter().map().toArray(URL[])) to avoid allocating an intermediate String[].", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Netflix__chaosmonkey__14 | Netflix/chaosmonkey | 14 | defect | 67f890bd0bce9a947e33e04c5807c0d35e4b562f | e3ed9ef8e3ef25abcd1e38998909a900214f12da | Automate chaosmonkey cron setup | proposed solution for https://github.com/Netflix/chaosmonkey/issues/13
* added new configs
```
[install]
run_cron_expression = "" # main cron expression, default is 2 hours before "start_time"
run_cron_path = "/etc/cron.d/chaosmonkey-schedule" # path to cron ... | diff --git a/command/chaosmonkey.go b/command/chaosmonkey.go
index 894c87f..c4d85a8 100644
--- a/command/chaosmonkey.go
+++ b/command/chaosmonkey.go
@@ -59,6 +59,9 @@ Usage:
command: migrate | schedule | terminate | fetch-schedule | outage | config | email | eligible | intest
+Install
+-------
+Installs chaosmonk... | 8 | 8 | 2 | [{"id": "G0", "claim": "A return is missing before the errors.Errorf call in assertHasSameContent, so a cron-file content mismatch is never reported as a test failure.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "InstalledCronExpression need not w... | null |
Netflix__chaosmonkey__44 | Netflix/chaosmonkey | 44 | defect | e4186a31eb0367f66e4e52a66d70bbdc65503638 | a4d395b0ff59626588d97a5554ebe7d96adefcda | Handle case with app-level configs and region-specific cluster names | Previously, if an app was configured with app-level scope, and the cluster names varied by region, then Chaos Monkey would not handle this case correctly: it would assume that all clusters existed in all
regions, and then fail on 404s from Spinnaker.
With this PR, Chaos Monkey will no longer query Spinnaker for non... | diff --git a/constrainer/constrainer.go b/constrainer/constrainer.go
index b42187c..f9c7a8f 100644
--- a/constrainer/constrainer.go
+++ b/constrainer/constrainer.go
@@ -20,6 +20,7 @@ import (
"github.com/Netflix/chaosmonkey/schedule"
)
+// NullConstrainer is a no-op constrainer
type NullConstrainer struct{}
fu... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new regions logic looks like it returns either a single region or all regions for an app with the same cluster in 2 out of 3 regions, with nothing in between; the reviewer suggests running a contains predicate over all the regions and returning however many are found.", "category": "correctn... | null |
Netflix__concurrency-limits__111 | Netflix/concurrency-limits | 111 | defect | f7786b51beb6f57e749f6b6a32dc954e671f9345 | d65e94d5fceaca93e073d513c818da8abcac712e | Naive implementation of percentile tracking sample window | partly solves #106
Contents:
- pull out SampleWindow interface
- naive implementation for sample window, which tracks percentile
- support percentile based window in WindowedLimit | diff --git a/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/WindowedLimit.java b/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/WindowedLimit.java
index d74ff1c9..70b6e192 100644
--- a/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/Wind... | 4 | 4 | 1 | [{"id": "G0", "claim": "Decouple the metric tracking strategies behind a SampleWindowFactory (defaulting to average) reached from the builder, instead of the percentile() builder methods and the awkward SampleWindow#createBlankInstance().", "category": "design", "verdict": "supported", "priority": "P1", "scope": "intro... | null |
Netflix__concurrency-limits__119 | Netflix/concurrency-limits | 119 | defect | 5ae2be4fea9848af6f63c7b5632af30c494e7373 | 1ebdc562bb2765514e9aa9c696539062e8b16e24 | make addSample method idempotent for percentile window | to achieve better performance and lesser heap pollution | diff --git a/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/WindowedLimit.java b/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/WindowedLimit.java
index ba1700f3..68c57243 100644
--- a/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/Wind... | 2 | 2 | 2 | [{"id": "G0", "claim": "The seqId parameter is an implementation concern of the percentile window and should not be part of the public SampleWindow.addSample API.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "There is a race in addSample's concurrent up... | null |
Netflix__concurrency-limits__179 | Netflix/concurrency-limits | 179 | defect | ff90760ebda2af6c09d7e26a6eb58edb67b4ab40 | d217530b5af16a71fb036834b81ba572395bcb4c | Fix race condition in LifoBlockingLimiter | If a token was acquired around the same time that an operation
timed out, then the token would get lost. That means that the
limiter's capacity would effectively be reduced by one. If
this happens enough times, or the limit is decreased enough
for other reasons, then this would cause to the limiter to
permanently ... | diff --git a/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limiter/LifoBlockingLimiter.java b/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limiter/LifoBlockingLimiter.java
index a8b71fb5..3eeed610 100644
--- a/concurrency-limits-core/src/main/java/com/netflix/concurrency/l... | 1 | 1 | 0 | [{"id": "G0", "claim": "In both timeout and interrupt paths, simplify to a plain `return event.listener;` by making ListenerHolder.listener non-nullable so the null check is unnecessary.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
Netflix__concurrency-limits__204 | Netflix/concurrency-limits | 204 | defect | 4946f602717383e356621abef4954695d8963857 | dffb413a42869f39aca233ce96161456264be331 | Reduce contention a little in AbstractPartitionedLimiter | Swap `busy` from an `int` to `AtomicInteger`, which eliminates need for a `release` to take the lock.
And while we are here, slim down the work done while holding the lock. | diff --git a/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limiter/AbstractPartitionedLimiter.java b/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limiter/AbstractPartitionedLimiter.java
index 1f0d085..19f85df 100644
--- a/concurrency-limits-core/src/main/java/com/netflix/c... | 3 | 3 | 1 | [{"id": "G0", "claim": "Reviewer questions whether the lock is needed at all in the shouldBypass scenario.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Calls to updateLimit don't appear to guarantee thread-safety; reviewer asks why limit should ... | null |
Netflix__concurrency-limits__50 | Netflix/concurrency-limits | 50 | defect | 40226aac82bcb86f21688817573dccc8c2e93dbc | c3633d0b014a99f5182a799d158ec57930027f62 | RTT noLoad low pass filter | This PR introduces a low pass filter on noLoad RTT to replace the probing function introduced in 0.0.30. The probing function caused aggressive reduction of the limit resulting in unnecessary load shedding. The low pass filter lets the algorithm adapt to changes in long-term (10's of minutes) changes noLoad RTT while... | diff --git a/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/ExpAvgMeasurement.java b/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/ExpAvgMeasurement.java
new file mode 100644
index 00000000..ef16290c
--- /dev/null
+++ b/concurrency-limits-core/src/main/java/com/n... | 4 | 2 | 1 | [{"id": "G0", "claim": "The constructor sets this.count = 0 even though the field is already initialized to 0 at its declaration, so the initialization is duplicated.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Javadoc of Measurement.add ... | null |
Netflix__concurrency-limits__70 | Netflix/concurrency-limits | 70 | defect | 03d9bde395871cfc3e6475bbcf3b8e01ae850c4e | 8e8df1a2ef47ff2bc81c896e6f6ce5aa114a4004 | Fix a concurrency bug | BlockingLimiter has a bug where if two threads block at the same
time, they can deadlock, due to the use of a boolean 'blocked' flag
which doesn't properly account for multiple blocked threads.
There is a test that fails every time before, and passes every time after. | diff --git a/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limiter/BlockingLimiter.java b/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limiter/BlockingLimiter.java
index 1c0310e0..c0015667 100644
--- a/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/li... | 2 | 1 | 0 | [{"id": "G0", "claim": "Worth adding some class-level javadoc to indicate that BlockingLimiter is thread-safe.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The actual bug is the use of notify instead of notifyAll in unblock(), since multiple blo... | null |
Netflix__dyno-queues__40 | Netflix/dyno-queues | 40 | defect | f781c4834abf30b5fec3eedcc2ebc951505df6dd | d090cb2bb3181a2a9ac5abe7af83c97c843c86ea | Adding simple demo for queues | Adding a simple demo to use multi queues in Dyno.
Added a few simple code changes as part of this to remove the repeated code. | diff --git a/dyno-queues-redis/build.gradle b/dyno-queues-redis/build.gradle
index d8a12f8..1f4d40b 100644
--- a/dyno-queues-redis/build.gradle
+++ b/dyno-queues-redis/build.gradle
@@ -1,11 +1,12 @@
dependencies {
compile project(':dyno-queues-core')
-
+
compile "com.google.inject:guice:3.0"
... | 5 | 5 | 0 | [{"id": "G0", "claim": "The javadoc for the renamed localRack parameter should say 'local rack identifier' instead of 'local data center identifier'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The functions in the new QueueUtils class should h... | null |
Netflix__dyno-queues__45 | Netflix/dyno-queues | 45 | defect | 4f4ca2b7a975b1f8da2eb96b943237dcf40a6036 | 61040ef7c34c2f07b26af490f6111856de73da0d | Add unsafe_peekAllShards() and unsafe_popAllShards() functions | This patch exposes 2 new APIs that allow the calling application to
peek into and pop from all shards of the queue.
The APIs are prepended with unsafe_* because if multiple client app
instances call these APIs concurrently, it's possible that duplicate
items may be returned to the application across client instan... | diff --git a/dyno-queues-core/src/main/java/com/netflix/dyno/queues/DynoQueue.java b/dyno-queues-core/src/main/java/com/netflix/dyno/queues/DynoQueue.java
index a6b3fd3..7e9581c 100644
--- a/dyno-queues-core/src/main/java/com/netflix/dyno/queues/DynoQueue.java
+++ b/dyno-queues-core/src/main/java/com/netflix/dyno/queue... | 4 | 3 | 0 | [{"id": "G0", "claim": "The Javadoc of the new unsafe_peekAllShards/unsafe_popAllShards methods should state that the local shard is served first before the other shards, so users do not assume round-robin peeking.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.