Repository navigation
Closed as not planned
Labels
effort/lowEffort Low: little workpriority/p2-mediumPriority P2: standard workscope/ciGitHub Actions workflows, pre-commit hooks, CI gates, and runnerssource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/mediumValue Medium
Description
Problem or Motivation
Four tests of devops ci fail on a development container that has host state. They fail the same way on origin/main at d254410, so no change of a feature branch causes them. The failures stop the full uv run devops ci run.
Reproduction Steps
- Check out
origin/mainin a clean worktree and runuv run pyteston these tests:tests/crypto/test_ssh.py::test_get_ssh_key_prefix_resolutionreturnsdevops_cliwhere it expectsmy_plain_repo. The repository name comes from the directory of the checkout.tests/telemetry/test_config_env_overrides.py::test_find_project_config_path_skips_directoryfinds a config file in the temporary directory, so the test expects none and fails.tests/commands/test_devcontainer_install_tools_dry_run.py::test_mark_only_commands_under_global_dry_runfinds a tool that the test expects to be missing, so the textnot installedis absent.tests/ai/test_tool_executor_contract.py::test_the_direct_executor_refuses_a_network_profile_before_it_starts_the_tool[direct]finds a tool binary in the user data directory and reaches the host path without a fake.
Expected vs Actual Behavior
Expected: each test passes on any devcontainer, and on the GitHub runner, that has the same image.
Actual: each test depends on a file, a tool or a directory name that the host holds. The tests fail when the host holds it.
Proposed Solution & Architectural Design
Each test must hold its inputs in tmp_path or in a fake of the process edge, so that it reads no host state. The check for a missing tool must use a fake of the lookup on PATH. A check of the repository name must set the name itself.
Metadata
Metadata
Assignees
Labels
effort/lowEffort Low: little workpriority/p2-mediumPriority P2: standard workscope/ciGitHub Actions workflows, pre-commit hooks, CI gates, and runnerssource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/mediumValue Medium
Activity
dan-petty commentedon Nov 5, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.(ci)scope of the title gives the scope.The failure blocks the CI gate but does not change product behavior.Unblocks the CI pipeline for all contributors.Each test needs a small change to use tmp_path or a fake of the process edge.Make the four tests (test_get_ssh_key_prefix_resolution, test_find_project_config_path_skips_directory, test_mark_only_commands_under_global_dry_run, test_the_direct_executor_refuses_a_network_profile_before_it_starts_the_tool) not read hosas the change that both ask for.Both ask for the same four tests to be fixed so they do not read host state, with the same acceptance criteria.A person closes one of the two if that is so.dan-petty commentedon Nov 6, 2026
Duplicate of #3585. This item lists the same four failing tests, and the fix design is in #3585. No pull request or branch exists for this item, so no work is lost. This item closes as not planned. If a point of this item is missing in #3585, add it there.