bencodes-oai
8b5223dd7b
Use Bazel's Python runtime for MCP permission hook tests ( #62061 )
...
## Why
MCP permission hook tests need a Python interpreter on workers without a system Python installation.
## What changed
- Include Bazel's Python interpreter and runtime files in core test dependencies, and allow file labels in `runfile_env`.
- Run permission hook scripts directly with `CARGO_BIN_EXE_python3`, falling back to the platform's Python command when unset.
- Use script bootstrapping so Python launchers start with their declared interpreter on lean workers.
## Testing
Add 15-second timeouts to two permission hook approval tests so they fail if approval waits for a reviewer instead of resolving through the hook.
GitOrigin-RevId: 2877be1411b47806a0eccf2838b521a732e2c98a
2026-11-17 15:10:58 +00:00
..
2026-11-13 18:46:13 +00:00
2026-11-12 23:51:52 +00:00
2026-11-12 22:41:50 +00:00
2026-11-16 12:03:11 +00:00
2026-11-13 04:51:06 +00:00
2026-11-17 01:43:38 +00:00
2026-11-17 03:17:05 +00:00
2026-11-10 01:31:19 +00:00
2026-11-17 11:58:26 +00:00
2026-11-14 02:23:37 +00:00
2026-11-07 10:41:36 +00:00
2026-11-17 13:38:34 +00:00
2026-11-07 10:41:36 +00:00
2026-11-13 04:48:28 +00:00
2026-11-17 13:52:56 +00:00
2026-11-17 03:17:05 +00:00
2026-11-13 22:31:23 +00:00
2026-11-16 17:47:49 +00:00
2026-11-16 17:47:49 +00:00
2026-11-16 17:47:49 +00:00
2026-11-16 17:47:49 +00:00
2026-11-16 18:54:05 +00:00
2026-11-16 03:40:21 +00:00
2026-11-17 05:52:43 +00:00
2026-11-10 03:02:25 +00:00
2026-11-13 01:08:55 +00:00
2026-11-17 15:10:58 +00:00
2026-11-12 22:43:14 +00:00
2026-11-16 19:28:36 +00:00
2026-11-12 23:51:52 +00:00
2026-11-13 20:23:24 +00:00
2026-11-16 00:02:00 +00:00
2026-11-17 13:52:56 +00:00
2026-11-13 20:24:37 +00:00
2026-11-16 18:19:16 +00:00
2026-11-17 13:38:34 +00:00
2026-11-12 23:51:52 +00:00
2026-11-17 03:48:25 +00:00
2026-11-14 02:45:51 +00:00
2026-11-10 08:52:35 +00:00
2026-11-17 01:59:51 +00:00
2026-11-17 02:31:45 +00:00
2026-11-14 06:14:36 +00:00
2026-11-15 00:39:00 +00:00
2026-11-13 05:16:33 +00:00
2026-11-12 04:32:34 +00:00
2026-11-17 14:54:42 +00:00
2026-11-12 23:53:50 +00:00
2026-11-17 01:59:51 +00:00
2026-11-16 20:53:56 +00:00
2026-11-12 22:41:50 +00:00
2026-11-13 21:52:54 +00:00
2026-11-16 18:54:05 +00:00
2026-11-17 01:11:13 +00:00
2026-11-17 13:52:56 +00:00
2026-11-16 23:27:21 +00:00
2026-11-16 18:54:05 +00:00
2026-11-17 11:58:26 +00:00
2026-11-11 18:58:21 +00:00
2026-11-17 07:10:46 +00:00
2026-11-16 22:54:58 +00:00
2026-11-17 05:35:07 +00:00
2026-11-07 10:41:36 +00:00
2026-11-17 13:52:56 +00:00
2026-11-12 23:51:52 +00:00
2026-11-13 23:15:54 +00:00
2026-11-12 23:51:52 +00:00
2026-11-17 12:24:05 +00:00
2026-11-16 03:23:10 +00:00
2026-11-17 06:03:45 +00:00
2026-11-16 22:26:31 +00:00
2026-11-16 19:30:11 +00:00
2026-11-14 23:52:50 +00:00
2026-11-17 13:39:08 +00:00
2026-11-17 04:08:00 +00:00
2026-11-12 00:44:27 +00:00
2026-11-16 23:26:42 +00:00
2026-11-13 18:51:30 +00:00
2026-11-12 23:51:52 +00:00
2026-11-12 23:51:52 +00:00
2026-11-17 01:11:13 +00:00
2026-11-13 22:31:23 +00:00
2026-11-12 23:53:50 +00:00
2026-11-13 22:18:01 +00:00
2026-11-17 11:58:26 +00:00
2026-11-17 02:43:52 +00:00
2026-11-13 20:24:37 +00:00
2026-11-12 23:51:52 +00:00