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
JabRef__jabref__15559
JabRef/jabref
15,559
defect
c5cb4076b2e6551aba890a5cc4ed3edcdd2d9b2f
82e0946dfdc31015c8015b28338e1ba3b5f5c956
Always sanitize braces on save and remove InvalidFieldValueException
### Related issues and pull requests Fixes #8730 Refs #9833 ### PR Description See qodo Bonus: Replaced proper StringUtil repeat method with new JDK repeat method ### Steps to test - Insert unbalanced brace in entry field <img width="497" height="127" alt="grafik" src="https://github.com/user-atta...
diff --git a/jabgui/src/main/java/org/jabref/gui/autosaveandbackup/BackupManager.java b/jabgui/src/main/java/org/jabref/gui/autosaveandbackup/BackupManager.java index 87e989d8f8f1..b8c3a574b214 100644 --- a/jabgui/src/main/java/org/jabref/gui/autosaveandbackup/BackupManager.java +++ b/jabgui/src/main/java/org/jabref/gu...
9
6
3
[{"id": "G0", "claim": "The brace-balance error strings produced by FieldWriter.checkBalancedBraces and surfaced by BracketChecker are raw non-localized English text shown to users instead of being localized via Localization.lang.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "intr...
null
JabRef__jabref__15581
JabRef/jabref
15,581
defect
750e406705758d7a0abbe896cb0997ae79700fde
036777d853c1633998538d5921e3247dd75437d6
Fix dark/light theme migration
Fixes https://github.com/JabRef/jabref-issue-melting-pot/issues/1278 <!-- 1. ADDRESS all given instructions or tasks down below. 2. REMOVE all HTML Comments before you open the pull-request (PR). OTHERWISE, YOUR PR WILL BE CLOSED WITHOUT FURTHER NOTICE. --> <!-- Do not use AI to communicate with us. AI-a...
diff --git a/jabgui/src/main/java/org/jabref/migrations/PreferencesMigrations.java b/jabgui/src/main/java/org/jabref/migrations/PreferencesMigrations.java index 4addc85f11ab..36903b03bfbd 100644 --- a/jabgui/src/main/java/org/jabref/migrations/PreferencesMigrations.java +++ b/jabgui/src/main/java/org/jabref/migrations/...
3
2
1
[{"id": "G0", "claim": "The upgradeTheme migration reads preference keys with the one-argument overloads and no explicit defaults, so preferences.getBoolean(\"themeSyncOs\") can throw a NullPointerException during startup migration when no default is registered for that key; default values should be defined (empty stri...
null
JabRef__jabref__9515
JabRef/jabref
9,515
defect
88c9f56347449ad7678da0f33d20b00ba64fe474
d8dc0e4c2871a791ff46139d27b30b5bb900c092
Use Set instead of List for custom journal abbreviations
Fixes https://github.com/JabRef/jabref/issues/8928 - [x] Change in `CHANGELOG.md` described in a way that is understandable for the average user (if applicable) - [ ] Tests created for changes (if applicable) - [ ] Manually tested changed features in running JabRef (always required) - [ ] Screenshots added in PR ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 66000c5103fc..cc6704ed2bf9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,8 +21,8 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve - We changed database structure: in MySQL/MariaDB we renamed tables by adding a `JABREF_` prefix, a...
2
2
0
[{"id": "G0", "claim": "The static test-abbreviation fields are declared in the wrong order relative to other members, violating the checkstyle DeclarationOrderCheck on each of the seventeen flagged lines.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
JackHopkins__factorio-learning-environment__239
JackHopkins/factorio-learning-environment
239
defect
7792541144fa80ea8d5d4a62767f727c4e4d96c4
85de322e14f32aa97d835a28aa6f3bd08971e4cc
fix two failing tests
From PR: https://github.com/JackHopkins/factorio-learning-environment/pull/223 - FAILED test_craft.py::test_craft_with_full_inventory - AttributeError: 'FactorioNamespace' object has no attribute 'set_inventory'. Did you mean: 'inspect_inventory'? - FAILED test_pickup_entity.py::test_pickup_item_full_inventory - E...
diff --git a/env/src/entities.py b/env/src/entities.py index 102205c9b..a5423758c 100644 --- a/env/src/entities.py +++ b/env/src/entities.py @@ -2,7 +2,7 @@ from typing import Tuple, Any, Union, Dict, Set, Literal from typing import List, Optional from enum import Enum, Flag, auto, IntFlag -from pydantic import Base...
2
2
0
[{"id": "G0", "claim": "The inventory setup in test_craft_with_full_inventory could probably be boiled down to a single game.instance.set_inventory({'iron-plate': 100, 'coal': 10000}) call, assuming set_inventory adds items from left to right and does not fail when a quantity exceeds the character's inventory.", "categ...
null
JackalLabs__canine-chain__112
JackalLabs/canine-chain
112
defect
5016971193af3716ee0b36fb269f9a2bb1ed9df2
d85b322859b756c5d5062db23fd9a1602422f17b
added test for msg_server_buy_storage
👋 go test -v -run TestStorageTestSuite/TestBuyStorage
diff --git a/x/storage/keeper/msg_server_buy_storage_test.go b/x/storage/keeper/msg_server_buy_storage_test.go new file mode 100644 index 000000000..ef6548562 --- /dev/null +++ b/x/storage/keeper/msg_server_buy_storage_test.go @@ -0,0 +1,97 @@ +package keeper_test + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" ...
4
3
1
[{"id": "G0", "claim": "A couple of checks are missing from the new test's for loop over the cases.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The success test case is named \"buy 1gb for 2 month\" but its Bytes value of 2000000000 is 2GB.", "catego...
null
JackalLabs__canine-chain__142
JackalLabs/canine-chain
142
defect
62f9ba1d91b9baa0ee939df95d0bcb93f66556ff
59a1188a972b3d951c94024cf9827c1870c674e5
remove viewers test done -- wrong description for commit
Branched off from JKL-158. Linted and Tested locally. All good.
diff --git a/x/filetree/keeper/access.go b/x/filetree/keeper/access.go index bb33f3c21..57a895885 100644 --- a/x/filetree/keeper/access.go +++ b/x/filetree/keeper/access.go @@ -28,7 +28,7 @@ func HasViewingAccess(file types.Files, user string) (bool, error) { return ok, nil } - return true, nil + return false, n...
2
2
0
[{"id": "G0", "claim": "In HasViewingAccess, the if statement could be skipped altogether and the function should just return ok.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In TestMsgAddViewers, aliceEditorID := aliceViewerID would work as w...
null
JackalLabs__canine-chain__167
JackalLabs/canine-chain
167
defect
52ee6ebd5e5cbcac5d3d97849dd6ebeacc4f8384
56603f6322b6fdb270501e1baa28055cb4ef09c8
check if user already has some used space and apply it
i dont want any exploit for free storage ya know 😃
diff --git a/x/storage/keeper/msg_server_buy_storage.go b/x/storage/keeper/msg_server_buy_storage.go index 2aad96abe..0bd7d0340 100644 --- a/x/storage/keeper/msg_server_buy_storage.go +++ b/x/storage/keeper/msg_server_buy_storage.go @@ -48,7 +48,6 @@ func (k msgServer) BuyStorage(goCtx context.Context, msg *types.MsgBu...
1
1
1
[{"id": "G0", "claim": "The purchase should be rejected when the user's existing SpaceUsed would be greater than the bytes they requested to buy.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
JackalLabs__canine-chain__203
JackalLabs/canine-chain
203
defect
2c06e47c9f6b430af525fc4f17bb33c774c85920
73af0de563044feb6b5b11dbc7664d4f39142e79
Jkl 198 msg buy storage bug fix & simulation implementation
Fixes bug that prevents user from buying storage. Duration value of the MsgBuyStorage test cases are changed to time.Duration format.
diff --git a/app/sim_test.go b/app/sim_test.go index 6b905b602..93a6829f3 100644 --- a/app/sim_test.go +++ b/app/sim_test.go @@ -66,6 +66,14 @@ func SetupSimulation(dirPrefix, dbName string) (simtypes.Config, dbm.DB, string, return simtypes.Config{}, nil, "", nil, false, err } + // SDK config + cfg := sdk.GetCon...
2
2
0
[{"id": "G0", "claim": "In GetMerkleProof, the err assigned by the second io.WriteString call is never used (an error value is defined but not checked).", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The unchecked error in GetMerkleProof looks unhan...
null
JackalLabs__canine-chain__227
JackalLabs/canine-chain
227
defect
ec5e1143a18e0e3392a0a524f83a517c1bf0a76a
5a54877739a92d10b2dd4ff366eae60229ce0cad
Fix: Piece to prove
File deals were not using a shared calculation to choose a starting file chunk to prove. One of the processes got updated and not the other. This doesn't fix the issue of not sharing functions but it does bring the two sections of code on part with each other.
diff --git a/app/app.go b/app/app.go index b58780651..2e5efb4e3 100644 --- a/app/app.go +++ b/app/app.go @@ -148,7 +148,7 @@ import ( notificationsmoduletypes "github.com/jackalLabs/canine-chain/x/notifications/types" */ - v3 "github.com/jackalLabs/canine-chain/app/upgrades/v3" + "github.com/jackalLabs/canine-ch...
1
1
0
[{"id": "G0", "claim": "The change-log line should read 'Coverage to ~50%' instead of 'Coverage by ~60%'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
JackalLabs__canine-chain__241
JackalLabs/canine-chain
241
defect
f569ddc730f42e01433446dd23f70f38e2be202b
5f8eec398daa1eff15362f551d396051ba6b0447
Fix: PostProof fails, causing Provider queue to explode
No error will be thrown now when a proof fails, it will cost the full amount in gas instead of the refunded amount and the response will return a `Success` flag instead of an error response. As such the transaction will always succeed so pay attention to the response to ensure accurate results.
diff --git a/proto/canine_chain/storage/tx.proto b/proto/canine_chain/storage/tx.proto index e9f042e3d..423747ef7 100644 --- a/proto/canine_chain/storage/tx.proto +++ b/proto/canine_chain/storage/tx.proto @@ -42,7 +42,7 @@ message MsgPostproof { string cid = 4; } -message MsgPostproofResponse { string merkle = 1;...
1
1
1
[{"id": "G0", "claim": "Move the failure reasons currently dropped by `fmt.Errorf`/bare `Success: false` responses into an additional string response field (e.g. `{ success: bool, errMessage: string }`) so callers can be informed why a msg failed.", "category": "design", "verdict": "supported", "priority": "P1", "scope...
null
JackalLabs__canine-chain__335
JackalLabs/canine-chain
335
defect
fa49ec1e5030164f404c2f5bc3293a7f5436c787
205e88fa5cc546414e6a0244d706ad65ee69a1a6
Feat: P2P Attestation
Storage proofs can be handled completely off-chain by creating an attestation system.
diff --git a/proto/canine_chain/storage/providers.proto b/proto/canine_chain/storage/providers.proto index 319397227..21dedcbf6 100644 --- a/proto/canine_chain/storage/providers.proto +++ b/proto/canine_chain/storage/providers.proto @@ -12,3 +12,17 @@ message Providers { string keybase_identity = 6; repeated stri...
3
2
2
[{"id": "G0", "claim": "The hand-rolled rand.Seed call in RequestAttestation is redundant because GetActiveProviders already seeds the generator (so the seeding there should be removed/kept in one place).", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl...
null
JackalLabs__canine-chain__428
JackalLabs/canine-chain
428
defect
b6ed80562559f18c301492a179c1df168a852c51
6c4cf98de5b92546b7927da4e318208d78081b19
Enabling Interchain Accounts
Everything needed for ica to work, including work history of the debugging it took to get there. Docker image built and tested with the outpost. Confirmed it still works perfectly.
diff --git a/Dockerfile b/Dockerfile index a9e552b6a..0f9d5a678 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,15 @@ # syntax=docker/dockerfile:1 -FROM golang:1.20 +FROM golang:1.21 + +# Update package list and install jq +RUN apt-get update && apt-get install -y jq + WORKDIR /canine-chain COPY . /canine-chain...
4
4
4
[{"id": "G0", "claim": "The nullify package imports the reflect system package, which contains functions that may be a possible source of non-determinism.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The nullify package imports the unsafe system pack...
null
JackalLabs__canine-chain__531
JackalLabs/canine-chain
531
defect
f8cacb644ef8d0722b8f1388e7685d4ce534d425
c644376b70b7bcb2dbddf0b822b9ed97b2085a37
adding more tests to proofs
added a bunch of tests to the proof system. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Tests** * Added a comprehensive test suite for storage proof management covering proof lifecycle, provider interactions, file state transitions, expiration scenarios, e...
diff --git a/x/storage/keeper/proof_manager_test.go b/x/storage/keeper/proof_manager_test.go new file mode 100644 index 000000000..537a0d2fc --- /dev/null +++ b/x/storage/keeper/proof_manager_test.go @@ -0,0 +1,967 @@ +package keeper_test + +import ( + "testing" + "time" + + testutil "github.com/jackalLabs/canine-chain...
16
12
4
[{"id": "G0", "claim": "The same Params literal is repeated across many tests; centralize it in a small defaultParams helper.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment bullet '3. RunProofChecks runs (height % proofWindow == 0)' ...
null
JakeChampion__fetch__258
JakeChampion/fetch
258
defect
1df62350c091fb179d91a9e0abff524cfcb69105
ed076d1ac3cdbfe4f21812b368a5d0b52a71e8e4
Exercise both polyfill and native `fetch` in test suite
Before, in browsers that had native `fetch` implementation the polyfill code was never exercised by the test suite. This ensures that both implementations are exercised. Bonus features: better first-run experience when cloning the project and trying to run `script/server`: - The port number is now printed on stderr; -...
diff --git a/.jshintrc b/.jshintrc index 604e4aac0..ef71670d2 100644 --- a/.jshintrc +++ b/.jshintrc @@ -17,5 +17,8 @@ "esnext": true, "eqnull": true, "browser": true, - "worker": true + "worker": true, + "globals": { + "JSON": false + } } diff --git a/.travis.yml b/.travis.yml index 8a66e5472..4299555...
2
1
0
[{"id": "G0", "claim": "The pull request should not patch production code (fetch.js) to accommodate the test suite; the tests should avoid the JSON-parsing cascading-failure problem another way.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "devDependenc...
null
JakeChampion__fetch__351
JakeChampion/fetch
351
defect
4bde61788365cfd3d6155eee8aed3c7673d299d5
f9de2e9e3f15ef9d20e42ea02161ea5313d30b6b
Support ArrayBuffer in BodyInit
Fixes #350.
diff --git a/fetch.js b/fetch.js index d0652dea6..4666c4566 100644 --- a/fetch.js +++ b/fetch.js @@ -178,8 +178,12 @@ } else if (!body) { this._bodyText = '' } else if (support.arrayBuffer && ArrayBuffer.prototype.isPrototypeOf(body)) { - // Only support ArrayBuffers for POST method. - ...
5
3
2
[{"id": "G0", "claim": "The fix should be tested manually in browsers that do not support native fetch(), such as Safari and IE.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The fix is more complex than needed and the consumed(this) condition should b...
null
JakeChampion__fetch__534
JakeChampion/fetch
534
defect
9a0c992f4c79f2050b928ed9ad62689db525c200
c3e1019567262158f96309c8a9579adddaa7f894
Allow undefined Response status
This allows the Response constructor to accept a status code that's explicitly set to undefined. Native fetch implementations in Chrome and Firefox behave this way. The following now works, but would previously throw an error: new Response('', { status: undefined })
diff --git a/fetch.js b/fetch.js index f4755bd9..f2f466d7 100644 --- a/fetch.js +++ b/fetch.js @@ -380,7 +380,7 @@ } this.type = 'default' - this.status = 'status' in options ? options.status : 200 + this.status = options.status === undefined ? 200 : options.status this.ok = this.status >= 200 &&...
1
1
1
[{"id": "G0", "claim": "Add a test covering the new behavior (default status 200 when an explicit undefined status is passed).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
JakeChampion__fetch__592
JakeChampion/fetch
592
defect
7a692dc519a3a110526a26c7e252f99991510c2a
93e9cec6c6a93f7a9473381c6daf215172fc6b7c
Support abort API
This is a quick pass at an attempt to resolve #547 . The intention is that it would supersede #572 Todo: - [ ] Tests - [ ] ~~Verify that the feature detection works~~ - [x] Update documentation Feedback is welcome! Thanks for reviewing :v:
diff --git a/fetch.js b/fetch.js index f2f466d7..4e02c2db 100644 --- a/fetch.js +++ b/fetch.js @@ -1,7 +1,21 @@ (function(self) { 'use strict'; - if (self.fetch) { + function canAbortFetch() { + if (!self.AbortController || !self.AbortSignal) { + return false + } + + var abortController = new se...
12
10
8
[{"id": "G0", "claim": "The feature detection could be more explicit by also checking `self.Request` in the condition, if that is preferable.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Overwriting the native `window.fetch` entirely when fetc...
null
JakeChampion__fetch__698
JakeChampion/fetch
698
defect
3674c98df696d45573750aa7873814887d25689a
c69500bb854a50d67d5de29290e9dfaa9d96f3bc
Change default statusText for Response
According to [WHATWG fetch specification](https://fetch.spec.whatwg.org/#response-class) default statusText for Response should be "" (empty string). Fixes #696
diff --git a/fetch.js b/fetch.js index 018bbb36..a6fd1f69 100644 --- a/fetch.js +++ b/fetch.js @@ -391,7 +391,7 @@ export function Response(bodyInit, options) { this.type = 'default' this.status = options.status === undefined ? 200 : options.status this.ok = this.status >= 200 && this.status < 300 - this.stat...
3
3
0
[{"id": "G0", "claim": "The whole test around line 616 (the 'default status ... when an explicit undefined status code is passed' case) seems to have no purpose and should be removed.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The empty '' quotes in...
null
JakeWharton__RxRelay__56
JakeWharton/RxRelay
56
defect
86c9c0582a390b9e50e8602e607490878169bc68
c466f487b1c5792065ca626b9806f5430b763e14
Upgrade to RxJava3
I changed the package name, the coordinates and the version. Tell me if that's OK or I should keep some of those. I did some minor changes in the tests too because the test API changed a lot between 2.x and 3.x. This PR is related with #55.
diff --git a/deploy_javadoc.sh b/deploy_javadoc.sh index 35c5738..fd66b92 100755 --- a/deploy_javadoc.sh +++ b/deploy_javadoc.sh @@ -3,7 +3,7 @@ set -ex REPO="git@github.com:JakeWharton/RxRelay.git" -GROUP_ID="com.jakewharton.rxrelay2" +GROUP_ID="com.jakewharton.rxrelay3" ARTIFACT_ID="rxrelay" DIR=temp-clone di...
2
1
0
[{"id": "G0", "claim": "The pom.xml should pick up the latest patch release of the rxjava 3.0.0 dependency (the reviewer suggests 3.0.2).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The SerializedRelayTest assertion should use normal equals i...
null
JakeWharton__RxRelay__6
JakeWharton/RxRelay
6
defect
5802998f69f52d459d1304fd7f25a68d4b87a4f8
70ac929bc371bfa04e126c0dd3b406136e0c951a
Implement asAction
Resolves #5
diff --git a/pom.xml b/pom.xml index 62482b8..1cac7a8 100644 --- a/pom.xml +++ b/pom.xml @@ -45,7 +45,7 @@ <dependency> <groupId>io.reactivex</groupId> <artifactId>rxjava</artifactId> - <version>1.1.0</version> + <version>1.1.3</version> </dependency> <dependency> <groupId>...
4
4
0
[{"id": "G0", "claim": "The whole AsActionTest.java file should use two-space indentation.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test should use TestSubscriber instead of a mocked Observer to avoid mocking.", "category": "testing", ...
null
JakeWharton__RxReplayingShare__32
JakeWharton/RxReplayingShare
32
defect
fbedd636353c1c885686d328e67b9b5e90d57817
4dffcf144feeae21b590029a83b1b702e8489f3e
Add subscription check before emitting cached value
Closes https://github.com/JakeWharton/RxReplayingShare/issues/31
diff --git a/replaying-share/src/main/java/com/jakewharton/rx/ReplayingShare.java b/replaying-share/src/main/java/com/jakewharton/rx/ReplayingShare.java index dcc14e3..8d673ea 100644 --- a/replaying-share/src/main/java/com/jakewharton/rx/ReplayingShare.java +++ b/replaying-share/src/main/java/com/jakewharton/rx/Replayi...
1
1
0
[{"id": "G0", "claim": "The test should achieve the cancelled-subscriber effect by calling testSubscriber.dispose() (or cancel()) before subscribing it, instead of wrapping a Subscriber that cancels inside onSubscribe.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
JakeWharton__RxReplayingShare__35
JakeWharton/RxReplayingShare
35
defect
c051abc12eaa14d8fcd48ab4c172e2d597b1b275
3136ee6fcd93d479bc5c262669838d03450eae9c
Adds createWithDefault API
fixes #34
diff --git a/replaying-share-kotlin/src/main/kotlin/com/jakewharton/rx/ReplayingShare.kt b/replaying-share-kotlin/src/main/kotlin/com/jakewharton/rx/ReplayingShare.kt index 742e0d1..70332da 100644 --- a/replaying-share-kotlin/src/main/kotlin/com/jakewharton/rx/ReplayingShare.kt +++ b/replaying-share-kotlin/src/main/kot...
5
5
2
[{"id": "G0", "claim": "The Kotlin `replayingShare` extension needs to compose `ReplayingShare.createWithDefault(defaultValue)` when a default value is given and `ReplayingShare.instance()` otherwise, instead of always composing `instance()`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope...
null
JakeWharton__butterknife__1188
JakeWharton/butterknife
1,188
defect
66a4b217aa3ac7ba3a2d8169f60063fdb25249db
aaafa2de29b58e83d461c217c5aa3a94f07df1cb
Parse manifest to determine package name.
We don't want to use the applicationId to find the location of the R.java file because the R.java file's location is based on the package name not the applicationId. The applicationId can change based on the variant, but the R.java file's location will not change. Added some tests to make sure this works based...
diff --git a/butterknife-gradle-plugin/build.gradle b/butterknife-gradle-plugin/build.gradle index 74b819943..785287e10 100644 --- a/butterknife-gradle-plugin/build.gradle +++ b/butterknife-gradle-plugin/build.gradle @@ -1,9 +1,18 @@ -apply plugin: 'java-library' +apply plugin: 'java-gradle-plugin' apply plugin: 'kotl...
2
1
0
[{"id": "G0", "claim": "The Gradle wrapper was updated by hand-editing gradle-wrapper.properties instead of running the wrapper task, which would also have updated the wrapper jar and executables alongside the 4.5 distributionUrl.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduc...
null
JakeWharton__butterknife__1250
JakeWharton/butterknife
1,250
defect
bdad748766f407856562ee55cbded250499e1637
eae6fdef1b79276110636095f09fcc83a4bbe1fc
Fix R scanner behavior for array values
Fixes #1247 - TreeScanner api visits all values at once when calling `accept(Tree)` so aggregate the symbols within the scanner itself - Added new unit tests
diff --git a/butterknife-annotations/src/main/java/butterknife/BindDrawable.java b/butterknife-annotations/src/main/java/butterknife/BindDrawable.java index a30d20dd7..bae549569 100644 --- a/butterknife-annotations/src/main/java/butterknife/BindDrawable.java +++ b/butterknife-annotations/src/main/java/butterknife/BindD...
1
1
0
[{"id": "G0", "claim": "The -1 in the tint comparison in FieldDrawableBinding.render is a magic number whose meaning is unclear from that class; the reviewer suggests making a named NO_ID constant instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
JakeWharton__butterknife__1620
JakeWharton/butterknife
1,620
defect
e82a9065e0fab8beecb5e0179057b82c5f2dfb30
5ad79d442ebbf6eb312773541d3c700d6c94defe
Avoid all @OnClick events may not working
Avoid `DebouncingOnClickListener` static field `enabled` staying in `false` state. Fixes #1619
diff --git a/butterknife-runtime/src/main/java/butterknife/internal/DebouncingOnClickListener.java b/butterknife-runtime/src/main/java/butterknife/internal/DebouncingOnClickListener.java index b1de399e3..fa2faf3b4 100644 --- a/butterknife-runtime/src/main/java/butterknife/internal/DebouncingOnClickListener.java +++ b/b...
2
2
2
[{"id": "G0", "claim": "The listener should post ENABLE_AGAIN to the main looper directly rather than going through the view, which removes the need for the isAttachedToWindow check.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Travis CI build fail...
null
JakeWharton__butterknife__177
JakeWharton/butterknife
177
defect
13c6f90856216729792524c80d65c4c63ada7a41
46c06bce21fb1af668e88b95fb3ee8b0cd3e12e8
Error if the same view ID is injected twice on the same class.
Resolves #171
diff --git a/butterknife/src/main/java/butterknife/internal/ButterKnifeProcessor.java b/butterknife/src/main/java/butterknife/internal/ButterKnifeProcessor.java index 9eb91d7d2..1c2990f47 100644 --- a/butterknife/src/main/java/butterknife/internal/ButterKnifeProcessor.java +++ b/butterknife/src/main/java/butterknife/in...
2
2
0
[{"id": "G0", "claim": "The added processor code and tests use the wrong indentation — continuation lines should be indented four spaces and the tests un-indented to the two-space style of the rest of the codebase.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id":...
null
JakeWharton__butterknife__550
JakeWharton/butterknife
550
defect
81fc69932f9e70418296aeadc433fbc9885e86ee
4db72a9c58bfffffc2ceaa759aa3bcff4dbb29e3
Finder is needed in method binds to cast to the desired type
All tests were passing before, but the generated code would fail to compile when the finder was used within a method binding.
diff --git a/butterknife-compiler/src/main/java/butterknife/compiler/BindingClass.java b/butterknife-compiler/src/main/java/butterknife/compiler/BindingClass.java index 608f3a2ca..af9139a6c 100644 --- a/butterknife-compiler/src/main/java/butterknife/compiler/BindingClass.java +++ b/butterknife-compiler/src/main/java/bu...
1
1
0
[{"id": "G0", "claim": "The condition for marking the finder parameter final should be made more exact so that it is only final when actually needed inside the anonymous class.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
JakeWharton__butterknife__682
JakeWharton/butterknife
682
defect
7f8d51ff4066f7e580f31340526b682a04c06ff0
b9442b6a52ea9eaff6290a07a69cc023eacc6181
Butterknife integration test
@JakeWharton Based on our conversation here: https://github.com/JakeWharton/butterknife/issues/669#issuecomment-233482890. I combined both `:samples:app` and `:sample:library` source code as `:butterknife-integration-test` and turned on `lint`. To test my integration module, you can simple swap out: ``` compile pr...
diff --git a/butterknife-integration-test/build.gradle b/butterknife-integration-test/build.gradle new file mode 100644 index 000000000..beb885db8 --- /dev/null +++ b/butterknife-integration-test/build.gradle @@ -0,0 +1,49 @@ +apply plugin: 'com.android.application' +apply plugin: 'com.neenbedankt.android-apt' + +andro...
2
2
0
[{"id": "G0", "claim": "Remove every test file from the sample module so that these tests exist only in the butterknife-integration-test module (not the other way around).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test methods should be formatte...
null
JakeWharton__butterknife__788
JakeWharton/butterknife
788
defect
7c39e473efd501269a444f2e3d03184eb41d2d05
e2847f159509993cc30393d9614d36f92b8b275e
Scope symbol IDs per element package name
the integer ID itself is not enough to correctly identify a symbol. We need to scope that somehow in order to prevent clashes. This can be observed in a multiple modules project where butterknife is used in modules that depend on other modules that also use Butterknife. Since IDs can repeat across modules, we need to s...
diff --git a/butterknife-compiler/src/main/java/butterknife/compiler/ButterKnifeProcessor.java b/butterknife-compiler/src/main/java/butterknife/compiler/ButterKnifeProcessor.java index 83934cdb8..d0f391845 100644 --- a/butterknife-compiler/src/main/java/butterknife/compiler/ButterKnifeProcessor.java +++ b/butterknife-c...
3
2
0
[{"id": "G0", "claim": "The RClassScanner's Map<String, String> rClasses field is confusing and should be made clearer.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since QualifiedId already carries the id, the symbols map keyed by QualifiedId...
null
James-Yu__LaTeX-Workshop__3175
James-Yu/LaTeX-Workshop
3,175
defect
efb47fa42fe05b17efde578b11e22509705b6410
e08855da8b77979d95b7a4b792d93b8f5f5dcbf3
Update manager when switching workspace root in a multi-root workspace
Close #3162
diff --git a/src/components/manager.ts b/src/components/manager.ts index 46a3445a8c..566af53cb1 100644 --- a/src/components/manager.ts +++ b/src/components/manager.ts @@ -84,10 +84,9 @@ export class Manager { */ private readonly cachedContent = Object.create(null) as Content - private readonly localRoot...
4
4
1
[{"id": "G0", "claim": "Stop using Manager.rootFiles (and likewise Manager.localRootFiles): there is no reason to cache the root file for every workspace and the caches can cause problems.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The private fiel...
null
James-Yu__LaTeX-Workshop__3178
James-Yu/LaTeX-Workshop
3,178
defect
58a6014f48209ba9de92bfa70cf954bea4a08d6d
32903a7d014e9b34b3d04fbbb7a8a49c3cbe21ec
Dynamically update latex badge menus
This is a follow-up on #3122. This PR updates the TeX badge when the rootFile changes.
diff --git a/package.json b/package.json index 2f25b97ae1..42c2873444 100644 --- a/package.json +++ b/package.json @@ -764,6 +764,7 @@ "title": "LaTeX", "properties": { "latex-workshop.latex.recipes": { + "scope": "resource", "type": "array", "items": { ...
6
3
2
[{"id": "G0", "claim": "The Extension class should not hold tree-view providers directly, so Extension.latexCommanderProvider should be removed.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The _onDidChangeTreeData and onDidChangeTreeData members shoul...
null
James-Yu__LaTeX-Workshop__3206
James-Yu/LaTeX-Workshop
3,206
defect
25eff632fd3219014a386c9cef1e836bc4e9379c
fd5e0220052afb766632af1c741028cf613fc900
Add unit tests for checking the content of all `.json` files used for completion
@tamuratak Based on https://github.com/tamuratak/LaTeX-Workshop/tree/unittest, I have written some tests to check that every entry in the `.json` files used for completion contain the correct keys and only them.
diff --git a/test/fixtures/unittest/fixture001/emptyfile b/test/fixtures/unittest/fixture001/emptyfile new file mode 100644 index 000000000..e69de29bb diff --git a/test/runTest.ts b/test/runTest.ts index 3bd92e7e9..c668157f4 100644 --- a/test/runTest.ts +++ b/test/runTest.ts @@ -22,7 +22,7 @@ function writeSettingsJson...
3
3
0
[{"id": "G0", "claim": "Move the checkDictkeys helper out of test/utils.ts into unittest.test.ts, since it is only used by the tests.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The name `check` is too general and it is not clear what the hel...
null
James-Yu__LaTeX-Workshop__3207
James-Yu/LaTeX-Workshop
3,207
defect
f40354e3b0eb662c09aa67e8aa5a04e52fb9d8f6
938bd0cd327ee8834e0fd7af6f0ba9aae306f257
Enable user replacement of `@` snippets
This PR adds a new setting `latex-workshop.intellisense.snippetsJSON.replace` to enable users to remove, redefine or add `@` snippets. Close https://github.com/jlelong/LaTeX-Workshop/issues/4
diff --git a/data/snippets-as-commands.json b/data/at-suggestions.json similarity index 100% rename from data/snippets-as-commands.json rename to data/at-suggestions.json diff --git a/package.json b/package.json index 4290a6261..f60d1e7df 100644 --- a/package.json +++ b/package.json @@ -1748,11 +1748,20 @@ ]...
4
2
0
[{"id": "G0", "claim": "It might not be helpful to display user-defined @suggestions with only the hard-coded text 'User defined @suggestion'; the documentation field should convey more about where the item comes from (e.g. the user's own description).", "category": "design", "verdict": "uncertain", "priority": "P2", "...
null
James-Yu__LaTeX-Workshop__3811
James-Yu/LaTeX-Workshop
3,811
defect
700c0585034ee31c3e5c62d99ce61fe37cf52fe9
febf5892c5b06cba38c68e78a37b43be7c1beefc
\include suggestion does not have file extension
Resolves #3808 This PR introduces a patch to remove the file extensions from `\include{}` file suggestions. The label of suggestions include the extension to distinguish multiple files with the same name, but the inserted text excludes the extension. A new patch on test is included to test this feature.
diff --git a/src/providers/completer/input.ts b/src/providers/completer/input.ts index 4a277ad5a..19fd42233 100644 --- a/src/providers/completer/input.ts +++ b/src/providers/completer/input.ts @@ -129,6 +129,9 @@ abstract class InputAbstract implements IProvider { } ite...
1
1
1
[{"id": "G0", "claim": "The commands `includeonly` and `excludeonly` also only expect the base file name without extension, so they should be added to the commands for which the completion inserts the name without extension.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
James-Yu__LaTeX-Workshop__4359
James-Yu/LaTeX-Workshop
4,359
defect
14700e11d673a02b2d953e31e431db363d360079
85e94df81fd7dc42adc7f887ca6c9c59b8e65577
Support file watching on virtual file systems
Closes https://github.com/James-Yu/LaTeX-Workshop/issues/4357 This PRs mostly replaces the usage of `string` to encode file paths with `vscode.Uri` to encode actual URIs to files (which might not always reside on the local file system/disk) for the purpose of file watching. There are a lot more instances of this iss...
diff --git a/src/compile/build.ts b/src/compile/build.ts index 76fe35629..37a8b513d 100644 --- a/src/compile/build.ts +++ b/src/compile/build.ts @@ -15,8 +15,8 @@ export { build, } -lw.watcher.src.onChange(filePath => autoBuild(filePath, 'onFileChange')) -lw.watcher.bib.onChange(filePath => autoBuild(filePath, ...
3
3
3
[{"id": "G0", "claim": "Changing the watcher glob from `*ext` to `**/*ext` is an inconsistent, unexplained change that makes file watching recursive when it should not be.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The watcher methods add, remove and...
null
James-Yu__LaTeX-Workshop__4387
James-Yu/LaTeX-Workshop
4,387
defect
cd8f79be65db6de9a74cc39b7cf714d17d154f44
9b452295133745a411e0ea1ebccb161a2071da72
Support tap PDF to move to LaTeX on remote file system
Closes https://github.com/James-Yu/LaTeX-Workshop/issues/4386 It recently added support for auto-reloading on remote filesystems, and similarly, I have added support for loading .synctex.gz files using URIs.
diff --git a/src/compile/build.ts b/src/compile/build.ts index 37a8b513d..31daf98f6 100644 --- a/src/compile/build.ts +++ b/src/compile/build.ts @@ -426,7 +426,7 @@ async function afterSuccessfulBuilt(lastStep: Step, skipped: boolean) { const configuration = vscode.workspace.getConfiguration('latex-workshop', vsco...
11
11
5
[{"id": "G0", "claim": "The pull request's changes make the checks and unit tests fail, and all test failures must be fixed before merge.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Parameters and variables that hold a vscode.Uri are named *File or *...
null
James-Yu__LaTeX-Workshop__4827
James-Yu/LaTeX-Workshop
4,827
defect
541167a72f27026bd0ed6a19a4510c62c12e29ad
6a43c49229029cbf44ad19ad3f620a0e9db4b089
Add support for reverse proxy configuration in PDF viewer URL
## Summary This PR adds a new configuration option to support using LaTeX Workshop's internal PDF viewer when running VS Code as a web server behind a reverse proxy. ## Problem Fixes #4826 When running VS Code as a web server (`code serve-web`) behind a reverse proxy, the internal PDF viewer cannot be accessed becaus...
diff --git a/package.json b/package.json index 131ac188c..8db10afc1 100644 --- a/package.json +++ b/package.json @@ -1757,6 +1757,12 @@ "default": 0, "markdownDescription": "Define the port to listen on for communicating with the internal viewer. The default value \"0\" means the port is chosen ra...
2
2
0
[{"id": "G0", "claim": "The new reverse-proxy fallback behavior in getUrl()/obtainValidOrigin() is not covered by unit tests; tests should stub vscode.env.asExternalUri to return a localhost authority and verify getUrl() uses view.pdf.internal.urlPrefix, and that it does not when asExternalUri returns a non-localhost U...
null
James-Yu__LaTeX-Workshop__4862
James-Yu/LaTeX-Workshop
4,862
defect
68e5b49c50e18d21aa9b05dbe585c5f414c6c3f0
b5b5bd8dca3af715ecafce240200b380f8331d00
4856 add option to specify a custom source directory
See discussions in #4856 This PR introduced a new config item of string type `latex.build.fromFolder` to replace the original boolean `latex.build.fromWorkspaceFolder` for more general usage. Further, two new tool placeholders `%RELATIVE_CWD_DIR%` and `%RELATIVE_CWD_DOC%` are added to provide relative paths from th...
diff --git a/package.json b/package.json index 8d7177a09..17bf3d118 100644 --- a/package.json +++ b/package.json @@ -1302,11 +1302,18 @@ "default": true, "markdownDescription": "Enable magic comments if present." }, + "latex-workshop.latex.build.fromFolder": { + "scope": "...
6
5
3
[{"id": "G0", "claim": "getWorkingFolder() reads latex.build.fromFolder but does not consider the deprecated latex.build.fromWorkspaceFolder, which the reviewer says becomes a breaking behavior change for existing users who have it set to true; consider falling back to latex.build.fromWorkspaceFolder when latex.build.f...
null
James-Yu__LaTeX-Workshop__4886
James-Yu/LaTeX-Workshop
4,886
defect
8baabed16789ca16c0819294f4647a0e52bd15fe
8d0d2ae34497bf9ff7cecb3b6659c359fcb588d7
Fix overlapping ranges when combining LaTeX formatter with quote/math fixers
## Summary - Formatting a document fails with `Overlapping ranges are not allowed!` whenever `formatting.latex` is set to `latexindent` or `tex-fmt` **and** `format.fixQuotes.enabled` or `format.fixMath.enabled` is `true`. - Root cause: the LaTeX formatter returns a single `TextEdit` covering the full document (or sel...
diff --git a/src/lint/latex-formatter.ts b/src/lint/latex-formatter.ts index cea81bba1..296cb0f5c 100644 --- a/src/lint/latex-formatter.ts +++ b/src/lint/latex-formatter.ts @@ -3,8 +3,8 @@ import { lw } from '../lw' import { LaTeXFormatter } from '../types' import { latexindent } from './latex-formatter/latexindent' ...
2
2
1
[{"id": "G0", "claim": "There is no unit test covering fixMath applied to a LaTeX formatter's returned edit; a test stubbing the formatter to return text containing $...$ and asserting exactly one edit whose newText contains the normalized delimiters should be added to prevent regressions in applyFixers/applyEditsToStr...
null
JamesIves__github-pages-deploy-action__1142
JamesIves/github-pages-deploy-action
1,142
defect
2305bd1841332081d5729d62d7301b1e7d552087
ddb15a553417cf6b188af41f8803c8ad6c2a9d1d
Adding tag option to action
## Description I found out that in some cases, pushing to the doc repo using a tag is convenient. ## Testing Instructions In theory, it should work by providing the key option `tag`. ``` - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@v4.3.3 with: branch: gh-pages # The branch the a...
diff --git a/README.md b/README.md index 33cc9215c1..44e68fe2ef 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,8 @@ run({ folder: 'build', repositoryName: 'JamesIves/github-pages-deploy-action', silent: true, - workspace: 'src/project/location' + workspace: 'src/project/location', + tag: 'v0.1' }) ...
2
2
2
[{"id": "G0", "claim": "The derived `add_tag` and `externalRepositoryTarget` fields are unnecessary; the action should check the existence of `tag` and `repositoryName` directly instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `tag` option sho...
null
JamesIves__github-pages-deploy-action__463
JamesIves/github-pages-deploy-action
463
defect
fbc5cb96d61df571dd04c6817c7983ce9d107bd1
b89e021dfa89de4be019971f572c4d574bf4cc93
Feat: add support for checking if source folder exists
Resolves #310 **Description** > Provide a description of what your changes do. Refactor function `init` to generate paths and check if required parameters are provided. Remove some tests.
diff --git a/__tests__/git.test.ts b/__tests__/git.test.ts index 404fb9a17b..9bb27a6cf4 100644 --- a/__tests__/git.test.ts +++ b/__tests__/git.test.ts @@ -6,6 +6,7 @@ import {mkdirP, rmRF} from '@actions/io' import {action, Status} from '../src/constants' import {execute} from '../src/execute' import {deploy, genera...
4
2
1
[{"id": "G0", "claim": "The `root` field is no longer used for anything and should be dropped (with the one remaining use in git.ts replaced by `action.workspace`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Moving the default assignments ...
null
JamesIves__github-pages-deploy-action__546
JamesIves/github-pages-deploy-action
546
defect
570f002e7e609191ed3986f71e135d808aa790a5
4a944fbc8c59be3346f711c69f1af0ac62f217d4
Fix a few nits in tests and automation. Don't try to wordcount ls-rem…
…ote. Nits in tests are around undoing changes made to the environment, and to not modify the checkout. These are my take on #545 . I also included one more thing I found not mentioned there, which is extending the unittests workflow on all dev branches.
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2ee7ccb4f3..a088f6f651 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,7 +6,7 @@ on: - 'releases/v*' push: branches: - - dev + - 'dev*' tags-ignore: - '*.*' jobs: diff --gi...
1
1
0
[{"id": "G0", "claim": "Add a description to the newly added empty-named describe suite in __tests__/git.test.ts.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
JamesLMilner__terra-draw__463
JamesLMilner/terra-draw
463
defect
35f0f9b81f65d2d8bb11314dbaa75c0cbd4edb92
59674fd916d086fff44b9086b21bf6bf93d0f661
chore(terra-draw): correct spelling mistakes across codebase
Found via codespell (https://github.com/codespell-project/codespell)
diff --git a/packages/e2e/README.md b/packages/e2e/README.md index 8455487e..442714c3 100644 --- a/packages/e2e/README.md +++ b/packages/e2e/README.md @@ -26,4 +26,4 @@ npm run test:headed ## Tests -Tests are located in the `tests` folder. You will see the `leaflet.spec.ts` file, this is where the tests are kept f...
1
1
0
[{"id": "G0", "claim": "The test title should read \"uninitialized\" rather than \"initialized\", since the spelling fix left the test description saying the opposite of what the test covers.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Jamf-Concepts__jamf-cli__106
Jamf-Concepts/jamf-cli
106
defect
2334754c50b14e6afb6abdb63e66b479db8c5e9e
ad3dce538567efe3b75e432b9f0348dd61b3a52c
fix(site): persist New badges and refine styling
## Summary - **Persist "New" badges across non-release deploys** — when no new commands are detected in a deploy diff, carry forward the previous deploy's new-command list (filtered to commands that still exist). Previously, non-release deploys (e.g. site-only changes) would clear all "New" badges. - **Refine badge st...
diff --git a/docs/site/catalog.js b/docs/site/catalog.js index 381db919..940a567f 100644 --- a/docs/site/catalog.js +++ b/docs/site/catalog.js @@ -457,6 +457,16 @@ countBadge.textContent = group.commands.length; header.appendChild(countBadge); + var hasNew = false; + for (var nc = 0; nc < group.comman...
2
2
1
[{"id": "G0", "claim": "New badges persist indefinitely across non-release deploys; the reviewer asks for at minimum a comment explaining the intentional infinite persistence, or a version-based guard (e.g. only carry forward if prev.Version == current.Version).", "category": "design", "verdict": "supported", "priority...
null
Jamf-Concepts__jamf-cli__118
Jamf-Concepts/jamf-cli
118
defect
db521bd159e1128366874d7a41ca590c1d3e1fbf
c172842bd0459abcad4b9e8d9f3e35e52ed4d168
feat: add missing MDM command types to computers and mobile-devices
## Summary - **11 new MDM commands** via `POST /v2/mdm/commands` for computers and mobile devices - **`set-auto-admin-password`** auto-resolves account GUID from LAPS accounts API — no `--guid` flag needed - **Fix**: `parseMobileDevice` now extracts `managementId` from the detail endpoint's `general` section, fixing a...
diff --git a/internal/commands/pro.go b/internal/commands/pro.go index 33d9c83b..fb60c34e 100644 --- a/internal/commands/pro.go +++ b/internal/commands/pro.go @@ -72,6 +72,8 @@ func newProCmd(cliCtx *registry.CLIContext) *cobra.Command { addSubcommand(cmd, []string{"computers"}, newComputerRestartCmd(cliCtx)) addSu...
2
2
0
[{"id": "G0", "claim": "TestComputerActionSubcommands_Exist and TestMobileActionSubcommands_Exist do not enumerate the newly added subcommands, so these tests pass today but will not catch a regression where a wiring change accidentally drops one of the new commands.", "category": "testing", "verdict": "supported", "pr...
null
Jamf-Concepts__jamf-cli__122
Jamf-Concepts/jamf-cli
122
defect
e3b65da9270a92acc3ab5b7bcc9ed7ee9b6d6ec1
1c2563e33efa78975a31f2084da29064b363a75c
feat: compliance-benchmarks export, clone, portable apply, baseline scaffold
## Summary - **`export <title>`** — portable JSON/YAML output replacing device group IDs with `{name, deviceType, groupType}` structs; output pipeable directly to `apply` for cross-instance cloning - **`clone <source-title> <new-title>`** — creates a new benchmark from an existing one; `--computer-group` flag override...
diff --git a/internal/commands/pro_compliance_benchmarks.go b/internal/commands/pro_compliance_benchmarks.go index 18b964b4..0c1c1ff0 100644 --- a/internal/commands/pro_compliance_benchmarks.go +++ b/internal/commands/pro_compliance_benchmarks.go @@ -3,6 +3,7 @@ package commands import ( + "context" "encoding/jso...
4
4
1
[{"id": "G0", "claim": "The apply input format change (target.deviceGroups from []string to []benchmarkPortableGroup) breaks users of the v1.7.0 apply command with old-format input; the PR should either accept both formats or document the breaking change.", "category": "design", "verdict": "supported", "priority": "P1"...
null
Jamf-Concepts__jamf-cli__141
Jamf-Concepts/jamf-cli
141
defect
d4ca5ec97eda7d3d2f7293b6f9e6e936e817746d
cc7ae81e08e7b888d761b7d0d1fb6cf78520535f
fix: unwrap MCX (Custom Settings) payloads in import-profile
## Summary - Profiles using `com.apple.ManagedClient.preferences` (Custom Settings / MCX) to wrap payload domains failed with "no payloads remain after filtering" because the MCX wrapper type wasn't recognized by either conversion path - Added `unwrapMCXPayloads()` that detects MCX payloads and extracts inner domains ...
diff --git a/internal/profileconvert/convert.go b/internal/profileconvert/convert.go index 419d88ca..588d7c67 100644 --- a/internal/profileconvert/convert.go +++ b/internal/profileconvert/convert.go @@ -7,6 +7,7 @@ import ( "crypto/sha256" "encoding/json" "fmt" + "maps" "sort" "strings" @@ -111,7 +112,10 @@...
3
3
1
[{"id": "G0", "claim": "In extractMCXSettings, when both Forced and Set-Once arrays contain the same key for the same domain, Set-Once silently wins over the stronger Forced management level, so the iteration order should be swapped so Forced takes precedence.", "category": "correctness", "verdict": "supported", "prior...
null
Jamf-Concepts__jamf-cli__19
Jamf-Concepts/jamf-cli
19
defect
060eab6003382c21c9120f51cb170f7f5a363b04
e3c11d3b66c32590f0f1cfa6691e8fde6aebd8d6
feat: add API roles and integrations commands
## Summary - Fix broken `$ref` entries in `ApiIntegrations.yaml` and `OAuthApiRoles.yaml` specs that prevented the code generator from parsing them (local `#/components/schemas/ApiError` → `DefinitionsLibrary.yaml#/...`) - Rename `OAuthApiRoles.yaml` → `ApiRoles.yaml` for cleaner CLI command name (`api-roles` vs `o-aut...
diff --git a/generator/parser/generator.go b/generator/parser/generator.go index eacd8600..eb26ca1e 100644 --- a/generator/parser/generator.go +++ b/generator/parser/generator.go @@ -726,7 +726,7 @@ func new{{ $.GoName }}GetByNameCmd(ctx *registry.CLIContext) *cobra.Command { Args: cobra.ExactArgs(1), RunE: func...
4
2
2
[{"id": "G0", "claim": "The explicitToken auth-priority change in root.go is security-critical behavior with no test coverage; a test should be added asserting that an explicit token overrides oauth2 profile credentials while the profile URL is still used.", "category": "testing", "verdict": "supported", "priority": "P...
null
Jamf-Concepts__jamf-cli__210
Jamf-Concepts/jamf-cli
210
defect
4e9f8ace55aacceee751e42fcd757e6fc1650dcb
42d997de4ea030e251f510fd5a480929c035482d
fix(platform): add --device-type flag to platform-device-groups name lookup
## Summary - Adds `--device-type COMPUTER|MOBILE` flag (case-insensitive) to all `--name`-based `platform-device-groups` operations: `get`, `delete`, `patch`, `members`, `patch-members`, `add-members`, `remove-members` - `apply` auto-derives device type from the input JSON's `deviceType` field — no extra flag needed -...
diff --git a/internal/commands/pro_platform_device_groups.go b/internal/commands/pro_platform_device_groups.go index 49abb6cb..b0e3c683 100644 --- a/internal/commands/pro_platform_device_groups.go +++ b/internal/commands/pro_platform_device_groups.go @@ -3,14 +3,21 @@ package commands import ( + "context" + "encodi...
4
4
2
[{"id": "G0", "claim": "The ambiguous-match error in the shared resolver references a nonexistent --type flag instead of --device-type, and is misleading for the other callers of ResolveIDByName that have no --device-type flag; it should be made generic or take a caller-supplied hint.", "category": "correctness", "verd...
null
Jamf-Concepts__jamf-cli__26
Jamf-Concepts/jamf-cli
26
defect
e0b04cdc0ae2b4a74ea6fa9dff04ec206c11dc43
001299b8a661bc5480a7096c81c555db745c9a9b
Security hardening: remove secret flags, add --version
## Summary - **Remove `--token`, `--client-id`, `--client-secret` root flags** — credentials should come from config profiles (keychain-backed), environment variables, or stdin (`--token-stdin`, `--client-secret-stdin`). This prevents secrets leaking into process listings (`ps aux`) and shell history. - **Add `--versi...
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml deleted file mode 100644 index 6b2858c6..00000000 --- a/.github/workflows/release.yaml +++ /dev/null @@ -1,31 +0,0 @@ -name: Release - -on: - push: - tags: - - "v*" - -permissions: - contents: write - -jobs: - release: - runs-on:...
2
1
1
[{"id": "G0", "claim": "The `release` and `release-snapshot` Makefile targets still invoke `goreleaser release --clean` although the `.goreleaser.yaml` config was deleted, so they will fail at runtime and give the impression goreleaser is still the release mechanism; remove or update them.", "category": "maintainabilit...
null
Jamf-Concepts__jamf-cli__30
Jamf-Concepts/jamf-cli
30
defect
a83b014a797fc5f477cc42a36bd467c8c4df1ed8
2699ddaacdef9293c4be220e87d561931b321a27
feat: make pro setup idempotent with multi-instance support
## Summary - **Idempotent setup** — `pro setup` now checks if API roles and integrations already exist before creating them. Re-running setup updates in place instead of creating duplicates. - **Per-user integration naming** — API integrations are named `jamf-cli [<username>]` so multiple team members can use jamf-cli...
diff --git a/README.md b/README.md index b6a50c7e..ba0496b9 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,9 @@ For interactive use, `jamf-cli pro setup` prompts for credentials so nothing is # One-time setup: prompts for credentials and stores them in the system keychain jamf-cli pro setup --url https://jamf.co...
4
4
1
[{"id": "G0", "claim": "setupInstance regenerates client credentials even when the integration already existed, so re-running pro setup against a configured instance rotates the secret (breaking other consumers or accumulating orphaned credentials) and contradicts the idempotency claim; it should skip generation when c...
null
Jamf-Concepts__jamf-cli__37
Jamf-Concepts/jamf-cli
37
defect
4604b565d1678c6a7ba60624046d8e3c4d77f1da
216b9b932bb5fdaf33f3aa38704567298c4f1fd5
security: remove credential input via CLI flags and stdin
## Summary - **Remove all CLI flags that accept credentials** — `--token-stdin`, `--client-secret-stdin`, `--username`, `--password`, `--client-id`, `--client-secret`, `--token` across root, `pro setup`, `protect setup`, and `config add-profile` - **Interactive prompts only** for human credentials (username/password) ...
diff --git a/CLAUDE.md b/CLAUDE.md index a37d857a..b9981bcd 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -2,6 +2,15 @@ This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. +## CRITICAL: Credential Input Policy + +**Never accept credentials (passwords, tokens, client s...
3
1
0
[{"id": "G0", "claim": "Deleting TestAddProfile_DefaultsToKeychain and TestAddProfile_EnvRefSkipsKeychain removed the only behavioral coverage that bare secrets are keychain-stored (not written to plaintext YAML) and that env:/file: refs pass through without keychain storage, behavior that still exists in storeOrRefSec...
null
Jamf-Concepts__jamf-cli__55
Jamf-Concepts/jamf-cli
55
defect
5d5bac30d920a05fdaca472361278c65a1cad9a0
46a9314ea5018b5a28d25bd7b9095ba667b9a3af
chore: migrate /v1/computers-inventory endpoints to /v3
## Summary - Migrates all handwritten `/v1/computers-inventory` and `/v1/computers-inventory-detail` endpoints to `/v3` - Fixes FileVault reporting: v3 moved FileVault data from the `security` section to a separate `diskEncryption` section — reads `bootPartitionEncryptionDetails.partitionFileVault2State` as ground tru...
diff --git a/internal/commands/pro_audit.go b/internal/commands/pro_audit.go index 957a0cb3..1b93c120 100644 --- a/internal/commands/pro_audit.go +++ b/internal/commands/pro_audit.go @@ -154,19 +154,19 @@ func runAudit(ctx context.Context, cliCtx *registry.CLIContext, opts auditOption // --- Individual Check Implement...
3
3
1
[{"id": "G0", "claim": "checkUnencryptedDevices in pro_audit.go drops the old empty-string guard, so a device whose diskEncryption section exists but whose bootPartitionEncryptionDetails is nil (fileVaultStatus returning \"\") is counted as unencrypted, and it should include the empty-string guard like the other two co...
null
Jamf-Concepts__jamf-cli__57
Jamf-Concepts/jamf-cli
57
defect
5d5bac30d920a05fdaca472361278c65a1cad9a0
40991d532f5973094f7e0a7050b9efc0e4a544e2
chore: migrate deprecated /v1/jcds/files to cloud-distribution-point
## Summary - Migrates `GET /v1/jcds/files` → `GET /v1/cloud-distribution-point/files` in the overview command - Switches from `fetchArrayCount` to `fetchPaginatedCount` since the new endpoint returns `{"totalCount": N, "results": [...]}` instead of a bare array ## Affected commands - `pro overview` (JCDS file count)...
diff --git a/internal/commands/pro_overview.go b/internal/commands/pro_overview.go index eed12a3c..b0858ea5 100644 --- a/internal/commands/pro_overview.go +++ b/internal/commands/pro_overview.go @@ -102,6 +102,27 @@ func fetchArrayCount(ctx context.Context, client registry.HTTPClient, path strin return formatCount(fl...
3
3
3
[{"id": "G0", "claim": "If the API response lacks a \"results\" key or its type is not []any, the discarded ok value makes fetchCDPFileCount silently return \"0\" instead of an error, so the overview would show \"0 JCDS files\" rather than the error indicator.", "category": "correctness", "verdict": "supported", "prior...
null
Jamf-Concepts__jamf-cli__59
Jamf-Concepts/jamf-cli
59
defect
16dfb97a4ac36c2bc18a4c33e75c74c36cf511e4
83557bdb8aaf11fd67fa391cb4e8a51378125a29
fix: filter patch log failures client-side instead of via RSQL
## Summary - Removes `filter=statusEnum==FAILED` RSQL filter from `/v2/patch-policies/{id}/logs` — `statusEnum` is not an allowed RSQL field per spec, causing silent failures on some instances - Replaces with client-side filtering: non-FAILED log entries are skipped - For each failed device, fetches `/v2/patch-policie...
diff --git a/internal/commands/pro_report_patch.go b/internal/commands/pro_report_patch.go index 8cddda3c..0ada00ab 100644 --- a/internal/commands/pro_report_patch.go +++ b/internal/commands/pro_report_patch.go @@ -106,7 +106,7 @@ func fetchPatchDeviceFailures(ctx context.Context, client registry.HTTPClient, p cont...
2
1
1
[{"id": "G0", "claim": "Add a test that includes a mix of FAILED and non-FAILED log entries and asserts the non-FAILED entry is excluded, verifying the new client-side status filter that replaced the RSQL filter.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cl...
null
Jamf-Concepts__jamf-cli__65
Jamf-Concepts/jamf-cli
65
defect
32263079e9667eeb1bec61fa563f08afe36e9a83
8314172770af5a652da6781189e18efbcb1bbf3b
fix(group-tools): members subcommand returns 404
## Summary - `group-tools members` hit `/v1/computer-groups/{id}` which doesn't exist, returning a 404 for every group lookup - Fixed to use the correct v2 endpoints based on group type: `/v2/computer-groups/smart-group-membership/{id}` for smart groups and `/v2/computer-groups/static-groups/{id}` for static groups - U...
diff --git a/internal/commands/pro_group_tools.go b/internal/commands/pro_group_tools.go index 574caa10..5e5e1b36 100644 --- a/internal/commands/pro_group_tools.go +++ b/internal/commands/pro_group_tools.go @@ -134,12 +134,14 @@ func runGroupToolsMembers(ctx context.Context, cliCtx *registry.CLIContext, name return ...
1
1
1
[{"id": "G0", "claim": "The members subcommand returns `[]` for every static computer group because it fetches `GET /v2/computer-groups/static-groups/{id}`, whose `StaticComputerGroup` response has no `assignments` field and no v2 GET endpoint exposes static group membership; it should use the Classic API `GET /JSSReso...
null
Jamf-Concepts__jamf-cli__70
Jamf-Concepts/jamf-cli
70
defect
867b823599716da200c6e0206076751af6c0d688
c7aecf15a259ffe8eab9c0e3e38d4d55acb30675
feat: support JAMF_CLI_ARGS env var for default flags
## Summary - Adds `JAMF_CLI_ARGS` env var support — flags set in it are prepended to every invocation before Cobra processes them - Eliminates boilerplate repetition of flags like `--quiet --no-input --no-color` in CI/CD pipelines and GitHub Actions jobs - Logic extracted into `injectEnvArgs()` for testability; 7 unit...
diff --git a/cmd/jamf-cli/main.go b/cmd/jamf-cli/main.go index 9fcc0446..ee981ef4 100644 --- a/cmd/jamf-cli/main.go +++ b/cmd/jamf-cli/main.go @@ -5,6 +5,7 @@ package main import ( "fmt" "os" + "strings" "github.com/Jamf-Concepts/jamf-cli/internal/commands" "github.com/Jamf-Concepts/jamf-cli/internal/exitcod...
2
2
1
[{"id": "G0", "claim": "injectEnvArgs uses strings.Fields, which silently mishandles quoted values in JAMF_CLI_ARGS even though issue #68 specified shell-word splitting, so quoted values must either be handled correctly via a shell-word splitter or the function must detect quoting and warn instead of failing silently."...
null
Jamf-Concepts__jamf-cli__88
Jamf-Concepts/jamf-cli
88
defect
7feebfe29f41947f2b11b256e35946239c3f44c7
c59627502cd442a4eaa7ca2253de796edbf0b1e1
feat(auth): cookie jar for sticky sessions and disk token cache for OAuth2 providers
## Summary - Adds a cookie jar to `OAuth2Provider` and `PlatformOAuth2Provider` so sticky session affinity cookies (e.g. `APBALANCEID` on Jamf Cloud) set during token exchange persist through all API calls in a single invocation - Adds a disk token cache keyed by SHA256(URL+clientID) so repeated CLI invocations skip r...
diff --git a/go.mod b/go.mod index 74a69479..636feb4a 100644 --- a/go.mod +++ b/go.mod @@ -6,6 +6,7 @@ require ( github.com/Jamf-Concepts/jamfprotect-go-sdk v0.1.1-0.20260328164440-d8f7800c5983 github.com/getkin/kin-openapi v0.134.0 github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 + github.com/hashicorp...
8
5
4
[{"id": "G0", "claim": "When os.UserCacheDir() fails, tokenCachePath falls back to os.TempDir(), so tokens are written to a predictable path under a world-writable directory; disk caching should be skipped instead.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", ...
null
Jamf-Concepts__jamf-cli__93
Jamf-Concepts/jamf-cli
93
defect
bd4e7ff22bdd08a01f269a282000001b82a11d9e
ac63233875a536010bdec3c0a73f23a5a13b35e3
feat(pro): add flush-commands, persist cookie jar across runs, fix mdm-commands auth skip
## Summary - Adds `pro computers flush-commands` and `pro mobile-devices flush-commands` subcommands to clear MDM command queues via the Classic API `commandflush` endpoint - Supports targeting by `--serial`, `--name`, `--id`, or `--group` (group name resolved directly to Classic numeric ID — single API call regardles...
diff --git a/internal/commands/pro.go b/internal/commands/pro.go index 5a6a7d1d..4ba17066 100644 --- a/internal/commands/pro.go +++ b/internal/commands/pro.go @@ -75,6 +75,9 @@ func newProCmd(cliCtx *registry.CLIContext) *cobra.Command { addSubcommand(cmd, []string{"computers"}, newComputerShutdownCmd(cliCtx)) addS...
6
5
2
[{"id": "G0", "claim": "On the group path, when --yes was absent the code printed a hint and returned nil, so in CI/CD with --no-input set the flush silently did nothing with exit 0; the same --no-input guard the single-device path has should be added to the group branch.", "category": "correctness", "verdict": "suppor...
null
Jamf-Concepts__jamf-cli__99
Jamf-Concepts/jamf-cli
99
defect
2334754c50b14e6afb6abdb63e66b479db8c5e9e
87436235c903295812dee42d931075b5d6473437
fix(pro): remove policy-execute command — no valid API backing
## Summary - **Removes `pro policy-execute`** — `PolicyExecution` is not a valid Jamf Pro MDM command. The Classic API `computercommands` endpoint only accepts real MDM commands (`DeviceLock`, `EraseDevice`, etc.). Policies are triggered by the Jamf agent on-device, not via REST API. The command always returned HTTP 4...
diff --git a/internal/commands/aliases.go b/internal/commands/aliases.go index b41fa745..7578aa25 100644 --- a/internal/commands/aliases.go +++ b/internal/commands/aliases.go @@ -17,7 +17,6 @@ var commandAliases = map[string][]string{ "api-roles": {"ar"}, "api-integrations": {"ai"}, "device": {"d...
1
1
0
[{"id": "G0", "claim": "Stale `policy-execute` references remain in manually maintained documentation after the command's removal — three README sections (usage example, feature bullet, alias table row), the `pro policy-execute` example entries in `docs/site/examples.json`, and two references in `docs/site/index.html` ...
null
JanusGraph__janusgraph__1436
JanusGraph/janusgraph
1,436
defect
3812806a98598965950c366f1613210091330b64
e8b3d45badf4570a9e65cf2d70cdbfba12e4d429
Support CQL for OLAP
This adds a `CqlInputFormat` to enable Spark with CQL without relying on Thrift any more. @farodin91 and I worked together on this one. We already tested this in production with our graph with ~250 M vertices and could successfully execute some traversals on our Scylla backend with Spark. Fixes #985. ----- ...
diff --git a/janusgraph-cql/pom.xml b/janusgraph-cql/pom.xml index 4abeda9f24e..3d41dd4dc6b 100644 --- a/janusgraph-cql/pom.xml +++ b/janusgraph-cql/pom.xml @@ -309,6 +309,19 @@ </execution> </executions> </plugin> + <plugin> + <artifactId>mav...
7
5
0
[{"id": "G0", "claim": "Since a new KV always gets addEntry called on it, initialize the entries ArrayList at field initialization (or in the constructor) instead of lazily inside addEntry.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use brac...
null
JanusGraph__janusgraph__2413
JanusGraph/janusgraph
2,413
defect
0aaf48c34b7854be964155caefd4cfcda5ba3b1e
f4cb1e9f2b4c23a324840bd1332ea434ebaf436c
Release memory when releasing transaction
Fixes #2412 ----- Thank you for contributing to JanusGraph! In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [ ] Is there an issue associated with this PR? Is it referenced in the commit message? - [ ] Does your PR body...
diff --git a/janusgraph-core/src/main/java/org/janusgraph/graphdb/transaction/StandardJanusGraphTx.java b/janusgraph-core/src/main/java/org/janusgraph/graphdb/transaction/StandardJanusGraphTx.java index 6f1d69bc6b6..7fd88829aa5 100644 --- a/janusgraph-core/src/main/java/org/janusgraph/graphdb/transaction/StandardJanusG...
2
2
2
[{"id": "G0", "claim": "The deletedRelations, uniqueLocks and addedRelations data structures may also be explicitly cleared in releaseTransaction to release their memory.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The added clear() calls may be ...
null
JanusGraph__janusgraph__2430
JanusGraph/janusgraph
2,430
defect
9aff93847866c0df725592c1975e56ccd8e1020a
aef1d62a89159708ada53bec2eb8a55c00a27ff9
Make DateSerializer thread-safe
Fixes #2429 Signed-off-by: Clement de Groc <clement.degroc@datadoghq.com> ----- Thank you for contributing to JanusGraph! In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [X] Is there an issue associated with this PR?...
diff --git a/janusgraph-core/src/main/java/org/janusgraph/graphdb/database/serialize/attribute/DateSerializer.java b/janusgraph-core/src/main/java/org/janusgraph/graphdb/database/serialize/attribute/DateSerializer.java index 6063da49fb..c90512b399 100644 --- a/janusgraph-core/src/main/java/org/janusgraph/graphdb/databa...
2
1
1
[{"id": "G0", "claim": "Multiple PRs including this one fail JanusGraphScriptIT.testGraphOfTheGodsGraphSONFull with expected <0> but was <1>, and li-boxuan asks farodin91 to look into it.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "ThreadLocal data...
null
JanusGraph__janusgraph__2564
JanusGraph/janusgraph
2,564
defect
37ebcbdfa4b74fb4fd74228cbb59501e0f1d177d
a94ea1332e9afa5478f5a7eb0245e820b443b2a4
Add an option to set CQL speculative retry policy
Fixes #2563. ----- Thank you for contributing to JanusGraph! In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [X] Is there an issue associated with this PR? Is it referenced in the commit message? - [X] Does your PR bod...
diff --git a/janusgraph-cql/src/main/java/org/janusgraph/diskstorage/cql/CQLConfigOptions.java b/janusgraph-cql/src/main/java/org/janusgraph/diskstorage/cql/CQLConfigOptions.java index 445e017c7dd..30bb5187caa 100644 --- a/janusgraph-cql/src/main/java/org/janusgraph/diskstorage/cql/CQLConfigOptions.java +++ b/janusgrap...
2
1
0
[{"id": "G0", "claim": "getCompressionOptions duplicates the body of getTableMetadata (same file) and should reuse that helper instead.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The return statement in getSpeculativeRetry is needlessly co...
null
JanusGraph__janusgraph__2692
JanusGraph/janusgraph
2,692
defect
c1b11d4b848303ae0a2df102123fe018abad18d2
32f4b19935391c4e5057173da2d92bd0f4a22a84
Make thread pool size configurable for parallel backend queries
Fixes #2473 Signed-off-by: Oleksandr Porunov <alexandr.porunov@gmail.com> ----- Thank you for contributing to JanusGraph! In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [ ] Is there an issue associated with this PR?...
diff --git a/docs/configs/janusgraph-cfg.md b/docs/configs/janusgraph-cfg.md index cc3d5f22594..28637bab8f4 100644 --- a/docs/configs/janusgraph-cfg.md +++ b/docs/configs/janusgraph-cfg.md @@ -348,6 +348,7 @@ Configuration options for the storage backend. Some options are applicable only | storage.hostname | The host...
1
1
1
[{"id": "G0", "claim": "Running this test locally throws `java.lang.IllegalArgumentException: Could not find implementation class: org.janusgraph.diskstorage.inmemory.InMemoryStoreManager`, so the test likely is not picked up by CI at all.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "int...
null
JanusGraph__janusgraph__2763
JanusGraph/janusgraph
2,763
defect
f2df2c37c44567136ea26c30895ae39a2675f047
6309142f2852fd70bd280d2abbf665adefbbe9f9
Fix adjacent vertices removal with enabled multi query after where step
This is a wild guess fix. Review is definitely needed. For additional checks, I enabled multi query on almost all tests and started additional TP and CQL tests: https://github.com/porunov/janusgraph/runs/3364841140 ([branch](https://github.com/porunov/janusgraph/tree/test/test-multiquery-fix)) I also started the ...
diff --git a/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphTest.java b/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphTest.java index 6562f276dcd..91ab8be2bd1 100644 --- a/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphTest.java +++...
1
1
0
[{"id": "G0", "claim": "Use JanusGraphTraversalUtil.getJanusGraphVertex(traverser) instead of the raw traverser.get() when adding the current traverser's vertex to the multiQuery in prefetchNextBatch.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
JanusGraph__janusgraph__2774
JanusGraph/janusgraph
2,774
defect
619f20d50faecc65a24d0f6dcd159b1a9b9f56e3
c394433ae0efd9752fd71e8d6715f1327ef04737
Remove QNF check for vertex centric query constraints
QNF constraint form, JanusGraph variant of CNF (conjunctive normal form) with negation inlined, is not required for vertex centric queries. This commit removes the checks for QNF, otherwise queries like `has("duration", P.eq(0d).or(not(P.outside(0.1d, 0.3d))))` would fail. Fixes #2773 ----- Thank you for con...
diff --git a/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphTest.java b/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphTest.java index 91ab8be2bd1..dce48fad797 100644 --- a/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphTest.java +++...
1
1
1
[{"id": "G0", "claim": "Removing the QNF check may let constraints2QNF generate a non QNF-compliant form (e.g. PredicateCondition OR (PredicateCondition AND PredicateCondition)) with unknown consequences, so an issue should be opened to investigate the problem.", "category": "correctness", "verdict": "supported", "prio...
null
JanusGraph__janusgraph__2845
JanusGraph/janusgraph
2,845
defect
2b1f1a35879da52d832766ee2fe9fb31c1628df4
2ddba5b2cbb946b795b261aaa8e1df1f936a4b23
Use JanusGraphManager by default
This makes it possible to use comma-separated config values again, e.g., for `storage.hostname`. The `DefaultGraphManager` from TinkerPop used until now uses the TinkerPop `GraphFactory` which uses `DisabledListDelimiterHandler`. So, comma separated config values are not supported with that `GraphManager`. `JanusGraph...
diff --git a/docs/changelog.md b/docs/changelog.md index 0a8529e6531..2a6400ca1e9 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -41,6 +41,71 @@ The versions of JanusGraph listed below are outdated and will no longer receive ## Release Notes +### Version 0.6.1 (Release Date: ???) + +```xml tab='Maven' +...
3
1
0
[{"id": "G0", "claim": "If this PR merges, the janusgraph-docker server YAML should also be changed to match (the linked docker config is left using the old GraphManager default).", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The renaming is inconvenien...
null
JanusGraph__janusgraph__2860
JanusGraph/janusgraph
2,860
defect
2b1f1a35879da52d832766ee2fe9fb31c1628df4
f0a08e2119e4b47425db3b7e9c6beaaa9a81cd0f
Add config printer to janusgraph-server.sh
Fixes #2857 Signed-off-by: Jan Jansen <jan.jansen@gdata.de> ----- Thank you for contributing to JanusGraph! In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [x] Is there an issue associated with this PR? Is it referen...
diff --git a/janusgraph-dist/src/assembly/static/bin/janusgraph-server.sh b/janusgraph-dist/src/assembly/static/bin/janusgraph-server.sh index 9d1ed979769..76f1e3505ab 100755 --- a/janusgraph-dist/src/assembly/static/bin/janusgraph-server.sh +++ b/janusgraph-dist/src/assembly/static/bin/janusgraph-server.sh @@ -108,11 ...
4
3
2
[{"id": "G0", "claim": "The `config` output prints an incomplete `JAVA_OPTIONS` (only the last line of the options file plus the javaagent) instead of the full options including everything from `jvm-11.options` / `jvm-8.options`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduce...
null
JanusGraph__janusgraph__3033
JanusGraph/janusgraph
3,033
defect
1dd189d368f3429aaa3c6dc0a504dd608a6f4dca
9b2dde6390719f2bf3a959dde6a63b86f4fc66b2
activate cql tests for cassandra 4 [tp-tests]
Fixes #3017 * Upgrade Cassandra testing dist version to 4.0.6 * Enable full dist builds on java 11 tests * Fix log collection during local testing ----- Thank you for contributing to JanusGraph! In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ...
diff --git a/docs/changelog.md b/docs/changelog.md index ec0609a6a49..5cc16bcd10c 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -153,9 +153,6 @@ we clean up all configurations. This could lead to unexpected new log lines. Ple JanusGraph now officially supports Java 11 in addition to Java 8. We encourage ...
5
3
2
[{"id": "G0", "claim": "The PR adds a separate cassandra-dist.version (4.0.3) so the CQL backend tests still run cassandra.version 3.11.10 while the zip distribution ships Cassandra 4.0.3, and the same version should always be used for the CQL backend tests as the one included in the distribution.", "category": "design...
null
JanusGraph__janusgraph__3085
JanusGraph/janusgraph
3,085
defect
2641530437b68d43121f2e95276d0e83f188b402
4fb00d83ccc48729b3aa3e95b04507a77bc0a379
[janusgraph-core] fixes properties step in multi-query
- add test - add fix when empty vertices to prefetch Closes #3081 ----- Thank you for contributing to JanusGraph! In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [x] Is there an issue associated with this PR? Is i...
diff --git a/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphTest.java b/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphTest.java index 6a9261acf9d..7999c3440b7 100644 --- a/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphTest.java +++...
2
1
0
[{"id": "G0", "claim": "The test name should include `withBatchQueryEnabled` (or similar) so readers know it targets batch functionality.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The assertion could drop the `choose` step and use `project(...
null
JanusGraph__janusgraph__3339
JanusGraph/janusgraph
3,339
defect
30880d81502dc7f89f8e4380a0d9bc9524d9f345
227febf51f9b365d674243e3ff2b927e8147291f
Use graph name for ES indices if index name is not configured
Fix #3338 The elasticsearch backend now uses the graph name by default if no index name is configured. This is relevant for users of `ConfiguredGraphFactory` who use template configurations and want to assign index names automatically upon graph creation. Co-authored-by: Florian Hockmann <fh@florian-hockmann.de>
diff --git a/docs/changelog.md b/docs/changelog.md index f79b4acc598..f64e2e1076e 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -117,6 +117,16 @@ an older version will not be able to read a Geoshape created by a client that is versa. Users who do not use GraphBinary yet or who are not using Geoshapes are ...
3
3
1
[{"id": "G0", "claim": "The changelog should say `graph.graphname` instead of `graph.name` as the option used to derive the ES index name.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "ElasticSearchIndex.determineIndexName has redundant braces an...
null
JanusGraph__janusgraph__3501
JanusGraph/janusgraph
3,501
defect
10e5ef58100459bf93f922402e939b514e178d0a
ab32db78d02596808f1c1c9353d371da6e5b1e90
SubqueryIterator should ignore invalid elements
If the mixed index contains invalid elements, then the map will return null, which causes the stream to end, giving incomplete results. This change logs the invalid element identifier, but also filters the null elements out of the stream to allow the iterator to continue. Fixes #3500 Signed-off-by: Scott Dial <ge...
diff --git a/janusgraph-core/src/main/java/org/janusgraph/graphdb/util/SubqueryIterator.java b/janusgraph-core/src/main/java/org/janusgraph/graphdb/util/SubqueryIterator.java index 5ba85d3e2e4..cb3b4a6be44 100644 --- a/janusgraph-core/src/main/java/org/janusgraph/graphdb/util/SubqueryIterator.java +++ b/janusgraph-core...
1
1
1
[{"id": "G0", "claim": "The fix's benefit is unproven: no test demonstrates the invalid-element scenario it targets, and the reviewer found the added log never triggers because the conversion function never returns null for normal data vertices, so the fix may not help in any situation.", "category": "correctness", "ve...
null
JanusGraph__janusgraph__3775
JanusGraph/janusgraph
3,775
defect
7c9c30c766e04bb8e283f4880c853cce64123132
6a2ef4ed1f00bc35162feac01cb09591a4504bfe
Use default limited batch size even when LazyBarrierStrategy not applies
Fixes #3773 ----- Thank you for contributing to JanusGraph! In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [x] Is there an issue associated with this PR? Is it referenced in the commit message? - [x] Does your PR body...
diff --git a/docs/changelog.md b/docs/changelog.md index 244b1389154..d11c1247652 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -196,6 +196,11 @@ That is why we now enable this mode by default as most users should benefit from If you want to continue using JanusGraph without batch processing, then you have...
1
1
0
[{"id": "G0", "claim": "Fix the grammar typo in the added documentation: \"which is defaults to\" should read \"which defaults to\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
JanusGraph__janusgraph__3798
JanusGraph/janusgraph
3,798
defect
bd38731b6638f4d1c79bca383bdea81d6884eb8a
31024fb364511198d9baf6eeb6beaa1ebf421d1e
Fix log processor for custom id type
Fixes #3797 ----- Thank you for contributing to JanusGraph! In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [ ] Is there an issue associated with this PR? Is it referenced in the commit message? - [ ] Does your PR body...
diff --git a/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphTest.java b/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphTest.java index 4b69c54cab..89373a1d14 100644 --- a/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphTest.java +++ b...
1
1
1
[{"id": "G0", "claim": "The log tests should use @ParameterizedTest in simpleLogTest() and simpleLogTestWithFailure() so that long vertex ids are tested for every storage backend and string ids only where supported, instead of skipping long vertex id testing for any storage backend which supports String ids.", "categor...
null
JanusGraph__janusgraph__3913
JanusGraph/janusgraph
3,913
defect
eef961ac66eebfcbd58129ac178dc759cd59b335
6adfcb9f2182baa06dec7c411e0ff65cb7c38f56
Returning a copy collection to avoid corrupted iterator
In a highly concurrent environment, within a single JanusGraph transaction, where multiple thousands of vertices are being created, I have been observing an exception: ``` throwable.cause.class="java.lang.IllegalArgumentException",throwable.cause.msg="expected one element but was: <Artifact, Artifact>",throwable.ca...
diff --git a/janusgraph-core/src/main/java/org/janusgraph/graphdb/transaction/addedrelations/ConcurrentAddedRelations.java b/janusgraph-core/src/main/java/org/janusgraph/graphdb/transaction/addedrelations/ConcurrentAddedRelations.java index 78a8ef75440..9a6d4dfe109 100644 --- a/janusgraph-core/src/main/java/org/janusgr...
2
1
0
[{"id": "G0", "claim": "The reviewers question the need for getAll() copying the collection into a new mutable ArrayList (it is used only when committing the transaction) and would prefer simply renaming getAll() to getAllUnsafe() to signal it is not thread-safe, though they are OK leaving it as is.", "category": "desi...
null
JanusGraph__janusgraph__3961
JanusGraph/janusgraph
3,961
defect
e2b0bed82f95817f2656606ce2a62225aed2a9f0
80ca9208826cae07de54caeb6ac339a76f9bde89
Mark more tests as flaky
This adds the necessary annotation to repeat flaky tests if necessary for tests described in these issues: * #1457 * #1459 * #1462 * #1464 * #1465 * #1497 * #1498 * #2272 * #3142 * #3356 * #3392 * #3393 * #3651 * #3931 * #3959 * #3960 I went through the recent builds on `master` and checked all faile...
diff --git a/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphIndexTest.java b/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphIndexTest.java index 330017f3020..b17592d28ce 100644 --- a/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphInd...
2
2
0
[{"id": "G0", "claim": "minSuccess = 1 would be good as well; minSuccess = 2 makes each flaky-marked test execute at least twice.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Each test marked flaky should get a code comment linking to the GitHub issue...
null
JanusGraph__janusgraph__4061
JanusGraph/janusgraph
4,061
defect
61faa2580dcc1a4f50c734e0dd7c867486399d67
5ad8099d2d0bec54bb67d371393674284962e75e
Allow removal of configuration properties
In this PR, we add a `remove` method to remove configuration keys: - `ConfiguredGraphFactory`/`ConfigurationManagementGraph` for ConfiguredGraphFactory configuration. - `JanusGraphConfiguration`/`UserModifiableConfiguration`/`ManagementSystem` for "global" configuration. Fixes https://github.com/JanusGraph/janusgr...
diff --git a/docs/changelog.md b/docs/changelog.md index 5ab4f951917..6204fc4b725 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -162,6 +162,23 @@ GraphBinary is now used as the default MessageSerializer. We are dropping support for old serialization format of JanusGraph predicates. The old predicates seria...
1
1
0
[{"id": "G0", "claim": "The removeVertexProperties implementation should set properties via traversal element removal (v.property(key).remove() or g.V().has(...).properties(...).drop()) instead of assigning v.property(key, null), because assigning null values could potentially break if JanusGraph starts supporting null...
null
JanusGraph__janusgraph__4070
JanusGraph/janusgraph
4,070
defect
f7f7af184d82469dc3db7ec0a6fd1450aecb4762
16df8d1693ccd3be37e224d8343521f3e51b0552
Update ElasticSearch to 8.10.4
----- Thank you for contributing to JanusGraph! In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [ ] Is there an issue associated with this PR? Is it referenced in the commit message? - [ ] Does your PR body contain #xyz w...
diff --git a/docs/changelog.md b/docs/changelog.md index 5ab4f951917..d8c1e71678d 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -69,7 +69,7 @@ compile "org.janusgraph:janusgraph-core:1.0.0" * Apache HBase 2.5.0 * Oracle BerkeleyJE 7.5.11 * ScyllaDB 5.1.4 -* Elasticsearch 6.0.1, 6.6.0, 7.17.8, 8.6.0 +* El...
1
1
0
[{"id": "G0", "claim": "The stale comment above <elasticsearch.version> mentioning a sha512 that was already removed should be deleted from pom.xml.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
JanusGraph__janusgraph__4409
JanusGraph/janusgraph
4,409
defect
0d601cfc2cbb31bbc391a69d54deeadd3ab1267a
2a30ce3285e4ae11b317574009e4a83d4dc70b5c
Added retry logic if client request returns an error code that is configured for retrying
Closes #4408 To wait between retries since the code being called into Elasticsearch's client appears to be the synchronous API I opted for just using `Thread.sleep`. If there's a better utility or if a different approach is desired happy change. Additionally I marked the new configuration options with the `LOCAL`...
diff --git a/docs/configs/janusgraph-cfg.md b/docs/configs/janusgraph-cfg.md index dd506a9582e..352dbfc265b 100644 --- a/docs/configs/janusgraph-cfg.md +++ b/docs/configs/janusgraph-cfg.md @@ -156,6 +156,10 @@ Elasticsearch index configuration | index.[X].elasticsearch.enable_index_names_cache | Enables cache for gene...
5
3
0
[{"id": "G0", "claim": "The retry-error-codes option description should mention that it is a comma-separated list of error codes, and ideally include an example.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The retry loop may leave lastException...
null
JanusGraph__janusgraph__4425
JanusGraph/janusgraph
4,425
defect
1c53402df4cd5cca3bfba23e104ed12bdae2fc70
c7e7ecacf21b96d9ab56e47b0e7f60ed7510315c
fix: handle BerkeleyJE DB interruption [tp-tests]
Currently, any interruption to BerkeleyJE DB will cause Janusgraph to stop working entirely & require a complete restart of Janusgraph. This PR will make it so interruption to BerkeleyJE DB will close & reopen the Berkeley's environment instead. Fixes #2120
diff --git a/janusgraph-berkeleyje/src/main/java/org/janusgraph/diskstorage/berkeleyje/BerkeleyJEKeyValueStore.java b/janusgraph-berkeleyje/src/main/java/org/janusgraph/diskstorage/berkeleyje/BerkeleyJEKeyValueStore.java index 9df3d9b8023..44dd9836c3f 100644 --- a/janusgraph-berkeleyje/src/main/java/org/janusgraph/disk...
4
2
2
[{"id": "G0", "claim": "Catching ThreadInterruptedException in beginTransaction to re-initialize the environment and then throwing a PermanentBackendException is confusing and should be reworked (why initialize again and then throw?).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduce...
null
JanusGraph__janusgraph__4426
JanusGraph/janusgraph
4,426
defect
4bddfb495b2065a14f42ed2338ef6518f45f5f08
ccaaf42a4267055a0206d37f58ce68a2041ad873
Drop optimization
Created a new MultiVertexQuery `drop` API that efficiently drops many vertices.
diff --git a/janusgraph-benchmark/src/main/java/org/janusgraph/MultiDropBenchmark.java b/janusgraph-benchmark/src/main/java/org/janusgraph/MultiDropBenchmark.java new file mode 100644 index 00000000000..a2d0ae57617 --- /dev/null +++ b/janusgraph-benchmark/src/main/java/org/janusgraph/MultiDropBenchmark.java @@ -0,0 +1,...
8
7
2
[{"id": "G0", "claim": "The correctness validation in the benchmark (the commented-out drop-count assertion) seems better suited for a unit test than for benchmark testing.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A simple unit test should be adde...
null
JanusGraph__janusgraph__4726
JanusGraph/janusgraph
4,726
defect
8064ac9d5aa6642a1a75658f67c2aa49f878787c
787987670d026e6c5d65ee30172053c7a4bb9073
Reindex subset of vertices
### Summary This PR introduces a significant optimization to the reindexing process in `JanusGraph` by allowing a subset of vertices to be reindexed instead of scanning the entire storage. This enhancement provides substantial performance improvements, primarily when the specific subset of vertices for indexing is a...
diff --git a/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphBaseTest.java b/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphBaseTest.java index a69af6d1851..e5cf6146289 100644 --- a/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphBaseT...
2
2
1
[{"id": "G0", "claim": "The new KEYS_SIZE config option was not added to the generated configuration reference documentation, which is why CI is failing; the author should run the janusgraph-doc build to regenerate it and amend the commit.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope"...
null
JanusGraph__janusgraph__4754
JanusGraph/janusgraph
4,754
defect
53a53327d1a46375744af62c0beac9c31d8d2848
7b74a17c5ca014acdbfc5f271eaffe2060dde278
Schema Management APIs for Enhanced Debugging in JanusGraph
This PR introduces new schema management APIs to JanusGraph to enhance debugging capabilities, especially for issues where information is derived from logs. These APIs provide utilities to map between vertex IDs and their hex string representation, retrieve index key hex strings, and obtain index information using hex ...
diff --git a/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphCustomIdTest.java b/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphCustomIdTest.java index beab93fa4a3..818022c390d 100644 --- a/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGr...
1
1
0
[{"id": "G0", "claim": "Since the PR adds a method to convert a hexString to a vertexId, it should also add the reverse method returning the hexString from a vertexId (via graph.getIDManager().getKey(vertexId)), though the reviewer allows deferring it to a follow-up PR.", "category": "design", "verdict": "supported", "...
null
JanusGraph__janusgraph__4755
JanusGraph/janusgraph
4,755
defect
167758d0c0bcba0ea1f48a01f5f32c53272a5a76
d4fac7553050ba6ef194c7c472f3bff88df70fbd
Returning Composite index structure and field values for hex string
Enhancements for this API, introduced in the [PR](https://github.com/JanusGraph/janusgraph/pull/4754) to return not only index structure but also corresponding field values: ``` getIndexInfo(String hexString) Purpose: Decodes a hex string to retrieve composite index information. Parameters: hexString: A hexad...
diff --git a/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphIndexTest.java b/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphIndexTest.java index 146d7aa9205..e7993a2ed84 100644 --- a/janusgraph-backend-testutils/src/main/java/org/janusgraph/graphdb/JanusGraphInd...
1
1
1
[{"id": "G0", "claim": "The lint appears to fail because JanusGraphIndexTest.java has an unused import of org.janusgraph.graphdb.types.CompositeIndexType.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
JanusGraph__janusgraph__4861
JanusGraph/janusgraph
4,861
defect
1b929604a954de02c235bd1cb9f7123323264639
c63e576047da6ed618f18652471c14b028b8dbb0
#4860 allow ordering list properties via mixed index backend
Related feature request is #4860. ### For all changes: - [ yes ] Is there an issue associated with this PR? Is it referenced in the commit message? - [ yes ] Does your PR body contain #xyz where xyz is the issue number you are trying to resolve? - [ yes ] Has your PR been rebased against the latest commit within ...
diff --git a/docs/schema/index-management/index-performance.md b/docs/schema/index-management/index-performance.md index 81febbf4f39..1f4247fd280 100644 --- a/docs/schema/index-management/index-performance.md +++ b/docs/schema/index-management/index-performance.md @@ -285,13 +285,17 @@ When using `order().by()` it is i...
1
1
0
[{"id": "G0", "claim": "The method could be simplified to the same behavior without the allMixedIndexBackendSupportsOrderingListProperty accumulator variable, using an isEmpty guard up front and returning true at the end (offered as a nitpick).", "category": "maintainability", "verdict": "supported", "priority": "P3", ...
null
JanusGraph__janusgraph__4872
JanusGraph/janusgraph
4,872
defect
1b929604a954de02c235bd1cb9f7123323264639
7a9624b1eeb29ed5180caf09769cb5eb5ebf98f0
#4871 support recurring transaction recovery and extend recovery stat…
Related feature request is #4871. ### For all changes: - [ yes ] Is there an issue associated with this PR? Is it referenced in the commit message? - [ yes ] Does your PR body contain #xyz where xyz is the issue number you are trying to resolve? - [ yes ] Has your PR been rebased against the latest commit within ...
diff --git a/docs/operations/recovery.md b/docs/operations/recovery.md index 7ecdae6c08b..e5200d6382d 100644 --- a/docs/operations/recovery.md +++ b/docs/operations/recovery.md @@ -45,12 +45,58 @@ identify partially failed transaction and repair any inconsistencies caused. It is suggested to run the transaction repair...
8
7
1
[{"id": "G0", "claim": "The comment should read 'how many transactions' (plural) instead of 'how many transaction'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The two consecutive null checks of readExecutor are redundant; the shutdown call sho...
null
JeanPhilippeKernel__RendererEngine__257
JeanPhilippeKernel/RendererEngine
257
defect
714804876189a807fb1bc6d60c598c7e6d98d83c
c93f076faad0b67aeb365fa3d94c9966513dfbbe
Utility tools - Intrusive Pointer
#242 - added unit testing support for zengine - wrote the intrusive and intrusiveptr test
diff --git a/ZEngine/include/ZEngine/Helpers/IntrusivePtr.h b/ZEngine/include/ZEngine/Helpers/IntrusivePtr.h new file mode 100644 index 000000000..a454232cd --- /dev/null +++ b/ZEngine/include/ZEngine/Helpers/IntrusivePtr.h @@ -0,0 +1,274 @@ +#pragma once +#include <cstdint> +#include <functional> + +namespace ZEngine:...
7
4
1
[{"id": "G0", "claim": "RefCounted's reference counter should be std::atomic instead of a plain uint64_t that is incremented and decremented non-atomically.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The new API names should follow the PascalCas...
null
JeanPhilippeKernel__RendererEngine__293
JeanPhilippeKernel/RendererEngine
293
defect
ac8fcfa685511d39b3f5782ab7ef74a60a83d187
6deb061beab4e76a6ab6a3c63e0af4480bb9a2a5
memory operations
- secure version of memory operation (memcpy, memmove, etc) #242
diff --git a/ZEngine/include/ZEngine/Helpers/MemoryOperations.h b/ZEngine/include/ZEngine/Helpers/MemoryOperations.h new file mode 100644 index 000000000..4dde3a370 --- /dev/null +++ b/ZEngine/include/ZEngine/Helpers/MemoryOperations.h @@ -0,0 +1,138 @@ +#define __STDC_WANT_LIB_EXT1__ 1 +#include <string.h> +#include <...
5
5
3
[{"id": "G0", "claim": "secure_strcpy should use the secure_strlen helper instead of std::strlen to compute the source length.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The non-secure fallback of secure_memmove is written as `return if (......
null
JeanPhilippeKernel__RendererEngine__305
JeanPhilippeKernel/RendererEngine
305
defect
0b671e3480e849d961b70f2d8967d16d5cfdeeaa
e80f2fb699b1e43c4fd7a32cb3bd23cf8f54bfa3
threadpool utility
This PR introduces a new `ThreadPool` class within the `ZEngine::Helpers` namespace, designed to efficiently manage and execute tasks in a multithreaded environment. Closes out issue #242
diff --git a/ZEngine/include/ZEngine/Helpers/TaskQueue.h b/ZEngine/include/ZEngine/Helpers/TaskQueue.h new file mode 100644 index 000000000..7ae812576 --- /dev/null +++ b/ZEngine/include/ZEngine/Helpers/TaskQueue.h @@ -0,0 +1,76 @@ +#include <condition_variable> +#include <functional> +#include <mutex> +#include <queue...
9
9
1
[{"id": "G0", "claim": "The TaskQueue dequeue method should be named pop.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The stop parameter can be removed from the dequeue method.", "category": "design", "verdict": "supported", "priority": "P2",...
null
JeanPhilippeKernel__RendererEngine__317
JeanPhilippeKernel/RendererEngine
317
defect
7569250f9f84c763385c2dc31b3d4ddb1ff92e10
e4ff3122e8a018afa029f7215193e8480d03f6b0
Runtime Shader compiler API
This PR introduces a runtime shader compiler API, enabling on-the-fly GLSL shader compilation. Key features include: - GL_GOOGLE_include_directive Support: The API fully supports the `#include` directive within GLSL shaders. It is assumed that all included files reside in the same directories as their parent sha...
diff --git a/.github/workflows/window-build.yml b/.github/workflows/window-build.yml index 0e33e22f6..4df6e60d4 100644 --- a/.github/workflows/window-build.yml +++ b/.github/workflows/window-build.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: ac...
9
5
1
[{"id": "G0", "claim": "The redundant `target_link_libraries (zEngineLib PRIVATE glslang SPIRV SPIRV-Tools)` line added in ZEngine/src/CMakeLists.txt should be removed since the linking is already done in externals.cmake.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "...
null
JeanPhilippeKernel__RendererEngine__432
JeanPhilippeKernel/RendererEngine
432
defect
6a1b6f4af7e2aff90da6daf3c29d4ae10eb77a64
a81e6068edf5bf6b1eb5a79e863955096dab834c
Low Budget Hash Map
This will need to be revisited in the nearest future as dynamic growth means rehashing the entire hashmap again (hopefully for now that doesn't happen too often as the size doubles and the user also specifies capacity upfront) Also removed size initialization from array init Added initializer list
diff --git a/.gitmodules b/.gitmodules index 4a73610e5..2eaffaf6d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -64,3 +64,6 @@ [submodule "__externals/CLI11"] path = __externals/CLI11 url = https://github.com/CLIUtils/CLI11 +[submodule "__externals/rapidhash/src"] + path = __externals/rapidhash/src + url = https:/...
3
3
3
[{"id": "G0", "claim": "The new tests should construct the Array through the initializer-list pathway (e.g. `array.init(&arena, 4, {1, 2, 3, 4})`) instead of pushing elements one by one.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Tests should be adde...
null
JeanPhilippeKernel__RendererEngine__440
JeanPhilippeKernel/RendererEngine
440
defect
a68edc70e58c15482a8a0bfa407a23463e815685
a4dbedf583863d59e7110fe758d3dccce0241f12
Math Library
Vector backbone also rearranged the test into folders to make it easier
diff --git a/ZEngine/ZEngine/Core/Maths/Vec.h b/ZEngine/ZEngine/Core/Maths/Vec.h new file mode 100644 index 000000000..d03c3f6ba --- /dev/null +++ b/ZEngine/ZEngine/Core/Maths/Vec.h @@ -0,0 +1,266 @@ +#pragma once +#include <ZEngineDef.h> +#include <cmath> + +namespace ZEngine::Core::Maths +{ + template <typename T,...
7
7
2
[{"id": "G0", "claim": "The Vec template needs conditional type traits (std::enable_if_t) so that T is any numerical type and N is at least 1.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The floating-point epsilon branch in IsEqual should be dropped i...
null
JeanPhilippeKernel__RendererEngine__448
JeanPhilippeKernel/RendererEngine
448
defect
dd95dd6a81f93886081ca64d2660e2e6761f8aa8
69b2c6cc19a807cd97741b845d27682f7b0ce5fd
Matrix Library
This PR introduces the support of Mathematics Matrices. This helps for our effort to move away of GLM library
diff --git a/ZEngine/ZEngine/Core/Maths/Matrix.h b/ZEngine/ZEngine/Core/Maths/Matrix.h new file mode 100644 index 000000000..4af138091 --- /dev/null +++ b/ZEngine/ZEngine/Core/Maths/Matrix.h @@ -0,0 +1,525 @@ +#include <cstddef> +#include "Vec.h" + +namespace ZEngine::Core::Maths +{ + template <typename T, size_t R,...
13
12
1
[{"id": "G0", "claim": "The RowProxy subscript machinery is questionably needed and should be justified or removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The getRow and getColumn helpers are questionably needed and should be justified or removed...
null
JeanPhilippeKernel__RendererEngine__454
JeanPhilippeKernel/RendererEngine
454
defect
a467b151b4049d2f1a93ff497c66e40644df58ea
4df7f000e85e57516df1ebcf552a88285728bf88
tests: add unit tests for matrix class increasing math utilities coverage
- [x] construction tests (default construction, construction with params, vector construction, copy construction) - [x] indexing operator - [x] arithmetic operations (addition, substraction, div, multiplication, scalar multiplication and division) - [x] identity matrices - [x] edges cases (zero division, large valu...
diff --git a/ZEngine/ZEngine/Core/Maths/Matrix.h b/ZEngine/ZEngine/Core/Maths/Matrix.h index 5661722f0..25ccc64b8 100644 --- a/ZEngine/ZEngine/Core/Maths/Matrix.h +++ b/ZEngine/ZEngine/Core/Maths/Matrix.h @@ -132,7 +132,7 @@ namespace ZEngine::Core::Maths Mat2() { - Helpers::secure_memset...
3
3
0
[{"id": "G0", "claim": "The test suite should also cover the inverse of a 4x4 matrix, not only 3x3.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The redundant ConstructionAndIndexingFloat test should be removed (the reviewer first pointed at ChainedOp...
null
JeanPhilippeKernel__RendererEngine__456
JeanPhilippeKernel/RendererEngine
456
defect
a467b151b4049d2f1a93ff497c66e40644df58ea
c15388343eb52362ef348f0f075f3bb25983c5f5
Quaternion
Questions: 1. will we be replacing `std::sin` and `cos` with our own implementation ? 2. what is the rotation order? i assumed `x -> y -> z` 3. in `fromEulerAngles(double a, double b, double c)` converting `euler` to `quaternions` i used double for the angles should i use `T`?
diff --git a/ZEngine/ZEngine/Core/Maths/MathUtils.h b/ZEngine/ZEngine/Core/Maths/MathUtils.h new file mode 100644 index 000000000..724fe8e2c --- /dev/null +++ b/ZEngine/ZEngine/Core/Maths/MathUtils.h @@ -0,0 +1,158 @@ +#pragma once +namespace ZEngine::Core::Maths +{ + template <typename T> + constexpr T DEG_TO_RA...
6
6
4
[{"id": "G0", "claim": "The trigonometric functions in MathUtils.h (e.g. acos) should be implemented using Chebyshev polynomials and Estrin's scheme instead of the current approach.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In toEulerAngle the ...
null
JedWatson__react-select__4676
JedWatson/react-select
4,676
defect
a3dba33e6742942f0d3159fda7e6fe55e0eecbbf
779c42635e477888eb2cdfa7421a08d2edddfe9a
Improve a11y announcements
There are currently a few issues with the aria-live announcements that this PR aims to solve. - NVDA will now announce the context text when initially focused - VoiceOver now announces the context text when re-focusing - Placeholder text is now announced - The selected option/s (single and multi) are now announce...
diff --git a/.changeset/selfish-dots-look.md b/.changeset/selfish-dots-look.md new file mode 100644 index 0000000000..bd9758a455 --- /dev/null +++ b/.changeset/selfish-dots-look.md @@ -0,0 +1,10 @@ +--- +'react-select': patch +--- + +The following improvements have been made to the `aria-live` announcements: +- NVDA no...
2
2
2
[{"id": "G0", "claim": "The fake Option-shaped object built by optionFromPossibleArray (an object carrying only a concatenated label) ends up being passed into the user-provided isOptionDisabled and getOptionLabel props, which the reviewer is not sure is acceptable.", "category": "correctness", "verdict": "supported", ...
null
JedWatson__react-select__4785
JedWatson/react-select
4,785
defect
f6c78028bf7ac807fcbc24ff17dbe023248e7cb6
a5f16df18502e6008730969427c6b61a5ffda56f
Add `prevInputValue` to action meta
Until now if you want to do a feature like keeping the `inputValue` after an option has been selected you would have to manage the `inputValue` prop on your own to have access to the previous value. With this PR the need for the extra state would be removed as the current value would be available trough the meta obj...
diff --git a/.changeset/gorgeous-berries-tan.md b/.changeset/gorgeous-berries-tan.md new file mode 100644 index 0000000000..6b31d5324a --- /dev/null +++ b/.changeset/gorgeous-berries-tan.md @@ -0,0 +1,5 @@ +--- +'react-select': minor +--- + +Add current `inputValue` to action meta diff --git a/docs/examples/OnSelectRes...
2
2
1
[{"id": "G0", "claim": "The new `currentValue` property added to the public `InputActionMeta` is ambiguously named, since \"value\" already means several things in react-select, and should be renamed to `prevInputValue` or another `___InputValue` variant.", "category": "design", "verdict": "supported", "priority": "P1"...
null
JedWatson__react-select__4882
JedWatson/react-select
4,882
defect
f6c78028bf7ac807fcbc24ff17dbe023248e7cb6
2c87bf52dc91e9a8759b1e7309c6eba57d11fc43
Add `required` prop
This PR adds the new `required` prop to allow for required validation in forms. This also adds a new prop `requiredMessage` to customize the content of the HTML5 validation message. I would have wanted to use a default browser message, but there is no API to get them, and the default for `<input type='text'>` is imo...
diff --git a/.changeset/violet-readers-listen.md b/.changeset/violet-readers-listen.md new file mode 100644 index 0000000000..e13f958084 --- /dev/null +++ b/.changeset/violet-readers-listen.md @@ -0,0 +1,5 @@ +--- +'react-select': minor +--- + +Add `required` prop diff --git a/packages/react-select/src/Select.tsx b/pac...
5
2
0
[{"id": "G0", "claim": "The test should pass the value explicitly as null instead of coalescing it with `value || null`, in case a future use-case makes behaviour differ between undefined and null.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add test...
null
JedWatson__react-select__5758
JedWatson/react-select
5,758
defect
b284329ea92a951725fdf1ff48e6432eda545b5c
8ce68715c70f71cbef20edce25508f4baf11e666
Accessibility - screenreader announces "blank" while reading the options
This PR resolves this issue: https://github.com/JedWatson/react-select/issues/5121 1. Added 'aria-activedescendant' for input and functionality to calculate it; 2. Added role 'option' and 'aria-selected' for option; 3. Added role 'listbox' for menu; 4. Added tests for 'aria-activedescendant'; 5. Changes in ari...
diff --git a/.changeset/blue-kings-serve.md b/.changeset/blue-kings-serve.md new file mode 100644 index 0000000000..4376283c77 --- /dev/null +++ b/.changeset/blue-kings-serve.md @@ -0,0 +1,14 @@ +--- +'react-select': minor +--- + +1. Added 'aria-activedescendant' for input and functionality to calculate it; +2. Added r...
6
5
1
[{"id": "G0", "claim": "The PR should include comments explaining its changes and additions to make the review process smoother.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The change appears to cause a regression in Safari with VoiceOver — pri...
null