Files
orca/cloud/apps
Neil 6b05760eb7 fix(cloud): GH-ANON-403 member GitHub identities no longer 403 anonymous git to github.com
A workspace on a public repo the Orca GitHub App isn't installed on gets no App token, so its git
sends no credential. When a member had connected GitHub, their placeholder rules made github.com a
credential host, and compileNetworkPolicy ended it with the firewall's 403: the doctor's
`git ls-remote origin HEAD` failed ("This workspace can't reach <repo> on GitHub right now"), and so
did every plain fetch and pull.

- With no App token, the member github.com route is allowUnclaimed. With a token the workspace git
  route keeps github.com fail-closed as before. api.github.com is unchanged.
- A wake rewrites the policy when member identities apply: a resumed session keeps its last
  policy, so a workspace created before this fix would otherwise keep the 403.
2026-11-14 22:12:45 -08:00
..