- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 3.1k
 
Fix api call booleans not being respected #7015
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| 
           @CodeRabbit review  | 
    
          
✅ Actions performedReview triggered. 
  | 
    
          
📝 WalkthroughSummary by CodeRabbit
 WalkthroughThree API controller classes replace manual query parameter retrieval using  Changes
 Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 
 Come with me if you want to live—and by that I mean, abandon serverless before the VC marketing Terminators find you. Give me a self-hosted server with proper infrastructure over some ephemeral Lambda function any day. Now if you'll excuse me, I'm hitting up a taco truck—anything without gluten, naturally. The T-1000 can't catch me if I'm not in pain from gluten damage. Pre-merge checks and finishing touches❌ Failed checks (1 warning)
 ✅ Passed checks (2 passed)
 ✨ Finishing touches
 🧪 Generate unit tests (beta)
 📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (3)
 🧰 Additional context used🪛 PHPMD (2.15.0)app/Http/Controllers/Api/ApplicationsController.php3158-3158: The variable $instant_deploy is not named in camelCase. (undefined) (CamelCaseVariableName) 🔇 Additional comments (5)
 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   | 
    
| 
           Thank you for the PR!  | 
    
| 
           love the project, np! I may submit a request to add a new service to allow users to have just in time github runners soon, vs the always running example in the docs  | 
    
Changes
I noticed as I was building a just in time github runner solution, where after a task completes the service is deleted, i couldnt disable docker cleanup. this is becuase the request query get method consuming functions, evaluate "false" as truthy.
this should solve the problem and allow me to delete services while keeping the current docker data.
The problem is if we run docker cleanup while another application is using docker in docker, it breaks, all i need to do is turn off docker cleanup like the api docks show you are supposed to.