mirror of
https://github.com/stablyai/orca.git
synced 2026-11-17 03:15:01 +00:00
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.