fix(ci): master Test workflow green on Python 3.12 and ubuntu-26.04
🧪 Test / 🧪 Lock + lint (push) Waiting to run
🧪 Test / 🧪 Lock + lint (push) Waiting to run
- CI installs PyYAML (new dependency group test) so the staged-diff secret rules load; the Update workflow also installs the orchestrator requirements - operator.py: termios.IUTF8 falls back to 0o40000 on Python 3.12, where the terminal prompt crashed with AttributeError - operator.py: the run preview trusts filters of the system and global git config (git-lfs on runner images) and stays off for repo or command filters, and when git cannot name a filter's scope - test_radio feeds the listener its stdin through an own pipe, since 3.12 communicate() flushes a closed proc.stdin - test_hub_match_content gives the runner a MEDUSA rules home instead of the host's - test_queue_hung uses a script named docker, since a multicall sleep refuses that name 🎯 Fix: 93 % 💥 Break: 3 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: 100 % 🏆 Score: 90 🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 % Created-with: https://s.veen.world/skills Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d3bc54f401
commit
888ebb40af
8 files changed
+71
-25
No files matched your search
@@ -425,11 +425,9 @@ class TestSupervise(unittest.TestCase):
|
||||
group.assert_not_called()
|
||||
|
||||
def test_a_tree_running_a_container_client_never_fires_and_says_so_once(self):
|
||||
sleep = shutil.which("sleep")
|
||||
if sleep is None:
|
||||
self.skipTest("no sleep binary on PATH")
|
||||
docker = self.scratch() / "docker"
|
||||
docker.symlink_to(sleep)
|
||||
docker.write_text(f"#!{sys.executable}\nimport sys, time\ntime.sleep(float(sys.argv[1]))\n", encoding="utf-8")
|
||||
docker.chmod(0o755)
|
||||
result, _, err = self.supervised(self.start(CLIENT, str(docker)))
|
||||
self.assertEqual(result, (0, None))
|
||||
self.assertEqual(err.count("the command runs docker,"), 1)
|
||||
|
||||
Reference in new issue
Block a user