[eas-cli] Support protected update channels - #4319
Conversation
|
Subscribed to pull request
Generated by CodeMention Warning: The preamble and epilogue options in commentConfiguration are deprecated. Use template instead. |
e258684 to
8551561
Compare
🤖 AI code reviewDecision: Ready for human review Overall PR risk: Medium. The change adds two new commands, No findings. This review is advisory — it never blocks a merge and never auto-approves. |
|
@tchayen @gwdp Checks on graphQL schema are failing because the live API replaced top-level deviceIdentifier with specific |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4319 +/- ##
==========================================
+ Coverage 65.38% 65.47% +0.09%
==========================================
Files 1058 1061 +3
Lines 49090 49176 +86
Branches 10353 10370 +17
==========================================
+ Hits 32095 32194 +99
+ Misses 16879 16866 -13
Partials 116 116 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
✅ Thank you for adding the changelog entry! |
Why
Protected EAS Update channels are already supported by the API and dashboard, but eas-cli did not show their protection state or let an admin change it.
This addresses ENG-25975.
How
I added
eas channel:protectandeas channel:unprotect, following the structure from other CLI commands. Unprotecting asks for confirmation since it removes a release restriction. Non-interactive use requires the channel name to be passed explicitly.The CLI calls the existing mutations and surfaces the resulting channel. Channel list and view output now include the protection state in both human-readable output and JSON.
Test Plan
@sjkim95/eas-operator: