mirror of
https://github.com/stablyai/orca.git
synced 2026-10-20 00:03:45 +00:00
During a rebase with detached HEAD, the branch name can be empty or resolve to empty after stripping refs/heads/. This caused gh to return arbitrary PRs and created invalid cache keys like "path::". Guard all branch-to-cache-key paths: getPRForBranch bails before acquiring the semaphore, renderer components skip cache lookups, and syncPRChecksStatus validates the normalized branch.