Repository navigation
test: check the wait_for_trained opt-out on a trainer that never answers - #230
Conversation
The test booted the default pipeline and asserted that no training event arrived. A trainer in the default pipeline answers the training request with current prereleases, so the event arrives whether or not the boot waits. The test now boots the stuck trainer on the adapt pipeline, the boot that raises with the default wait, and asserts it returns. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
I've completed my sweep! Here's the situation. 🧹I've aggregated the results of the automated checks for this PR below. 🏷️ Release PreviewI've checked the 'New Features' highlight reel. 📽️ Current:
✅ PR title follows conventional commit format. 🚀 Release Channel Compatibility Predicted next version:
🔍 LintThe data has been harvested! Check the findings below. 🌾 ❌ ruff: issues found in 76 file(s) — see job log 📋 Repo HealthScanning for any signs of 'merge conflict' stress. 😫 ✅ All required files present. Latest Version: ✅ ⚖️ License CheckEnsuring we're respecting the rights of others. 🤝 ✅ No license violations found. Policy: Apache 2.0 (universal donor). StrongCopyleft / NetworkCopyleft / WeakCopyleft / Other / Error categories fail. MPL allowed. 🔒 Security (pip-audit)Scanning for any potential SQL injection points. 💉
📊 CoverageMeasuring the depth of our automated validation. 🌊 Files below 80% coverage (16 files)
Full report: download the 🔨 Build TestsVerifying the structural soundness of your build. 🏗️ ✅ All versions pass
Always here to help you keep things stable. ⚓ |
test_wait_for_trained_false_opts_outfails ondevwith the latest prereleases, which is whybuild_testsandcoverageare red on every PR. The test booted the default pipeline and asserted that nomycroft.skills.trainedarrived. A trainer in the default pipeline now answers the training request, so the event arrives whether or not the boot waits.The test now checks the opt-out itself. It boots the stuck-trainer skill on the adapt pipeline with a 0.3 s bound, the same boot that
test_never_trained_raises_naming_skillshows raising, and asserts thatwait_for_trained=Falsereturns.dev4c96157, fresh venv with--prerelease=allow -e .[test], three runsLists differ: [<timestamp>] != []pytest test/unittests/test_minicroft.pyon this branch, same venvTestTrainedQuietWindowthree runswait_for_trained=TrueRuntimeError, so the test bites🤖 Generated with Claude Code