Switch to custom Vagrant boxes and Magefiles instead of Makefile #264
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 401 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.359
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #264"
general
weight: 0.35
jayunit100
Features
This PR includes two features:
1. These are experimental Vagrant boxes which attempt to address issues like WinRM not starting, and boot timeouts, OS and VirtualBox guest additions update, and enable/disable VirtualBox features explicitly (for documentation, control, easier troubleshooting). These boxes have proved to be a working solution, and significantly speed up cluster provisioning for testing. Check the boxes repository for details: https://github.com/mloskot/sig-windows-dev-tools-boxes
2. Add Magefiles - https://magefile.org - as functional equivalent to the existing Makefile, but as a portable solution for all platforms supported by Go. Magefiles _remove requirement_ of use of WSL as a proxy providing GNU Make on Windows host, aks true windows support.
Tester's Quickstart (with Mage)
_TODO: This guide could be copied into the
README.mdbefore merge_1. Install latest VirtualBox 7.0, latest Vagrant, Go 1.20 and latest Mage. See updated README.md
2. Switch your local repo to this PR:
gh pr checkout 2643. Optionally, copy
variables.yamltovariables.local.yamland modifyvariables.local.yamlas you desire, for example:- tweak RAM and CPUs for machines
- bump Kubernetes to 1.27
- bump Calico to 3.25.1
- bump containerd to 1.7.0
4. Launch PowerShell or Command Prompt and run
mage -lto list all available Mage targets (as checkmageworks for you)5. Run
mage all | tee m.logor justmage | tee m.logto download required Kubernetes software, download Vagrant boxes (1 and 2), run Vagrant to provision the two-node cluster, run smoke tests (it is known the smoke tests may fail).6. Run
mage statusin separate console.As soon as Vagrant completes provisioning the two VM-s, open new console and start running
mage statusevery couple of minutes to watch the cluster status. Themage statusis a convenient proxy to execute sequence ofAlternatively, you can run
vagrant ssh controlplaneand inspect the cluster withkubectl.Alternatively, you can download kubeconfig form the
controlplanenode to run any Kubernetes client directly from the Windows host:8. Report back your results
------
My initial run logs https://gist.github.com/mloskot/2670e7e7331f90e390eb5a750de7bf78