fix: remove is_build_time from env_vars create action#101
Conversation
Coolify API rejects is_build_time parameter for env var creation despite it being documented in the OpenAPI spec. Remove it from the schema to avoid misleading users. Fixes #97
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #101 +/- ##
=======================================
Coverage 90.93% 90.93%
=======================================
Files 1 1
Lines 375 375
Branches 100 100
=======================================
Hits 341 341
Misses 6 6
Partials 28 28 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
PR Review: fix: remove is_build_time from env_vars create actionSummaryThis PR addresses issue #97 where the Coolify API rejects the ✅ Code Quality and Best PracticesGood:
Minor suggestion: // Note: is_build_time is not passed - Coolify API rejects it for create (see #97)✅ CorrectnessThe fix is correct. Looking at the codebase:
Question: Does the ✅ No Security ConcernsThe change removes a parameter - no new attack surface introduced.
|
Summary
Remove
is_build_timeparameter from theenv_varstool schema. Coolify API rejects this field for env var creation despite it being documented in the OpenAPI spec.Changes
is_build_timefrom tool schema (was misleading users)Test plan
npm test- 219 tests passingFixes #97