During application onboarding through the codebase operator, the codebase may get stuck in the 'creating' status. In this state, the operator repeatedly attempts to update the branch every 5-10 seconds, but fails because the codebase remains in status 'unavailable'. No relevant logs are produced.
The issue is mostly reproducible when creating a new component using the clone strategy.
Workaround: Delete the codebase and repository, then onboard again.
Observed behavior:
- Codebase status remains 'creating' and does not proceed.
- Codebase operator attempts to update branch in a cycle (every ~5-10 seconds), but fails as codebase is unavailable.
- No logs indicating root cause are present.
- Most frequently occurs with the clone creation strategy.
Acceptance Criteria
- The issue with the codebase operator cyclically attempting to update branch during onboarding (up to codebase stuck in 'creating') is investigated and root cause analysis provided.
- Reproduction scenario using clone strategy and failing repo is documented.
- If possible, logs or traces relating to attempts (even absence of logs) are collected.
- Workaround (delete & re-onboard) is confirmed as at least a temporary solution.