Skip to content

chore(customs): add a build-fast target so yarn start mza skips tsc - #21119

Closed
vbudhram wants to merge 1 commit into
risk-scorefrom
customs-build-fast
Closed

chore(customs): add a build-fast target so yarn start mza skips tsc#21119
vbudhram wants to merge 1 commit into
risk-scorefrom
customs-build-fast

Conversation

@vbudhram

Copy link
Copy Markdown
Contributor

Stacked on #21118 so the head branch carries .github/skills/fxa-risk-score while the diff is ordinary code.

Why

build-fast is opt-in per project. Nx's ^build-fast edge only builds a dependency that declares the target and never falls back to build, so fxa-customs-server was skipped by yarn start mza. It has no build script to skip, so the target is a no-op.

Test plan

  • yarn start mza reaches customs-server without a tsc step.

Draft, and partly a probe: checking whether Copilot code review picks up the agent skill from the head branch when the diff is not the skill itself. Do not merge before #21118.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an opt-in no-op fast-build target so yarn start mza includes the JavaScript-based Customs server without TypeScript compilation.

Changes:

  • Adds the build-fast package script.
  • Remains dependent on stacked PR #21118.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

vbudhram added a commit that referenced this pull request Aug 27, 2026
Because:
* Copilot code review picks skills with review-focused names in
  .github/skills; fxa-risk-score was read as a file, never as guidance.
* Two reviews on #21118 and #21119 confirmed the miss.

This commit:
* Renames the directory and skill name to code-review.
* Reframes the description around reviewing a pull request.
@vbudhram
vbudhram force-pushed the customs-build-fast branch from d2c83e3 to 530c005 Compare August 27, 2026 20:30
Because:
* build-fast is opt-in per project and customs-server never defined one.
* Nx only builds a dependency that declares the target, so it was skipped.

This commit:
* Adds a no-op build-fast script, matching the pattern in pm2-all.sh.
@vbudhram
vbudhram force-pushed the customs-build-fast branch from 530c005 to 103dcc2 Compare August 27, 2026 20:30
@vbudhram vbudhram closed this Aug 28, 2026
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.

2 participants