Skip to content

ci: include app JavaScript in the schema workflow paths - #38133

Merged
NicolasMassart merged 2 commits into
feat/mcwp-575-draft-segment-schema-prfrom
ci/schema-workflow-typescript-paths
Oct 23, 2026
Merged

NicolasMassart merged 2 commits into
feat/mcwp-575-draft-segment-schema-prfrom
ci/schema-workflow-typescript-paths

Conversation

@NicolasMassart

@NicolasMassart NicolasMassart commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Description

propose and close now start for product app/**/*.js as well as .ts and .tsx. !**/*.test.* already skips *.test.js. This covers JavaScript analytics.trackEvent call sites such as app/actions/settings/index.js, app/components/UI/AccountOverview/index.js, and app/core/RPCMethods/wallet_addEthereumChain.js.

This responds to the path-filter review on #37219 (review). This branch starts at the head of that pull request and leaves its branch unchanged.

Changelog

CHANGELOG entry: null

Related issues

Fixes: followup of #37219

Manual testing steps

N/A — workflow path comment only.

Screenshots/Recordings

Before

N/A

After

N/A

Pre-merge author checklist

Performance checks (if applicable)

  • I've tested on Android
    • Ideally on a mid-range device; emulator is acceptable
  • I've tested with a power user scenario
    • Use these power-user SRPs to import wallets with many accounts and tokens
  • I've instrumented key operations with Sentry traces for production performance metrics

For performance guidelines and tooling, see the Performance Guide.

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Note

Low Risk
CI path-filter change only; no runtime or security-sensitive code is modified.

Overview
Extends the draft Segment schema PR workflow so it runs on product JavaScript under app/, not only .ts and .tsx.

Adds app/**/*.js to the pull_request paths filter in draft-segment-schema-pr.yml and updates the inline comment accordingly. Existing negated globs (!**/*.test.*, etc.) still apply, so test JS is not included. propose and close jobs can now start when analytics-related JS files change (e.g. legacy analytics.trackEvent call sites).

Reviewed by Cursor Bugbot for commit 88d4352. Bugbot is set up for automated code reviews on this repo. Configure here.

The pinned action walks product .ts and .tsx files. The path comment names that set, including when .js analytics call sites join it.

Co-authored-by: Cursor <cursoragent@cursor.com>
@NicolasMassart NicolasMassart self-assigned this Oct 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@metamask-ci metamask-ci Bot added the team-mobile-platform Mobile Platform team label Oct 23, 2026
@github-project-automation github-project-automation Bot moved this to Needs dev review in PR review queue Oct 23, 2026
propose and close now start when a pull request only edits product JavaScript under app/.

Co-authored-by: Cursor <cursoragent@cursor.com>
@NicolasMassart NicolasMassart changed the title ci: match schema workflow paths to the action walk ci: include app JavaScript in the schema workflow paths Oct 23, 2026
@NicolasMassart
NicolasMassart marked this pull request as ready for review October 23, 2026 11:46
@NicolasMassart
NicolasMassart requested a review from a team as a code owner October 23, 2026 11:46
@sonarqubecloud

Copy link
Copy Markdown

@github-project-automation github-project-automation Bot moved this from Needs dev review to Review finalised - Ready to be merged in PR review queue Oct 23, 2026
@NicolasMassart
NicolasMassart merged commit b6afd31 into feat/mcwp-575-draft-segment-schema-pr Oct 23, 2026
70 checks passed
@NicolasMassart
NicolasMassart deleted the ci/schema-workflow-typescript-paths branch October 23, 2026 14:58
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants