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
vmware__splinterdb__494
vmware/splinterdb
494
defect
d2e9e8655166e6557172bd73116a1cb1bba57023
85fdae2c2f0a533fce9b1290dcd1fa49046cb093
Simplify output handling in unit tests
- Unit tests respect a new `VERBOSE` environment variable, which ensures output goes to `stdout`/`stderr`. - When `VERBOSE` is unset, or set to `0` or `false`, then: - `stdout` will show only 1 status line per test - `stderr` will be silent, except for error messages - When `VERBOSE` is set to any o...
diff --git a/ci/jobs.lib.yml b/ci/jobs.lib.yml index 2f7614c2..b36cdc6d 100644 --- a/ci/jobs.lib.yml +++ b/ci/jobs.lib.yml @@ -15,7 +15,6 @@ #@ load("sequences.lib.yml", -#@ "sequence_pr_build_test", #@ "sequence_pr_debug_build_test", #@ "sequence_pr_clang_format", #@ "sequence_p...
6
4
0
[{"id": "G0", "claim": "A command-line option would be preferable to the VERBOSE environment variable for controlling test verbosity.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The verbose-mode log messages in limitations_test.c and misc_test.c shoul...
null
vmware__splinterdb__508
vmware/splinterdb
508
defect
f070c377118063dc5e77839daf4e286fed9232b1
305839a2e8035e38d98b2b526e29ae3cfdd8958c
(#507) Change platform_buffer_create()/destroy() interfaces to platform_buffer_init() / deinit() methods.
This commit reworks the interfaces of `platform_buffer_create()` and `platform_buffer_destroy()` to now become `platform_buffer_init()` and `platform_buffer_deinit()` interfaces. This removes a dependency on `platform_heap_id` or `platform_heap_handle` arg. This change does not functionally change anything in th...
diff --git a/Makefile b/Makefile index 9a0239aa..58c55fe9 100644 --- a/Makefile +++ b/Makefile @@ -428,6 +428,9 @@ $(BINDIR)/$(UNITDIR)/task_system_test: $(UTIL_SYS) $(OBJDIR)/$(FUNCTIONAL_TESTSDIR)/test_async.o \ $(LIBDIR)/libsplinterdb.so...
6
5
0
[{"id": "G0", "claim": "platform_buffer_destroy should remember the heap id in a field of the buffer handle itself so the heap_id parameter does not have to be passed to the destroy function.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The platform_buff...
null
vmware__splinterdb__512
vmware/splinterdb
512
defect
f070c377118063dc5e77839daf4e286fed9232b1
50628b1b4ae5d07367dc39d46940df59b838ddff
(#511) Add fns to print 'size' as human-readable string w/ unit-specifiers.
This commit adds couple of utility functions to convert 'size' unit to a human-readable string with unit-specifiers, in an output buffer. - size_to_str() - Convert 'size' to a string in an output buffer - size_to_fmtstr() - Same as above, using user-specified format-string. Useful to generate output enclosed in '(%...
diff --git a/src/platform_linux/platform.h b/src/platform_linux/platform.h index f148629a..045a6e89 100644 --- a/src/platform_linux/platform.h +++ b/src/platform_linux/platform.h @@ -88,14 +88,37 @@ // Data unit constants #define KiB (1024UL) -#define MiB (KiB * KiB) -#define GiB (MiB * KiB) +#define MiB (KiB * 102...
11
11
2
[{"id": "G0", "claim": "The fractional-portion macros should not divide by floating-point values like 1.0 since the project avoids floating point; use integer arithmetic such as (100 * ((x) % KiB)) / KiB instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla...
null
vmware__splinterdb__514
vmware/splinterdb
514
defect
f070c377118063dc5e77839daf4e286fed9232b1
03a7fb2777f42e1bf7c8f3ff0a9d6d48180d0516
(#513) Refactor into set_log_streams_for_tests() to manage unit-test outputs.
This commit refactors existing chunks of code that exists in different unit- test sources to manage output file handles to a common function, now defined in new file `unit/unit_tests_common.c` ; `set_log_streams_for_tests()`. Tests that check error-raising behaviour will now need to call `set_log_streams_for_neg_tes...
diff --git a/Makefile b/Makefile index 9a0239aa..83843cde 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,12 @@ FUNCTIONAL_TESTSRC := $(shell find $(FUNCTIONAL_TESTSDIR) -name "*.c") # Symbol for all unit-test sources, from which we will build standalone # unit-test binaries. UNIT_TESTSRC := $(shell find $(UNIT_TE...
2
2
0
[{"id": "G0", "claim": "Fix the typo \"sucess\" in the verbose-mode message of set_log_streams_for_neg_tests().", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename set_log_streams_for_neg_tests() to a fuller descriptive name (e.g. set_log_streams_...
null
vmware__splinterdb__522
vmware/splinterdb
522
defect
bcd7933f4c50c742de0c57e93464c9ffa9dc1a64
c97d100bdc6700637185075f46c11db4246edea5
(#342) Fix checks in trunk_config_init() to report correct arg-values.
This commit does a minor cleanup in `trunk_config_init()` to correctly report the value for 'Maximum key size' reported when the checks fail for an invalid configuration. We were overflowing the value for an uint64 variable, leading to bogus values reported in the error. Changed this function and other helper functions...
diff --git a/src/splinterdb.c b/src/splinterdb.c index 91a6c034..a6428135 100644 --- a/src/splinterdb.c +++ b/src/splinterdb.c @@ -188,21 +188,25 @@ splinterdb_init_config(const splinterdb_config *kvs_cfg, // IN shard_log_config_init(&kvs->log_cfg, &kvs->cache_cfg.super, kvs->data_cfg); - trunk_config_init(&k...
9
3
1
[{"id": "G0", "claim": "The new error path should raise a proper error (which the change to a platform_status-returning trunk_config_init does) rather than only logging as the old platform_assert did.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ne...
null
vmware__splinterdb__527
vmware/splinterdb
527
defect
60c7910a0401984a4af553ba57d8a018a186d8e2
83b2b1c502780324bdf66b141bea1b61a5a55a68
Identify Memtable v/s Branch page types via BTree-print routines.
This commit extends BTree-printing routines to also report the page type, whether it's a branch or a memtable BTree. As the structures and print methods are shared between two types of objects, this extra information will help in diagnostics.
diff --git a/src/btree.c b/src/btree.c index 86043456..3ee61015 100644 --- a/src/btree.c +++ b/src/btree.c @@ -2552,7 +2552,8 @@ btree_iterator_print(iterator *itor) btree_print_node(Platform_default_log_handle, btree_itor->cc, btree_itor->cfg, - &btree_i...
4
2
1
[{"id": "G0", "claim": "btree_iterator_print hard-codes PAGE_TYPE_BRANCH, so a BTree iterator that can span memtable and branch btrees may print a misleading page type; the page type should be taken from the iterator instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"},...
null
vmware__splinterdb__529
vmware/splinterdb
529
defect
60c7910a0401984a4af553ba57d8a018a186d8e2
92339ccea9347852a0bf5fe9faa19b0e9b9cd785
(#499) Minor cleanup of INVALID_TID, and MAX_THREADS in task-system
This commit applies some minor clean-up to task system as a follow-on to the larger rework done under PR #497. Consistently use STATUS_BUSY, as a way to report when all concurrent threads are in-use. This will result in a `Resource temporarily unavailable` message to the client. Minor changes to task system unit-test c...
diff --git a/src/task.c b/src/task.c index 079e1ad0..1fcfabbf 100644 --- a/src/task.c +++ b/src/task.c @@ -255,7 +255,7 @@ task_create_thread_with_hooks(platform_thread *thread, platform_error_log("Cannot create a new thread as the limit on" " concurrent threads, %d, will be excee...
2
1
0
[{"id": "G0", "claim": "rtjohnso suggests STATUS_LIMIT_EXCEEDED would be the more appropriate return code than STATUS_BUSY when task_create_thread_with_hooks hits the concurrent-thread limit.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The STATUS_LIMIT_...
null
vmware__splinterdb__541
vmware/splinterdb
541
defect
1f09113f9206ec3430d1dbbe441a837a183e80f1
19fdcaf871db7592381d383363427612def97dc4
Add initial support for message logging levels, used in unit-tests.
This commit slightly adjusts the way output messages from C-unit-tests will be printed. Introduce initial set of message logging levels, initially scoped only for use in unit-tests. For test cases that invoke print / diagnostic code, add support for VERBOSE=7, under which (voluminous) output will be generated. For C...
diff --git a/include/splinterdb/platform_linux/public_platform.h b/include/splinterdb/platform_linux/public_platform.h index dc706495..6bd6f1e2 100644 --- a/include/splinterdb/platform_linux/public_platform.h +++ b/include/splinterdb/platform_linux/public_platform.h @@ -78,3 +78,7 @@ typedef FILE platform_log_handle; ...
7
7
4
[{"id": "G0", "claim": "The check in set_log_streams_for_tests() should be Ctest_verbosity >= exp_msg_level instead of == exp_msg_level, so that any verbosity at or above the level the test declares shows output.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",...
null
vmware__splinterdb__549
vmware/splinterdb
549
defect
d9fcc40725c45fed7fc06dac305423292478836f
af496631c99e0172c57f22d09f61bc7960767512
(#548) Change typedef of bool from int32 to 1-byte 'unsigned char'.
In SplinterDB's public splinterdb_config{} config, we have few fields defined as 'bool' which is typedef'ed to int32 on our side. This creates compatibility problems when linking this library with other s/w which may have defined 'bool' as 1-byte field. (Offsets of fields in the splinterdb_config{} struct following 1st...
diff --git a/include/splinterdb/platform_linux/public_platform.h b/include/splinterdb/platform_linux/public_platform.h index dc706495..59433263 100644 --- a/include/splinterdb/platform_linux/public_platform.h +++ b/include/splinterdb/platform_linux/public_platform.h @@ -62,8 +62,11 @@ static_assert(sizeof(uint64) == 8,...
1
1
0
[{"id": "G2", "claim": "The definition of bool should be moved from the public platform header to the private platform header, changing the static inline bool functions in public headers to use _Bool so the library still compiles.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"...
null
vmware__splinterdb__58
vmware/splinterdb
58
defect
d1c66349bc859e9a4cea9a33692f517ae8f53dc0
bba744dbf920d026e49035a733d34c9eb43f8cc0
kvstore iterator
Exposes range access (iteration) through the kvstore API.
diff --git a/src/kvstore.c b/src/kvstore.c index b5fb0636..51092c07 100644 --- a/src/kvstore.c +++ b/src/kvstore.c @@ -148,9 +148,7 @@ kvstore_init_config(const kvstore_config *kvs_cfg, // IN * Txn, logging and mounting existing tables to be added in the future * * Results: - * 0 on success, -1 on failu...
10
8
2
[{"id": "G0", "claim": "The newly exposed kvstore_iterator typedef (a pointer to splinter_range_iterator) should perhaps be an opaque type instead of being part of the public API.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A debug log statement (plat...
null
vmware__splinterdb__607
vmware/splinterdb
607
defect
c340a0e576c940a252989e5f00be09f7e085ce98
0bdc7417be78b46b76e7eea71590c8b915591196
(#604) Cache page-size in local variables to reduce multiple lookups.
In debug-build test runs, profiling shows interfaces like clockcache_page_size(), clockcache_config_page_size() bubbling up to top of 'perf top' output. This commit attempts to reduce multiple calls to lookup functions to retrieve the page-size, by caching the page-size once per function where it's used multiple times....
diff --git a/src/btree_private.h b/src/btree_private.h index f6b27bd9..e714a6fe 100644 --- a/src/btree_private.h +++ b/src/btree_private.h @@ -223,11 +223,11 @@ btree_get_leaf_entry(const btree_config *cfg, */ debug_assert(diff_ptr(hdr, &hdr->offsets[hdr->num_entries]) <= hdr->offsets[k]); - ...
1
1
0
[{"id": "G0", "claim": "Page-size local variables introduced by this PR should be declared uint64 instead of size_t, to keep types consistent with the page-size functions that return uint64.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
vmware__splinterdb__657
vmware/splinterdb
657
defect
d3577f30c51870a4514ddeb2e29ceca096e4e23e
bb68ece20ff8a8002a09c12fd761f97cfb8ae0e0
Misc fixes
- Fix mkfs bug from use of uninitialized trunk handle. - Add a flag to the key data structure indicating whether a key is in the database or just a query key. This allows application to use different structures for keys they insert into the db and query keys. - Optionally return the most recently inserted version of...
diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index db580920..21c39710 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -77,3 +77,11 @@ jobs: packages: libxxhash-dev libaio-dev libconfig-dev gcc clang-19 clang-format-19 - name: make ${{...
1
1
0
[{"id": "G0", "claim": "The new all-tests-passed workflow job should limit the GITHUB_TOKEN's permissions with an explicit permissions block.", "category": "security", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
vmware__splinterdb__89
vmware/splinterdb
89
defect
03a3c5385218283047d0c086e7d8b69bdad51456
2e41f85394a92d331a779a9307131c6e3f42f70c
Rearrange defines for key-/value-size limits; remove hard-coded values.
This commit does minor rearrangement of the #defines for key- and value-size limits. No change in logic or existing limits is being done. - Relocate KVSTORE_BASIC_KEY_HDR_SIZE, KVSTORE_BASIC_MSG_HDR_SIZE from .c to .h file. Adjust corresponding assertions accordingly. - KVSTORE_BASIC_MAX_KEY_SIZE and KVSTORE_BA...
diff --git a/src/data.h b/src/data.h index 6d45d5a5..be9247db 100644 --- a/src/data.h +++ b/src/data.h @@ -14,8 +14,9 @@ #include "platform_public.h" #include <string.h> // for memmove -#define MAX_KEY_SIZE 24 -#define MAX_MESSAGE_SIZE 128 +// Internal limits of key and value size +#define MAX_KEY_SIZE ((int...
5
5
1
[{"id": "G0", "claim": "Extract a super-short limits.h containing only MAX_KEY_SIZE and MAX_MESSAGE_SIZE so that kvstore_basic.h and other files do not need to include or depend on data.h.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test code shou...
null
vmware__terraform-provider-nsxt__1010
vmware/terraform-provider-nsxt
1,010
defect
3f052cbc9cd4d263b748c65f23fd27f3174d7ab3
132a2f76b10d3bd69688a47e7c4439d92928bb31
Add LDAP identity source resource
This PR adds policy LDAP identity source resource. Both `ActiveDirectoryIdentitySource` and `OpenLdapIdentitySource` type LDAP are supported. The two resources have different resource type on NSX API, but shares the same attributes.
diff --git a/nsxt/provider.go b/nsxt/provider.go index 0b37d5ad1f..3e15625fec 100644 --- a/nsxt/provider.go +++ b/nsxt/provider.go @@ -419,6 +419,7 @@ func Provider() *schema.Provider { "nsxt_policy_transport_zone": resourceNsxtPolicyTransportZone(), "nsxt_policy_user_management_role": ...
5
4
1
[{"id": "G0", "claim": "Reviewer asks that the acceptance tests cover both LDAP server types (ActiveDirectory and OpenLDAP) instead of only ActiveDirectory, noting this needs test infrastructure such as an LDAP server on the CI jumphost.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "intro...
null
vmware__terraform-provider-nsxt__1021
vmware/terraform-provider-nsxt
1,021
defect
6fcb37c23ef722a864a67ab3666e230cb16d6fa0
0c0e0b2e7e9cd6ba0e3882926e58e4eb18600c87
Add Principle Identity resource
This PR adds support of Principle Identity resource. A principle identity is identified as a pair of PI `name` and `cert`. If an API is called with SSL client cert matching with a registered PI, the caller is recognized as the PI, granted with its roles and associated privileges. Currently, the only non-deprecated A...
diff --git a/nsxt/provider.go b/nsxt/provider.go index b361335634..a3806561ac 100644 --- a/nsxt/provider.go +++ b/nsxt/provider.go @@ -424,6 +424,7 @@ func Provider() *schema.Provider { "nsxt_manager_cluster": resourceNsxtManagerCluster(), "nsxt_policy_uplink_host_switch_profile": ...
3
3
2
[{"id": "G0", "claim": "The reviewer asks whether the certificate that the create API creates/imports automatically is not deleted by the delete API, leaving an orphaned certificate behind.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The resource...
null
vmware__terraform-provider-nsxt__1064
vmware/terraform-provider-nsxt
1,064
defect
6033a1d7cca4c4f3cda26c454c303543d70fc348
5500b0197722418a7fb0a0bf7a58aaf9fc3f93d7
Datasource Gateway DNS Forwarder
Adds a data source for Gateway DNS Forwarder. Fixes #821
diff --git a/nsxt/data_source_nsxt_policy_gateway_dns_forwarder.go b/nsxt/data_source_nsxt_policy_gateway_dns_forwarder.go new file mode 100644 index 0000000000..ed95c88892 --- /dev/null +++ b/nsxt/data_source_nsxt_policy_gateway_dns_forwarder.go @@ -0,0 +1,40 @@ +/* Copyright © 2023 VMware, Inc. All Rights Reserved. +...
2
1
1
[{"id": "G0", "claim": "Consider making the gateway_path attribute a required one in the data source schema.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The docs mark gateway_path as (Required) while the schema defines it as optional, so the documentati...
null
vmware__terraform-provider-nsxt__114
vmware/terraform-provider-nsxt
114
defect
1f6f97091a0837bf4db16116fc2ae496b854e6bd
640a65149f5146fc63cef905fd5e0e694edca5c1
Allow unspecified value for max size in LB pool
Introduce another attribute to specify whether to limit number of addresses in pool.
diff --git a/nsxt/resource_nsxt_lb_pool.go b/nsxt/resource_nsxt_lb_pool.go index 4c03d38a2..d7f5b23df 100644 --- a/nsxt/resource_nsxt_lb_pool.go +++ b/nsxt/resource_nsxt_lb_pool.go @@ -189,9 +189,15 @@ func getPoolMemberGroupSchema() *schema.Schema { ValidateFunc: validation.StringInSlice(ipRevisionFilterTypeValu...
2
1
1
[{"id": "G0", "claim": "The default of the new limit_ip_list_size flag should perhaps not be false, because a user who forgets to set it (or runs an older config) would silently have max_ip_list_size ignored.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "...
null
vmware__terraform-provider-nsxt__1247
vmware/terraform-provider-nsxt
1,247
defect
c16f2b783df3ebea5ae9b8a0872e8562b8b0ff73
ce0ab2b0bb1359bb47b2d1d33c932f68a1c88e56
Support vpc nat resource and its friends
This PR offers support for: 1. vpc nat rule resource 2. vpc ip address allocation resource only addresses allocated from vpc subnet can be used as dest in nat rule 3. vpc nat data source this is helpful for specifying parent_path for nat rule
diff --git a/nsxt/provider.go b/nsxt/provider.go index 7dec19ed3c..487af88c7d 100644 --- a/nsxt/provider.go +++ b/nsxt/provider.go @@ -501,6 +501,8 @@ func Provider() *schema.Provider { "nsxt_vpc_gateway_policy": resourceNsxtVPCGatewayPolicy(), "nsxt_policy_share": ...
5
2
2
[{"id": "G0", "claim": "The `nsxt_vpc_nat` data source that the PR description mentions as helpful for specifying parent_path, and that the test prerequisites reference, is missing from the pull request.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":...
null
vmware__terraform-provider-nsxt__1248
vmware/terraform-provider-nsxt
1,248
defect
757847915e7015850142bde4a53bab44d7c6ddee
bad8b6d7c43fee49a82652d5a94f97d6a7262119
Handle OmitIfEmpty for bool and int types
Instead of passing a false/zero value, add some tests for OmitIfEmpty case
diff --git a/nsxt/metadata/metadata.go b/nsxt/metadata/metadata.go index b1e6b9f11a..2b62b70464 100644 --- a/nsxt/metadata/metadata.go +++ b/nsxt/metadata/metadata.go @@ -322,6 +322,10 @@ func SchemaToStruct(elem reflect.Value, d *schema.ResourceData, metadata map[str } else { value = d.Get(key).(bool) } +...
1
1
1
[{"id": "G0", "claim": "With the S1 check `OmitIfEmpty && !value`, a bool attribute explicitly specified as `false` would be treated as empty and skipped, since `!value` cannot distinguish an unspecified bool (default false) from an explicit false.", "category": "correctness", "verdict": "supported", "priority": "P1", ...
null
vmware__terraform-provider-nsxt__1326
vmware/terraform-provider-nsxt
1,326
defect
360b8ed194f4f698da9567d06e53721efc8b8def
df98325ff6174a61c80ae34f8a39838f9f67d755
Policy Group: Check for nil entries in criteria block
As every element in the CriteriaSet schema is empty, users migth specify an empty block (ie: 'criteria {}'). This causes the provider to panic as the criteria validation routine tries to cast from nil. With this change, the provider will reject this configuration as invalid.
diff --git a/nsxt/resource_nsxt_policy_group.go b/nsxt/resource_nsxt_policy_group.go index 5595063353..19238359c1 100644 --- a/nsxt/resource_nsxt_policy_group.go +++ b/nsxt/resource_nsxt_policy_group.go @@ -322,7 +322,7 @@ func getExtendedCriteriaSetSchema() *schema.Resource { Type: schema.TypeSet, Des...
1
1
0
[{"id": "G0", "claim": "The PR author should remove the leftover debug log line (log.Printf with \"##### CRITERIA SET\") added at the top of validateGroupCriteriaAndConjunctions rather than leave it in the code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
vmware__terraform-provider-nsxt__1384
vmware/terraform-provider-nsxt
1,384
defect
73aba6720051bfdb133c3ac67b96c91bcf9a4863
cb5064a2c0859331332a94f719f83efd6ac7a5d9
Disable MP Resources from NSX 9.0.0 onwards
This change removes support for NSX MP API client when the NSX manager version is higher or equal to 9.0.0 For MP resources, with NSX >= 9.0.0: - terraform apply, destroy, and import operations will fail with the following error: "This resource is not supported with given provider settings. Management Plane resourc...
diff --git a/nsxt/provider.go b/nsxt/provider.go index 89a2815fca..1cd1ea5999 100644 --- a/nsxt/provider.go +++ b/nsxt/provider.go @@ -1090,6 +1090,12 @@ func providerConfigure(d *schema.ResourceData) (interface{}, error) { return nil, err } + initNSXVersion(getPolicyConnector(clients)) + if util.NsxVersionHighe...
2
2
1
[{"id": "G0", "claim": "Ideally configureNsxtClient should not be invoked when NSX is 9.0.0 and above, which requires rewriting the session create API currently handled inside it, and this should be done regardless because it paves the way for removing the old SDK.", "category": "design", "verdict": "supported", "prior...
null
vmware__terraform-provider-nsxt__1387
vmware/terraform-provider-nsxt
1,387
defect
9b466f98b751b809e282c4f24cf999bd3c7a0922
87a223d3ec77ec3877bc96fa065ad4db6e149a12
Connection data sources
In addition, make tier0_path attributed required in gateway connection resource, as NSX requires it Signed-off-by: Anna Khmelnitsky <akhmelnitsky@vmware.com>
diff --git a/nsxt/data_source_nsxt_policy_distributed_vlan_connection.go b/nsxt/data_source_nsxt_policy_distributed_vlan_connection.go new file mode 100644 index 0000000000..6bc59de678 --- /dev/null +++ b/nsxt/data_source_nsxt_policy_distributed_vlan_connection.go @@ -0,0 +1,32 @@ +/* Copyright © 2022 VMware, Inc. All ...
2
1
1
[{"id": "G0", "claim": "Some data sources included in the pull request exist in master but not in the vpc20-feature-branch, which breaks the linter and probably compilation as well.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "unclear"}, {"id": "G1", "claim": "The distributed VLAN co...
null
vmware__terraform-provider-nsxt__1464
vmware/terraform-provider-nsxt
1,464
defect
0eb8cad190d89b5d8c106c08939ad852ae74ca04
8aab5aff599b32bf2283cc5f84956e1a09a725b7
Add VPC attachment resource
This is the new way of attaching connectivity profile to vpc, hence the profile attribute is also removed from vpc resource
diff --git a/go.mod b/go.mod index 4f8e868a8d..f116f390e9 100644 --- a/go.mod +++ b/go.mod @@ -3,11 +3,11 @@ module github.com/vmware/terraform-provider-nsxt go 1.19 replace ( - github.com/vmware/vsphere-automation-sdk-go/lib => github.com/annakhm/vsphere-automation-sdk-go/lib v0.0.0-20240829205651-501d8b74a2f2 - g...
4
3
1
[{"id": "G0", "claim": "The new nsxt_vpc_attachment entry should be placed first among the nsxt_vpc_* items in the provider's resource map, and all listed resources and data sources should be ordered alphabetically.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"...
null
vmware__terraform-provider-nsxt__1567
vmware/terraform-provider-nsxt
1,567
defect
a920a24a61e042b1467cd3faaf826fb9795608c6
2aadc9200029821b779d28523da2104f7a1e3e9d
Adding a data source for retrieving the tags based on a scope
Adding a data source for retrieving the tags based on a scope
diff --git a/nsxt/data_source_nsxt_policy_tags.go b/nsxt/data_source_nsxt_policy_tags.go new file mode 100644 index 000000000..f0b1e20bf --- /dev/null +++ b/nsxt/data_source_nsxt_policy_tags.go @@ -0,0 +1,50 @@ +// © Broadcom. All Rights Reserved. +// The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries....
9
8
5
[{"id": "G0", "claim": "The data source should pass the scope to client.List()'s scope parameter instead of fetching all tags and filtering them with a local for loop.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "tag.Scope can be nil if omitted (and po...
null
vmware__terraform-provider-nsxt__1614
vmware/terraform-provider-nsxt
1,614
defect
e7a6587e5181ad81905ce0812fd2783abdd460f8
d60503d1a3d8af03734c3d0e8f8727052fc551bb
Adding data sources for T0 & T1 gateway interfaces
Fixes #1579
diff --git a/docs/data-sources/policy_tier0_gateway_interface.md b/docs/data-sources/policy_tier0_gateway_interface.md new file mode 100644 index 0000000000..37ba0d4d69 --- /dev/null +++ b/docs/data-sources/policy_tier0_gateway_interface.md @@ -0,0 +1,35 @@ +--- +subcategory: "Gateways and Routing" +page_title: "NSXT: ...
11
10
4
[{"id": "G0", "claim": "The data source should pull the gateway interface by gateway_path rather than gateway_name, for consistency.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new generic_policy_search.go seems to be a refactor duplicating policy...
null
vmware__terraform-provider-nsxt__1681
vmware/terraform-provider-nsxt
1,681
defect
784e1c51cb4127da11dcd72b803d3bf57b222b49
9bc91f87060b022da19a01c65400d70ceb2c62b1
Support for IPv6 addresses in VPN sessions and local endpoints
This PR adds support for IPv6 validation in the IPSec VPN session resource. - Added a new validation function for IPv6 addresses. - Integrated validation into resource diff checks. - Updated test cases with valid IPv6 test data. Fixes #1667
diff --git a/nsxt/resource_nsxt_policy_ipsec_vpn_local_endpoint.go b/nsxt/resource_nsxt_policy_ipsec_vpn_local_endpoint.go index 6b4f26170..c4c2750c2 100644 --- a/nsxt/resource_nsxt_policy_ipsec_vpn_local_endpoint.go +++ b/nsxt/resource_nsxt_policy_ipsec_vpn_local_endpoint.go @@ -5,8 +5,10 @@ package nsxt import ( ...
6
5
0
[{"id": "G0", "claim": "The reviewer thinks the same IPv6-in-VPN-resources changes should also be applied to the L2 VPN resources.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The IPv6/locale-service validation should be optimized to serve both VPN res...
null
vmware__terraform-provider-nsxt__1698
vmware/terraform-provider-nsxt
1,698
defect
73422e52e7425a32da043becf9efb3d1e946de9a
27464ed612beb0aca5a9b3db8ba8283e0cd4315e
chore: fix typos
Corrects a wide set of typos in the project. This pull request focuses on correcting typos and improving documentation across multiple files in the repository. The changes enhance readability and accuracy in the documentation and comments, ensuring consistency and professionalism. * **CHANGELOG.md**: - Cor...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c21a47983..70e48ecd64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -435,7 +435,7 @@ BUG FIXES: IMPROVEMENTS: * Include object scope (LM or GM) in policy search for data sources. This improvement would narrow down object search to scope relevant to current backend, ...
1
1
0
[{"id": "G0", "claim": "Having `iPAssignment` and `ipAssignment` differing only in capitalization is confusing, and the parameter should be replaced with something short like `iia` since it is not used much.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
vmware__terraform-provider-nsxt__1746
vmware/terraform-provider-nsxt
1,746
defect
55b64dd162582d36d3596cb1d47a5b8b1b6d6028
56f16a5fdac82a90793de56d3261e50e4c257734
Add scope attribute to transit gateway NAT rule resource
This is an optional attribute which is missing in TGW NAT rule schema.
diff --git a/docs/resources/policy_transit_gateway_nat_rule.md b/docs/resources/policy_transit_gateway_nat_rule.md index b92eae6c38..fd604c2be4 100644 --- a/docs/resources/policy_transit_gateway_nat_rule.md +++ b/docs/resources/policy_transit_gateway_nat_rule.md @@ -58,6 +58,7 @@ stage is not skipped, one of `MATCH_EXT...
1
1
1
[{"id": "G0", "claim": "The TestAccResourceNsxtTransitGatewayNatRule_changeTypes test is version-gated at NSX 9.0.0 while it loads a template with scope configured, but TGW NAT rule scope is a 9.1.0 feature, so the gate should be 9.1.0.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "in...
null
vmware__terraform-provider-nsxt__1774
vmware/terraform-provider-nsxt
1,774
defect
bbe422565c26eefe3a9a100e92775ab586a9bc4e
c1f241318a221fb1f62f2e4252d851a4be6d9472
Add a policy_share datasource
To complete sharing functionality, add a datasource for policy_share.
diff --git a/docs/data-sources/policy_share.md b/docs/data-sources/policy_share.md new file mode 100644 index 0000000000..a54cd85142 --- /dev/null +++ b/docs/data-sources/policy_share.md @@ -0,0 +1,30 @@ +--- +subcategory: "Fabric" +page_title: "NSXT: nsxt_policy_share" +description: A Share data source. +--- + +# nsxt...
2
2
1
[{"id": "G0", "claim": "The testDataSourceName value in the acceptance test should be \"data.nsxt_policy_share.test\" rather than \"nsxt_policy_share.test\".", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The datasource documentation should use \"Mu...
null
vmware__terraform-provider-nsxt__1776
vmware/terraform-provider-nsxt
1,776
defect
a31cb820a4eab03199f17534e2130fe41409acca
172c8eb0b6848c089491642c34aec7215a2eea93
Add data source to list Tier0 and Tier1 gateways resources
Fixes: https://github.com/vmware/terraform-provider-nsxt/issues/1756 output of testing data "nsxt_policy_tier1_gateways" "all" {} output "nsxt_policy_tier1_gateways_result" { value = data.nsxt_policy_tier1_gateways.all.items } Changes to Outputs: nsxt_policy_tier1_gateways_result = { b9cc69ab-2e21-46a1-8123...
diff --git a/docs/data-sources/policy_tier0_gateways.md b/docs/data-sources/policy_tier0_gateways.md new file mode 100644 index 000000000..5af9b9060 --- /dev/null +++ b/docs/data-sources/policy_tier0_gateways.md @@ -0,0 +1,41 @@ +--- +subcategory: "Gateways and Routing" +page_title: "NSXT: policy_tier0_gateways" +descr...
4
4
2
[{"id": "G0", "claim": "Drop the 9.1.0 version gate from the new Tier0 and Tier1 listing tests, since no new APIs are involved.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add multitenancy test cases to the Tier0 and Tier1 gateway listing tests.", "c...
null
vmware__terraform-provider-nsxt__1786
vmware/terraform-provider-nsxt
1,786
defect
cfae5c6f9019e273c9ac1163bfec244325c385c8
a50e40411eaab90c50f0a3d4f173b06b31bcc065
Remove vpc_deployment_scope hierarchy from project
Terraform fails to detect a change in this attribute - this seems to be a known TF issue: https://github.com/pulumi/pulumi-terraform-bridge/issues/2152 To work around this, removed the nested Computed block, and set the default span as default value for default_span_path.
diff --git a/docs/resources/policy_project.md b/docs/resources/policy_project.md index ede4c405bb..18e906691e 100644 --- a/docs/resources/policy_project.md +++ b/docs/resources/policy_project.md @@ -42,10 +42,9 @@ The following arguments are supported: * `enabled` - (Required) This flag indicates whether nor...
3
2
1
[{"id": "G0", "claim": "Flattening the schema and hardcoding the default span path (the initial solution from aruntony005) is probably not ideal, as the provider would be in a bad position if NSX API behaviour changes in the future, though the reviewer can live with it if there is nothing better.", "category": "design"...
null
vmware__terraform-provider-nsxt__1808
vmware/terraform-provider-nsxt
1,808
defect
156121c36f0c99a090bd53176bfb67b91892ee74
63889f421af33f385caea7d1480f52bf6abd8d9b
Adding a resource to create/update/delete gateway policy rules
Added a resource for creating, updating and deleting gateway policy rules. Added acceptance tests for the resource. Updated the Client for Gateway policy rules based on the latest SDK. Fixes: #1754
diff --git a/api/infra/domains/gateway_policies/rule.go b/api/infra/domains/gateway_policies/rule.go new file mode 100644 index 0000000000..11e0b8f748 --- /dev/null +++ b/api/infra/domains/gateway_policies/rule.go @@ -0,0 +1,192 @@ +//nolint:revive +package gatewaypolicies + +// The following file has been autogenerate...
3
1
1
[{"id": "G0", "claim": "The code constructs a URL with a double slash (empty domain segment) that NSX rejects as malicious, so the resource fails, and the author should fix it.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request descript...
null
vmware__terraform-provider-nsxt__1875
vmware/terraform-provider-nsxt
1,875
defect
a767ba5621eef3ae749709eeef6ab92e747814d1
891aa4f739a296937eac96044e491d7d898bb26c
Add nsxt_policy_security_policy_container_cluster resource
This resource will bind a container cluster to a security policy. Fixes: #1230
diff --git a/docs/data-sources/policy_container_cluster.md b/docs/data-sources/policy_container_cluster.md new file mode 100644 index 0000000000..3945d081c5 --- /dev/null +++ b/docs/data-sources/policy_container_cluster.md @@ -0,0 +1,30 @@ +--- +subcategory: "Firewall" +page_title: "NSXT: policy_container_cluster" +des...
5
3
0
[{"id": "G0", "claim": "The container cluster data source doc should use a subcategory other than \"Firewall\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The data source read should add cursor implementation (paginated List) to handle a highe...
null
vmware__terraform-provider-nsxt__1889
vmware/terraform-provider-nsxt
1,889
defect
a767ba5621eef3ae749709eeef6ab92e747814d1
3316837b43c7be5b92c68bea349a432a57a9be3f
Add container cluster map data source
Create a map of the entire display_name to policy_path for container clusters
diff --git a/docs/data-sources/policy_container_cluster.md b/docs/data-sources/policy_container_cluster.md new file mode 100644 index 0000000000..3945d081c5 --- /dev/null +++ b/docs/data-sources/policy_container_cluster.md @@ -0,0 +1,30 @@ +--- +subcategory: "Firewall" +page_title: "NSXT: policy_container_cluster" +des...
2
2
1
[{"id": "G0", "claim": "The new data source docs pages should carry a subcategory other than \"Firewall\" — specifically \"beta\", as in PR #1873.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Questions whether cursor (pagination) implementation ...
null
vmware__terraform-provider-nsxt__1924
vmware/terraform-provider-nsxt
1,924
defect
28cd810c226a355a69d1d8db9fc94375bee100df
169da7329fc592cdad85890defe344be5d77386c
Update bgp neighbour schema with neighbor_local_as_config
fixes #1914
diff --git a/docs/resources/policy_bgp_neighbor.md b/docs/resources/policy_bgp_neighbor.md index 578162197..206c76644 100644 --- a/docs/resources/policy_bgp_neighbor.md +++ b/docs/resources/policy_bgp_neighbor.md @@ -13,9 +13,31 @@ This resource is applicable to NSX Global Manager and NSX Policy Manager. ## Example Us...
4
2
1
[{"id": "G0", "claim": "The reviewer asks whether the nil check on NeighborLocalAsConfig.LocalAsNum is 'just to be sure' or whether there are cases where local_as_num can be nil.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test should specify loca...
null
vmware__terraform-provider-nsxt__1932
vmware/terraform-provider-nsxt
1,932
defect
3d5db934eccc61ae5074f605c8481ef719caa84a
7d776b786f2df98b6dd3de8a5271fad2166937f8
Adding nsxt_policy_segment_port_binding resource
* Added nsxt_policy_segment_port_binding resource to update the profiles of an existing segment port. * Added acceptance tests and documentation for the same. Fixes: #1930
diff --git a/.gitignore b/.gitignore index 8e141c627c..bf080545a9 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,9 @@ terraform-provider-nsxt* # Ignore distribution directories. dist/ +# Ignore cursor files. +.cursor/ + # Ignore editor directories. .idea/ .vscode/ diff --git a/docs/resources/policy_segment_...
6
6
2
[{"id": "G0", "claim": "The error strings misspell \"hierarchical\" as \"hierarchial\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add another doc note warning users not to use this resource on segment ports that were created with nsxt_policy_...
null
vmware__terraform-provider-nsxt__1938
vmware/terraform-provider-nsxt
1,938
defect
3d5db934eccc61ae5074f605c8481ef719caa84a
1d23bf970d23e24d4c0d1f4cf96747b645fa5eec
Add VRF config attribute to policy_tier0_gateway datasource
Add the `vrf_config` object attribute to nsxt_policy_tier0_gateway datasource. Fixes: #1936
diff --git a/docs/data-sources/policy_tier0_gateway.md b/docs/data-sources/policy_tier0_gateway.md index 1ebc2e70e5..a743b142da 100644 --- a/docs/data-sources/policy_tier0_gateway.md +++ b/docs/data-sources/policy_tier0_gateway.md @@ -44,3 +44,12 @@ In addition to arguments listed above, the following attributes are ex...
1
1
1
[{"id": "G0", "claim": "The newly added vrf_config documentation marks the exported attributes as Required/Optional, which makes no sense for data-source attributes.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
vmware__terraform-provider-nsxt__1964
vmware/terraform-provider-nsxt
1,964
defect
b01d7946c6436372f08f3986e0a59c3c790f2b8f
ada16384286e90b2dc3c63446f0f9cc72d10d6cb
@ANS-TF-IDPS: Support idps settings enablement
+ This data source provides information about global IDPS settings configured in NSX Policy manager, including signature auto-update, syslog, oversubscription, and custom signature enablement settings. + This resource provides a method for the management of global IDPS (Intrusion Detection and Prevention System) setti...
diff --git a/docs/data-sources/policy_idps_settings.md b/docs/data-sources/policy_idps_settings.md new file mode 100644 index 0000000000..ccb0af0f82 --- /dev/null +++ b/docs/data-sources/policy_idps_settings.md @@ -0,0 +1,115 @@ +--- +subcategory: "Beta" +page_title: "NSXT: nsxt_policy_idps_settings" +description: A da...
8
7
3
[{"id": "G0", "claim": "The data-source documentation lists the data source as applicable to VMC, but the team has no way to validate that, so it should not be enlisted as supported.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The context argum...
null
vmware__terraform-provider-nsxt__1985
vmware/terraform-provider-nsxt
1,985
defect
08a55e4e463bfe2d603dd6782b4d6c4d1a7d085c
70401e7905447fd97956158e8d288f9947bd2799
Allow maintenance of a user role assignment without importing the current user roles
This change addresses the user case presented in issue #1953 Fixes: #1953
diff --git a/docs/data-sources/policy_user_management_role_binding.md b/docs/data-sources/policy_user_management_role_binding.md new file mode 100644 index 0000000000..2429464b1c --- /dev/null +++ b/docs/data-sources/policy_user_management_role_binding.md @@ -0,0 +1,95 @@ +--- +subcategory: "User Management" +page_titl...
1
1
0
[{"id": "G0", "claim": "The new data source should obtain the role bindings client through a package-level variable like cliRoleBindingsClient instead of calling aaa.NewRoleBindingsClient directly, so that unit tests can inject mocks, as done in the resources added in this PR.", "category": "testing", "verdict": "suppo...
null
vmware__terraform-provider-nsxt__1999
vmware/terraform-provider-nsxt
1,999
defect
f5ee9a663d1e08f18c3ad96e942c7b1f70d8b9b8
729a115c762ed2cc1e5524bd56ca05513970c613
Updating the tier0 gateway resource to set the route targets properly on create/update
Updating the tier0 gateway resource to set the route targets properly on create/update to avoid unwanted diff. The auto_mode field in the vrf route target doesn't seem to exist anymore. So I have updated the Read() to dynamically set it to avoid diff.
diff --git a/nsxt/resource_nsxt_policy_tier0_gateway.go b/nsxt/resource_nsxt_policy_tier0_gateway.go index d8fbefad54..7e9d74e2ab 100644 --- a/nsxt/resource_nsxt_policy_tier0_gateway.go +++ b/nsxt/resource_nsxt_policy_tier0_gateway.go @@ -317,12 +317,6 @@ func getPolicyVRFConfigSchema() *schema.Schema { Defaul...
2
1
1
[{"id": "G0", "claim": "Removing the auto_mode attribute outright would break backward compatibility, and existing users' configurations might break.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The retained auto_mode attribute should be marked `D...
null
vmware__terraform-provider-nsxt__2006
vmware/terraform-provider-nsxt
2,006
defect
0c10678d650e40cdd4633df69e1984e5e0751f00
429f107e129dae8749ca0c8442252ed8eb67b720
Adapt API changes to TGW HA config
Transit gateway high_availability_config attribute has been replaced with centralized_config child object with a separate API.
diff --git a/api/org_root.go b/api/org_root.go index 07c99caad8..f8f7269860 100644 --- a/api/org_root.go +++ b/api/org_root.go @@ -19,7 +19,7 @@ func NewOrgRootClient(sessionContext utl.SessionContext, connector vapiProtocolC switch sessionContext.ClientType { - case utl.Local, utl.VPC: + case utl.Local, utl.Mult...
6
3
1
[{"id": "G0", "claim": "Asks whether cc == nil should be an error when creating the transit gateway, since otherwise the H-API patch adds the object without the centralized config child.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Asks whether mode...
null
vmware__terraform-provider-nsxt__2033
vmware/terraform-provider-nsxt
2,033
defect
4a0faac7a3c220b26cf63cd112749eb87c4577e0
37a21017b419bf822534f88b4b54944e867a5265
Allow updates for node_settings attribute of edge_transport_node
Attributes which are nested under node settings weren't updatable. Fixes: #2029
diff --git a/nsxt/resource_nsxt_edge_transport_node.go b/nsxt/resource_nsxt_edge_transport_node.go index e075881f9f..e61f646497 100644 --- a/nsxt/resource_nsxt_edge_transport_node.go +++ b/nsxt/resource_nsxt_edge_transport_node.go @@ -938,6 +938,42 @@ func getTransportNodeFromSchema(d *schema.ResourceData, m interface{...
3
2
1
[{"id": "G0", "claim": "The long explanatory comment block added above applyNodeSettingsFromSchemaToTransportNodeUpdate may not be needed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The guard that skips the node_settings merge when the built...
null
vmware__terraform-provider-nsxt__2060
vmware/terraform-provider-nsxt
2,060
defect
b21b579606a3baaf57b3b613d6d026d72ab8f137
3dc2d1d6ccdf81360b67a2b6ac80be1673b6e3b9
Fix VM multitenancy and other VM testing issues
Some test issues are due to usage of the wrong VM id in multitenancy environments. Also, tests were looking up segment ids which weren't exposed. For `nsxt_policy_vm_tags`, there are two issues which this handles which are beyond the testing scope: * The code uses `path` to import a multitenancy VM tags resource. ...
diff --git a/api/utl/api_util.go b/api/utl/api_util.go index 309dfdd2ef..e8edb65e5b 100644 --- a/api/utl/api_util.go +++ b/api/utl/api_util.go @@ -31,6 +31,7 @@ type SessionContextSpec struct { IsRequired bool IsComputed bool IsVpc bool + IsVpcOptional bool AllowDefaultProj...
1
1
1
[{"id": "G0", "claim": "The same instance-ID validation used in the case 1 branch should also be applied to the case 2 and case 3 branches of resourceNsxtPolicyVMTagsImporter, which currently only check for non-empty strings.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
vmware__terraform-provider-nsxt__2063
vmware/terraform-provider-nsxt
2,063
defect
b21b579606a3baaf57b3b613d6d026d72ab8f137
98ab14684530e4362317ca45a9e12d24bd40ec9c
Fix GRE tunnel update failing with NSX error 500127
The update PATCH omitted the _revision field, causing NSX Policy API to treat the request as a create operation. Since the object already existed, NSX rejected it with error code 500127 ("cannot create object as it already exists"). Pass the current revision to tier0GatewayGRETunnelFromSchema only on the Update path...
diff --git a/nsxt/resource_nsxt_policy_tier0_gateway_gre_tunnel.go b/nsxt/resource_nsxt_policy_tier0_gateway_gre_tunnel.go index 1334bac93a..270a6c8a6b 100644 --- a/nsxt/resource_nsxt_policy_tier0_gateway_gre_tunnel.go +++ b/nsxt/resource_nsxt_policy_tier0_gateway_gre_tunnel.go @@ -152,7 +152,7 @@ func resourceNsxtPoli...
3
3
1
[{"id": "G0", "claim": "The pull request should add an acceptance test or update the unit tests to cover the GRE tunnel revision-handling case.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Unit tests should live in nsxt/utgomock_resource_nsxt_policy_t...
null
vmware__terraform-provider-nsxt__441
vmware/terraform-provider-nsxt
441
defect
e55314e080b2486761e7ca667f5bb3186a2cad5c
639d3fbed2a46ade4b291e63e2b3ea911e9beaa0
Introduce nsxt_fixed_gateway_policy resource
This resource enables fine tuning for preexisting gateway policy in two distinct use cases: 1. Adding rules to predefined policy on VMC and changing limited attributes of the policy itself. This policy is not in DEFAULT category. 2. Updating limited attributes in policy and default_rule in DEFAULT category. This i...
diff --git a/nsxt/policy_common.go b/nsxt/policy_common.go index 14839f979..022b2e3ba 100644 --- a/nsxt/policy_common.go +++ b/nsxt/policy_common.go @@ -30,6 +30,23 @@ func getNsxIDSchema() *schema.Schema { } } +func getFlexNsxIDSchema() *schema.Schema { + return &schema.Schema{ + Type: schema.TypeString, ...
9
7
2
[{"id": "G0", "claim": "The documentation should clarify that the default_rule setting is only applicable to policies in the DEFAULT category (e.g. not applicable for VMC), as requested for the doc bullet.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
vmware__terraform-provider-nsxt__891
vmware/terraform-provider-nsxt
891
defect
c477f672c4ccfe677bd84ad8773b4d18f31591a4
b9acdee11fde8202e66e95a4a1fa1009cfc9a939
Fix issue when creating IPSecVpnSession with Compliance suite
Change tunnel_profile_path to use the computedPolicyPath so that IPSecVpnSession with compliance suite can be configured correctly. The MR also made enhancement to the docs.
diff --git a/nsxt/resource_nsxt_policy_ipsec_vpn_session.go b/nsxt/resource_nsxt_policy_ipsec_vpn_session.go index 72607e4882..ce734b8fe9 100644 --- a/nsxt/resource_nsxt_policy_ipsec_vpn_session.go +++ b/nsxt/resource_nsxt_policy_ipsec_vpn_session.go @@ -78,7 +78,7 @@ func resourceNsxtPolicyIPSecVpnSession() *schema.Re...
2
2
1
[{"id": "G0", "claim": "The new compliance-suite test functions should follow the naming convention, i.e. be named `withComplianceSuite` (e.g. TestAccResourceNsxtPolicyIPSecVpnSessionRouteBasedWithComplianceSuite) instead of `with_compliance_suite`.", "category": "maintainability", "verdict": "supported", "priority": "...
null
vmware__terraform-provider-nsxt__940
vmware/terraform-provider-nsxt
940
defect
96f161386fc8288de389fecdd7d1d807f1994049
d61230b5d80d70ce98065a43c933efacfb685b8e
Add PolicyTransportZone resource
This change adds PolicyTransportZone as resource. Compared to existing data source, the following changes are made: - Added `site_path` and `enforcement_point_id` in case a TZ is to be created under non-default site / ep. When left out, the resource will still be CRUD'ed from default / default, or default / `nsxt.e...
diff --git a/nsxt/data_source_nsxt_policy_transport_zone.go b/nsxt/data_source_nsxt_policy_transport_zone.go index 00758242e2..3b83067338 100644 --- a/nsxt/data_source_nsxt_policy_transport_zone.go +++ b/nsxt/data_source_nsxt_policy_transport_zone.go @@ -19,6 +19,7 @@ var policyTransportZoneTransportTypes = [](string){...
9
9
3
[{"id": "G0", "claim": "The default site should be specified as the schema Default instead of being applied as a fallback (siteID = defaultSite) in the ID-tuple and create CRUD logic.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "is_default should not b...
null
vnmakarov__mir__399
vnmakarov/mir
399
defect
8001ee92a40c3681f3de766a622bc3fd4e27bb68
40fb334222858aeadac3b70f7e36d8b67a8da0a3
Open binary files in binary mode
This fixes newline-conversion issues on Windows. Otherwise, I'm not able to run compiled files. This does not change `fopen`s that appear to be only used for text files.
diff --git a/adt-tests/mir-reduce-test.c b/adt-tests/mir-reduce-test.c index e5e05912cb..0fe1c7c83f 100644 --- a/adt-tests/mir-reduce-test.c +++ b/adt-tests/mir-reduce-test.c @@ -46,7 +46,7 @@ int main (int argc, const char *argv[]) { size_t i, n; double start = real_usec_time (); - if (argc != 2 || (input_fil...
2
2
1
[{"id": "G0", "claim": "The change should be adjusted to also reopen stdin and stdout in binary mode for the tools that take no arguments (b2m, m2b, etc.).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A set_filemode_binary macro could be defined n...
null
vocodedev__vocode-core__260
vocodedev/vocode-core
260
defect
87f22707ded62d4ec70d7c14902642d9ab42c315
68da84253c25007bb5f3528fdb8c3113afb0b380
[EPD-328] Streaming Actions and Merge ActionAgent with Base/Respond Agent
The main goal of this PR is to enable streaming of responses while taking actions and enable support for actions in other LLMs/agent types down the road. - The `ActionAgent` class is removed and its functionality is merged with the `RespondAgent` class. This simplifies the agent hierarchy and avoids code duplication...
diff --git a/vocode/streaming/agent/action_agent.py b/vocode/streaming/agent/action_agent.py deleted file mode 100644 index 442af5a367..0000000000 --- a/vocode/streaming/agent/action_agent.py +++ /dev/null @@ -1,136 +0,0 @@ -import asyncio -import json -import logging -from typing import List, Optional -import re -impo...
3
2
0
[{"id": "G0", "claim": "The function-call handling should live inside handle_generate_response (enqueuing the action there, alongside the text response) instead of returning the function call from it and processing it in a separate block in process().", "category": "design", "verdict": "supported", "priority": "P2", "s...
null
vocodedev__vocode-core__316
vocodedev/vocode-core
316
defect
54c73953be6ea073150bbe85adbc7c0c1d7caf1f
e45f657813c585a98a5df949eaae2d8f202ff70d
[EPD-333] ElevenLabs Threaded MP3 Streaming
This PR adds the ability to stream audio from the ElevenLabs synthesizer API. It uses a threaded worker to convert the mp3 chunks from the API to wav chunks that can be consumed by the vocode streaming pipeline. - [x] ThreadAsyncWorker doesn't terminate properly
diff --git a/playground/streaming/benchmark.py b/playground/streaming/benchmark.py index 555dd76194..2717a2af37 100644 --- a/playground/streaming/benchmark.py +++ b/playground/streaming/benchmark.py @@ -94,7 +94,7 @@ # These synthesizers stream output so they need to be traced within this file. -STREAMING_SYNTHESI...
8
8
4
[{"id": "G0", "claim": "Rename the async ElevenLabs test fixtures to a `_fixture` prefix so it is evident they must be awaited.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PydubWorker class added to vocode/streaming/utils/worker.py would ...
null
vocodedev__vocode-core__337
vocodedev/vocode-core
337
defect
889567969a7c57d35a439bdaa78de38f2da21810
fab98148df0987e343dc2b55077fc7946a32e0a5
Don't split bot messages in transcript (Fixes #319)
Fixes #319.
diff --git a/vocode/streaming/agent/utils.py b/vocode/streaming/agent/utils.py index b816bb40c6..da1a118cfd 100644 --- a/vocode/streaming/agent/utils.py +++ b/vocode/streaming/agent/utils.py @@ -1,3 +1,4 @@ +from copy import deepcopy import re from typing import ( Dict, @@ -18,6 +19,7 @@ from vocode.streaming.m...
1
1
0
[{"id": "G0", "claim": "Please add comments explaining what the new code does (it merges consecutive bot messages).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
vocodedev__vocode-core__348
vocodedev/vocode-core
348
defect
746241b6d507875db6f0d03756d844c5194cc6f8
048d149f9aee7c530b3f622c9b1ae9d8e284e87b
Add test and simplify play ht synthesizer config
Add tests for play ht synthesizer and simplify it's config in vocode python
diff --git a/tests/synthesizer/conftest.py b/tests/synthesizer/conftest.py index cc304a00a6..040ebeb189 100644 --- a/tests/synthesizer/conftest.py +++ b/tests/synthesizer/conftest.py @@ -1,12 +1,17 @@ import pytest from aioresponses import aioresponses, CallbackResult from vocode.streaming.models.audio_encoding impo...
1
1
0
[{"id": "G0", "claim": "Keep the extra PlayHt config params (speed, seed, temperature) that the PR removes, while the api_key and user_id refactor is fine as is.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
vocodedev__vocode-core__438
vocodedev/vocode-core
438
defect
5b42c89f6bccf1ebabf82e7dc9e47565c4330e97
0124be048ed34ff4c85cf593b278b4eaa3797931
exponential backoff to handle Play.ht 429s
Added exponential backoff as Play.ht likes to return 429s. Tested with actual conversation that used to throw 429s.
diff --git a/vocode/streaming/synthesizer/play_ht_synthesizer.py b/vocode/streaming/synthesizer/play_ht_synthesizer.py index b80c021dfc..d6deb49afd 100644 --- a/vocode/streaming/synthesizer/play_ht_synthesizer.py +++ b/vocode/streaming/synthesizer/play_ht_synthesizer.py @@ -1,13 +1,8 @@ import asyncio -import io impo...
1
1
1
[{"id": "G0", "claim": "Fix the unit tests: the Play.ht mock handler in tests/synthesizer/conftest.py still checks the old \"Authorization\"/\"X-User-ID\" header names while the PR renamed them to \"AUTHORIZATION\"/\"X-USER-ID\", so the tests fail.", "category": "testing", "verdict": "supported", "priority": "P0", "sco...
null
vocodedev__vocode-core__577
vocodedev/vocode-core
577
defect
b74c85bdcf33bb141ec4680b1245b10158e76062
9484c0d7d481925bbc8cc800e5e4034c7d0f7df0
feat: Add ability to configure OpenAI base URL in ChatGPTAgentConfig
## Motivation To allow for extremely low latency interactions over voice with LLMs, Groq currently has the highest throughput models which are publicly available. By allowing for a custom OpenAI API compatible endpoint, users can take advantage of a broader set of hardware and model providers. ## Changes - Added...
diff --git a/tests/streaming/agent/test_base_agent.py b/tests/streaming/agent/test_base_agent.py index c6a0adb952..6b1852b9ef 100644 --- a/tests/streaming/agent/test_base_agent.py +++ b/tests/streaming/agent/test_base_agent.py @@ -177,3 +177,16 @@ async def test_action_response_agent_input(mocker: MockerFixture): ...
2
2
1
[{"id": "G0", "claim": "The new config field should either be named `base_url_override` or default to \"https://api.openai.com/v1\"; the reviewer prefers the rename since it changes the code less.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The test's...
null
vocodedev__vocode-core__603
vocodedev/vocode-core
603
defect
918412c4e2469fe14bf5f3c9e4914c43a5bd3b79
6d7fc43df3622c5947968adf7e883d265be526d1
Support passthrough of transport options
## Summary External actions simply post to a given configured URL. Whether that URL has valid SSL should be irrelevant to us since it's configured by the user. This change makes it so consumers of the library can specify their own transport options and decide whether or not to verify the URL
diff --git a/tests/streaming/action/test_external_actions_requester.py b/tests/streaming/action/test_external_actions_requester.py index c9d2f8b359..b270329a2b 100644 --- a/tests/streaming/action/test_external_actions_requester.py +++ b/tests/streaming/action/test_external_actions_requester.py @@ -65,6 +65,7 @@ async d...
1
1
1
[{"id": "G0", "claim": "The new send_request parameter should pass through an httpx.AsyncHTTPTransport object instead of a dict of transport options, as that is better for typing and configurability.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
vocodedev__vocode-core__623
vocodedev/vocode-core
623
defect
18761bb862f66cf8bda04724ee3d3ba319e7a98a
766259dc727d2ec78ea57daaf7ae7f2173767e8f
adds twilio dtmf action
uses `numpy` to generate DTMF tones that can be used in conversations - creates `DTMFToneGenerator` singleton to cache DTMF tones - adds tests for the new action / singleton - on Twilio mark messages - on purpose doesn't send a mark message into the twilio playback queue, so that it doesn't interrupt the normal flow...
diff --git a/tests/streaming/action/test_dtmf.py b/tests/streaming/action/test_dtmf.py index 24050c0525..f9a8b4eccf 100644 --- a/tests/streaming/action/test_dtmf.py +++ b/tests/streaming/action/test_dtmf.py @@ -1,5 +1,10 @@ +import asyncio +import base64 +import json + import pytest from aioresponses import aiorespon...
5
2
1
[{"id": "G0", "claim": "Is the tone cache necessary, given it is only useful when the agent presses repeated digits across multiple turns while the program stays up?", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Can the DTMF tones be interrupted, and if s...
null
voidcosmos__npkill__167
voidcosmos/npkill
167
defect
634d8a62b8e77068bf6d18b8970b0ccfb1582705
6798ada49fcd06f1e1d303f8f5530fe16407c60a
feat(results-ui): add ability to open folders
Added the ability to open the current folder (or the target directory we're looking at Used a package to not reinvent the wheel and keep it cross-platform Fixes #127
diff --git a/package-lock.json b/package-lock.json index b8ae4927..82ae5d33 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,6 +13,7 @@ "colors": "1.4.0", "get-folder-size": "^2.0.0", "node-emoji": "^1.10.0", + "open-file-explorer": "^1.0.2", "rxjs": "^7.5.7" ...
1
1
1
[{"id": "G0", "claim": "The openFolder$ subscription always opens `this.folderRoot`, which always points to the root directory, so it will always open the same root path; it should be changed to get the path of the selected project (like `deleteFolder` but for the parent).", "category": "correctness", "verdict": "suppo...
null
voidcosmos__npkill__236
voidcosmos/npkill
236
defect
5ddc765f5ce3b0754d17b0bc52770c4446ae03fd
3ae85da712a81e39e7b0cfc81fe974b42757e04f
Allow execution in non-TTY environments
This PR resolves the long-standing issue where npkill refused to start in environments that are reported as non-TTY, such as Git Bash on Windows, CI/CD pipelines, or when input/output is redirected. Previously, the application would exit immediately with a "No TTY supported" error or crash with a TypeError when tryi...
diff --git a/src/cli/cli.controller.ts b/src/cli/cli.controller.ts index 1472c625..4897c719 100644 --- a/src/cli/cli.controller.ts +++ b/src/cli/cli.controller.ts @@ -607,11 +607,6 @@ export class CliController { this.logger.error(INFO_MSGS.MIN_CLI_CLOMUNS); this.exitWithError(); } - if (!this.std...
3
3
1
[{"id": "G0", "claim": "The new test overrides process.stdout.isTTY without the configurable flag, inconsistently with the beforeEach hook, which could cause property redefinition errors in subsequent tests.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":...
null
voidcosmos__npkill__246
voidcosmos/npkill
246
defect
6c5b3678dfbe28dc62218ca7f773b7da23ae498f
e007b946d9969c72a159bbb43e8b4ed0659f575b
feat: added --disable-size flag and related handling
For #240 ## Changes - Added `disableSize` to the CLI config interface and default config. - Registered the `--disable-size` option in CLI help/options. - Passed CLI config into `ResultsUi` so result rendering can react to `disableSize`. - Updated result display to show placeholder size text when size ...
diff --git a/src/cli/cli.controller.ts b/src/cli/cli.controller.ts index c53744c3..cfb33033 100644 --- a/src/cli/cli.controller.ts +++ b/src/cli/cli.controller.ts @@ -138,7 +138,11 @@ export class CliController { private initUi(): void { this.uiHeader = new HeaderUi(this.config); this.uiService.add(this.ui...
1
1
1
[{"id": "G0", "claim": "With --disable-size enabled the age column stops working because the controller skips calculateFolderStats entirely; the check should be moved inside that method so only the size calculation is skipped while modificationTime is still computed.", "category": "correctness", "verdict": "supported",...
null
voidzero-dev__oxc-angular-compiler__100
voidzero-dev/oxc-angular-compiler
100
defect
7cd96337383faecab7a5f115807683feb6087195
1085a7c1cd9e254c8eac3ca5c00e9b5985a3b913
fix: populate source map in transformAngularFile when sourcemap option is enabled
The edit-based transform pipeline never generated source maps, leaving `TransformResult.map` as `None` even when `sourcemap: true`. Add `apply_edits_with_sourcemap` that produces a source map by analyzing which original byte ranges survive in the output, and wire it into the AOT, JIT, and no-Angular-classes code paths....
diff --git a/crates/oxc_angular_compiler/src/component/transform.rs b/crates/oxc_angular_compiler/src/component/transform.rs index 6c1516459c..954ad387bd 100644 --- a/crates/oxc_angular_compiler/src/component/transform.rs +++ b/crates/oxc_angular_compiler/src/component/transform.rs @@ -15,7 +15,7 @@ use oxc_parser::Par...
2
2
2
[{"id": "G0", "claim": "Source map columns are advanced by UTF-8 byte length (ch.len_utf8()) in byte_offset_to_line_col and in the unchanged-segment and replacement-text loops, but the source map spec requires UTF-16 code units, so columns are wrong for multi-byte characters.", "category": "correctness", "verdict": "su...
null
voidzero-dev__oxc-angular-compiler__19
voidzero-dev/oxc-angular-compiler
19
defect
a08f16efa3defad971cf6e59fe0830fb0b4e3b14
adae3788c21bb67c45e1373e166d8c8d059aafd3
fix: always use Full template compilation mode, matching Angular's local compilation behavior
OXC is a single-file compiler equivalent to Angular's local compilation mode. In local mode, Angular always sets hasDirectiveDependencies=true (handler.ts:1257), so DomOnly mode is never used for component templates. Remove the conditional DomOnly/Full logic and always use Full mode. - Remove standalone_explicitly_s...
diff --git a/crates/oxc_angular_compiler/src/component/decorator.rs b/crates/oxc_angular_compiler/src/component/decorator.rs index 8456c08f29..155bad4c36 100644 --- a/crates/oxc_angular_compiler/src/component/decorator.rs +++ b/crates/oxc_angular_compiler/src/component/decorator.rs @@ -114,7 +114,6 @@ pub fn extract_co...
2
2
1
[{"id": "G0", "claim": "The doc comment of the deleted has_any_non_pipe_import_elements function was left behind and, with no blank line before it, merges into the doc of extract_identifier_array, giving it a misleading doc comment.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "intr...
null
voidzero-dev__oxc-angular-compiler__205
voidzero-dev/oxc-angular-compiler
205
defect
7d4e9a066aeafc380807b667ff0df45c3da620f4
557ff9a92fb74dc1e60d89b124db9eb65bd88a1e
fix(angular): preserve block-body functions in decorator providers
Block-body arrow functions and function expressions in decorator properties (e.g., useFactory) were silently having unsupported statements dropped. Only return and expression statements survived, corrupting the function body and causing runtime errors. Add RawSource fallback: when convert_oxc_expression encounters a b...
diff --git a/crates/oxc_angular_compiler/src/class_metadata/builders.rs b/crates/oxc_angular_compiler/src/class_metadata/builders.rs index 2b8566e216..149378a648 100644 --- a/crates/oxc_angular_compiler/src/class_metadata/builders.rs +++ b/crates/oxc_angular_compiler/src/class_metadata/builders.rs @@ -38,7 +38,7 @@ pub...
9
7
7
[{"id": "G0", "claim": "The decorator-args loop in build_decorator_metadata_array still passes None for source_text, so decorator arguments with block-body arrows/function expressions can be silently dropped from ɵsetClassMetadata, breaking TestBed/JIT metadata reconstruction.", "category": "correctness", "verdict": "s...
null
voidzero-dev__oxc-angular-compiler__22
voidzero-dev/oxc-angular-compiler
22
defect
aabfc01350e62aeda3d11bfbfc33591d0bebb0ab
d8a82ef680d64261fcc9e94e97b9bd4f281de066
fix: ng-content with bound attributes like [select] now passes attrs to projection instruction
Angular's r3_template_transform.ts converts ALL raw HTML attributes on ng-content to TextAttributes, including binding syntax like [select]="...". OXC was only using categorized text attributes, dropping bound attributes entirely. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Changes how `ng-content` attr...
diff --git a/crates/oxc_angular_compiler/src/transform/html_to_r3.rs b/crates/oxc_angular_compiler/src/transform/html_to_r3.rs index e4796d8dde..199b803897 100644 --- a/crates/oxc_angular_compiler/src/transform/html_to_r3.rs +++ b/crates/oxc_angular_compiler/src/transform/html_to_r3.rs @@ -468,18 +468,20 @@ impl<'a> Ht...
1
1
1
[{"id": "G0", "claim": "The new loop over raw element.attrs bypasses the i18n/i18n-* filtering that parse_attributes performs, so for <ng-content i18n select=\".header\"> the i18n attribute would incorrectly appear in the generated projection instruction attrs.", "category": "correctness", "verdict": "supported", "prio...
null
voidzero-dev__oxc-angular-compiler__230
voidzero-dev/oxc-angular-compiler
230
defect
f73935a1b04d6a163b519de3c8086252a1384f63
7f8eae6f969c3635c194d005b3cc2eeb857e5e81
fix(angular): align formField control binding with Angular
Angular's control-directives pipeline treats [formField] as a normal property binding and then inserts separate controlCreate/control instructions. Our Rust pipeline had drifted from that logic and rewrote [formField] into a custom ControlOp carrying the bound value, which emitted legacy output like ɵɵcontrol(ctx.myFie...
diff --git a/crates/oxc_angular_compiler/src/pipeline/phases/attribute_extraction.rs b/crates/oxc_angular_compiler/src/pipeline/phases/attribute_extraction.rs index 0fe5e24dca..d07ea84682 100644 --- a/crates/oxc_angular_compiler/src/pipeline/phases/attribute_extraction.rs +++ b/crates/oxc_angular_compiler/src/pipeline/...
1
1
1
[{"id": "G0", "claim": "After the formField split, var_counting.rs still charges UpdateOp::Control two slots, so templates with [formField] count the value slot twice and inflate vars, shifting subsequent var-offset assignment in views that also contain later pipe/pure-function bindings.", "category": "correctness", "v...
null
voidzero-dev__oxc-angular-compiler__28
voidzero-dev/oxc-angular-compiler
28
defect
c801e943694de3b1abf7ad618973980412bcbcf7
ad19b39f2d33cd51acb2049e2be0a5ad674a6d4a
fix(angular): fix 5 compiler divergences from Angular reference
1. Standalone connected blocks (@else, @empty, @placeholder, @loading, @error) now emit error diagnostics and produce UnknownBlock nodes instead of being silently dropped. 2. @defer connected block validation now rejects duplicate @placeholder/ @loading/@error, @error with parameters, and unrecognized params ...
diff --git a/crates/oxc_angular_compiler/src/transform/control_flow.rs b/crates/oxc_angular_compiler/src/transform/control_flow.rs index 3883565a8d..ffe522248f 100644 --- a/crates/oxc_angular_compiler/src/transform/control_flow.rs +++ b/crates/oxc_angular_compiler/src/transform/control_flow.rs @@ -99,8 +99,10 @@ fn par...
2
2
1
[{"id": "G0", "claim": "After inlining their logic, `parse_placeholder_parameters` and `parse_loading_parameters` (with private helpers `starts_with_minimum` and `starts_with_after`) are dead code that remains `pub` and re-exported, giving the impression they are part of the active API.", "category": "maintainability",...
null
voidzero-dev__oxc-angular-compiler__29
voidzero-dev/oxc-angular-compiler
29
defect
52b25dc6cf95fa234b7026f64ddab381937281e5
051a378665fe6e9de9a87faee9a81ec8a8fc8f5e
fix(angular): fix nested @for track expression with outer-scope variable
The Rust resolve_names phase was merging update-scope variables into the create-scope, making @for loop variables (like $implicit) visible when resolving RepeaterCreate.track expressions. Angular TypeScript processes create and update ops as separate lexical scopes. This caused track expressions referencing outer @for ...
diff --git a/crates/oxc_angular_compiler/src/pipeline/phases/reify/mod.rs b/crates/oxc_angular_compiler/src/pipeline/phases/reify/mod.rs index 8bbb4d9fee..c712fa3c6c 100644 --- a/crates/oxc_angular_compiler/src/pipeline/phases/reify/mod.rs +++ b/crates/oxc_angular_compiler/src/pipeline/phases/reify/mod.rs @@ -480,6 +48...
2
1
1
[{"id": "G0", "claim": "The track_by_ops processing block added to resolve_names (RepeaterCreate arm) is unreachable dead code because track_by_ops is only set by track_fn_optimization (phase 34) while resolve_names runs at phase 31, so outer-scope track expressions are never resolved there and _forTrack1 ends up emitt...
null
voidzero-dev__oxc-angular-compiler__30
voidzero-dev/oxc-angular-compiler
30
defect
a387e4e238bb2795ab3aa2935b6f098ff582c9a2
a71e92805e1b710f5220d6bfbf25415a4d638d82
fix(angular): fix 3 compiler divergences from Angular reference
1. Standalone @case/@default blocks now produce "Unrecognized block" error and UnknownBlock node instead of being silently dropped. 2. @case blocks with extra parameters now report error but still parse using the first parameter, matching Angular's error recovery behavior. 3. Unexpected i18n metadata types on con...
diff --git a/crates/oxc_angular_compiler/src/pipeline/ingest.rs b/crates/oxc_angular_compiler/src/pipeline/ingest.rs index fe3c2ca649..402618f13d 100644 --- a/crates/oxc_angular_compiler/src/pipeline/ingest.rs +++ b/crates/oxc_angular_compiler/src/pipeline/ingest.rs @@ -4209,7 +4209,12 @@ fn convert_i18n_meta_to_placeh...
1
1
1
[{"id": "G0", "claim": "The panic! added for unexpected I18nMeta variants crashes the whole compiler process instead of producing a catchable diagnostic, unlike Angular's assertion errors.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
voidzero-dev__oxc-angular-compiler__32
voidzero-dev/oxc-angular-compiler
32
defect
bfaaea9f8530bde0f576b72dc4de5a1ae416f6de
8a3a1d54e8e656b05ca881bd7cf47f9dcf926052
fix(angular): fix 3 control flow parity gaps with Angular reference
- Fix empty parentheses in on-triggers (e.g. `idle()`, `hover()`) being incorrectly treated as having parameters. Angular's consumeParameters() returns zero parameters for empty parens. - Add viewport trigger parameter arity validation using top-level comma splitting to reject `viewport(a,b)` while accepting obje...
diff --git a/crates/oxc_angular_compiler/src/transform/control_flow.rs b/crates/oxc_angular_compiler/src/transform/control_flow.rs index d4c66f48da..f17f4cd6d4 100644 --- a/crates/oxc_angular_compiler/src/transform/control_flow.rs +++ b/crates/oxc_angular_compiler/src/transform/control_flow.rs @@ -837,13 +837,16 @@ fn ...
2
2
1
[{"id": "G0", "claim": "Bare \"when\" (e.g. `@defer (when )` after trimming) still produces the \"@defer 'when' trigger requires a condition expression\" error, because the empty condition passed to parse_when_trigger immediately hits its condition_str.is_empty() check, so the bare-when case does not match Angular's si...
null
voidzero-dev__oxc-angular-compiler__34
voidzero-dev/oxc-angular-compiler
34
defect
96fad7b435856656b5ab7b3fc46768f3d312daf3
dbb49c43a65285b9465a5bbd616eb43e09f0ce8e
fix(angular): fix 5 compiler divergences from Angular reference
1. (High) @let self-reference: mark name as declared AFTER transforming the declaration op, so self-references like `@let x = x + 1` are replaced with `undefined` — matching Angular's backward walk. 2. (Medium) @for invalid-shape recovery: return None when expression parsing fails or track is missing, matchin...
diff --git a/crates/oxc_angular_compiler/src/pipeline/phases/reify/mod.rs b/crates/oxc_angular_compiler/src/pipeline/phases/reify/mod.rs index c712fa3c6c..58d6ecbed5 100644 --- a/crates/oxc_angular_compiler/src/pipeline/phases/reify/mod.rs +++ b/crates/oxc_angular_compiler/src/pipeline/phases/reify/mod.rs @@ -829,16 +8...
2
1
1
[{"id": "G0", "claim": "In the @else branch the pull request calls create_block_placeholder before visit_children, reversing the order used in the @if and @else if branches and the original code, which changes i18n placeholder numbering when inside an i18n context.", "category": "correctness", "verdict": "supported", "...
null
voidzero-dev__oxc-angular-compiler__58
voidzero-dev/oxc-angular-compiler
58
defect
39174a821afa9207e31bdac5efaafdd41709cf29
4bbfb33beeaff3cbd1d6b826f989e303adb9119c
fix(angular): resolve e2e tests comparison mismatches
Fix multiple compiler output divergences from Angular TS: - fix(variable_optimization): handle Oxc's split handler_expression architecture in optimizeSaveRestoreView, removing unnecessary restoreView/resetView wrapping - fix(variable_optimization): reorder optimization steps to match Angular TS (arrow functions an...
diff --git a/crates/oxc_angular_compiler/src/component/transform.rs b/crates/oxc_angular_compiler/src/component/transform.rs index 2df3f3e9d1..1951c2a933 100644 --- a/crates/oxc_angular_compiler/src/component/transform.rs +++ b/crates/oxc_angular_compiler/src/component/transform.rs @@ -1569,10 +1569,20 @@ fn compile_co...
3
3
2
[{"id": "G0", "claim": "The `for _ in 0..end` loops use `end` from `char_indices()`, a byte offset, as a character count for `chars.next()`; with the new greedy scan allowing multi-byte characters between `&` and `;`, the byte offset exceeds the character count and over-consumes the iterator, silently dropping subseque...
null
voidzero-dev__oxc-angular-compiler__8
voidzero-dev/oxc-angular-compiler
8
defect
bf443cb0c00caff1e8acf9f11ad2ca3b59494adf
565ef32391df5e404f58c5ea628a440398b3b50b
fix: listener handler_expression should generate tmp variable declarations in handler scope
handler_expression was being processed without the IN_CHILD_OPERATION flag, causing temporary variables to be scoped to the parent create block instead of the listener function. This meant `let tmp_N_0;` declarations were missing inside listener functions that use safe navigation on function call receivers (e.g., `getP...
diff --git a/crates/oxc_angular_compiler/src/ir/expression.rs b/crates/oxc_angular_compiler/src/ir/expression.rs index 5f1b6b10d..a58538add 100644 --- a/crates/oxc_angular_compiler/src/ir/expression.rs +++ b/crates/oxc_angular_compiler/src/ir/expression.rs @@ -2092,12 +2092,13 @@ pub fn transform_expressions_in_create_...
1
1
1
[{"id": "G0", "claim": "The generate_temporaries_for_handler_ops_with_expression function processes handler_expression inside the loop over handler_ops, so with multiple ops it is visited and transformed once per op, corrupting temporary name assignment state and potentially generating incorrect or duplicate variable d...
null
voidzero-dev__vite-task__345
voidzero-dev/vite-task
345
defect
0e29f325d78d7fe2e835c46178a4f94a3948546d
e0229ffbb8e128bf8496a030588202b9e1be6376
fix(plan): rewrite `node_modules/.bin/*.cmd` to powershell on Windows
## Summary Running a `node_modules/.bin/*.cmd` shim on Windows triggers `cmd.exe`'s *"Terminate batch job (Y/N)?"* prompt on Ctrl+C, which corrupts the terminal. At plan time, when `which()` resolves such a shim inside the workspace and a sibling `.ps1` exists, rewrite the invocation to run the `.ps1` directly through...
diff --git a/crates/vite_task_plan/src/lib.rs b/crates/vite_task_plan/src/lib.rs index c749ef291..c0e5cbb83 100644 --- a/crates/vite_task_plan/src/lib.rs +++ b/crates/vite_task_plan/src/lib.rs @@ -7,6 +7,7 @@ mod in_process; mod path_env; mod plan; pub mod plan_request; +mod powershell; use std::{collections::BTr...
1
1
1
[{"id": "G0", "claim": "Applying the .cmd-to-PowerShell rewrite before plan_spawn_execution computes the spawn fingerprint leaks absolute paths (an absolute .ps1 path in args, and the PowerShell host as program) into SpawnFingerprint, making the cache key workspace-location-dependent and causing cache misses whenever t...
null
voidzero-dev__vite-task__349
voidzero-dev/vite-task
349
defect
e81fbc61fadb4d4ab0a43b85204d21cb14f189e7
2351cc4ead64dfd417cc9ba0ee96e81bbfe46a58
Support pre-existing LD_PRELOAD/DYLD_INSERT_LIBRARIES
## Summary Fixes issue #340 by allowing fspy to coexist with user-supplied `LD_PRELOAD` (Linux) or `DYLD_INSERT_LIBRARIES` (macOS) environment variables. Previously, fspy would reject spawns when these variables were already set. Now it appends its tracer shim to the end of the preload list, preserving both the user's ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 73f5ac6fd..380ce3eed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # Changelog +- **Fixed** `vp run` no longer aborts with `failed to prepare the command for injection: Invalid argument` when the user environment already has `LD_PRELOAD` (Linux) or `DYLD_...
1
1
0
[{"id": "G0", "claim": "The `vtt write-file` step arguments in the preexisting_ld_preload fixture include a literal trailing newline (\"...\\n\"), which makes the rendered `## `...`` snapshot header span multiple lines — harder to read and inconsistent with other fixtures — so the trailing \\n should be dropped (or the...
null
volatilityfoundation__volatility3__1079
volatilityfoundation/volatility3
1,079
defect
66a4fc92bba2c4ee09a154e06872974a718343a1
6b3bbad537d303a41f21bf4d81899eb11dcffcdf
Linux ip.Addr and ip.Link plugins
This PR adds the `linux.ip.Addr` and `linux.ip.Link` plugins. ### linux.ip.Addr: - It displays information about all network interfaces including network namespace, interface index, interface name, mac address, promiscuous status, IPv4/IPv6 address, prefix, scope type and state. Example output: ```shell $ py...
diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index 6e8883f195..aa0692365d 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -281,3 +281,15 @@ ) ELF_MAX_EXTRACTION_SIZE = 1024...
5
4
0
[{"id": "G0", "claim": "Mixing explicit returns with an implicit (fall-through) return in net_device.get_mac_address may indicate an error, as implicit returns always return None.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Mixing explicit re...
null
volatilityfoundation__volatility3__1101
volatilityfoundation/volatility3
1,101
defect
6d34e43667a4f709902f3c157a4e54ec4ed679ce
6e7b5b59416a0f0830660d6415144ec8ee0039ca
Linux: Add linux.library_list.LibraryList plugin
This PR ports the volatility2 `linux_library_list` plugin to volatility3. Additionally, it includes some fixes that allow for considerably more libraries to be extracted from the ELF within the memory maps. Changes: - Add Linux library_list plugin - Add ELF dynamic table enum types in elf.json - Update missing pr...
diff --git a/test/test_volatility.py b/test/test_volatility.py index aaad615bcc..7b151fd6cb 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -6,6 +6,7 @@ # import os +import re import subprocess import sys import shutil @@ -331,6 +332,32 @@ def test_linux_tty_check(image, volatility, python)...
10
9
1
[{"id": "G0", "claim": "The 'except' clause does nothing but pass and has no explanatory comment (CodeQL empty-except alert).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "PAGE_SHIFT and its new derivatives PAGE_SIZE/PAGE_MASK are architecture-...
null
volatilityfoundation__volatility3__1120
volatilityfoundation/volatility3
1,120
defect
55dd39f2ba60ffdd2126b7ea011940f0df42815a
4f1f48087611818f874a033db4257b162e468c3f
Add linux sockscan plugin
Hello 👋 This PR adds a first attempt at a sockscan plugin. Based heavily on the vol2 netscan plugin by @atcuno. I've also added another method following the path from a file object as per the sockstat plugin by @gcmoreira, and to display the results this plugin makes heavy use of the great socket handling from soc...
diff --git a/test/test_volatility.py b/test/test_volatility.py index 6e54aa0535..0f935546de 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -196,7 +196,7 @@ def test_windows_thrdscan(image, volatility, python): assert out.find(b"\t4\t8") != -1 assert out.find(b"\t4\t12") != -1 asser...
17
17
0
[{"id": "G0", "claim": "Testing for None should use the 'is' operator rather than '==' for the socket family check.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The duplicated 'from volatility3.framework import symbols' import should be removed, k...
null
volatilityfoundation__volatility3__1371
volatilityfoundation/volatility3
1,371
defect
3748cb89b8e2493fd8792315a9b3419d9a26dfb3
bec6bc659475b7fc016f1b05093e7783ca70d904
Fix up vmayarascan and vadyarascan to use yarascan properly
This gets vmayarascan and vadyarascan to use the scanning framework properly, but hands in chunks that are the size of the complete vad. This resolves issues around plugins needing to know about the version of vad whilst keeping the fix that led to the divergence... Supercedes #1370. Closes #1367
diff --git a/volatility3/framework/plugins/linux/vmayarascan.py b/volatility3/framework/plugins/linux/vmayarascan.py index 9fe06b0c84..3d8eb603b2 100644 --- a/volatility3/framework/plugins/linux/vmayarascan.py +++ b/volatility3/framework/plugins/linux/vmayarascan.py @@ -2,6 +2,7 @@ # which is available at https://www....
6
5
4
[{"id": "G0", "claim": "The sanity check only logs that oversized VMAs/VADs won't be scanned while the scan still processes the entire unfiltered maps list, and max_vma_size/max_vad_size is computed including oversized sections, so sections over the sanity-check size get scanned after all.", "category": "correctness", ...
null
volatilityfoundation__volatility3__1553
volatilityfoundation/volatility3
1,553
defect
a6777146f6fd789c10686b9ed1f8a5ea3521f9a5
9944fcc61f179a0d949266a90d3e0e290d5017c6
Linux - Parity release harden Page Cache
In the context of https://github.com/volatilityfoundation/volatility3/pull/1516 and related issues, this PR addresses several bugs in the Page Cache API code and its associated functions. ### NOTE1: This requires the fixes from #1543 (linked list object extensions) and #1545 (mountinfo). Please DO NOT test the samp...
diff --git a/test/test_volatility.py b/test/test_volatility.py index bb7c9a851f..e25e8278b0 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -714,7 +714,7 @@ def test_linux_page_cache_inodepages(image, volatility, python): image, volatility, python, - ...
4
2
0
[{"id": "G0", "claim": "The dump-mode runvol_plugin invocation added to test_linux_page_cache_inodepages binds rc, out and _err without ever using them, so the results of the second call are never checked.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "...
null
volatilityfoundation__volatility3__960
volatilityfoundation/volatility3
960
defect
8e56cb39d13c22575ba5133ffbc6b83344bed0ba
5749b3ef5283fc36d064a766e5228dc2eef5b402
Add threads pool tag scanning
## Pull Request: Adding support for pull-tag scanning of _EThread structures and windows thrdscan plugin This pull request aims to enhance the functionality of Volatility by adding support for pull-tag scanning of _EThread structures in Windows memory. Additionally, it introduces a new plugin called `windows.thrdsca...
diff --git a/test/test_volatility.py b/test/test_volatility.py index aaad615bcc..5e41899da9 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -189,6 +189,16 @@ def test_windows_svcscan(image, volatility, python): assert rc == 0 +def test_windows_thrdscan(image, volatility, python): + rc,...
9
8
5
[{"id": "G0", "claim": "The ThrdScan plugin, which exposes scan_threads for use by other plugins, should define a `_version` member so its interface can be versioned and dependent plugins break clearly against older versions.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id...
null
volcano-sh__agentcube__152
volcano-sh/agentcube
152
defect
9480a991c6a601f47b0d4d3379c8e5d4f50a9984
97aee5eecf74f474c292cfaccee921016fd9c957
Cleanup and hide internal error
Doing some cleanups And hide internal erros Fix https://github.com/volcano-sh/agentcube/issues/140
diff --git a/manifests/charts/base/templates/agentcube-router.yaml b/manifests/charts/base/templates/agentcube-router.yaml index 5c64ebc05..1fac6607f 100644 --- a/manifests/charts/base/templates/agentcube-router.yaml +++ b/manifests/charts/base/templates/agentcube-router.yaml @@ -53,14 +53,14 @@ spec: http...
15
8
1
[{"id": "G0", "claim": "The pkg/router/errors.go file duplicates error helpers identical to those in pkg/api/errors.go and should be removed, with callers updated to use the api package.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "buildURL si...
null
volcano-sh__agentcube__58
volcano-sh/agentcube
58
defect
5079c0ef4361819dcf8110fd9ea8a83e24bb0b53
e9c9e886ddc280b6e5fb0076912001a2677c3d25
Add golangci-lint CI check
Adds automated Go code linting via golangci-lint to enforce code quality standards on PRs. ## Changes - **`.golangci.yml`**: Configuration enabling 12 linters (errcheck, govet, staticcheck, gosec, revive, etc.) with exclusions for generated client-go code - **`.github/workflows/lint.yml`**: GitHub Actions workflow ru...
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 000000000..da94c9a03 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,34 @@ +name: Lint + +on: + pull_request: + branches: [ main ] + push: + branches: [ main ] + +permissions: + contents: read + # Optiona...
5
4
0
[{"id": "G0", "claim": "The new lint workflow should be limited to run only when Go-related files are modified (via path filters/ignore), not on every change.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The lint workflow should not run on push events;...
null
volcano-sh__volcano-global__48
volcano-sh/volcano-global
48
defect
2c8935bceca8069f87acfc557ca44e342bbc6669
e146a026290505bf3d6e9c713ec2eb8e584ca6e7
[DataDependency] Refactor Reconciler Tests to Eliminate Race Conditions and Flakiness
## Description: This PR addresses the instability issues (random timeouts and assertion failures) observed in CI environments for pkg/controller/datadependency/reconciler_test.go, specifically in complex scenarios like 9.2 and 11. ## The Problem: Previous tests used a "Hybrid Mode" that mixed background worker exe...
diff --git a/hack/run_stability_tests.sh b/hack/run_stability_tests.sh index c672bf0..a31049e 100755 --- a/hack/run_stability_tests.sh +++ b/hack/run_stability_tests.sh @@ -6,18 +6,33 @@ set -e # Configuration -TEST_RUNS=${1:-50} # Default to 50 runs, can be overridden by first argument -TEST_DIR=${2:-$(pwd)} # D...
4
4
1
[{"id": "G0", "claim": "The wait.PollImmediate blocks in Scenario 9.2 (lines 944, 952, 967, 982 of reconciler_test.go) reintroduce the potential flakiness this PR aims to remove; the reviewer asks to replace them with manual indexer updates (add created objects to indexers, Indexer.Update after client updates, fetch/as...
null
volcano-sh__volcano-global__6
volcano-sh/volcano-global
6
defect
9bea166dab57cd88886b0445f6856616b7d4692b
959cba505d232cdef128ee382e3a8c81525948e0
Change the traversal method of queue to round-robin
Referencing the Volcano scheduler, change the traversal method of the queue to the round-robin (RR) approach to enhance the fairness of queue processing.
diff --git a/pkg/dispatcher/dispatcher.go b/pkg/dispatcher/dispatcher.go index 95c8e7f..d7c618c 100644 --- a/pkg/dispatcher/dispatcher.go +++ b/pkg/dispatcher/dispatcher.go @@ -84,7 +84,8 @@ func (dispatcher *Dispatcher) Run(stopCh <-chan struct{}) { dispatcher.cache.Run(stopCh) go wait.Until(dispatcher.runOnce, ...
1
1
1
[{"id": "G0", "claim": "Re-enqueueing a popped queue that still has ResourceBindings into the same priority queue means a higher-priority queue is still processed next round and drains before lower-priority queues get a turn, so the traversal is not fair round-robin across queues of different priority.", "category": "d...
null
volcano-sh__volcano__2940
volcano-sh/volcano
2,940
defect
ed5c215d415d98845949d0fde6707cab29621989
46ab952a329eeff7ab784eebddfe4778b185e22a
fix: task-topology plugin cannot handle the tasks whose name contains `-`
fix #2939
diff --git a/pkg/scheduler/plugins/task-topology/topology.go b/pkg/scheduler/plugins/task-topology/topology.go index 5c05b66a51e..abff9e8ae30 100644 --- a/pkg/scheduler/plugins/task-topology/topology.go +++ b/pkg/scheduler/plugins/task-topology/topology.go @@ -247,10 +247,14 @@ func affinityCheck(job *api.JobInfo, affi...
3
2
0
[{"id": "G0", "claim": "Add comments documenting the task name format (the task's name comes from the pod name generated by the job controller) for the name-parsing code.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use strings.LastIndex directl...
null
volcano-sh__volcano__3230
volcano-sh/volcano
3,230
defect
2efe281384f2ea3009ae4286480ade11ea514fc7
7de6f9984e0b653b40c98466cb65d5193449dde2
Fix preempt: when skipping continue on preempting, the overused judgement didn't consider the current task's resource
Fix #3161 (Preemption fails when queue resources are insufficient and node resources are sufficient )
diff --git a/pkg/scheduler/actions/allocate/allocate_test.go b/pkg/scheduler/actions/allocate/allocate_test.go index 0e154967f70..cfab5ed80cd 100644 --- a/pkg/scheduler/actions/allocate/allocate_test.go +++ b/pkg/scheduler/actions/allocate/allocate_test.go @@ -80,18 +80,7 @@ func TestAllocate(t *testing.T) { { n...
3
2
0
[{"id": "G0", "claim": "The import alias in pkg/scheduler/util/test_utils.go should be schedulingv1beta1 instead of schedulingv1.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In hwdef's tests the patch did not work: higher priority jobs still ...
null
volcano-sh__volcano__3389
volcano-sh/volcano
3,389
defect
f198005f3614abd6b2637906ba0f2d92ceb6abe2
8006e2cd41198e3bbcebbab44060c44030d79408
sort victims in reclaim action
Fixes #2807 sort victim job when reclaim tasks in reclaim action.
diff --git a/pkg/scheduler/actions/reclaim/reclaim.go b/pkg/scheduler/actions/reclaim/reclaim.go index 430ec99a988..80f4e817503 100644 --- a/pkg/scheduler/actions/reclaim/reclaim.go +++ b/pkg/scheduler/actions/reclaim/reclaim.go @@ -174,11 +174,21 @@ func (ra *Action) Execute(ssn *framework.Session) { continue ...
1
1
0
[{"id": "G0", "claim": "Abstracting the inline victims priority-queue construction in reclaim.go into a function would be better.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
volcano-sh__volcano__3432
volcano-sh/volcano
3,432
defect
63bf2715100b1b62405e460df828df09eec9f4fe
949c15fce05ca48dc4c465175aaa46162065d76a
filter out those nodes which are UnschedulableAndUnresolvable when preempting
Fixes #3071 Part of enhancement for preemption action #3074 Those nodes with status UnschedulableAndUnresolvable is not helpful for preempting. So we can use cached predicating result to reduce the nodes numbers when scan for a victim pod. we can also use the new Api `NewFitStatus` to return an error in predicati...
diff --git a/pkg/scheduler/actions/allocate/allocate.go b/pkg/scheduler/actions/allocate/allocate.go index 888c10dc9a9..171be7cfee1 100644 --- a/pkg/scheduler/actions/allocate/allocate.go +++ b/pkg/scheduler/actions/allocate/allocate.go @@ -293,7 +293,7 @@ func (alloc *Action) predicate(task *api.TaskInfo, node *api.No...
2
2
1
[{"id": "G0", "claim": "The new constructor's name contains \"status\" but returns a *FitError, which is weird and not descriptive, so it should be renamed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The resource-fit path in allocate's predi...
null
volcano-sh__volcano__3497
volcano-sh/volcano
3,497
defect
70a483b66653ee402babdc733505a92fff890f5f
7735b0bb1ed235d93645fdf4b53facb399f09d08
optimizate controllers with one sharedInformerFactory
fix #3484
diff --git a/cmd/controller-manager/app/server.go b/cmd/controller-manager/app/server.go index 0b8b0346c71..11004c10fce 100644 --- a/cmd/controller-manager/app/server.go +++ b/cmd/controller-manager/app/server.go @@ -35,6 +35,7 @@ import ( "volcano.sh/apis/pkg/apis/helpers" vcclientset "volcano.sh/apis/pkg/client...
2
2
1
[{"id": "G0", "claim": "In the jobtemplate and jobflow controllers' Initialize, use a local `factory := opt.VCSharedInformerFactory` instead of dereferencing opt.VCSharedInformerFactory inline, to keep consistent with the other controllers.", "category": "maintainability", "verdict": "supported", "priority": "P2", "sco...
null
volcano-sh__volcano__3522
volcano-sh/volcano
3,522
defect
2e673bc13708e19a1ef39b92e30f9c1f7a59c2ed
9af6869242e518f59214d7ea0cb01fd8bc1ecfd3
resource compare support only consider the requested resource item
fixes #3520 some times, we need to only compare the required dimensions in the resource. eg: when check `Enqueueable`, `Allocatable` or `Preemptive`, even overused. Will use this function to replcae comparision in `AddJobEnqueueableFn`, `AddPreemptiveFn` and `AddAllocatableFn` - [x] AddJobEnqueueableFn - [ ] ...
diff --git a/pkg/scheduler/api/resource_info.go b/pkg/scheduler/api/resource_info.go index 22611ac39c5..8f79fb41989 100644 --- a/pkg/scheduler/api/resource_info.go +++ b/pkg/scheduler/api/resource_info.go @@ -429,6 +429,36 @@ func (r *Resource) LessEqual(rr *Resource, defaultValue DimensionDefaultValue) b return true...
7
2
1
[{"id": "G0", "claim": "LessEqualWithDimension should check that rr is not nil before dereferencing it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Monokaix asks whether rQuant or rrQuant, the scalar values looked up by name in the loop, can be n...
null
volcano-sh__volcano__3711
volcano-sh/volcano
3,711
defect
c8eb4537ed4254ac6702b95cdc954680989c8fbc
d223ae2c314b04b496f101e305ca4e9d6316b740
fix: not remove podgroup uid will cause topology annotation to be useless
# Background fix #3469. In topology plugin `affinityCheck`, `jobNamePrefix` is `podGroup.Name + '-'`, the podgroup's name created by vc-controller contains uid, but created pod is `{vcjob.Name}+{pod.Name}+{index}`, vcjob's name does not contain uid, so the topology annotation now is useless. https://github.com/vo...
diff --git a/pkg/scheduler/plugins/task-topology/topology.go b/pkg/scheduler/plugins/task-topology/topology.go index 268deaea84f..735e44cbdd4 100644 --- a/pkg/scheduler/plugins/task-topology/topology.go +++ b/pkg/scheduler/plugins/task-topology/topology.go @@ -28,6 +28,11 @@ import ( "volcano.sh/volcano/pkg/scheduler...
3
3
3
[{"id": "G0", "claim": "The pull request should add some unit tests for its change.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should also consider the scene where only the scheduler is used without vc-controller, e.g. when the podg...
null
volcano-sh__volcano__3913
volcano-sh/volcano
3,913
defect
b0c1a565bec4543366f71a125ad04e81bc644bb8
7ff82288e230d0c771bf42b08406d9882f85321e
fix: hierarchical queue webhook validation use listing podgroups instead
fix #3911 ### validation Steps: 1. Create a queue `parent-queue` 2. Create a running job in `parent-queue` 3. Create a queue `child-queue` as the child of `parent-queue` 4. Check whether the create request in step-3 will be rejected by the webhook The screenshot shows that create a child queue under parent q...
diff --git a/pkg/webhooks/admission/queues/validate/validate_queue.go b/pkg/webhooks/admission/queues/validate/validate_queue.go index b315f7baaef..616a0197761 100644 --- a/pkg/webhooks/admission/queues/validate/validate_queue.go +++ b/pkg/webhooks/admission/queues/validate/validate_queue.go @@ -17,6 +17,7 @@ limitatio...
1
1
1
[{"id": "G0", "claim": "Listing every podgroup from the apiserver on each hierarchical-queue validation puts pressure on the apiserver; the check could use a cheaper source such as an informer list or queue.status.allocated instead.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introd...
null
volcano-sh__volcano__3937
volcano-sh/volcano
3,937
defect
5b817b1cdf3a5638ba38e934b44af051c9fb419e
5f58a3340ce241435163f062897e5531356d9362
feat: support scalar resources metric
Add metric ```text queue_allocated_scalar_resources{queue_name="<queue>", resource="<resource>"} queue_request_scalar_resources{queue_name="<queue>", resource="<resource>"} queue_deserved_scalar_resources{queue_name="<queue>", resource="<resource>"} ``` /close #3931 Need discuss: Shall we merge `cpu`, `mem...
diff --git a/docs/design/metrics.md b/docs/design/metrics.md index d2468c194e0..6235892cad5 100644 --- a/docs/design/metrics.md +++ b/docs/design/metrics.md @@ -27,32 +27,35 @@ This metrics track execution of plugins and actions of volcano loop. ### volcano operations This metrics describe internal state of volcano. ...
5
5
5
[{"id": "G0", "claim": "The queue_capacity_* metrics added by this PR export attr.realCapability, while yccharles wants them to report the queue's capacity (not realCapability), and suggests exporting realCapability separately as queue_real_capability_xxx.", "category": "design", "verdict": "supported", "priority": "P1...
null
volcano-sh__volcano__3946
volcano-sh/volcano
3,946
defect
0063f07e35d894b9b8fbdfbcaba65b520582affe
590d955d9268809b50db2a51da90a372c5639d67
in capacity plugin attr.deserved no need MinDimensionResource with attr.request
#### What type of PR is this? /kind cleanup /area scheduling #### What this PR does / why we need it: In capacity plugin attr.deserved no need MinDimensionResource with attr.request. In proportion plugin, attr.deserved is computed dynamically using min-max faire share algorithm, so attr.deserved needs `Min...
diff --git a/pkg/scheduler/plugins/capacity/capacity.go b/pkg/scheduler/plugins/capacity/capacity.go index 24466a272a5..50372ff3829 100644 --- a/pkg/scheduler/plugins/capacity/capacity.go +++ b/pkg/scheduler/plugins/capacity/capacity.go @@ -359,8 +359,6 @@ func (cp *capacityPlugin) buildQueueAttrs(ssn *framework.Sessio...
4
1
1
[{"id": "G0", "claim": "Changing `attr.deserved` from `cp.totalResource` to `totalDeserved` for the root queue may be unnecessary - the guarantee-check failure it avoids is expected behaviour - so it should not be fixed directly in this PR, and no explanation for the change was given.", "category": "correctness", "verd...
null
volcano-sh__volcano__4117
volcano-sh/volcano
4,117
defect
2a509607a362f40a626a686d894acea10ced588e
c323cfe7808808f94eb573ee54e09023190af7e2
improve fail messages for pod scheduling in gang unschedulable scenario
#### What type of PR is this? #### What this PR does / why we need it: improve messages for pod scheduling in gang unschedulable scenario #### Which issue(s) this PR fixes: <!-- *Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. Notice that d...
diff --git a/docs/design/scheduling-reason.md b/docs/design/scheduling-reason.md index c9c0a23dd83..bba7ac27c8d 100644 --- a/docs/design/scheduling-reason.md +++ b/docs/design/scheduling-reason.md @@ -2,6 +2,7 @@ [@eggiter](https://github.com/eggiter); Aug 13, 2021 [@tgaddair](https://github.com/tgaddair); Dec 12, ...
3
2
2
[{"id": "G0", "claim": "The design doc references an `Undetermined` scheduling reason that does not exist: the example tables' Pending breakdown should be rewritten without it and the pre-existing `Undetermined` explanation paragraph should be deleted.", "category": "documentation", "verdict": "supported", "priority": ...
null
volcano-sh__volcano__4181
volcano-sh/volcano
4,181
defect
91c92e9d619538c4470a1fa2a46a734ad39c961a
f2a815dcd27824fbbdbc95818bea9993f616797e
feat/vcctl: add parent column to queue list cmd
#### What type of PR is this? #### What this PR does / why we need it: This PR adds a Parent column to the `queue list` command output to show the hierarchical relationship between queues. #### Which issue(s) this PR fixes: <!-- *Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue nu...
diff --git a/pkg/cli/queue/list.go b/pkg/cli/queue/list.go index 1814c9e7ede..c228d878dff 100644 --- a/pkg/cli/queue/list.go +++ b/pkg/cli/queue/list.go @@ -59,6 +59,9 @@ const ( // State is state of queue State string = "State" + + // Parent of the queue + Parent string = "Parent" ) var listQueueFlags = &lis...
2
2
2
[{"id": "G0", "claim": "Please add unit tests for the change that adds the Parent column to the queue list output.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The queue get command also needs the Parent column added to its output.", "category": "corr...
null
volcano-sh__volcano__4298
volcano-sh/volcano
4,298
defect
cd7774c1743d082502be383619b552b637dc6e3c
961ee64953b930b6f07b37c1567b8fbac85cbc8a
Vcctl supports merging multiple kubeconfig to support context switching among multiple k8s clusters.
Vcctl supports merging multiple kubeconfig to support context switching among multiple k8s clusters. #### What type of PR is this? /kind feature #### What this PR does / why we need it: Use the method provided by [merged_client_builder.go](https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/cli...
diff --git a/pkg/cli/queue/common.go b/pkg/cli/queue/common.go deleted file mode 100644 index 0e32faf34f9..00000000000 --- a/pkg/cli/queue/common.go +++ /dev/null @@ -1,45 +0,0 @@ -/* -Copyright 2019 The Volcano Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file excep...
2
1
0
[{"id": "G0", "claim": "The kubeconfig handling should cover the other resources too (e.g. vcjob and podgroup), whose util-package method duplicates the queue package's buildConfig.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The --schedule...
null
volcano-sh__volcano__4307
volcano-sh/volcano
4,307
defect
3f864478a7483f310a969ef8a5f6ca1090ed26ac
28703a2481194e85f115bfed31a64f2609ed712f
Prevent pod scheduling when reclaim
#### What type of PR is this? /kind feature #### What this PR does / why we need it: see https://github.com/volcano-sh/volcano/issues/4189 Supplementary implementation of https://github.com/volcano-sh/volcano/pull/4263 and https://github.com/volcano-sh/volcano/pull/4274 In allocate, preempt, reclaim actions, we al...
diff --git a/pkg/scheduler/actions/preempt/preempt.go b/pkg/scheduler/actions/preempt/preempt.go index b547f491107..46020580f1b 100644 --- a/pkg/scheduler/actions/preempt/preempt.go +++ b/pkg/scheduler/actions/preempt/preempt.go @@ -18,7 +18,6 @@ package preempt import ( "fmt" - v1 "k8s.io/api/core/v1" "k8s.io...
5
2
0
[{"id": "G0", "claim": "In proportion.go's queueAllocatable, the new log message should use the single word 'cannot' instead of 'can not'.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In capacity.go's reclaimable callback, the new log message sh...
null
volcano-sh__volcano__4354
volcano-sh/volcano
4,354
defect
3aa260cf38ed112a1764473a316e2f280ae4571c
a58b90daecf30bf671409469f37b4d249d65ddcc
Set root capability only when user not set it
Fixes #4350 Result: UT- when I use old code, I got: ![image](https://github.com/user-attachments/assets/7e4a4d12-2dae-4b47-ba52-cdcd425ce4de) UT- when I use new code, I got: ![image](https://github.com/user-attachments/assets/68c29b9e-a342-4f38-9c42-14c616a4bf17)
diff --git a/pkg/scheduler/plugins/capacity/capacity.go b/pkg/scheduler/plugins/capacity/capacity.go index 8bb32f1d4cd..3b471ad06bf 100644 --- a/pkg/scheduler/plugins/capacity/capacity.go +++ b/pkg/scheduler/plugins/capacity/capacity.go @@ -598,7 +598,9 @@ func (cp *capacityPlugin) buildHierarchicalQueueAttrs(ssn *fram...
5
4
2
[{"id": "G0", "claim": "The `rootQueueAttr.capability == nil ||` part of the condition is unnecessary — `rootQueueAttr.capability.IsEmpty()` alone is enough because the root queue's capability is initialized in `newQueueAttr` and will not be nil.", "category": "maintainability", "verdict": "supported", "priority": "P2"...
null
volcano-sh__volcano__4428
volcano-sh/volcano
4,428
defect
5ade01dc823aa6242b2644d1a0cd2314bb2d77e3
861858e8854ed2931c397f5cda92ef2d137c1124
Fix panic while `vcctl queue list` after podgroups' queue was deleted
#### What type of PR is this? /kind bug #### What this PR does / why we need it: When using `vcctl queue list` for querying queues, if a podgroup's queue does not exist, ignore it. To prevent panic and display the result correctly. #### Which issue(s) this PR fixes: <!-- *Automatically closes linked issue whe...
diff --git a/pkg/cli/queue/list.go b/pkg/cli/queue/list.go index a8af4c9c52f..f658aa45b2f 100644 --- a/pkg/cli/queue/list.go +++ b/pkg/cli/queue/list.go @@ -104,6 +104,10 @@ func ListQueue(ctx context.Context) error { } for _, pg := range pgList.Items { + _, ok := queueStats[pg.Spec.Queue] + if !ok { + contin...
1
1
1
[{"id": "G0", "claim": "A unit test should be added for the ListQueue residual-podgroup guard added in pkg/cli/queue/list.go.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
volcano-sh__volcano__4455
volcano-sh/volcano
4,455
defect
e1b63e19f6d1677dcab13d0fec0ed70ab5a36b7d
318458a64aa1cf4277c87b703de5cb880ab40401
Add hierarchical queue support for nodegroup plugin
#### What type of PR is this? /kind feature #### What this PR does / why we need it: Inspired by https://github.com/volcano-sh/volcano/issues/4426, in the scenario of hierarchical queues, it is hoped that the following capabilities can be supported: The parent queue is associated with the nodegroup, and the jobs ...
diff --git a/pkg/scheduler/framework/session.go b/pkg/scheduler/framework/session.go index 71205fa7d42..3edd4419dde 100644 --- a/pkg/scheduler/framework/session.go +++ b/pkg/scheduler/framework/session.go @@ -781,6 +781,19 @@ func (ssn *Session) SharedDRAManager() k8sframework.SharedDRAManager { return ssn.cache.Shar...
4
1
1
[{"id": "G0", "claim": "Including queueGroupAffinityPreferred and queueGroupAntiAffinityPreferred in the predicate function's logic is problematic because predicates should evaluate only hard requirements, and it may lead to pods being scheduled on nodes that violate required affinity constraints.", "category": "correc...
null