Skip to content

Improve cpp-lib template setup to successfully run yarn automatically at end in CI #12618

Open

Description

Summary

At the end of the new arch project setup, if dependencies were changed (as happens when adding the example in cpp-lib) we try to run yarn install. This fails in CI for the cpp-lib template added in #12481, probably having to do with the newer version of yarn used by that template.

Motivation

The template setup already fails gracefully if the install ever fails, telling the user to run the install manually instead. The upstream library template also asks the user to run the install manually, so it's not without precedent. But this is only failing in CI, locally the command seems to work find. So while the failing gracefully okay and a good insulation against other unrelated issues that may block the install, we should be able to figure out why the install works locally and make it work in CI too.

Basic Example

No response

Open Questions

No response

Activity

  1. added
    Needs: Triage 🔍
    on Jan 18, 2024
  2. added and removed
    Needs: Triage 🔍
    on Jan 22, 2024
  3. added
    Workstream: Test Coverage
    on Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: App TemplateArea: Test InfrastructureWorkstream: Test Coverageenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions