fix: decouple repo/workflow cloning from S3 availability#1532
fix: decouple repo/workflow cloning from S3 availability#1532guzalv wants to merge 1 commit intoambient-code:mainfrom
Conversation
The init container exited early (exit 0) when S3 credentials were missing, which prevented all downstream operations including repository and workflow cloning. This meant custom workflows could not be loaded unless S3/MinIO was configured. Replace the early exit with a conditional block that wraps only the S3 hydration logic, allowing repo/workflow cloning and git state restore to proceed independently of S3 availability.
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
✅ Deploy Preview for cheerful-kitten-f556a0 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Summary
hydrate.sh) exited early (exit 0) when S3 credentials were missing, which killed the entire script before reaching repository and workflow cloning logic further down.S3_PATHcheck so it only runs when S3 was successfully configured.Changed files
components/runners/state-sync/hydrate.shexit 0withif/elseconditional around S3 operations; guard repo-state restore withS3_PATHcheckTest plan