Repository navigation
Conversation
|
✅ Thank you for adding a changeset! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4951 +/- ##
==========================================
+ Coverage 77.81% 77.82% +0.01%
==========================================
Files 1145 1145
Lines 58522 58532 +10
Branches 12995 12999 +4
==========================================
+ Hits 45535 45545 +10
Misses 12867 12867
Partials 120 120 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
A CLI caller needs to know which accounts can create an EAS project. The project resolver already filters those accounts by permission, then flattens them into a human-readable error message.
Stacked consumer of this error: #4952
How
Keep the eligible account names and the known target account on the error thrown by project resolution. The following stack layer uses these fields in
build:list --json. When the target cannot create a project, suggest linking by ID. For eligible accounts the existing create and link instructions remain available.Test Plan
Ran the project ID resolution and non-interactive project creation tests, typechecked the EAS CLI package, and built the CLI.
Two socket-limit tests in
src/simulator/__tests__/egressLimits.test.tsfailed with loopbackECONNRESET. I reproduced both on an unmodified checkout of the base commit.