Multiproject Support Is Live
Hello,
Here is the first update on Codevyr. In addition to several frontend and backend fixes, two major features are now available:
- Multiproject support
- Node labelling
Want your project added?
Email me at codevyr@gmail.com
Multiproject support
Until now, the demo indexed only a single project (Kubernetes). Codevyr can now load and query multiple indexes together. The updated demo includes Kueue and Kubernetes.
Select a project with @project("kubernetes") or @project("kueue").
If no project is specified, Codevyr searches across all available projects.
Labels
For more complex queries, labels help reduce unnecessary nesting. With @label("name"), you can mark symbols that match specific nodes. Later, reuse them with @use("name").
Example:
@preamble @project("kueue");
"Schedule" { { {@label("addUsage") "addUsage" } } }
{@use("addUsage") { }}
You can also “force” a label to combine multiple projects:
@project("kueue")
{
"pod" {
"Ungate" {
@use("preEnqueue", forced="true")
}
}
}
@project("kubernetes") {
{"SchedulingGates.PreEnqueue" @label("preEnqueue")}
}
Using this query, you can visualize the connection between ungating a pod in Kueue and running the SchedulingGates plugin in Kubernetes.