Skip to content

ci: build CLI before core generate in back-merge - #3445

Merged
eduardoformiga merged 1 commit into
devfrom
fix/back-merge-build-cli
Aug 11, 2026
Merged

eduardoformiga merged 1 commit into
devfrom
fix/back-merge-build-cli

Conversation

@eduardoformiga

Copy link
Copy Markdown
Member

What's the purpose of this pull request?

The automated back-merge after a main release/hotfix was firing but failing before opening the sync PR to dev. After the 4.5.1 hotfix (#3437), run 31502187816 died on pnpm --filter @faststore/core generate with MODULE_NOT_FOUND for packages/cli/dist/index.js.

How it works?

@faststore/core#generate shells out to the CLI (node ../cli/bin/run generate-types), which requires a built packages/cli/dist. That dependency is already encoded in turbo.json (@faststore/core#generate → @faststore/cli#build), but back-merge.yml skipped the CLI build.

This PR adds pnpm --filter @faststore/cli build after the API build/generate and before the core generate step.

How to test it?

Starters Deploy Preview

N/A — CI workflow only.

References

Checklist

PR Title and Commit Messages

  • PR title and commit messages follow Conventional Commits (ci)

PR Description

  • Added a label according to the PR goal

Dependencies

  • N/A — no package changes

Documentation

  • PR description

Made with Cursor

core#generate shells out to the CLI binary; without compiling
@faststore/cli first the sync job fails and never opens the PR.
@eduardoformiga
eduardoformiga requested a review from a team as a code owner August 11, 2026 22:44
@eduardoformiga
eduardoformiga requested review from lucasfp13 and ommeirelles and removed request for a team August 11, 2026 22:44
@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • .github/workflows/back-merge.yml is excluded by none and included by none

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: f4974e00-f617-48a0-b02f-48b474093199

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@codesandbox-ci

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@sonar-workflows

Copy link
Copy Markdown

@eduardoformiga
eduardoformiga merged commit 5134228 into dev Aug 11, 2026
10 checks passed
@eduardoformiga
eduardoformiga deleted the fix/back-merge-build-cli branch August 11, 2026 22:49
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