You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(ci): the fail-to-pass replay runs tests in a tree where git works, so a test that reads git history does not fail on the base for the replay's own reason #2197
uv run devops ci fail-to-pass --base origin/main on the #1817 branch (2026-10-24) reported tests/test_k8s_argocd_apps.py::test_no_application_renders_the_devops_cli_config_map_and_no_commit_holds_it as failed on the base, although the change did not touch what it tests. The test runs git ls-files, and in the replay directory git exits 128: the replay directory is not a git work tree, so a test that reads git history fails there for a reason that has nothing to do with the change.
What should happen
The fail-to-pass replay runs each test in a tree where git works as in the real checkout (for example a temporary worktree of the base with git worktree add --detach), or it reports a replay failure whose cause is the replay setup (git exit 128) apart from the failures of the change, so a reader does not take it for a fail-to-pass result.
Acceptance criteria
A test of the replay shows that a test which runs git ls-files passes on the base in the replay when it passes in the checkout.
Activity
dan-petty commentedon Oct 24, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.
The candidate describes a bug where git history tests fail in replay directories.The issue impacts CI reliability but does not block development or cause critical failures.Fixing the issue improves CI stability and test accuracy for developers.Implementing proper git worktree handling in replay directories requires significant changes to CI infrastructure.Both items deal with git usage in tests, but the candidate focuses on replay directory git functionality while #2179 addresses starting git in tests.