Issue Deduplicator fallback pass fails with `Unexpected: passwordless sudo not available`
Resolved 💬 0 comments Opened Mar 2, 2026 by mkanetsuna Closed Mar 2, 2026
What issue are you seeing?
The "Issue Deduplicator" workflow failed on a fallback duplicate-check pass due to sudo handling.
Run: https://github.com/openai/codex/actions/runs/22559224069
Job: https://github.com/openai/codex/actions/runs/22559224069/job/65342257505
In Identify potential duplicates:
Find duplicates (pass 1, all issues)succeeds and appliessafety-strategy: drop-sudo.Find duplicates (pass 2, open issues)runs in the same job and triesdrop-sudoagain.- It fails with:
Error: Unexpected: passwordless sudo not available.
at ensurePasswordlessSudo (...)
at async dropSudo (...)
This appears unrelated to the issue content itself (#13200) and is a workflow/runtime bug.
What steps can reproduce the bug?
- Trigger the
Issue Deduplicatorworkflow by creating a new issue. - Let pass 1 complete with no confident duplicates so fallback pass 2 is executed.
- Observe pass 2 in the same job (
Find duplicates (pass 2, open issues)). - The step fails with
Unexpected: passwordless sudo not available.
Repro context from the failing run:
- Workflow:
Issue Deduplicator - Runner:
ubuntu-latest(GitHub-hosted) - Run:
22559224069 - Job:
65342257505
What is the expected behavior?
Fallback pass 2 should run successfully.
If sudo was already dropped in pass 1, pass 2 should not fail because of that state.drop-sudo should be idempotent (or pass 2 should run in a fresh job/runner).
Additional information
_No response_