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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
volcano-sh__volcano__4482 | volcano-sh/volcano | 4,482 | defect | 52ace45f823d9ab2e09846379c3eada2a79a7007 | 6aeb6c166d9d493b5615b4f3c00c441024d51bca | Support configuring resources managed by the extender | #### What type of PR is this?
/kind feature
#### What this PR does / why we need it:
The current configuration is such that as long as an `extender` is configured, e.g., `extender.predicateVerb: predicate`, all pods will go through the `extender`, even if they don't contain resources managed by the `extender`. This ... | diff --git a/pkg/scheduler/plugins/extender/extender.go b/pkg/scheduler/plugins/extender/extender.go
index f98ff8aac7d..e18279e482d 100644
--- a/pkg/scheduler/plugins/extender/extender.go
+++ b/pkg/scheduler/plugins/extender/extender.go
@@ -25,6 +25,8 @@ import (
"strings"
"time"
+ corev1 "k8s.io/api/core/v1"
+ "... | 6 | 4 | 2 | [{"id": "G0", "claim": "The new IsInterested and hasManagedResources functions carry critical extender logic but are not covered by unit tests, which makes their correctness hard to verify and leaves them open to future regressions.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced... | null |
volcano-sh__volcano__4512 | volcano-sh/volcano | 4,512 | defect | 90a6735d7e533cfb1dee9f6626128163053dd657 | 5d1e397ee9426d38eef486cfd967fa9787a23251 | feat: support wildcard syntax in resource-strategy-fit plugin | /kind feature
## What this PR does / why we need it:
This PR implements wildcard syntax support for the resource-strategy-fit plugin to address scalability issues in GPU resource configuration.
**Problem**: Current configuration requires specifying each GPU type individually (e.g., `cloudml.gpu/r49-24g`, `clou... | diff --git a/pkg/scheduler/plugins/resource-strategy-fit/resource_strategy_fit.go b/pkg/scheduler/plugins/resource-strategy-fit/resource_strategy_fit.go
index e387b6d49c5..ee380b4c645 100644
--- a/pkg/scheduler/plugins/resource-strategy-fit/resource_strategy_fit.go
+++ b/pkg/scheduler/plugins/resource-strategy-fit/reso... | 6 | 5 | 0 | [{"id": "G0", "claim": "The final check `lastIndex == len(pattern)-1` in isValidWildcardPattern is redundant given the HasSuffix and single-asterisk checks and should be removed to simplify the function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla... | null |
volcano-sh__volcano__4517 | volcano-sh/volcano | 4,517 | defect | 5682afb4efc0ea5cf139919e565cb56df5928e6a | ba5d279036871264065dfca420c9e341bef5dd8c | fix: update podGroup when statefulSet update | #### What type of PR is this?
#### What this PR does / why we need it:
#### Which issue(s) this PR fixes:
Fixes #4516
#### Special notes for your reviewer:
#### Does this PR introduce a user-facing change?
| diff --git a/pkg/controllers/podgroup/pg_controller_handler.go b/pkg/controllers/podgroup/pg_controller_handler.go
index 723b706ac99..5bfbdf55fa8 100644
--- a/pkg/controllers/podgroup/pg_controller_handler.go
+++ b/pkg/controllers/podgroup/pg_controller_handler.go
@@ -19,6 +19,7 @@ package podgroup
import (
"context... | 8 | 7 | 2 | [{"id": "G0", "claim": "The PodGroup construction logic is heavily duplicated - between createOrUpdateNormalPodPG and createNormalPodPGIfNotExist, and between the creation and update paths - and should be centralized in a helper such as buildPodGroupFromPod.", "category": "maintainability", "verdict": "supported", "pri... | null |
volcano-sh__volcano__4569 | volcano-sh/volcano | 4,569 | defect | bc0df8e6e41fa2ade130050fd3b1aee0b31f960d | 983094fac12da1e1c6b02e43601247d5b5fd6e3b | Fix panic in job controller's killPods action | #### What type of PR is this?
/kind bug
#### What this PR does / why we need it:
In the [killPods](url) function, directly accessing pod from jobInfo.Pods[target.TaskName][target.PodName]
could cause a nil pointer dereference error when target.Type is TargetTypePod. This is because
if target.TaskName does not ... | diff --git a/pkg/controllers/job/job_controller_actions.go b/pkg/controllers/job/job_controller_actions.go
index 8bad5a2769c..1592072d38d 100644
--- a/pkg/controllers/job/job_controller_actions.go
+++ b/pkg/controllers/job/job_controller_actions.go
@@ -100,9 +100,15 @@ func (cc *jobcontroller) killPods(jobInfo *apis.Jo... | 2 | 1 | 1 | [{"id": "G0", "claim": "The if-else if on target.Type works, but a switch statement on target.Type would be more idiomatic Go and more readable/extensible.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The reviewer asked the author to add a t... | null |
volcano-sh__volcano__4602 | volcano-sh/volcano | 4,602 | defect | 9a546ee3206966f26e753a2de11a85b32fa9b915 | 1c1adbfa44e7ffeeec0f8ff4d12cb62fb240746c | add nodegroup nonstrict to fit 0nodes queue | #### What type of PR is this?
#### What this PR does / why we need it:
#### 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 do not add `Fixes` if the issue is associated with multiple PRs.
-... | diff --git a/pkg/scheduler/plugins/nodegroup/nodegroup.go b/pkg/scheduler/plugins/nodegroup/nodegroup.go
index a89ef26f27b..569c6439a6a 100644
--- a/pkg/scheduler/plugins/nodegroup/nodegroup.go
+++ b/pkg/scheduler/plugins/nodegroup/nodegroup.go
@@ -40,11 +40,14 @@ const (
type nodeGroupPlugin struct {
// Arguments g... | 8 | 5 | 1 | [{"id": "G0", "claim": "The pre-existing handling of queueGroupAntiAffinityPreferred in predicate sets flag = true and can override a required anti-affinity constraint, so a group in both lists can make the predicate incorrectly pass; the preferred block should be removed from predicate.", "category": "correctness", "v... | null |
volcano-sh__volcano__4641 | volcano-sh/volcano | 4,641 | defect | fe47b9d447b4e06cd21c1f483fafd7b9a951efab | 1c722ed9ae3e2b4daaf3d5f58d4e4fb2f19a0251 | feat(resource-strategy-fit): add per-Pod scoring strategy | #### What type of PR is this?
/kind feature
#### What this PR does / why we need it:
Currently, the `resource-strategy-fit` plugin only supports a **global `scoring-type` configuration**, which is insufficient for heterogeneous workloads.
This PR adds support for **per-Pod level scoring configuration**, so ... | diff --git a/pkg/scheduler/plugins/resource-strategy-fit/resource_strategy_fit.go b/pkg/scheduler/plugins/resource-strategy-fit/resource_strategy_fit.go
index 2b560e7a7a4..7c87db2092b 100644
--- a/pkg/scheduler/plugins/resource-strategy-fit/resource_strategy_fit.go
+++ b/pkg/scheduler/plugins/resource-strategy-fit/reso... | 2 | 1 | 1 | [{"id": "G0", "claim": "The plugin should explicitly handle a missing or empty resource-strategy-weight annotation with a specific error message and include the pod's namespace and name in the unmarshal error log.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2"... | null |
volcano-sh__volcano__4652 | volcano-sh/volcano | 4,652 | defect | 4fd4793dc274d30e3ca3532da1f4cf7989846919 | 9107926643e073c4a99f74a92f5dd5f7681cf696 | Add nodegroup nonstrict mode | #### What type of PR is this?
/kind feature
#### What this PR does / why we need it:
Inherit from #4602
#### 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 do not add `Fixes` if the issue... | diff --git a/docs/user-guide/how_to_use_nodegroup_plugin.md b/docs/user-guide/how_to_use_nodegroup_plugin.md
index e93afd1f9dc..e7b55df1b71 100644
--- a/docs/user-guide/how_to_use_nodegroup_plugin.md
+++ b/docs/user-guide/how_to_use_nodegroup_plugin.md
@@ -84,6 +84,29 @@ label `nodeGroupAffinity.requiredDuringSchedulin... | 2 | 2 | 1 | [{"id": "G0", "claim": "The unsetAffinity check ignores queueGroupAntiAffinityRequired and queueGroupAntiAffinityPreferred, so a queue with only anti-affinity rules is treated as having no affinity settings, which could lead to incorrect scheduling.", "category": "correctness", "verdict": "supported", "priority": "P1",... | null |
volcano-sh__volcano__4659 | volcano-sh/volcano | 4,659 | defect | 9b7472d1fe9ddfec0b06f3d32b26db0e3e2ad297 | 45aaaeae210d0c1887c9e1c23688c0bbe37d1ef2 | fix: capacity plugin's preemptivefn logic | #### What type of PR is this?
/kind bug
#### What this PR does / why we need it:
Fixing the capacity plugin's AddPreemptiveFn logic.
#### 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 do ... | diff --git a/pkg/scheduler/api/resource_info.go b/pkg/scheduler/api/resource_info.go
index 1a58d65cb67..61fdd5afe33 100644
--- a/pkg/scheduler/api/resource_info.go
+++ b/pkg/scheduler/api/resource_info.go
@@ -435,7 +435,7 @@ func (r *Resource) LessEqual(rr *Resource, defaultValue DimensionDefaultValue) b
}
// LessE... | 4 | 3 | 2 | [{"id": "G0", "claim": "The scalar-resource branch indexes r.ScalarResources[name] and rr.ScalarResources[name] directly, which will panic if either map is nil, and compares the float64 values with <= instead of the tolerance-based lessEqualFunc used for CPU and Memory; the comment asks to use r.Get(name)/rr.Get(name) ... | null |
volcano-sh__volcano__4661 | volcano-sh/volcano | 4,661 | defect | 9b7472d1fe9ddfec0b06f3d32b26db0e3e2ad297 | 562eff3432c74eef57824b244cf704f9eacefd4e | Feature: Option to disable default config fallback | #### What type of PR is this?
- new opt in feature
- reverts #3994
#### What this PR does / why we need it:
Adds a way for the users to exit early instead of running Volcano in a `"bad"` state.
It can be used for scenarios where the users have custom plugins which MUST run and default scheduler config is not ad... | diff --git a/cmd/scheduler/app/options/options.go b/cmd/scheduler/app/options/options.go
index 064b83e4fea..87200802240 100644
--- a/cmd/scheduler/app/options/options.go
+++ b/cmd/scheduler/app/options/options.go
@@ -93,6 +93,10 @@ type ServerOption struct {
// not be counted in pod pvc resource request and node.Allo... | 5 | 5 | 2 | [{"id": "G0", "claim": "The log message \"Successfully loaded Scheduler conf\" is misleading when the function is about to panic on an invalid configuration; make it a neutral state report instead.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
volcano-sh__volcano__4775 | volcano-sh/volcano | 4,775 | defect | 830c28e8d5f6467d3fa0aa7f4df768583a2608b8 | c17ece1eaf5db610afccd63797f5a5bea54d5367 | fix: init ascend device if `AscendHAMiVNPUEnable` is disabled | Fixes #4773 | diff --git a/pkg/scheduler/api/node_info.go b/pkg/scheduler/api/node_info.go
index 71bfb6a496e..1396a25b2c9 100644
--- a/pkg/scheduler/api/node_info.go
+++ b/pkg/scheduler/api/node_info.go
@@ -352,9 +352,11 @@ func (ni *NodeInfo) setNodeOthersResource(node *v1.Node) {
ni.Others[vgpu.DeviceName] = vgpu.NewGPUDevices(n... | 4 | 3 | 1 | [{"id": "G0", "claim": "Rename the local variable `device_name` to `deviceName` to follow Go's camelCase naming convention.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Provide enable switches for the gpushare/vgpu/vnpu devices too, because th... | null |
volcano-sh__volcano__4779 | volcano-sh/volcano | 4,779 | defect | 2e0b46243781122897a83ed1ec1c6d156410a03e | 1b3237f14b9c705c84048ebde3e1e817ccb71bda | Fix: vNPU HAMi mode may not work with multi-type NPUs cluster | #### What type of PR is this?
BugFix
#### What this PR does / why we need it:
vNPU HAMi mode may not work with multi-type NPUs cluster
#### 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/pkg/scheduler/api/node_info.go b/pkg/scheduler/api/node_info.go
index 71bfb6a496e..bd6c9b9cf3e 100644
--- a/pkg/scheduler/api/node_info.go
+++ b/pkg/scheduler/api/node_info.go
@@ -356,12 +356,14 @@ func (ni *NodeInfo) setNodeOthersResource(node *v1.Node) {
ni.Others[device_name] = devices
ascend_igno... | 5 | 4 | 0 | [{"id": "G0", "claim": "Changing Set to AppendList makes the global IgnoredDevicesList grow indefinitely and may keep stale entries when a node is removed or its device configuration changes, because there is no removal logic, which could lead to incorrect scheduling behavior over time; it should be cleared at the begi... | null |
volcano-sh__volcano__4792 | volcano-sh/volcano | 4,792 | defect | 88a89e407eb2b105843c3e92b012defbc0267514 | 380d393baea11629b419b558bc79f58e222b83d3 | fix: replicaset KubeGroupNameAnnotation handling | #### What type of PR is this?
/kind bug
#### What this PR does / why we need it:
Fixing a bug in the podgroup controller, where the user provided the podgroup in an annotation but we created the podgroup anyway disregarding it.
I added a unit test that covers the test case both for statefulsets and replicasets ... | diff --git a/pkg/controllers/podgroup/pg_controller.go b/pkg/controllers/podgroup/pg_controller.go
index 5c01e12e18d..ada24662c0f 100644
--- a/pkg/controllers/podgroup/pg_controller.go
+++ b/pkg/controllers/podgroup/pg_controller.go
@@ -132,7 +132,7 @@ func (pg *pgcontroller) Run(stopCh <-chan struct{}) {
}
}
- ... | 2 | 1 | 0 | [{"id": "G0", "claim": "Using `for range int(pg.workers)`, a Go 1.22+ feature, could break the build for developers on older Go versions; prefer the traditional `for i := 0; i < int(pg.workers); i++` loop for backward compatibility.", "category": "compatibility", "verdict": "opposed", "priority": "P3", "scope": "introd... | null |
volcano-sh__volcano__4815 | volcano-sh/volcano | 4,815 | defect | aa34be305d878db63f59d3ba849f0dcae9c6dda6 | 030f40ecf7a9eea31d0efd5cb6c6a9b0869b504f | fix restart task/partition when pod evicted | #### What type of PR is this?
/kind bug
#### What this PR does / why we need it:
When a vcjob is configured with the policy `PodEvicted` -> `RestartTask`/`RestartPartition`, evicting a pod will trigger `RestartTask`/`RestartPartition`, which deletes all pods in that task/partition. The pods deleted this way then ret... | diff --git a/pkg/controllers/apis/job_info.go b/pkg/controllers/apis/job_info.go
index 7962a964073..ebc5f383b05 100644
--- a/pkg/controllers/apis/job_info.go
+++ b/pkg/controllers/apis/job_info.go
@@ -242,6 +242,25 @@ func (ji *JobInfo) DeletePod(pod *v1.Pod) error {
return nil
}
+// HasPod checks whether the give... | 2 | 1 | 1 | [{"id": "G0", "claim": "If patching a pod to mark it out-of-sync fails, the error is recorded but the pod is left in podsToKill and is still deleted, which can emit a PodEvictedEvent and re-trigger the restart loop this PR aims to fix; on patch failure the pod should be removed from podsToKill so the action is retried.... | null |
volcano-sh__volcano__4829 | volcano-sh/volcano | 4,829 | defect | eab01d703f4272bf86f5439424ed5a96ca3eae90 | b7bd6fe06fafafb71bd6e96931700f61c682a12b | job controller should keep terminating pod in job | #### What type of PR is this?
/kind bug
#### What this PR does / why we need it:
Currently, when a Job is aborted and enters the `Aborting` phase, its Pods start to be deleted.
On Pod update, as soon as a Pod has a non-nil `DeletionTimestamp` (i.e. it becomes `Terminating`), the controller removes that Pod ... | diff --git a/pkg/controllers/job/job_controller_handler.go b/pkg/controllers/job/job_controller_handler.go
index a3c8174f14e..bec4e9e7290 100644
--- a/pkg/controllers/job/job_controller_handler.go
+++ b/pkg/controllers/job/job_controller_handler.go
@@ -182,11 +182,6 @@ func (cc *jobcontroller) addPod(obj interface{}) {... | 2 | 2 | 2 | [{"id": "G0", "claim": "Add a test case to TestAddPodFunc covering a pod added with pod.DeletionTimestamp != nil, verifying it is correctly added to the job cache.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a test case to TestUpdatePodFunc cover... | null |
volcano-sh__volcano__4868 | volcano-sh/volcano | 4,868 | defect | c4251d7e699289f261c5827abe00d704c7bae297 | f6d91d122950e9e015044714120679603046d12c | Force minAvailable to match minPartitions*partitionSize to avoid semantic inconsistencies. | #### What this PR does / why we need it:
Force minAvailable to match minPartitions*partitionSize to avoid semantic inconsistencies.
#### Which issue(s) this PR fixes:
Fixes #4867
#### Special notes for your reviewer:
The following changes:
* Allow setting `minAvailable`, but if set, ensure that `minAva... | diff --git a/pkg/controllers/job/job_controller_actions.go b/pkg/controllers/job/job_controller_actions.go
index 4259e56c061..55c68ab1cf1 100644
--- a/pkg/controllers/job/job_controller_actions.go
+++ b/pkg/controllers/job/job_controller_actions.go
@@ -1106,5 +1106,9 @@ func getSubGroupPolicy(taskSpec batch.TaskSpec) s... | 6 | 5 | 1 | [{"id": "G0", "claim": "getSubGroupPolicy dereferences taskSpec.PartitionPolicy without a nil check (including the newly added block), which would panic if it were nil; add a nil check at the beginning of the function to make it robust on its own.", "category": "correctness", "verdict": "supported", "priority": "P2", "... | null |
volcano-sh__volcano__4913 | volcano-sh/volcano | 4,913 | defect | 8e6a98e9f247cda7dc46f88e0f282dc3e6cfd0dc | f1a7df96c1fba7d4a07631332e7f3c4ebd8c1488 | [Colocation] Convert containerID to cgroup dir name when setting systemd as driver | #### What type of PR is this?
/kind bug
/area colocation
#### What this PR does / why we need it:
In https://github.com/volcano-sh/volcano/pull/4632, we already support cgroup v2 mode and systemd as the option driver(auto detect), but currently when I try to deploy volcano agent on the kind cluster and test coloc... | diff --git a/pkg/agent/events/handlers/resources/resources.go b/pkg/agent/events/handlers/resources/resources.go
index 4da17c5ba25..0a0f78f7d07 100644
--- a/pkg/agent/events/handlers/resources/resources.go
+++ b/pkg/agent/events/handlers/resources/resources.go
@@ -80,11 +80,20 @@ func (r *ResourcesHandle) Handle(event ... | 6 | 5 | 2 | [{"id": "G0", "claim": "The test case 'one container without cpu request, one container without memory limit' still expects a pod-level cpu.shares entry although the new logic skips pod-level shares when any container declares no CPU request, so the test no longer matches the code and should be updated.", "category": "... | null |
volcano-sh__volcano__4917 | volcano-sh/volcano | 4,917 | defect | 9d5e802904b2ccd4bc48a3dd206f6b672443a937 | 2f35d08f81cb5c24fb9f35d94b7429df9288d7be | [Colocation Enhancement] To Supports generic OS, disables certain OS-specific features by default | #### What type of PR is this?
/kind feature
/area colocation
#### What this PR does / why we need it:
Currently, for generic OS like ubuntu and centos, they don't support cpu.qos_level and memory.qos_level, and network qos, those capabilities are bound with openeuler, to enable colocation on generic os, we need t... | diff --git a/cmd/agent/app/options/options.go b/cmd/agent/app/options/options.go
index b663cd71481..9af54a4b544 100644
--- a/cmd/agent/app/options/options.go
+++ b/cmd/agent/app/options/options.go
@@ -22,6 +22,7 @@ import (
"github.com/spf13/cobra"
+ "volcano.sh/volcano/pkg/agent/features"
"volcano.sh/volcano/p... | 5 | 3 | 0 | [{"id": "G0", "claim": "formatJSON should use json.Indent instead of unmarshaling into an interface{} and re-marshaling with json.MarshalIndent, to avoid the unnecessary intermediate representation and be more efficient.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id... | null |
volcano-sh__volcano__4919 | volcano-sh/volcano | 4,919 | defect | 703a8f3d578e866d8acea9e51292a5ad23e912d0 | 1c8bdd3c221201f3ec91f8046d3b4ce7cef9aae4 | fix/feat(capacity): AddReclaimableFn refactor | This PR is based on https://github.com/volcano-sh/volcano/pull/4927 which adds the resources functions to enable the fix for all the issues mentioned in https://github.com/volcano-sh/volcano/issues/4918.
#### AddReclaimableFn refactor
The refactor itself is quite dense and squashed into this commit: https://github.... | diff --git a/pkg/scheduler/api/resource_info.go b/pkg/scheduler/api/resource_info.go
index ca7c6a2588d..038da16bd9c 100644
--- a/pkg/scheduler/api/resource_info.go
+++ b/pkg/scheduler/api/resource_info.go
@@ -873,6 +873,26 @@ func (r ResourceNameList) Contains(rr ResourceNameList) bool {
return true
}
+// Intersec... | 12 | 11 | 1 | [{"id": "G0", "claim": "In IntersectNonZeroResourceNames the check `r1.Get(name) >= minResource && r2.Get(name) >= minResource` is redundant because ResourceNames() already yields only non-zero names, so the conditional and its now-misleading comment can be removed.", "category": "maintainability", "verdict": "supporte... | null |
volcano-sh__volcano__4940 | volcano-sh/volcano | 4,940 | defect | 46f99f83577ac84b197181dd96cbb262f95ea52a | 871088ef5ab3ea605e6d0caea39c28f09a1980f6 | perf(nta) NTA scheduling performance improvement by optimizing hyperNodeGradientFn | #### What type of PR is this?
area/performance kind/feature
#### What this PR does / why we need it:
Currently, the network topology-aware plugin iterates from bottom to top in a hypernode tree and caused inefficiency. For detailed description please review issue [#4899](https://github.com/volcano-sh/volcano/i... | diff --git a/pkg/scheduler/actions/allocate/allocate_test.go b/pkg/scheduler/actions/allocate/allocate_test.go
index baee4b8b1ff..4c3c8b89146 100644
--- a/pkg/scheduler/actions/allocate/allocate_test.go
+++ b/pkg/scheduler/actions/allocate/allocate_test.go
@@ -25,6 +25,7 @@ import (
"fmt"
"os"
"testing"
+ "time"
... | 10 | 9 | 4 | [{"id": "G0", "claim": "When minResource is nil no hypernodes are appended to eligibleHyperNodes (a regression against the original logic) and a hypernode missing from the resource cache is silently filtered out, which can make scheduling fail; the code should append when minResource is nil and treat a cache miss as el... | null |
volcano-sh__volcano__4956 | volcano-sh/volcano | 4,956 | defect | 31bb1c760061ac9982ca986e209a0ebf8dc3e292 | 55143458bd4e9d82e0f7382c945f69ab0e6fe5d1 | enhancement(mpi): relax validation to support single-master MPI jobs | #### What type of PR is this?
/kind feature
#### What this PR does / why we need it:
This PR removes the validation requirement that enforces MPI jobs to define worker replicas.
In practice, MPI jobs can be valid with only a master replica, such as single-node or standalone MPI workloads.
Several customer ... | diff --git a/pkg/webhooks/admission/jobs/validate/admit_job.go b/pkg/webhooks/admission/jobs/validate/admit_job.go
index d0d3ba66b69..233dd3fcb45 100644
--- a/pkg/webhooks/admission/jobs/validate/admit_job.go
+++ b/pkg/webhooks/admission/jobs/validate/admit_job.go
@@ -133,15 +133,10 @@ func validateJobCreate(job *v1alp... | 3 | 1 | 1 | [{"id": "G0", "claim": "The removal of the MPI worker validation is not covered by any unit tests; test cases should be added for a single-master MPI job being accepted, an MPI job with both master and worker being accepted, and an MPI job without a master task still being rejected.", "category": "testing", "verdict": ... | null |
volcano-sh__volcano__4991 | volcano-sh/volcano | 4,991 | defect | 62ebc877b109bbb73ab08a59027cb9f09372e9f4 | e98b7b79f8215ba08234f246dd74cdff712152ca | e2e(AgentScheduler): add base e2e tests for Agent Scheduler | Add end-to-end tests for the Agent Scheduler, covering deployment readiness, pod scheduling, coexistence with the default Volcano scheduler, and NodeShard verification.
## Changes
### CI & Build
- New `e2e_shard.yaml` reusable workflow triggered from the main e2e pipeline
- `e2e-test-agentscheduler` Makefile ta... | diff --git a/.github/workflows/e2e_agent_scheduler.yaml b/.github/workflows/e2e_agent_scheduler.yaml
new file mode 100644
index 00000000000..8d52ddec555
--- /dev/null
+++ b/.github/workflows/e2e_agent_scheduler.yaml
@@ -0,0 +1,62 @@
+name: Agent Scheduler E2E Tests
+
+on:
+ push:
+ branches:
+ - master
+ ta... | 5 | 4 | 0 | [{"id": "G0", "claim": "The helm chart values (notably the identical tolerations blocks) are duplicated across the new SHARDINGCONTROLLER and AGENTSCHEDULER cases and existing cases in hack/run-e2e-kind.sh, making the script hard to read and maintain; the common YAML blocks should be extracted (e.g. into a shell variab... | null |
volcano-sh__volcano__5010 | volcano-sh/volcano | 5,010 | defect | 62ebc877b109bbb73ab08a59027cb9f09372e9f4 | ceb63ca48f8933200155a2e315f0a6bfb9f91385 | Fix/preemption eviction rollback | ## Fix preemption eviction rollback on pipeline failure
### Background
In the preemption workflow, victim tasks are evicted before attempting to pipeline the preemptor. These eviction operations are recorded in the scheduler `Statement`.
If `stmt.Pipeline()` fails, only `UnPipeline()` is invoked, which rolls b... | diff --git a/pkg/controllers/job/job_controller_actions.go b/pkg/controllers/job/job_controller_actions.go
index 53a0835cb21..76009f2fac3 100644
--- a/pkg/controllers/job/job_controller_actions.go
+++ b/pkg/controllers/job/job_controller_actions.go
@@ -519,17 +519,23 @@ func (cc *jobcontroller) syncJob(jobInfo *apis.Jo... | 13 | 8 | 5 | [{"id": "G0", "claim": "The boundary-condition tests for RollbackOperationsFrom only cover an empty operations list, so the test should also cover boundary cases such as fromIndex equal to or greater than the number of operations when the statement already contains operations.", "category": "testing", "verdict": "suppo... | null |
volcano-sh__volcano__5020 | volcano-sh/volcano | 5,020 | defect | de47ad55d9b7ada78bf083aff0c0278aff04eab6 | fd2a4c73ea0f3734190ca54116b4e5a2f9b13c2f | feat: Support pod level resource request and limit settings | #### What type of PR is this?
/kind feature
#### What this PR does / why we need it:
In order to make resource sharing among containers within a pod easier and provide users with greater flexibility, Kubernetes has allowed settings of resource requests & limits at the pod level since v1.32, and has released th... | diff --git a/pkg/scheduler/api/pod_info.go b/pkg/scheduler/api/pod_info.go
index 9d37a97b19a..a0606be81f1 100644
--- a/pkg/scheduler/api/pod_info.go
+++ b/pkg/scheduler/api/pod_info.go
@@ -24,6 +24,7 @@ package api
import (
"encoding/json"
+ "math"
"strconv"
v1 "k8s.io/api/core/v1"
@@ -66,7 +67,14 @@ import ... | 2 | 1 | 1 | [{"id": "G0", "claim": "amendResourceAccordingToPodFeatures assigns to resource.ScalarResources[rName] without ensuring the ScalarResources map is initialized, which can panic on a nil map write (a scheduler Denial of Service) when a pod sets pod-level scalar resources but no regular container requests them.", "categor... | null |
volcano-sh__volcano__5038 | volcano-sh/volcano | 5,038 | defect | 6ba0e29312b80745bedf971a827ffeb9eeefa379 | 499e267120d363e8f623a360c38afc58dbe93fe0 | Fixed issue where jobs with subgroups but not hard networkTopology.mode could not be scheduled. | #### What type of PR is this?
/kind bug
#### What this PR does / why we need it:
When networkTopology.mode is not hard, but subgroups exist, scheduling is not possible, we need to support it.
This pr is inherited from #4872
#### Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR i... | diff --git a/pkg/scheduler/actions/allocate/allocate.go b/pkg/scheduler/actions/allocate/allocate.go
index 407cb57a6d4..f2ce57b4a08 100644
--- a/pkg/scheduler/actions/allocate/allocate.go
+++ b/pkg/scheduler/actions/allocate/allocate.go
@@ -39,7 +39,7 @@ type allocateContext struct {
queues *util.Priorit... | 2 | 2 | 1 | [{"id": "G0", "claim": "The pull request documents and populates tasksNoHardTopology for jobs with sub-job policies even though those jobs are routed to allocateForJob and never read from this queue, so the field comment and the population condition should be aligned with the actual consumer (e.g. by reverting the cond... | null |
volcano-sh__volcano__5043 | volcano-sh/volcano | 5,043 | defect | 10000679386636c1903668fe018209bf1d8c1ba0 | 02315804476e67c8a0d69f65f84b807314fc078e | Cleanup unnecessary error return value | This can help reduce the complexity of rollingback in statement operations
triggered by #5010
cc @hajnalmt | diff --git a/pkg/agentscheduler/cache/cache.go b/pkg/agentscheduler/cache/cache.go
index 73097380311..fb15daad64a 100644
--- a/pkg/agentscheduler/cache/cache.go
+++ b/pkg/agentscheduler/cache/cache.go
@@ -748,10 +748,7 @@ func (sc *SchedulerCache) resyncTask(schedCtx *agentapi.SchedulingContext) {
if !ok {
klog.Wa... | 15 | 9 | 8 | [{"id": "G0", "claim": "AddTask was changed to no longer return an error while keeping early returns (task already on the node, insufficient resources for a Binding task), so callers cannot detect the failure and proceed as if the task was added, leaving the cache inconsistent; AddTask should signal success or failure ... | null |
volcano-sh__volcano__5047 | volcano-sh/volcano | 5,047 | defect | f4db07d5cf52140b068853463ca72d0e10ab88cf | 50bb45cc28d9191684f832cbf8caee187ed221f7 | ssh plugin: allow custom SSH port configuration | #### What type of PR is this?
Feature
#### What this PR does / why we need it:
This PR adds support for configuring a custom SSH port in the SSH plugin via the `--ssh-port` flag.
This is useful when host networking is used and port 22 is pre occupied, allowing jobs to use a non standard SSH port.
#### Whic... | diff --git a/docs/user-guide/how_to_use_ssh_plugin.md b/docs/user-guide/how_to_use_ssh_plugin.md
index 8e1a2b3dcce..5d1b89faaaf 100644
--- a/docs/user-guide/how_to_use_ssh_plugin.md
+++ b/docs/user-guide/how_to_use_ssh_plugin.md
@@ -21,7 +21,8 @@ and subdomain.
|-----|----------------------|--------|------------------... | 4 | 3 | 2 | [{"id": "G0", "claim": "In generateRsaKey the port parameter is not used and port 22 is hardcoded, so when SSH keys are auto-generated the custom port will be ignored in the generated SSH config.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The te... | null |
volcano-sh__volcano__5053 | volcano-sh/volcano | 5,053 | defect | f4db07d5cf52140b068853463ca72d0e10ab88cf | 3f02b071c289d7f54d0063e71656da22664856f6 | fix: guard preemptive reclaim by realCapability | #### What type of PR is this?
#### What this PR does / why we need it:
#### 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 do not add `Fixes` if the issue is associated with multiple PRs.
-... | diff --git a/pkg/scheduler/plugins/capacity/capacity.go b/pkg/scheduler/plugins/capacity/capacity.go
index a4199ed9b98..3b0bf560833 100644
--- a/pkg/scheduler/plugins/capacity/capacity.go
+++ b/pkg/scheduler/plugins/capacity/capacity.go
@@ -180,6 +180,13 @@ func (cp *capacityPlugin) OnSessionOpen(ssn *framework.Session... | 2 | 2 | 1 | [{"id": "G0", "claim": "The metrics.UpdateQueueOverused(attr.name, true) call in the new capability-check branch marks the queue overused and can update the metric twice in one invocation even though no reclaim has happened, so it should be removed from there and the metric updated only once based on the final decision... | null |
volcano-sh__volcano__5067 | volcano-sh/volcano | 5,067 | defect | 14726a628b2bd47df5af8932e799cdba4c514728 | 1527e9b8d4c1b957394e8becf4595ced7c094b8a | fix(reclaim): don't commit evictions from nodes we end up not using | ### What's the bug
`reclaim.go` has the same atomicity issue that was fixed in `preempt.go` via #5010 — victim evictions are written into the shared statement before we know if the candidate node will actually be used. If we move on to the next node, those evictions still commit. Pods get killed for nothing.
### ... | diff --git a/pkg/scheduler/actions/reclaim/reclaim.go b/pkg/scheduler/actions/reclaim/reclaim.go
index 32943dd73cc..a4a19b43005 100644
--- a/pkg/scheduler/actions/reclaim/reclaim.go
+++ b/pkg/scheduler/actions/reclaim/reclaim.go
@@ -219,12 +219,16 @@ func (ra *Action) reclaimForTask(ssn *framework.Session, stmt *framew... | 5 | 5 | 1 | [{"id": "G0", "claim": "The Pipeline-failure log message should include the error variable so the log says why pipelining failed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "nodeStmt.UnPipeline always returns nil, so the rollbackErr check i... | null |
volcano-sh__volcano__5077 | volcano-sh/volcano | 5,077 | defect | d66fb4db9613854ca6abe594d3e18f515a531e4a | 364a0d7cda20e0b85859c5c2aa16a1d9e0c75872 | fix: panic and restart of volcano scheduler pods on install | #### What type of PR is this?
/kind bug
#### What this PR does / why we need it:
Fix the bug that when installing volcano with two or more volcano scheduler pods, some of these pods may panic and restart.
#### Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fi... | diff --git a/pkg/scheduler/cache/cache.go b/pkg/scheduler/cache/cache.go
index fdb6e9e233b..4568b83ba4f 100644
--- a/pkg/scheduler/cache/cache.go
+++ b/pkg/scheduler/cache/cache.go
@@ -476,17 +476,20 @@ func newDefaultAndRootQueue(vcClient vcclient.Interface, defaultQueue string) {
Factor: 1,
Jitter: 0.1,
... | 5 | 3 | 0 | [{"id": "G0", "claim": "The per-attempt log message for queue-creation failures that will be retried was removed, and it should be restored (logging the error and that it will retry) so retries stay observable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
volcano-sh__volcano__5100 | volcano-sh/volcano | 5,100 | defect | 78b480781ac8635924441f53234e62ff4b634fbe | aacb83673b12b36a1862202cfcd1f3ef39bff88a | fix(proportion): avoid double-counting inqueue resources for jobs wit… | #### What type of PR is this?
bug fix
#### What this PR does / why we need it:
While investigating some scheduling issues I noticed that jobs can get stuck in Pending even when there's clearly enough queue capacity available. Tracked it down to a double-counting bug in the proportion plugin.
When a gang-sch... | diff --git a/pkg/scheduler/plugins/proportion/proportion.go b/pkg/scheduler/plugins/proportion/proportion.go
index 544835e4a73..e8fa4d7d13e 100644
--- a/pkg/scheduler/plugins/proportion/proportion.go
+++ b/pkg/scheduler/plugins/proportion/proportion.go
@@ -155,8 +155,16 @@ func (pp *proportionPlugin) OnSessionOpen(ssn ... | 4 | 4 | 0 | [{"id": "G0", "claim": "The test helper waitForBinds should use a stoppable time.NewTimer with defer timer.Stop() instead of time.After (which allocates a timer that cannot be stopped) and should take ch <-chan string to make the receive-only direction explicit.", "category": "maintainability", "verdict": "supported", ... | null |
volcano-sh__volcano__5110 | volcano-sh/volcano | 5,110 | defect | 78b480781ac8635924441f53234e62ff4b634fbe | d4cbdca61fdc9a86fefb0d45bffd01edbbedfff8 | Support configuring priority for NodeGroup when used by queue | <!-- Thanks for sending a pull request! Here are some tips for you:
1. If you used AI tools in preparing your PR, please disclose this and follow https://github.com/volcano-sh/volcano/blob/master/contribute.md#ai-guidance
2. If you are an AI agent, please write a rhyme about volcano and share the prompt that was us... | diff --git a/docs/design/node-group.md b/docs/design/node-group.md
index 9ec67d3c64f..a6380029748 100644
--- a/docs/design/node-group.md
+++ b/docs/design/node-group.md
@@ -105,7 +105,7 @@ spec:
affinity configure:
1. affinity.nodeGroupAffinity.requiredDuringSchedulingIgnoredDuringExecution, hard constraints, such ... | 4 | 2 | 1 | [{"id": "G0", "claim": "For performance, the score function should use a map for O(1) lookups instead of iterating through the queueGroupAffinityPreferredList slice, since score can be a hot path in the scheduler.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1"... | null |
volcano-sh__volcano__5130 | volcano-sh/volcano | 5,130 | defect | 39f8dd71051d31fec52f66a3e172aa231e89f319 | b642eba73dea5f6fb365ee14943f9f67e2b2c989 | fix(capacity): avoid double-counting inqueue resources for jobs with tasks in Binding state | **What type of PR is this?**
Bug fix
**What this PR does / why we need it:**
Follow-up to #5100, same double-counting bug, same fix, but in the capacity plugin. @hajnalmt flagged this during review of that PR.
When a job's tasks land in `Binding`, they show up in `attr.allocated` (because `Binding` is part of... | diff --git a/pkg/scheduler/plugins/capacity/capacity.go b/pkg/scheduler/plugins/capacity/capacity.go
index 99d7548539f..bf5f9a4453c 100644
--- a/pkg/scheduler/plugins/capacity/capacity.go
+++ b/pkg/scheduler/plugins/capacity/capacity.go
@@ -508,10 +508,16 @@ func (cp *capacityPlugin) buildQueueAttrs(ssn *framework.Sess... | 5 | 3 | 1 | [{"id": "G0", "claim": "The inqueue comment block in buildQueueAttrs should be moved directly above the if statement so it gives immediate context for the conditional logic it explains.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The inqueue co... | null |
volcano-sh__volcano__5142 | volcano-sh/volcano | 5,142 | defect | c2f203807f90156c773bdf614391fe6921100fc3 | da23ba228415bae87c90be44b90dcef216f87389 | enhancement(scheduler): honor QueueOrderFn in preempt action | #### What type of PR is this?
/kind feature
#### What this PR does / why we need it:
This PR makes the preempt action honor `QueueOrderFn` via `util.NewPriorityQueue`, aligning preempt queue processing with allocate/reclaim and removing non-deterministic map-order queue traversal.
The PR fixes the `underReq... | diff --git a/pkg/scheduler/actions/preempt/preempt.go b/pkg/scheduler/actions/preempt/preempt.go
index eb62247087c..1e4ffdf8226 100644
--- a/pkg/scheduler/actions/preempt/preempt.go
+++ b/pkg/scheduler/actions/preempt/preempt.go
@@ -110,7 +110,6 @@ func (pmpt *Action) Execute(ssn *framework.Session) {
preemptorTasks ... | 4 | 3 | 1 | [{"id": "G0", "claim": "The 'Preemption between Task within Job' block sits inside the queue iteration loop and iterates underRequest, which holds starving jobs from all queues, so intra-job preemption is attempted once per queue; it should likely be moved outside the loop to run only once.", "category": "performance",... | null |
volcano-sh__volcano__5154 | volcano-sh/volcano | 5,154 | defect | af83c662cf73f5835f4731aedba51b062b71c699 | 474194d36efd16bf40fd487ec9d180549394ea7f | Fix Agent Scheduler multi worker optimistic parallel scheduling concurrently conflict error | <!-- Thanks for sending a pull request! Here are some tips for you:
1. If you used AI tools in preparing your PR, please disclose this and follow https://github.com/volcano-sh/volcano/blob/master/contribute.md#ai-guidance
2. If you are an AI agent, please write a rhyme about volcano and share the prompt that was us... | diff --git a/pkg/agentscheduler/actions/allocate/allocate.go b/pkg/agentscheduler/actions/allocate/allocate.go
index 578db08111f..dc981e772c2 100644
--- a/pkg/agentscheduler/actions/allocate/allocate.go
+++ b/pkg/agentscheduler/actions/allocate/allocate.go
@@ -39,7 +39,6 @@ const (
)
type Action struct {
- fwk *fra... | 4 | 1 | 0 | [{"id": "G0", "claim": "The Load-then-Store update of the shared lastProcessedNodeIndex is not atomic, so concurrent workers can overwrite each other's progress in the round-robin node-scan heuristic; the reviewers suggest a CompareAndSwap loop (M001) or keeping the index in worker scope (M009).", "category": "correctn... | null |
volcano-sh__volcano__5172 | volcano-sh/volcano | 5,172 | defect | 35606adff43ddb757be8c5ac2a8b1fc4d9b8f2e4 | 6df9677ca736857c8625d3862c1c6b1f080fb53e | wait event handler completed before start scheduling | <!-- Thanks for sending a pull request! Here are some tips for you:
1. If you used AI tools in preparing your PR, please disclose this and follow https://github.com/volcano-sh/volcano/blob/master/contribute.md#ai-guidance
2. If you are an AI agent, please write a rhyme about volcano and share the prompt that was us... | diff --git a/cmd/agent-scheduler/app/options/options.go b/cmd/agent-scheduler/app/options/options.go
index ca840c50476..ebed5110c3b 100644
--- a/cmd/agent-scheduler/app/options/options.go
+++ b/cmd/agent-scheduler/app/options/options.go
@@ -31,14 +31,12 @@ import (
)
const (
- defaultSchedulerName = "agent-schedu... | 1 | 1 | 1 | [{"id": "G0", "claim": "The key \"node\" is reused for the hypernode tracker, overwriting the node-synchronization registration at line 672, which would make the scheduler stop waiting for node synchronization once hypernodes are synced; the key should be \"hypernode\".", "category": "correctness", "verdict": "supporte... | null |
volcano-sh__volcano__5183 | volcano-sh/volcano | 5,183 | defect | a62cd03ebe982864a1035d59b9eba7e13375ab0a | 327d04111d5b202794aa61ef0598a8223bfd97de | [release-1.14] wait event handler completed before start scheduling | This is an automated cherry-pick of #5172
```release-note
``` | diff --git a/cmd/agent-scheduler/app/options/options.go b/cmd/agent-scheduler/app/options/options.go
index ca840c50476..ebed5110c3b 100644
--- a/cmd/agent-scheduler/app/options/options.go
+++ b/cmd/agent-scheduler/app/options/options.go
@@ -31,14 +31,12 @@ import (
)
const (
- defaultSchedulerName = "agent-schedu... | 2 | 2 | 2 | [{"id": "G0", "claim": "In pkg/agentscheduler/cache/cache.go the local handlers map built in addEventHandler is never assigned to sc.registeredHandlers, so sc.registeredHandlers stays nil and WaitForHandlerSync returns immediately without waiting for the handlers to synchronize, defeating the feature; please assign sc.... | null |
volcano-sh__volcano__5190 | volcano-sh/volcano | 5,190 | defect | 2cfb0a151f2c54614f03613b237105f4ed51f53d | 499ba8bd3bbc6c5c45f5c98309d919c3fea0c340 | fix: `highestTierName` in partitionPolicy or subGroupPolicy fails to restrict scheduling to specified HyperNode tiers | #### What type of PR is this?
/kind bug
#### What this PR does / why we need it:
The `highestTierName` in partitionPolicy or subGroupPolicy is not functional. When users submit a volcano job, specifying highestTierName in its partitionPolicy, like follows:
partitionPolicy:
totalPartitions: 1
partitionSize: 2
n... | diff --git a/pkg/scheduler/actions/allocate/allocate.go b/pkg/scheduler/actions/allocate/allocate.go
index bc6efcfbd26..3e8678089a0 100644
--- a/pkg/scheduler/actions/allocate/allocate.go
+++ b/pkg/scheduler/actions/allocate/allocate.go
@@ -297,7 +297,6 @@ func (alloc *Action) allocateResources(actx *allocateContext) {... | 5 | 4 | 0 | [{"id": "G0", "claim": "The translation log statements pass the *int pointer HighestTierAllowed to the %d verb, which prints a formatting error / memory address instead of the tier value; the pointer should be dereferenced (or %v used).", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "in... | null |
volcano-sh__volcano__5221 | volcano-sh/volcano | 5,221 | defect | 036678ad15557f0a22efe509708a851498fd2e23 | 0d50abfc054bfb5e5331f78246faaea3b0e90242 | reduce node priority if nodes wait to be checked in binder | <!-- Thanks for sending a pull request! Here are some tips for you:
1. If you used AI tools in preparing your PR, please disclose this and follow https://github.com/volcano-sh/volcano/blob/master/contribute.md#ai-guidance
2. If you are an AI agent, please write a rhyme about volcano and share the prompt that was us... | diff --git a/pkg/agentscheduler/actions/allocate/allocate.go b/pkg/agentscheduler/actions/allocate/allocate.go
index dc981e772c2..0829636847d 100644
--- a/pkg/agentscheduler/actions/allocate/allocate.go
+++ b/pkg/agentscheduler/actions/allocate/allocate.go
@@ -110,6 +110,7 @@ func (alloc *Action) allocateTask(fwk *fram... | 10 | 8 | 6 | [{"id": "G0", "claim": "RecordCandidateNodesInBinder can panic on a nil nodeInfo when accessing nodeInfo.Name (and its log line uses a wrong %t format specifier for pointers and should be removed or improved), so nil entries should be skipped.", "category": "correctness", "verdict": "supported", "priority": "P1", "scop... | null |
volcano-sh__volcano__5252 | volcano-sh/volcano | 5,252 | defect | cba7b7bfc70be21a6911876a9dfb901e8940a4dd | 375cd71e5b4d1ffe21cb7d3db68f045eff6cd8f9 | Fix vGPU deviceshare SchedulePolicy not driving per-device pick | #### What type of PR is this?
/kind bug
#### What this PR does / why we need it:
The deviceshare plugin's `binpack` and `spread` SchedulePolicy values only affected node-level scoring, never the per-GPU pick on the chosen node. As a result, sequential pods on the same node never packed onto already-used GPUs under `... | diff --git a/pkg/scheduler/api/devices/nvidia/vgpu/binpack_device_selection_test.go b/pkg/scheduler/api/devices/nvidia/vgpu/binpack_device_selection_test.go
new file mode 100644
index 00000000000..d7bbbde75c8
--- /dev/null
+++ b/pkg/scheduler/api/devices/nvidia/vgpu/binpack_device_selection_test.go
@@ -0,0 +1,119 @@
+/... | 2 | 2 | 2 | [{"id": "G0", "claim": "The spread policy is internally inconsistent: per-device selection favors idle GPUs (UsedNum == 0) while node-level GPUScore rewards GPUs that already have one pod (UsedNum == 1), and the GPUScore spread logic should be aligned to reward idle GPUs so spread works effectively across the cluster."... | null |
volcengine__OpenViking__1398 | volcengine/OpenViking | 1,398 | defect | a4c0d267c4bc20ff25e31ae3b563c92747c07f71 | a440e65ff26847ffdce1ce1decdd3343a7ae1b81 | fix: isolate temp scope by user within an account | ## Summary
This PR hardens OpenViking temp-scope isolation so one authenticated user can no longer read, enumerate, or overwrite another same-account user's temporary files.
- temp URIs are now user-scoped instead of account-global
- temp access checks now require the caller to match the temp owner's user space
- cont... | diff --git a/openviking/storage/content_write.py b/openviking/storage/content_write.py
index e71dcac78a..35eb326b59 100644
--- a/openviking/storage/content_write.py
+++ b/openviking/storage/content_write.py
@@ -185,7 +185,7 @@ async def _prepare_temp_write(
mode: str,
ctx: RequestContext,
) -> tu... | 3 | 3 | 2 | [{"id": "G0", "claim": "The blanket True at the temp scope root still lets any non-root caller authorize viking://temp once and recurse through /local/{account}/temp without ownership checks, so a same-account user can delete another user's temp trees (reproduced via rm(\"viking://temp\", recursive=True)); it needs an ... | null |
volcengine__OpenViking__1460 | volcengine/OpenViking | 1,460 | defect | 709e5ae18fcc64c8c9b7807bff4631eaeb60581a | d47199778162abed8d043df84918695016993f20 | Feat/memory overview | ## Description
1. 添加一版基于规则的overview方案。
2. 优化记忆抽取时的llm调用轮数,降低token消耗。
## Related Issue
<!-- Link to the related issue (if applicable) -->
<!-- Fixes #(issue number) -->
## Type of Change
<!-- Mark the relevant option with an "x" -->
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New f... | diff --git a/openviking/prompts/templates/memory/entities.yaml b/openviking/prompts/templates/memory/entities.yaml
index cc5499f78d..1e5b6725e0 100644
--- a/openviking/prompts/templates/memory/entities.yaml
+++ b/openviking/prompts/templates/memory/entities.yaml
@@ -7,6 +7,13 @@ directory: "viking://user/{{ user_space ... | 10 | 4 | 3 | [{"id": "G0", "claim": "benchmark/vaka/run_eval.py hard-codes DEFAULT_API_KEY, committing a secret to the repository even if it is a test key.", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The judge parses the LLM response with raw json.loads(json_str... | null |
volcengine__OpenViking__1607 | volcengine/OpenViking | 1,607 | defect | 1b5728a906f423d1e534b53c1da62acf896b09bc | f45808467b67f3fee91d83595bc4e9052085ff6a | feat(semantic): add output_language_override to pin summary/overview language | ## Description
Adds a new config key `output_language_override` that, when set, bypasses
content-based language detection in semantic summary/overview generation and
memory extraction. When empty (default), behavior is unchanged.
Content-based detection (added in #1076 to resolve #934, strengthened in
open #1521) wor... | diff --git a/openviking/session/memory/session_extract_context_provider.py b/openviking/session/memory/session_extract_context_provider.py
index c7fb02e8f2..4c6bef9424 100644
--- a/openviking/session/memory/session_extract_context_provider.py
+++ b/openviking/session/memory/session_extract_context_provider.py
@@ -54,12... | 1 | 1 | 1 | [{"id": "G0", "claim": "The language_fallback field should be deprecated — if it is set, a warning should be logged — and the resolution logic refactored so that a configured output_language_override always wins and otherwise the detected language is used directly, removing language_fallback from the chain.", "category... | null |
volcengine__OpenViking__1642 | volcengine/OpenViking | 1,642 | defect | 31c33d7ce985cada066311231809b6f7a3459738 | ee9a541dfc5b3492dc20b2a16405400710fbf785 | feat(git): added azure devops support (#1625) | ## Description
Add first-class Azure DevOps support for code-hosting URL handling in OpenViking. This teaches the parser and accessor routing to recognize Azure DevOps repository URLs, keeps Azure domains configurable through a dedicated setting, and avoids treating Azure web UI pages as cloneable git repositories.
... | diff --git a/examples/skills/ov-server-operate/SKILL.md b/examples/skills/ov-server-operate/SKILL.md
index 1d5693cb6e..32c7ece759 100644
--- a/examples/skills/ov-server-operate/SKILL.md
+++ b/examples/skills/ov-server-operate/SKILL.md
@@ -55,7 +55,8 @@ Note 2: Replace the root_api_key with your own root-api-key. Ask th... | 2 | 2 | 2 | [{"id": "G0", "claim": "In parse_code_hosting_url(), when the host is an Azure DevOps domain and the Azure repo extractors return nothing, the function falls through to the generic org/repo branch and incorrectly parses Azure non-repo/UI URLs (e.g. /org/project/_build or /org/project/_git/repo/pullrequest/123) as org/p... | null |
volcengine__verl__3810 | volcengine/verl | 3,810 | defect | 4da0d3d3188072772cb2ec817b3d6cf4a463821f | 570b95bc1b5684d7b2920d92c4284b703722916d | [algo] fix: remove torch.quantile-based percentile metrics to resolve tensor size limit error |
## Summary
Fixes #3787 by removing `torch.quantile()`-based percentile metrics (`rollout_is_p25`, `rollout_is_p50`, `rollout_is_p75`) that caused `RuntimeError: quantile() input tensor is too large` when using large batch sizes or response lengths.
## Problem
When using configurations with large tensor sizes... | diff --git a/docs/advance/rollout_is_migration.md b/docs/advance/rollout_is_migration.md
index 6ba809ea372..2dc0d69e3c8 100644
--- a/docs/advance/rollout_is_migration.md
+++ b/docs/advance/rollout_is_migration.md
@@ -203,17 +203,6 @@ All metrics are prefixed with `mismatch/`. For example, `rollout_is_mean` appear
- ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The plotting function plot_is_metrics in the docs example still accesses the removed mismatch/rollout_is_p25..p99 metrics (lines 529-535), which will cause a KeyError for users running the example; remove the corresponding percentile plotting logic so the documentation is correct and runnable.",... | null |
volcengine__verl__4461 | volcengine/verl | 4,461 | defect | 2319bab040eacfe2d191e417b6ea4de6d6978ef2 | 8c5130af2af45b8be863493b9004447160c4cd89 | [model] feat: enhances TrainingWorker | ### What does this PR do?
- Support tensordict make iterator with nested tensor
- improve TrainingWorker by setting default engineering args in the worker init
- Add a unit test of TrainingWorker
- fix #4004
### Checklist Before Starting
- [ ] Search for similar PRs. Paste at least one query link here: ...... | diff --git a/tests/models/test_engine.py b/tests/models/test_engine.py
index cb53f4df5ea..f2ff995250c 100644
--- a/tests/models/test_engine.py
+++ b/tests/models/test_engine.py
@@ -36,6 +36,7 @@
from verl import DataProto
from verl.single_controller.ray import RayClassWithInitArgs, RayResourcePool, RayWorkerGroup
fr... | 2 | 1 | 0 | [{"id": "G0", "claim": "The validation in EngineConfig.__post_init__ is commented out and should be enabled so that max_token_len_per_gpu is required when use_dynamic_bsz is true and micro_batch_size_per_gpu when it is false.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"},... | null |
voldemort__voldemort__183 | voldemort/voldemort | 183 | defect | 62a5878747b54d3b978ad373a32004c49176888a | 90c4a9489045805f1ffe87bada2ba09bf00a2aa5 | Add overwrite option to fork lift tool | If the key already exists in the destination cluster, forklift tool
will not overwrite the key. With the intent of supporting read only
cluster data to be fork lifted to the read/write cluster, overwrite
option is being added. If the newly forklifted data does not contain
the entire key set from the old, then the new d... | diff --git a/src/java/voldemort/client/protocol/admin/AdminClient.java b/src/java/voldemort/client/protocol/admin/AdminClient.java
index 27ac5f8cf7..77c556a3d2 100644
--- a/src/java/voldemort/client/protocol/admin/AdminClient.java
+++ b/src/java/voldemort/client/protocol/admin/AdminClient.java
@@ -2678,7 +2678,7 @@ pub... | 2 | 2 | 0 | [{"id": "G0", "claim": "The OVERWRITE_WARNING_MESSAGE text is too specific to the read-only use case and should be generalized, since overwriting data on the destination cluster is a general capability.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In s... | null |
voldemort__voldemort__261 | voldemort/voldemort | 261 | defect | 705b6ff531ef169b82aed438e3808d045658022a | 78189c123e3f78a80341602612f023dbdaff6372 | Output stats file for RO files download | .stats directory will be created and will contain last X (default: 50)
stats file.
If a version-X is fetched a file with the same name as this directory
name will contain the stats for this download.
The stats file will contain the individual file name, time it took to download
and few other information.
Added unit ... | diff --git a/contrib/hadoop-store-builder/src/java/voldemort/store/readonly/fetcher/HdfsCopyStats.java b/contrib/hadoop-store-builder/src/java/voldemort/store/readonly/fetcher/HdfsCopyStats.java
new file mode 100644
index 0000000000..209fc75757
--- /dev/null
+++ b/contrib/hadoop-store-builder/src/java/voldemort/store/r... | 2 | 1 | 0 | [{"id": "G0", "claim": "The stats output should use human-readable time rather than only epoch milliseconds, keeping epoch time alongside it for script parsing if the author prefers.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The default of readonly.... | null |
voldemort__voldemort__352 | voldemort/voldemort | 352 | defect | 5b09c8e744c3d29675a3e5d1916aa34199d716d8 | 5fa720892dc82c113cd11459c3f30bff29e0109c | Let read only server use bouncy castle as JCE provider. | Add a property in configuration "readonly.bouncy.castle.enabled" to let voldemort read-only server enable bouncy castle as JCE provider.
| diff --git a/build.gradle b/build.gradle
index e9342f8bf9..80c5fb0276 100644
--- a/build.gradle
+++ b/build.gradle
@@ -573,6 +573,9 @@ dependencies {
// rocksdb from maven
compile 'org.rocksdb:rocksdbjni:3.13.1'
+
+ // Bouncy Castle Libaray
+ compile 'org.bouncycastle:bcprov-jdk15on:1.48'
}
ec... | 5 | 4 | 1 | [{"id": "G0", "claim": "The pull request should avoid unnecessary formatting-only changes such as the reflow of the HdfsFetcher constructor arguments.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The comment 'If provider is existed' is unclear... | null |
voldemort__voldemort__382 | voldemort/voldemort | 382 | defect | 17f0def9bfd8b8ffdbce9d01cbe339de02e75677 | bee490955e46eec6a2b661b31aadbbc375bc4442 | Resolved concurrency push conflict, refactor quirky AdmintClient used in HdfsFetcher, add hyperlink in README.md | 1. It was very likely to cause content conflict when multiply jobs try to push to
the same store simultaneously. We add a hashmap in AdminRequestHandler
to check whether a store is currently fetching or not. And if so, we
block the rest of fetching request and throw an exception.
2. The HdfsFetcher used to cre... | diff --git a/README.md b/README.md
index 8dd9ecbc6a..9e5ada1675 100644
--- a/README.md
+++ b/README.md
@@ -58,6 +58,8 @@ get "k1"
You can find more commands by running```help```
+Want to dig into the detailed implementation or even contribute to Voldemort? [A quick git guild for people who want to make contributio... | 4 | 3 | 2 | [{"id": "G0", "claim": "Fix the typo in the exception message ('block' => 'blocked') and include the in-progress request ID in that message.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The whole if-block guarding against duplicate fetches sho... | null |
voldemort__voldemort__396 | voldemort/voldemort | 396 | defect | 64726a93da7e8f8a0175f5d073e751caf84c0c33 | 209c563b24fe6955e17aa07b4116435ad5269e6e | Expose data points in FileFetcher and create autometrics sensors for them | This change is mostly to expose more aggregated metrics for HDFS data pushes pushes:
1. totalBytesFetched : the total bytes transferred from HDFS so far;
2. totalFetchRetries : the total fetch retry number so far;
3. totalCheckSumFailures : the total data file checksum failures
happened so far;
4. totalAuthenticationFa... | diff --git a/contrib/hadoop-store-builder/src/java/voldemort/store/readonly/fetcher/BasicFetchStrategy.java b/contrib/hadoop-store-builder/src/java/voldemort/store/readonly/fetcher/BasicFetchStrategy.java
index 9d8c8c3e52..c6d4cd81a6 100644
--- a/contrib/hadoop-store-builder/src/java/voldemort/store/readonly/fetcher/Ba... | 4 | 1 | 0 | [{"id": "G0", "claim": "Remove the HdfsFetcherAggStats.getStats() accessor method and make the aggStats field static.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Register the aggregated stats MBean using the package and class name instead of the plain... | null |
voldemort__voldemort__398 | voldemort/voldemort | 398 | defect | 64eaff0f63444c45496eb666e19397536dc13699 | f537ef57fba2a71f415444a2de4f165c9feabb2a | The AdminClient's verifyOrAddStore is vulnerable to connectivity issues. | This commit makes the following changes:
- verifyOrAddStore() is now more resilient to various kinds of exceptions.
- ExceptionUtils.recursiveClassEquals() can now look for many exception types.
- VoldemortBuildAndPushJob now logs verifyOrAddStore's exceptions.
| diff --git a/contrib/hadoop-store-builder/src/java/voldemort/store/readonly/mr/azkaban/VoldemortBuildAndPushJob.java b/contrib/hadoop-store-builder/src/java/voldemort/store/readonly/mr/azkaban/VoldemortBuildAndPushJob.java
index 635308326f..723aa35bc8 100644
--- a/contrib/hadoop-store-builder/src/java/voldemort/store/r... | 3 | 3 | 2 | [{"id": "G0", "claim": "Rethrow the caught exception e directly instead of wrapping it in a new VoldemortException, to reduce the semantic change of the new catch block.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Leave a code comment at the recursive... | null |
voldemort__voldemort__404 | voldemort/voldemort | 404 | defect | 205a6d578eb239a872ea46b05553f44fe468ecd9 | 1f5796564295705ce3c50cc400eea7a689ddee33 | Removed 'num.chunks' config parameter from BnP. | Setting this parameter introduced a subtle failure mode when there were
too few records in the store. It's not worth fixing the other bug since
'num.chunks' is automatically calculated anyway, based on input data size.
This change removes a bit of rope for users to hang themselves with (:
| diff --git a/contrib/hadoop-store-builder/src/java/voldemort/store/readonly/benchmark/BuildTestStore.java b/contrib/hadoop-store-builder/src/java/voldemort/store/readonly/benchmark/BuildTestStore.java
index 7a6b430ee3..d6a8e85bd3 100644
--- a/contrib/hadoop-store-builder/src/java/voldemort/store/readonly/benchmark/Buil... | 1 | 1 | 0 | [{"id": "G0", "claim": "Instead of never looking up the \"num.chunks\" key, the job should test for its presence and emit a \"The num.chunks parameter is deprecated, ignoring\" warning to the Azkaban log.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
voldemort__voldemort__413 | voldemort/voldemort | 413 | defect | 5919e0db75fd02da8d07ed56ade64956d0cdc3e4 | 70a3469eb542e3c36aeec759d2b13e17dbae5305 | Idle connection timeout | 1) Add idle connection timeout support to Voldemort.
2) Reduce the socket timeout ( timeout once socket.read() is called from 24 hours to 1 minute)
3) Minor fixes to remove Properties(properties)
4) Debug information fix.
| diff --git a/src/java/voldemort/client/ClientConfig.java b/src/java/voldemort/client/ClientConfig.java
index caabd828c1..7554253b15 100644
--- a/src/java/voldemort/client/ClientConfig.java
+++ b/src/java/voldemort/client/ClientConfig.java
@@ -51,6 +51,7 @@ public class ClientConfig {
private volatile int maxConnec... | 5 | 3 | 1 | [{"id": "G0", "claim": "The new JavaDoc says \"proxy of firewall\" where it should say \"a proxy or firewall\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The 10-minute lower bound on setIdleConnectionTimeout seems unnecessary; the reviewer wo... | null |
voldemort__voldemort__461 | voldemort/voldemort | 461 | defect | 266351049a852ff5d9494b0060fa6c509ad64865 | 2ff80bf068dbe0523c7165c60a8c50d5325d2c54 | Fix race condition with BnP HA when cluster xml changes during a push | - Tweaked the AdminClient's currentVersion so that it is not stale.
- BnP now retries fetches when cluster.xml is stale.
(See commit messages for details) | diff --git a/contrib/hadoop-store-builder/src/java/voldemort/store/readonly/mr/azkaban/VoldemortRollbackJob.java b/contrib/hadoop-store-builder/src/java/voldemort/store/readonly/mr/azkaban/VoldemortRollbackJob.java
index 03685f4db6..a2e887441e 100644
--- a/contrib/hadoop-store-builder/src/java/voldemort/store/readonly/... | 2 | 2 | 1 | [{"id": "G2", "claim": "The fetchStore error path should keep logging the error with the nodeId (also for base VoldemortException) so debugging information is not lost.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G3", "claim": "The fetch retry on VoldemortE... | null |
volks73__cargo-wix__113 | volks73/cargo-wix | 113 | defect | 9232f8bb377f6d2f42d6fabc4d861e860e847a77 | c27d989aa3124cedec8e2fb2d3cd609fc7e463e1 | First stab at cross-compilation support | My first stab at fixing #110. Not fully complete yet (need to integrate it into the CLI, write some tests, fix some others).
This PR works by adding a new optional target flag to the Create step, which contains the rust target to build for. This flag is passed as-is to the cargo invocation.
When invoking wix, we ... | diff --git a/src/create.rs b/src/create.rs
index 71e979d6..0ed65759 100644
--- a/src/create.rs
+++ b/src/create.rs
@@ -69,6 +69,7 @@ pub struct Builder<'a> {
output: Option<&'a str>,
package: Option<&'a str>,
version: Option<&'a str>,
+ target: Option<&'a str>,
}
impl<'a> Builder<'a> {
@@ -90,6 +9... | 5 | 4 | 0 | [{"id": "G0", "claim": "The CargoTargetExplicit preprocessor hack in the WXS template is confusing, and the target-binary-path logic it implements should be moved to the Rust side (a single variable like CargoTargetBinDir) instead of relying on WXS preprocessor conditionals.", "category": "design", "verdict": "supporte... | null |
volks73__cargo-wix__165 | volks73/cargo-wix | 165 | defect | bd714cf8361e00b34e1390a7da92cefe5a33bbea | d7fb4530ac94d5fb09e1ed314642c4f1aeffbb57 | Fix licenses workspaces | The license is always generated using a `None` package with results in failing the initialization in workspaces environements.
This is due to:
```rust
let package = package(&manifest, None)?;
```
This PR adds the `package` field to the license creation code path in order to forward the desired package option.
| diff --git a/src/initialize.rs b/src/initialize.rs
index c32664f0..a3b6c714 100644
--- a/src/initialize.rs
+++ b/src/initialize.rs
@@ -470,6 +470,7 @@ impl Execution {
eula_printer.copyright_year(self.copyright_year.as_ref().map(String::as_ref));
eula_printer.input(self.input.a... | 2 | 2 | 1 | [{"id": "G0", "claim": "The PR should add a unit and/or integration test ensuring the license builder works with the `package` argument.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The existing `workspace_package_works` test fails on Linux on the mai... | null |
volks73__cargo-wix__222 | volks73/cargo-wix | 222 | defect | f573a491d3c3420d2afedafce5af2f58c7eb16df | 2566abdd15280b947199f868d3d5f93989b7a9e8 | feat: clean up path handling | * Depend on camino to avoid needless conversions of the camino paths cargo_metadata gives us
* Add a StoredPath(Buf) type that is for paths that will get written to output files like main.wxs
* Most interesting part is StoredPathBuf::from_utf8_path
* Clean up code to use new path types more | diff --git a/Cargo.lock b/Cargo.lock
index d87e1797..6ff7bc43 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -172,6 +172,7 @@ name = "cargo-wix"
version = "0.3.5"
dependencies = [
"assert_fs",
+ "camino",
"cargo_metadata",
"chrono",
"clap 4.4.2",
diff --git a/Cargo.toml b/Cargo.toml
index 7a4b51d3..1c81bd0b 1006... | 3 | 3 | 0 | [{"id": "G0", "claim": "The author's editor whitespace-converted src/eula.rs, so the pull request's diff rewrites the whole file instead of only the changed lines.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "UNC paths may be an issue for the ... | null |
volta-cli__volta__1179 | volta-cli/volta | 1,179 | defect | 6e26543e5d43a0358cd0872f4e01d6b66bb584dc | 84aa26b390840f1839a0b04228e3155e36b01953 | Add `Args` event to hold `argv` | This adds the `argv` info to a new `EventKind::Args` event, so that consumers of the events can differentiate between things like `yarn install` and `yarn --version`, for tracking metrics.
If the `VOLTA_WRITE_EVENTS_FILE` environment variable is set, this also serializes the events to a file, and sets the `EVENTS_FI... | diff --git a/crates/volta-core/src/event.rs b/crates/volta-core/src/event.rs
index 122e9277f..f9eff8101 100644
--- a/crates/volta-core/src/event.rs
+++ b/crates/volta-core/src/event.rs
@@ -3,7 +3,7 @@
use std::env;
use std::time::{SystemTime, UNIX_EPOCH};
-use serde::Serialize;
+use serde::{Deserialize, Serialize};... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new argv collection uses env::args(), which panics if any argument is not valid UTF-8; it should use env::args_os as done elsewhere in the app.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Building the argv string ahead... | null |
volta-cli__volta__1204 | volta-cli/volta | 1,204 | defect | 67efa91fa4d6c6540040c35e8012736ae23a8195 | 5b9ac585864fad344692546dc0aeccd7f708c737 | Yarn3 Plug'n'Play | Support for Yarn3 Plug'n'Play.
Previously, our global package delegation expected any project-local binaries to be located in `node_modules/.bin`.
With this change, we detect usage of Yarn Plug'n'Play (by checking for `.pnp.js` or `.pnp.cjs`) and instead of calling the binary directly, delegate to it using `yarn ... | diff --git a/crates/volta-core/fixtures/plug-n-play/pnp-cjs/.pnp.cjs b/crates/volta-core/fixtures/plug-n-play/pnp-cjs/.pnp.cjs
new file mode 100644
index 000000000..dafb4259c
--- /dev/null
+++ b/crates/volta-core/fixtures/plug-n-play/pnp-cjs/.pnp.cjs
@@ -0,0 +1 @@
+// plug and play
diff --git a/crates/volta-core/fixtur... | 2 | 2 | 1 | [{"id": "G0", "claim": "The PnP check should be made lazy with the `find_bin` call so the `.pnp.js` file stats only happen when the binary is not already in `node_modules/.bin`, keeping the hot path fast.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"... | null |
volta-cli__volta__1230 | volta-cli/volta | 1,230 | defect | 1ad3d7cbe71351a02703c19dbfb68115e962fe3f | cec6952c12849837c25738b0f12979f7b55631c0 | Add "format" to yarn.index hook | This adds the ability to configure the Yarn index registry format in `hooks.json`.
## Details
The Yarn `"index"` hook is the only thing that can use either Github (legacy) or Npm registry formats.
In [the RFC](https://github.com/volta-cli/rfcs/pull/48), I left a comment suggesting an optional `"format"` field ... | diff --git a/crates/volta-core/fixtures/hooks/format_github.json b/crates/volta-core/fixtures/hooks/format_github.json
new file mode 100644
index 000000000..ed92eea15
--- /dev/null
+++ b/crates/volta-core/fixtures/hooks/format_github.json
@@ -0,0 +1,20 @@
+{
+ "node": {
+ "index": {
+ "prefix": "http://localho... | 2 | 1 | 0 | [{"id": "G0", "claim": "Prefer a `match` expression over `if let { } else { }` when defaulting the registry format to Github, as it is more readable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider having the hooks themselves handle vers... | null |
volta-cli__volta__1292 | volta-cli/volta | 1,292 | defect | 71674006d6d02acf1ca69484fde3774dd3af02ee | ca046dea7cf795756257aa464edc9de3950363fd | Check volta shims for reachability during tool install | Fix #1268
| diff --git a/Cargo.lock b/Cargo.lock
index 6d5db6aaa..2140814e7 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1955,6 +1955,7 @@ dependencies = [
"validate-npm-package-name",
"volta-layout",
"walkdir",
+ "which",
"winfolder",
"winreg",
]
diff --git a/crates/volta-core/Cargo.toml b/crates/volta-core/Cargo.toml
... | 4 | 4 | 1 | [{"id": "G0", "claim": "Make the shim reachability check infallible (only showing a message when the shim and the resolved binary can both be determined and compared) instead of a fallible public method that requires a new ShimResolveError error type.", "category": "design", "verdict": "supported", "priority": "P1", "s... | null |
volta-cli__volta__1659 | volta-cli/volta | 1,659 | defect | aace0e5463239fde35e343fb3d203ccf43814478 | 0b5f5a7215a7a5bc8a82064574dfbac7cdfcdb39 | chore: replace hyperx with headers | Replaces `hyperx` crate with `headers` crate to modernize dependencies regarding to HTTP headers. `hyperx` was released as an extraction of the `hyper` 0.11 typed header module. Today, `hyper` community decoupled the header module as `headers` crate and maintains it. | diff --git a/Cargo.lock b/Cargo.lock
index 1b8a4d281..b376df66b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -99,7 +99,7 @@ dependencies = [
"cfg-if",
"flate2",
"fs-utils",
- "hyperx",
+ "headers",
"progress-read",
"tar",
"tee",
@@ -163,6 +163,12 @@ version = "0.13.1"
source = "registry+https://github.com/r... | 4 | 4 | 0 | [{"id": "G0", "claim": "The range would read more clearly without the redundant `-1` by using an exclusive range: `Range::bytes(len - 4..len)`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A comment should be added above the `.first().unwrap()... | null |
volta-cli__volta__220 | volta-cli/volta | 220 | defect | ccec11efe8a4c171178366a8d8f8531cf4e77389 | 23d5247a2155a167ea3cb3aa58e8120acce8e48a | Use JSON for internal platform config, to avoid TOML issues | Closes #219. | diff --git a/crates/notion-core/src/toolchain/mod.rs b/crates/notion-core/src/toolchain/mod.rs
index f5538a9e3..7530528bc 100644
--- a/crates/notion-core/src/toolchain/mod.rs
+++ b/crates/notion-core/src/toolchain/mod.rs
@@ -18,18 +18,25 @@ pub struct Toolchain {
platform: Option<Image>,
}
+fn platform_from_tom... | 3 | 2 | 0 | [{"id": "G0", "claim": "Using the toml crate's tables_last serializer (`#[serde(serialize_with = \"toml::ser::tables_last\")]`) would be more robust than manually reordering struct fields, and would make the serialization requirement more noticeable to readers.", "category": "design", "verdict": "opposed", "priority": ... | null |
volta-cli__volta__221 | volta-cli/volta | 221 | defect | 37ed1cd2aedcb51927f2136188137fd47ba481af | 98c4d7ff77d8311947588f49482f0416a9f9a762 | Robust progress | Fixes #214.
This PR streamlines the implementation of progress reporting for fetching and unpacking tarballs: it eliminates the unnecessary extra `HEAD` request and gets both the `Content-Length` and `Accepts` headers from a `GET` request of the full payload. Since [reqwest fetches payloads by-need](https://twitter.... | diff --git a/crates/archive/src/tarball.rs b/crates/archive/src/tarball.rs
index e08c1a319..fa3637233 100644
--- a/crates/archive/src/tarball.rs
+++ b/crates/archive/src/tarball.rs
@@ -57,7 +57,6 @@ impl Tarball {
/// tarball that can be streamed (and that tees its data to a local
/// file as it streams).
... | 3 | 1 | 0 | [{"id": "G0", "claim": "In YarnEntry::is_full_release the author should use Iterator::any() instead of find().is_some().", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Having two types named NodeEntry (and likewise NodeIndex) with the same field... | null |
volta-cli__volta__224 | volta-cli/volta | 224 | defect | 33a9ad4c64603b8e2ff46d8a7bcf556ada358ad3 | b5a0ccb9b67ec128779a89dca9aacc6d0ed6b50a | Use `NOTION_HOME` for all sandboxing | Fixes #207.
Reduces the OS-specific logic by building everything on top of a `notion_home()` function. Most of the directory layout is OS-independent.
Also eliminates the Rust compiler warning for the deprecated `std::env::home_dir()` function, replacing it with the recommended `dirs` crate.
This PR is the fir... | diff --git a/Cargo.lock b/Cargo.lock
index 50141a76df..294e188ac9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -27,6 +27,23 @@ dependencies = [
"zip 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
+[[package]]
+name = "argon2rs"
+version = "0.2.5"
+source = "registry+https://github.com/rust-lang/c... | 2 | 2 | 2 | [{"id": "G0", "claim": "The test module's notion_base() and shim_dir() helpers duplicate the functionality of path::notion_home() and path::shim_dir() and should be replaced by those functions, since with two separate implementations the tests could fail if NOTION_HOME is set to something other than the default.", "cat... | null |
volta-cli__volta__226 | volta-cli/volta | 226 | defect | 33a9ad4c64603b8e2ff46d8a7bcf556ada358ad3 | 5fff3531e1daaccd7a96aa68d29ac1a9f278f715 | Rename 'notion use' to 'notion pin' | Closes #213
Rename all internal references to the 'use' command to 'pin', including the CLI Help messages. A separate PR to the `www` repo will update the website to reflect the command name change. | diff --git a/crates/notion-core/src/event.rs b/crates/notion-core/src/event.rs
index ee338ecfd..ebe053504 100644
--- a/crates/notion-core/src/event.rs
+++ b/crates/notion-core/src/event.rs
@@ -156,9 +156,9 @@ pub mod tests {
assert_eq!(event_log.events.len(), 1);
assert_eq!(event_log.events[0].name, "... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add back an undocumented `notion use` command whose behavior is just to print an error message explaining the two commands the user may wish to use (`notion pin` and `notion install`), for a more gentle migration for existing notion users and nvm users.", "category": "design", "verdict": "suppor... | null |
volta-cli__volta__228 | volta-cli/volta | 228 | defect | a145199062f79e8935e103abdaa33d51f34ef165 | 25f4f68a0bd4788262c6f3ea424f3d6431afdde3 | Skip Scanning Index with Exact Version | Closes #227
Prevent an unnecessary scan of the tool index (either Node or Yarn) by adding a `VersionSpec::Exact` type to represent a known exact version. Then when resolving the version we can shortcut and just return that version instead of doing a scan.
Also updated the error messages in `distro` to handle the... | diff --git a/crates/archive/src/lib.rs b/crates/archive/src/lib.rs
index 16a3c60eb..dc6d6e905 100644
--- a/crates/archive/src/lib.rs
+++ b/crates/archive/src/lib.rs
@@ -26,8 +26,8 @@ extern crate failure_derive;
#[derive(Fail, Debug)]
#[fail(display = "HTTP failure ({})", code)]
-pub(crate) struct HttpError {
- ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The closure body should brace the `match` on its own line for style.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Issue comments should follow the standard `// ISSUE #173: ...` syntax for greppability.", "category": "ma... | null |
volta-cli__volta__233 | volta-cli/volta | 233 | defect | 629e4f3c6d61b38b1f7f194221d0014913379aba | 966c496ac5d4e954257396d21897186c12f938cb | Make "npm" key optional in package.json | Closes #208
* Updated `PlatformSpec` to hold `node_runtime` and `npm` separately.
* Switched `PlatformSpec::npm` to be an `Option`.
* Included logic in `PlatformSpec::checkout()` that determines the default version of npm when creating an `Image`.
* Prevent writing of `npm` to `package.json` if it is the default... | diff --git a/crates/notion-core/src/distro/node.rs b/crates/notion-core/src/distro/node.rs
index e838dbfb2..1fdf0e6c6 100644
--- a/crates/notion-core/src/distro/node.rs
+++ b/crates/notion-core/src/distro/node.rs
@@ -50,6 +50,14 @@ pub struct NodeVersion {
pub npm: Version,
}
+impl NodeVersion {
+ /// Read t... | 2 | 1 | 0 | [{"id": "G0", "claim": "The default_npm_version helper only works for already-fetched Node distros and should not live in the stateless NodeVersion namespace; make it a top-level function in the module instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim... | null |
volta-cli__volta__248 | volta-cli/volta | 248 | defect | 6c310eea2c77f42f49c96764a772ec684ac86b7a | 9609d5b01f86a7b249f8155bd3b460c72b7cd9d9 | Intercept Global Installs from npm and Yarn | Closes #154
Changes
-----
* Added checks to `npm` and `yarn` to intercept global installs and show an error message guiding the user to `notion install` for global packages.
* Allowed this behavior to be overridden by the `NOTION_ALLOW_GLOBAL` environment variable.
* Refactored the `Tool` implementations into t... | diff --git a/crates/notion-core/src/tool/binary.rs b/crates/notion-core/src/tool/binary.rs
new file mode 100644
index 000000000..819e00e6c
--- /dev/null
+++ b/crates/notion-core/src/tool/binary.rs
@@ -0,0 +1,99 @@
+use std::env::{args_os, ArgsOs};
+use std::ffi::OsStr;
+use std::process::Command;
+
+use super::{arg0, c... | 8 | 8 | 3 | [{"id": "G0", "claim": "The error message is missing the close backtick for `notion help install`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The error message should probably not mention NOTION_ALLOW_GLOBAL, and the variable might be better n... | null |
volta-cli__volta__331 | volta-cli/volta | 331 | defect | 6cc5fb3f8c020268f27b57cc2ad16eec5129e675 | 29d4735c299ea17461d2c7eae8be55a05fbc09e4 | Support `notion install node lts` | Closes #255 | diff --git a/crates/notion-core/src/inventory/mod.rs b/crates/notion-core/src/inventory/mod.rs
index 92da4de83c..44257daccc 100644
--- a/crates/notion-core/src/inventory/mod.rs
+++ b/crates/notion-core/src/inventory/mod.rs
@@ -149,6 +149,7 @@ pub trait FetchResolve<D: Distro> {
) -> Fallible<D> {
let vers... | 4 | 4 | 3 | [{"id": "G0", "claim": "In `resolve_lts`, the `lts` field is a Boolean, so the closure should use `|&NodeEntry { lts: val, .. }| val` instead of `ref v` plus `v.clone()`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `install_node_lts` smok... | null |
volta-cli__volta__336 | volta-cli/volta | 336 | defect | f9fef2bb2ca96620b380bb72885843d4e1197b1d | a23f177b1c5b6c9d5577669bfc872da2e1be4a8c | Finish auditing the existing error messages | Closes #295
Info
-----
* Builds on #328
* Completes audit and update of existing error messages.
* All error messages in `error/details.rs` should now follow the new style or have a comment explaining why they don't have a CTA.
Changes
-----
* Updated all remaining errors in `error/details.rs` to reflect ... | diff --git a/crates/notion-core/src/distro/package.rs b/crates/notion-core/src/distro/package.rs
index e438f3073..c5c6cd52c 100644
--- a/crates/notion-core/src/distro/package.rs
+++ b/crates/notion-core/src/distro/package.rs
@@ -186,8 +186,8 @@ impl Distro for PackageDistro {
let bin_config = BinConfig... | 2 | 2 | 0 | [{"id": "G0", "claim": "The UnspecifiedPostscript error message misspells \"ensure\" as \"nesure\" and should read \"Please ensure Notion was installed correctly.\"", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The BinaryAlreadyInstalled error me... | null |
volta-cli__volta__421 | volta-cli/volta | 421 | defect | fdd9a99189d9cb0eaa93e1351545f5047aec9b01 | 0ccd4f95d972504e1111142de02e9847f5b55972 | Tools: better message for intercepted global installs. | Fixes #360
<details>
<summary>
output for <code>yarn global add</code> and <code>npm -g, --global install</code> (all variations)
</summary>
```
$ yarn global add waffles
Volta error: Global package installs are not supported.
Use `volta install waffles` to add a package to your toolchain (see `volta help... | diff --git a/crates/volta-core/src/error/details.rs b/crates/volta-core/src/error/details.rs
index b5e7f9c5f..20fcd48e0 100644
--- a/crates/volta-core/src/error/details.rs
+++ b/crates/volta-core/src/error/details.rs
@@ -1,3 +1,4 @@
+use std::ffi::OsString;
use std::fmt;
use std::path::PathBuf;
@@ -156,7 +157,9 @@ ... | 1 | 1 | 0 | [{"id": "G0", "claim": "check_npm_install could check `is_global` and short-circuit (return early) before doing the argument filtering and comparison work when the command is not a global install.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
volta-cli__volta__470 | volta-cli/volta | 470 | defect | 6f7b1b72babe6da7f3cd2eea2074eb579a8229be | 3915e71bff5b4940151c25ae5ec108e83b1f1910 | Fall back to default Yarn if project Yarn is not set | Closes #436
Info
-----
* Currently, if we have a default yarn set, but the user runs `yarn` within a project that _doesn't_ have yarn specified, then we throw an error and require the user to run `volta pin yarn` to continue.
* This is a poor UX, as the user has already run `volta install yarn`, so we do have a ... | diff --git a/crates/volta-core/src/error/details.rs b/crates/volta-core/src/error/details.rs
index af07f81a4..7c0858126 100644
--- a/crates/volta-core/src/error/details.rs
+++ b/crates/volta-core/src/error/details.rs
@@ -768,7 +768,7 @@ Use `volta install` to select a default version of a tool."
),
... | 3 | 2 | 0 | [{"id": "G0", "claim": "The PR's merged-platform Source variant models only the Project-node/User-yarn combination; the source of each tool should be tracked separately instead of one source for the whole platform (possibly in a follow-on PR), so cases like ProjectYarnUserNode and the source of the platform can be repr... | null |
volta-cli__volta__529 | volta-cli/volta | 529 | defect | d7a403a1f7f8a33ce63b3d05826575e391c7e98d | 60e63b7932289ef2af4345b68dfb361fdfd9ced1 | Update how RPM install works, and auto-create shims along with the home dir layout | ## RPM install changes
The `volta` binary is now installed to `/usr/bin`, so it will be available on the PATH after install. For the user who ran the install, everything is still setup in their home dir.
## Shim auto-creation changes
If this was installed by `root` (which seems to be typical in managed environ... | diff --git a/crates/volta-core/src/error/details.rs b/crates/volta-core/src/error/details.rs
index b7d68b7ae..ce9250328 100644
--- a/crates/volta-core/src/error/details.rs
+++ b/crates/volta-core/src/error/details.rs
@@ -386,6 +386,9 @@ pub enum ErrorDetails {
name: String,
},
+ /// Thrown when Volta... | 6 | 6 | 4 | [{"id": "G0", "claim": "The `npx` shim should also be ensured to exist along with node, yarn and npm, for consistency with the installer.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The VOLTA_SHIM PathBuf construction can be simplified with `.int... | null |
volta-cli__volta__537 | volta-cli/volta | 537 | defect | 70ad38166878bb45bb65ff343447d0840460f352 | 39440449c33fa5a65213306cd4ed3105d536abd9 | Ensure download directory exists for tarballs | Fixes #538.
This ensures that the directory exists before trying to unpack the tarball there.
Additional cleanup: I moved the `ensure_containing_dir_exists` function into a new `fs-utils` crate. There are some other functions that could be moved there, but I didn't want to go down that hole for this PR.
When t... | diff --git a/crates/archive/src/tarball.rs b/crates/archive/src/tarball.rs
index d0cb05c57..19ec3a22b 100644
--- a/crates/archive/src/tarball.rs
+++ b/crates/archive/src/tarball.rs
@@ -1,7 +1,7 @@
//! Provides types and functions for fetching and unpacking a Node installation
//! tarball in Unix operating systems.
... | 2 | 2 | 1 | [{"id": "G0", "claim": "The ensure_containing_dir_exists helper should live in a shared location (e.g. be callable from volta-core) rather than being duplicated in the archive crate.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ensure_containing_dir_ex... | null |
volta-cli__volta__590 | volta-cli/volta | 590 | defect | e97bf5b8361d91277c536e781ba39098a11c6a8a | 92f1b074f75d1db4d01d84a695d5d72eaaa0d04d | [Updates] Create 'volta-migrate' binary to handle layout migrations | Closes #566
Info
-----
* To support background updates (either automatic or managed) when the layout of the Volta directory may change between versions, we need a way to migrate from one version of a layout to the most recent.
* This migration should be checked on every execution, to make sure that the Volta sys... | diff --git a/Cargo.lock b/Cargo.lock
index ed563d64b4..fb6391de48 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2374,6 +2374,7 @@ dependencies = [
"atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
"cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
"console 0.6.2 (registry+... | 14 | 11 | 2 | [{"id": "G0", "claim": "Add an issue tracking the removal of the volta_install deadlock-warning TODO (and/or mention it in the existing issue for enabling updates) so it is not forgotten.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new Empt... | null |
volta-cli__volta__603 | volta-cli/volta | 603 | defect | 63c0a5224f05f172e174b9752918921d60c11d0a | e942d14128aeb4b9f8b70ecc1e19f17e82a9cf19 | Fix for #503 | This is a attempt for fixing #503
One of my concern is that, I'm only checking ONE `\n` at the end of `package.json`, and appending ONE `\n` if there is one after updating `package.json`. What if there are multiple `\n` at the bottom of the original `package.json`? Should we also take care of that case?
From ano... | diff --git a/crates/volta-core/src/manifest/mod.rs b/crates/volta-core/src/manifest/mod.rs
index 389bb2557..5e21597a8 100644
--- a/crates/volta-core/src/manifest/mod.rs
+++ b/crates/volta-core/src/manifest/mod.rs
@@ -2,6 +2,7 @@
use std::collections::{HashMap, HashSet};
use std::fs::{read_to_string, File};
+use std... | 1 | 1 | 0 | [{"id": "G0", "claim": "Use the write! macro instead of write_all to append the trailing newline to package.json.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
volta-cli__volta__604 | volta-cli/volta | 604 | defect | 63c0a5224f05f172e174b9752918921d60c11d0a | 4cd1026f2f719312f61771e827609c4e1e83994e | Package Install Improvements | Closes #491
Closes #480
Info
-----
Our current `volta install <package>` process has a few slightly-related issues that have come up multiple times:
* We currently select the latest version of Node that matches the `engines` field (or the latest overall if there are no `engines`), which can result in broken CL... | diff --git a/crates/volta-core/src/error/details.rs b/crates/volta-core/src/error/details.rs
index e2fb99347..5cf1ce472 100644
--- a/crates/volta-core/src/error/details.rs
+++ b/crates/volta-core/src/error/details.rs
@@ -32,7 +32,8 @@ impl fmt::Display for CreatePostscriptErrorPath {
}
}
-#[derive(Debug, Fail, ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add an explanatory comment to the VersionSpec::Tag(VersionTag::Custom) match arm in node/resolve.rs, since it was not initially clear why this is always an error (Node has no tagged releases like packages do).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "i... | null |
volta-cli__volta__610 | volta-cli/volta | 610 | defect | 40b071407b0fe7dc6579941fac91e445f2911793 | 2147252fcfbf2e6e7d7acb85606a618383bae169 | #490: cleanup from `user` to `default` | This PR is for updating the code base to use that same terminology described in #490: move/cleanup from calling `User` to `Default`.
Sorry for the huge amount of changes, I did try my best to not forget anything, but definitely please let me know if there is anything missing here. Thanks! | diff --git a/crates/volta-core/src/error/details.rs b/crates/volta-core/src/error/details.rs
index e2fb99347..0af993c3a 100644
--- a/crates/volta-core/src/error/details.rs
+++ b/crates/volta-core/src/error/details.rs
@@ -218,7 +218,7 @@ pub enum ErrorDetails {
NotInPackage,
/// Thrown when default Yarn is n... | 14 | 14 | 6 | [{"id": "G0", "claim": "The doc comment on PackageConfig should keep saying packages are stored under ~/.volta/tools/user/ rather than changing the documented filesystem layout to default/.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The doc co... | null |
volta-cli__volta__626 | volta-cli/volta | 626 | defect | 896c8f1960d4bba9a8cb9d03dd6432c999a73e8b | 60e09f1cd6481e4100ad6369e321966885090a46 | Support Sources for individual Tool Versions | Info
-----
* To support installing / pinning `npm`, we need to handle Sources in a more granular way.
* Currently we have a single enum for the source of the `PlatformSpec` as a whole: `Project`, `Default`, or `ProjectNodeDefaultYarn`.
* As we expand to supporting `npm` and eventually other package managers, a sing... | diff --git a/crates/volta-core/src/inventory/package.rs b/crates/volta-core/src/inventory/package.rs
index a0e1aab5da..f54a19be81 100644
--- a/crates/volta-core/src/inventory/package.rs
+++ b/crates/volta-core/src/inventory/package.rs
@@ -10,7 +10,6 @@ use volta_fail::Fallible;
// Convenience for access as `package::C... | 2 | 2 | 0 | [{"id": "G0", "claim": "Session::default_platform could be simplified to a single expression, `self.toolchain.get().map(|toolchain| toolchain.platform())`, instead of binding the toolchain to a local variable first.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"... | null |
volta-cli__volta__638 | volta-cli/volta | 638 | defect | c712218388a72b787246070610c8cb5e63dd6fda | 847d67ad970567977786e2dbb4111a5102e6da2d | Fix #636: Improve volta uninstall messaging for non-installed packages | - Move the logic of showing success/warn into `package::uninstall`
- Show `uninstall success` when package config exists or orphaned binary exists
- Matched unpacked and initialized package won't trigger `uninstall success`
Let me know if there is anything missing or anything I need to change. Thanks! | diff --git a/crates/volta-core/src/tool/mod.rs b/crates/volta-core/src/tool/mod.rs
index 893804f38..fba376143 100644
--- a/crates/volta-core/src/tool/mod.rs
+++ b/crates/volta-core/src/tool/mod.rs
@@ -111,7 +111,6 @@ impl Spec {
.into()),
Spec::Package(name, _) => {
package::u... | 6 | 6 | 2 | [{"id": "G0", "claim": "The uninstall logic repeats the package_config_file.exists() check in nested conditionals; Chris suggests restructuring it into a single three-scenario if/else-if/else expression.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla... | null |
volta-cli__volta__670 | volta-cli/volta | 670 | defect | aaf9c32d2aa547d8ffc2836815f9776ee41bc342 | 348ae216a6ff4961ea8adad751af80517b404251 | Implement Migration to support custom npm versions | Info
-----
* To support custom npm versions, there are a few changes that need to be migrated:
* First, we should remove the `npm` version from the PATH to the Node image directory, since that Node will be used regardless of the npm version.
* Second, we should make sure that if the default npm version is s... | diff --git a/Cargo.lock b/Cargo.lock
index d61228255..bc39c375b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2490,6 +2490,7 @@ name = "volta-migrate"
version = "0.1.0"
dependencies = [
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "tempfile 3.0.8 (registry+https://github.com/rust-lang/crate... | 3 | 3 | 0 | [{"id": "G0", "claim": "The doc comment on the detect_tagged! macro should add an example usage so users can see the expected sequence of args.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The 'from v0.7.3' doc comment is unclear and should clar... | null |
volta-cli__volta__684 | volta-cli/volta | 684 | defect | 0897b52e23d7175cbeb879a968e0b5a86f7c58b0 | 99395b55932041b6c0f147b9a3e54a9d99f74662 | [Medium] Prevent concurrent writes to VOLTA_HOME | Closes #612
Info
-----
* As described in #612, we currently have issues when multiple Volta processes try to mutate the VOLTA_HOME directory simultaneously.
* The most common case we've seen so far for this is when two processes try to download the same version of Node / Yarn at the same time (e.g. in an automat... | diff --git a/Cargo.lock b/Cargo.lock
index d61228255a..3c1e1d4149 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -74,7 +74,7 @@ name = "atty"
version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
+ "l... | 1 | 1 | 1 | [{"id": "G0", "claim": "Acquiring the lock blocks until another process releases it while the CLI hangs with no output, and the reviewer asks that this be surfaced to the user instead — e.g. test with try_lock() first and show a message like \"waiting for concurrent download to complete\".", "category": "design", "verd... | null |
volta-cli__volta__713 | volta-cli/volta | 713 | defect | daa3785c02f4c38b536d38c0524fee148ea0f5d2 | f14c1968a9d42df00989ad7eb17de2ea6926bde8 | [run] [Large] Implement `volta run` command | Info
----
* As described in https://github.com/volta-cli/rfcs/pull/39, we want to have a `volta run` command that allows you to override the detect `node` and `yarn` versions when running a specific command.
Changes
-----
* Added `CommandLine` source for Platforms and an `InheritOption` type that represents one ... | diff --git a/crates/volta-core/src/error/details.rs b/crates/volta-core/src/error/details.rs
index f943d742e..ed791bf59 100644
--- a/crates/volta-core/src/error/details.rs
+++ b/crates/volta-core/src/error/details.rs
@@ -193,6 +193,9 @@ pub enum ErrorDetails {
command: String,
},
+ /// Thrown when Ya... | 1 | 1 | 1 | [{"id": "G0", "claim": "When a PATH environment variable passed on the command line is skipped, the message should be logged at warn level (with the matching log import), not debug, so the user is told their PATH setting is being ignored.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "... | null |
volta-cli__volta__753 | volta-cli/volta | 753 | defect | e740a7ae7772d928d26c2d3aebc9f79954971980 | 2fadadb6329650212e8cdf0f83396d938024463d | [Medium] Refactor hooks loading to avoid repeating project detection | Info
-----
* Since project-local hooks were implemented, the work to detect a project root (walking up the file system looking for `package.json` was duplicated between `Project` and `HookConfig`.
* With the prospect of support for workspaces coming soon, that work has the potential to grow significantly, since it w... | diff --git a/crates/volta-core/src/event.rs b/crates/volta-core/src/event.rs
index 9ee47c5ad..bdd0ce363 100644
--- a/crates/volta-core/src/event.rs
+++ b/crates/volta-core/src/event.rs
@@ -128,7 +128,7 @@ impl EventLog {
self.events.push(event);
}
- pub fn publish(&mut self, plugin: Option<&Publish>)... | 4 | 4 | 1 | [{"id": "G0", "claim": "Since the old test_for_dir test is gone, add a test for the new paths function (which will be more heavily used with upcoming workspace support) to cover hooks loading.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Expand the me... | null |
volta-cli__volta__822 | volta-cli/volta | 822 | defect | 852e90117a2c4a5956bf9990ad99145f569b63da | b340dd72f1e1025522c959df016d73503adbc109 | [Medium] Implement Package Migration | Info
-----
* Part 9 of package rework: Create migration for existing packages
* With the change to revamp to how packages are installed, we need to make sure to migrate anyone who has packages installed with the old logic.
* We achieve this by building a list of installed packages and re-installing them using the n... | diff --git a/.github/workflows/test-feature.yml b/.github/workflows/test-feature.yml
new file mode 100644
index 0000000000..1d3a7a3000
--- /dev/null
+++ b/.github/workflows/test-feature.yml
@@ -0,0 +1,67 @@
+on:
+ push:
+ branches:
+ - main
+ pull_request:
+ branches:
+ - main
+
+name: Test Package Fe... | 6 | 4 | 1 | [{"id": "G0", "claim": "With the `package-global` feature off, an Empty state should still migrate to V1 (keeping the previous sequential semantics) rather than jumping straight to V2, per the reviewer's suggestion block.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"i... | null |
volta-cli__volta__827 | volta-cli/volta | 827 | defect | 9479679c3c46f321bb33f9e399c67fad10036000 | cf0dfb7517811e433269961aa65f9e0aa8cec50c | [Large] Refactor 'run' module to allow for better extensibility | Info
-----
* Looking forward to allowing `npm i -g <package>` to work seamlessly within Volta, we need to ensure that the `run` module can handle more extensibility.
* Since there will be more possible branches (`npm i -g` will need to include extra behavior both before and after running a command), we will want to ... | diff --git a/crates/volta-core/src/lib.rs b/crates/volta-core/src/lib.rs
index 1eb4212f88..b37f18a3f3 100644
--- a/crates/volta-core/src/lib.rs
+++ b/crates/volta-core/src/lib.rs
@@ -12,6 +12,10 @@ pub mod manifest;
pub mod monitor;
pub mod platform;
pub mod project;
+#[cfg(not(feature = "package-global"))]
+pub mod... | 3 | 3 | 0 | [{"id": "G0", "claim": "The manual exists-check plus BinConfig::from_file in DefaultBinary::from_name should be cleaned up to use the BinConfig::from_file_if_exists helper from the previous PR.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Defa... | null |
volta-cli__volta__829 | volta-cli/volta | 829 | defect | 9479679c3c46f321bb33f9e399c67fad10036000 | 73eeca2c197db4820d8399ad34b7eb9dd9ba2305 | [Medium] Initial implementation of direct global installs | Info
-----
* First pass, naive enabling of `npm i -g <package>` to go through the `volta install` logic (using the package manager of choice) and install the package with Volta's stable platform guarantees and delegating shims.
* Completes the plumbing to make the happy path work, but doesn't handle edge cases at al... | diff --git a/crates/volta-core/src/lib.rs b/crates/volta-core/src/lib.rs
index 1eb4212f88..b37f18a3f3 100644
--- a/crates/volta-core/src/lib.rs
+++ b/crates/volta-core/src/lib.rs
@@ -12,6 +12,10 @@ pub mod manifest;
pub mod monitor;
pub mod platform;
pub mod project;
+#[cfg(not(feature = "package-global"))]
+pub mod... | 4 | 4 | 0 | [{"id": "G0", "claim": "Expand the invariant comment on `cli_platform` to clarify why `CliPlatform::merge` cannot call methods on the `PackageInstallCommand` while `platform` is taken (making the unwrap safe).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ... | null |
volta-cli__volta__833 | volta-cli/volta | 833 | defect | 04ec462f5d3daef54cbdd84e2e1f03744c6750aa | a225dca8831a9380113744e6ebfb9568d6467c2d | [Small] Implement direct global uninstalls | Info
-----
* Since we now support installing globals directly with `npm i -g <package>`, we should also support removing them with `npm uninstall -g <package>`
* This should always delegate to the internal Volta logic, so we can be sure that the shims and config files are correctly cleaned up.
Changes
-----
* A... | diff --git a/crates/volta-core/src/run_package_global/executor.rs b/crates/volta-core/src/run_package_global/executor.rs
index 99cb5d811..71905d7ad 100644
--- a/crates/volta-core/src/run_package_global/executor.rs
+++ b/crates/volta-core/src/run_package_global/executor.rs
@@ -19,6 +19,7 @@ pub enum Executor {
Tool... | 1 | 1 | 0 | [{"id": "G0", "claim": "Make the tool_name helper a pub fn on Spec so call sites can write &self.tool.name(), which clarifies the relationship and may be useful in the future.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
volta-cli__volta__835 | volta-cli/volta | 835 | defect | a225dca8831a9380113744e6ebfb9568d6467c2d | c8f95164f19ea3c3a342aee4aa27ac1184bb3ac1 | [Large] Add support for installing multiple packages in one command | Info
-----
* The implementation of direct package installs in #829 (and the follow-ups) only supported the _first_ package supplied to the install command.
* If the user ran `npm install --global typescript ember-cli`, which is a valid `npm` command, only `typescript` would get installed.
* This PR updates the inst... | diff --git a/crates/volta-core/src/platform/mod.rs b/crates/volta-core/src/platform/mod.rs
index 00af3510f5..8239b7d595 100644
--- a/crates/volta-core/src/platform/mod.rs
+++ b/crates/volta-core/src/platform/mod.rs
@@ -113,6 +113,7 @@ where
/// Represents 3 possible states: Having a value, not having a value, and in... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `default_platform` parameter of `InstallArgs::executor` would read better named `platform` (so the call site reads `platform.as_default()`), and platform handling could keep improving so this pattern is not needed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "s... | null |
volta-cli__volta__957 | volta-cli/volta | 957 | defect | 9606139be374266859264c7931e990ad97ae8419 | c37ea95b69d15e5909b5424b4bba573d68d24697 | Fix pinning of npm@bundled | When node is pinned in a project, and `volta pin npm@bundled` is run, nothing is added to `package.json`, that is, `npm@bundled` is pinned by default. However, when actually running npm in a project like this, Volta didn't behave correctly, and used the global default npm.
It would be nice to write a test case for t... | diff --git a/crates/volta-core/src/platform/mod.rs b/crates/volta-core/src/platform/mod.rs
index adf2af444..0a3f34f82 100644
--- a/crates/volta-core/src/platform/mod.rs
+++ b/crates/volta-core/src/platform/mod.rs
@@ -244,34 +244,17 @@ impl Platform {
/// pulling Yarn from the user default platform, if available
... | 2 | 1 | 0 | [{"id": "G0", "claim": "volta list does not handle bundled npm versions correctly, and fixing it may require a larger refactor of how list pulls its information, so it is deferred beyond this pull request.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "cla... | null |
voquill__voquill__302 | voquill/voquill | 302 | defect | bd6fc89372de3397a794ac673e027ae29c2b3d2b | a44d8ea4a88637a3cee1d70c5e889c15a4712519 | Feature/dictation limit setting | ## What changed?
<!-- Description of changes -->
Allow users with API / local setups to adjust the dictation limit to over five minutes
<!-- Demo video/screenshots -->
## Screenshots
**Settings of a local / API user (see dictation limit setting)**
<img width="599" height="498" alt="Screenshot 2026-03-30 at 22... | diff --git a/apps/desktop/src-tauri/src/db/migrations/065_dictation_limit_minutes.sql b/apps/desktop/src-tauri/src/db/migrations/065_dictation_limit_minutes.sql
new file mode 100644
index 000000000..cef5ef209
--- /dev/null
+++ b/apps/desktop/src-tauri/src/db/migrations/065_dictation_limit_minutes.sql
@@ -0,0 +1 @@
+ALT... | 4 | 2 | 2 | [{"id": "G0", "claim": "Gating startRecordingTimers on shouldEnableDictationLimit makes cloud/hosted recordings unlimited by removing the 4/5-minute safety warning and auto-stop, and requests always running the timers with a fixed default limit for cloud.", "category": "correctness", "verdict": "supported", "priority":... | null |
vorner__signal-hook__131 | vorner/signal-hook | 131 | defect | d4bd2bab6fc8b65d5e0b917f8c248addaab51ebf | 1dac6e5044432c7bc0ad6d6d4ae4a17416f47b63 | Add support for mio v0.8 | Add support for mio-v0.8, not sure if this is the best way since it duplicates most of the v0.7, also not sure if there is a better way for this doing this, this allows helix which in terms depends on crossterm to be able to use signal-hook-mio with v0.8 to prevent crate duplication. | diff --git a/Cargo.lock b/Cargo.lock
index fe3bfd9..0c7eb09 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -493,6 +493,20 @@ dependencies = [
"winapi 0.3.9",
]
+[[package]]
+name = "mio"
+version = "0.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7ba42135c6a5917b9db9cd7b293e5409e... | 1 | 1 | 1 | [{"id": "G0", "claim": "The single test file gated on any(support-v0_7, support-v0_8) will not test both mio versions when both features are enabled; the reviewer asks for a separate test file for mio 0.8 and a check that CI runs with mio 0.8 enabled.", "category": "testing", "verdict": "supported", "priority": "P1", "... | null |
vorner__signal-hook__19 | vorner/signal-hook | 19 | defect | 3ee4b12963b2e1fb95de291d126aa3d2e70b0c72 | 2bf6f32c465c7470107735e3472a94472e559d0d | Implement register and flag::register for Windows. | This is another attempt at Windows support in #18.
Main differences from #18:
- `pipe`/`iterator` supports are postponed.
- Not using `SetConsoleCtrlHandler` directly. Instead, use `signal`/`raise` directly.
- We no longer have the `__emulate_kill` workaround. `raise` works.
As for #18, confirmed to catch Ct... | diff --git a/.travis.yml b/.travis.yml
index 0fcab0c..0f67cd9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,6 +6,7 @@ rust:
- beta
- nightly
os:
+ - windows
- linux
- osx
diff --git a/signal-hook-registry/src/lib.rs b/signal-hook-registry/src/lib.rs
index c5c7e18..10fc693 100644
--- a/signa... | 12 | 5 | 1 | [{"id": "G0", "claim": "The Portability docs should list the consequences of the Windows race condition (e.g. that the default handler may be invoked instead of the registered one).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The cast `handler ... | null |
vorner__signal-hook__49 | vorner/signal-hook | 49 | defect | 275f0d48ea8357404ac784f79566a4f7e296fbf4 | 849900526d2cedfceb77be5f45cdf44146410260 | Move adding of signals and closing of the iterator into a shareable handle | I took a first shot at splitting the signal iterator into a non-clonable receiver and a shareable controller to manipulate it. For the API this means that:
* Cloning the Signals struct isn't possible any longer
* Pending and wait now expect a `&mut self` reference and forever will consume the Signals instance. Ther... | diff --git a/signal-hook-mio/src/lib.rs b/signal-hook-mio/src/lib.rs
index 3336ccb..7610baf 100644
--- a/signal-hook-mio/src/lib.rs
+++ b/signal-hook-mio/src/lib.rs
@@ -36,7 +36,7 @@ macro_rules! implement_signals_with_pipe {
/// Create a `Signals` instance.
///
/// This registers... | 3 | 3 | 2 | [{"id": "G0", "claim": "The ControllerHandle alias should be wrapped into a newtype so users don't have access to the internal details (the Arc).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Controller should not leak the generic write-end type W to th... | null |
vortex-data__vortex__5640 | vortex-data/vortex | 5,640 | defect | 374882d57d9112235cfe2c99879284b8d882ca17 | 5c676c9f90118ecae4e65e6a02306418543640bd | feature: TableStrategy | Extracting this out of my hack week project. This adds a new `TableStrategy` that is like the StructStrategy, except that it allows users to override the write strategy at particular field paths in the schema.
For example, if you have a schema like this:
```text
request: struct?
|__ id: utf8
|__ duration_ms: i... | diff --git a/vortex-dtype/src/field.rs b/vortex-dtype/src/field.rs
index 9d352013eda..de5df3f3d2e 100644
--- a/vortex-dtype/src/field.rs
+++ b/vortex-dtype/src/field.rs
@@ -91,6 +91,21 @@ impl Display for Field {
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct FieldPath(Vec<Fie... | 9 | 5 | 1 | [{"id": "G0", "claim": "set_field_writer should check that configured field paths do not have overlapping prefixes (the reviewer suggested adding such a check; the author chose to panic).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Asks whether t... | null |
vortex-data__vortex__5976 | vortex-data/vortex | 5,976 | defect | 4767c13d6a53c93e93a33a38f0fbbac084ad45f5 | 82e5eb672e575a13c3d2dd4f15dc61f8f262944f | Correct physical schema inference for DF files with non-logical types. | This PR fixes how a file or a scan's `DType` is mapped into an arrow types in cases where the table has non-logical types that don't round trip between the types systems.
This change both simplifies how we push projection expressions and allows us to save on unnecessary work converting arrays between various logical... | diff --git a/vortex-datafusion/src/convert/exprs.rs b/vortex-datafusion/src/convert/exprs.rs
index 8d2b32f39fb..4ac557f00fd 100644
--- a/vortex-datafusion/src/convert/exprs.rs
+++ b/vortex-datafusion/src/convert/exprs.rs
@@ -235,19 +235,6 @@ impl ExpressionConvertor for DefaultExpressionConvertor {
... | 5 | 2 | 0 | [{"id": "G0", "claim": "The physical-type calculation (calculate_physical_file_schema) should be removed: the file schema should just be the subset of columns the file actually stores, matched by name against the logical schema's types, with no extra type calculations.", "category": "design", "verdict": "opposed", "pri... | null |
vortex-data__vortex__6090 | vortex-data/vortex | 6,090 | defect | 308efaa7657d82a0d5a1fe231f46cd4aa929c0a4 | 46ad39efa6dde34c53c718b50a69a09001e0e887 | fix[vortex-array]: lookup target fields by name in StructCastPushdownRule | The previous code was assuming that target fields were in the same order as source fields and all target fields existing in the source schema were the first k fields. This would cause incorrect query results. | diff --git a/vortex-array/src/arrays/struct_/vtable/rules.rs b/vortex-array/src/arrays/struct_/vtable/rules.rs
index 3f6bbbdb156..dad7172db22 100644
--- a/vortex-array/src/arrays/struct_/vtable/rules.rs
+++ b/vortex-array/src/arrays/struct_/vtable/rules.rs
@@ -50,38 +50,27 @@ impl ArrayParentReduceRule<StructVTable> fo... | 2 | 1 | 0 | [{"id": "G0", "claim": "The PR author questions removing the restriction that the target struct must have at least as many fields as the source, asking \"Why disallow this?\", leaving open whether the removal is wanted.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1... | null |
vortex-data__vortex__6146 | vortex-data/vortex | 6,146 | defect | 277aed9ef9f88b52d905ebed5652aee0c66f61ad | ed03f9e07c9095bd2e7d9160325a0335c577439f | Feature: Use `array.filter()` instead of `filter(array)` compute | I also removed some benchmarks (3) that now no longer benchmark anything useful. We'll soon want a way to benchmark the execution of arbitrary arrays, and they should all share similar benchmarking logic.
In a follow up PR (https://github.com/vortex-data/vortex/pull/6147) I will remove every occurrence of the old `f... | diff --git a/encodings/fsst/src/tests.rs b/encodings/fsst/src/tests.rs
index a7a80805463..933b2fcf448 100644
--- a/encodings/fsst/src/tests.rs
+++ b/encodings/fsst/src/tests.rs
@@ -88,7 +88,7 @@ fn test_fsst_array_ops() {
let mask = Mask::from_iter([false, true, true]);
let fsst_filtered = filter(&fsst_arra... | 10 | 4 | 0 | [{"id": "G0", "claim": "Assert on the display tree of the compressed string array so the test verifies that no compute arrays such as filter or slice are created.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a serialisation-style check to the comp... | null |
vortex-data__vortex__6253 | vortex-data/vortex | 6,253 | defect | 226874e26c3cd4401bf1cebaae1a9bb847f59913 | 328fa38c22dcf8ec25f10a8a99e1dc77c125df8e | feat[cuda]: export arrays to ArrowDeviceArray | This PR adds scaffolding for the first part of implementing export of Vortex Arrays directly to Arrow C Data Device Interface arrays, and implements the actual export for StructArray and PrimitiveArray
## Setup
Arrow defines a standard for exchanging data in-process to native code using the C Data Interface, whic... | diff --git a/Cargo.lock b/Cargo.lock
index dc7ce54711f..bc15506cb26 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -10388,6 +10388,8 @@ name = "vortex-cuda"
version = "0.1.0"
dependencies = [
"arc-swap",
+ "arrow-data 57.2.0",
+ "arrow-schema 57.2.0",
"async-trait",
"codspeed-criterion-compat-walltime",
"cudarc"... | 6 | 3 | 0 | [{"id": "G0", "claim": "The test should drop its explicit `synchronize_stream` call and rely on cudf respecting the `sync_hook` inside the ArrowDeviceArray.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G6", "claim": "The export path needs the element type `T` to kno... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.