Skip to content

CI lock: add scikit-learn so the real-model ML leg runs in CI (Part of #2986) - #6323

Merged
squid-protocol merged 1 commit into
mainfrom
churn/2986-20261024T0201Z
Oct 24, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/2986-20261024T0201Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 24, 2026 •

Copy link
Copy Markdown
Owner

Part of #2986.

#6129 added a real stand-in XGBoost model test and #6163 added scikit-learn to the full extra, but CI installs the hash-locked ci/requirements/test.txt (from engines.in), which had xgboost and no scikit-learn. test_ml_real_model_2986.py therefore still skipped on every CI run. This adds scikit-learn to engines.in and relocks engines.txt / test.txt (pin_ci_requirements.sh; unrelated docs.txt / mypy.txt relock drift was reverted). test_ml_boundary_2986.py now 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).

Evidence

pin_requirements.py --check --target ci OK; pr_gates --fast 7/7. The real-model test skipped locally (no sklearn in the shared venv, not installed into it): its first CI run is the proof. --ratchets not run (no parsing change).

Lessons for agents

  • A bare cat > file (no heredoc) truncates the file to empty; check wc -c before -F body=@file, or the PR body lands empty.

🤖 Generated with Claude Code

…#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]>
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 24, 2026 02:19
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 02:26
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

1 similar comment
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant