Skip to content

Preserve the account choices on unconfigured project errors - #4951

Draft
vonovak wants to merge 1 commit into
mainfrom
vonovak/eas-project-unlinked-error
Draft

vonovak wants to merge 1 commit into
mainfrom
vonovak/eas-project-unlinked-error

Conversation

@vonovak

@vonovak vonovak commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

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.ts failed with loopback ECONNRESET. I reproduced both on an unmodified checkout of the base commit.

@vonovak
vonovak added this pull request to stack #4953 November 24, 2026 23:41
@github-actions

Copy link
Copy Markdown

✅ Thank you for adding a changeset!

@codecov

codecov Bot commented Nov 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.82%. Comparing base (d16d569) to head (4a4b20e).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant