Repository navigation
CI lock: add scikit-learn so the real-model ML leg runs in CI (Part of #2986) - #6323
Merged
Merged
Conversation
…#2986) #6163 put scikit-learn in the `full` extra, but CI installs the hash-locked ci/requirements set, which had xgboost without scikit-learn, so test_ml_real_model_2986 still skipped in CI. Pin it in engines.in, relock, and test that the locks carry it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 24, 2026 02:19
Contributor
squid-protocol
enabled auto-merge (squash)
October 24, 2026 02:26
Owner
Author
|
No description provided. |
1 similar comment
Owner
Author
|
No description provided. |
This was referenced Oct 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #2986.
#6129 added a real stand-in XGBoost model test and #6163 added scikit-learn to the
fullextra, but CI installs the hash-lockedci/requirements/test.txt(fromengines.in), which had xgboost and no scikit-learn.test_ml_real_model_2986.pytherefore still skipped on every CI run. This addsscikit-learntoengines.inand relocksengines.txt/test.txt(pin_ci_requirements.sh; unrelateddocs.txt/mypy.txtrelock drift was reverted).test_ml_boundary_2986.pynow pins that the locks carry it.Class / Sibling gaps
Class: ML threat layer deps present in one install path but not another (pyproject extra, CI lock, shipped templates).
fullextra (Add scikit-learn to the full extra so the real-model ML test runs (Part of #2986) #6163), CI lock (this PR).templates/requirements/full.txtlocksgitgalaxy[full]==2.11.0, a released version without scikit-learn; it picks it up at the next release bump (pin_shipped_requirements.sh).pin_requirements.py --check --target allfails on drift in docs.txt / mypy.txt, not from this change.Evidence
pin_requirements.py --check --target ciOK;pr_gates --fast7/7. The real-model test skipped locally (no sklearn in the shared venv, not installed into it): its first CI run is the proof.--ratchetsnot run (no parsing change).Lessons for agents
cat > file(no heredoc) truncates the file to empty; checkwc -cbefore-F body=@file, or the PR body lands empty.🤖 Generated with Claude Code