mirror of
https://github.com/kvcache-ai/AgentENV.git
synced 2026-11-05 01:17:36 +00:00
[PR #150] [MERGED] fix: sanitize singleton CPU config intersections #212
Labels
No labels
bug
documentation
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/AgentENV#212
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/AgentENV/pull/150
Author: @zlzGithub-0801
Created: 8/10/2026
Status: ✅ Merged
Merged: 8/11/2026
Merged by: @yingdi-shan
Base:
main← Head:fix/single-node-cpu-template-sanitization📝 Commits (1)
56330a1fix: sanitize singleton CPU config intersections📊 Changes
2 files changed (+6 additions, -8 deletions)
View changed files
📝
services/scheduler/internal/cpu_template.go(+1 -5)📝
services/scheduler/internal/cpu_template_test.go(+5 -3)📄 Description
What
Fix the single-node startup failure when using the scheduler.
Why
In a single-node setup with the scheduler enabled, CPU config intersection took the fast path and returned the config unchanged. This preserved CPUID leaf
0xB, subleaf0x1, which caused Firecracker startup to fail.Related issue
Closes #137
Scope and non-goals
Included:
Non-goals:
Design and behavior changes
Single-node CPU configs no longer take the fast path. They now use the same filtering and validation logic as multi-node configs.
Compatibility and operations
Validation
make fmtmake clippymake test-unitmake -C services test(required whenservices/changes)maketargetCommands and results:
Skipped checks and reasons:
Documentation updates and performance benchmarks were skipped because this change does not affect documentation or performance.
Risks and reviewer notes
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.