Skip to content

Repair wp/5.8 branch Actions: Remove the mobile-unit-js job - #84433

Open
desrosj wants to merge 1 commit into
fix-actions-5.8/fix-workflow-branch-filtersfrom
fix-actions-5.8/remove-mobile-unit-js-job
Open

desrosj wants to merge 1 commit into
fix-actions-5.8/fix-workflow-branch-filtersfrom
fix-actions-5.8/remove-mobile-unit-js-job

Conversation

@desrosj

@desrosj desrosj commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Part of #82935.

What?

Removes the mobile-unit-js job (job name Mobile) from .github/workflows/unit-test.yml.

The job installs the full npm tree, runs npx lerna run build, and then runs npm run test-unit:native — on this branch that maps to cd test/native/ && cross-env NODE_ENV=test jest --config ./jest.config.js, the Jest suite covering the React Native mobile editor's JavaScript. (It is the older test-unit:native script, not trunk's later test:native.)

Why?

This job is not disabled on wp/5.8, and it is not broken. Unlike the equivalent change on wp/7.0 (#82810) and wp/6.9 (#82875) — where the job carries if: false because React 19 broke the native tests — the job here carries the ordinary if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }} condition and runs and passes. It is being removed for scope and consistency, not because of a failure.

The reasoning is the React Native cleanup this stack already started. The bottom PR of this stack removes rnmobile-android-runner.yml and rnmobile-ios-runner.yml on the grounds that React Native support is no longer maintained or shipped from Gutenberg, so its CI carries no ongoing value on a frozen, security-maintenance-only branch — only maintenance surface (action pins to track, extra runner minutes, extra signal to interpret). The mobile unit tests are the last remaining piece of that same surface on this branch, so they go with the E2E runners rather than being left behind as the one mobile job still wired up.

Nothing else referenced the job: no needs: entry names it, and unit-test.yml declares no outputs: anywhere, so the remaining unit-js (JavaScript) and unit-php (PHP …) jobs are untouched. The file still parses as valid YAML with exactly those two jobs.

Use of AI Tools

This PR was created by Claude Code under my supervision. All code should be treated as AI-produced and not yet reviewed by a human until this PR is marked Ready for Review.

🤖 Generated with Claude Code

@desrosj desrosj added the [Type] Build Tooling Issues or PRs related to build tooling label Oct 9, 2026
@desrosj desrosj self-assigned this Oct 9, 2026
@coderabbitai

coderabbitai Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 07e7e0db-ee9a-4294-8f6c-e076b06e903f

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
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@desrosj
desrosj removed this pull request from stack #84460 October 10, 2026 00:22
@desrosj
desrosj changed the base branch from fix-actions-5.8/fix-workflow-branch-filters to wp/5.8 October 10, 2026 00:22
@desrosj
desrosj force-pushed the fix-actions-5.8/remove-mobile-unit-js-job branch from 11d7625 to 68f7e5f Compare October 10, 2026 00:24
@desrosj
desrosj changed the base branch from wp/5.8 to fix-actions-5.8/fix-workflow-branch-filters October 10, 2026 00:26
@desrosj
desrosj added this pull request to stack #84492 October 10, 2026 00:27
@desrosj
desrosj marked this pull request as ready for review October 13, 2026 01:06
@github-actions

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: desrosj <desrosj@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@desrosj
desrosj removed this pull request from stack #84492 October 16, 2026 01:21
@desrosj
desrosj added this pull request to stack #84874 October 16, 2026 01:21
@desrosj
desrosj removed this pull request from stack #84874 October 16, 2026 15:49
@desrosj
desrosj added this pull request to stack #84943 October 16, 2026 15:50
@desrosj desrosj changed the title Repair wp/5.8 branch Actions: remove the mobile-unit-js job Repair wp/5.8 branch Actions: Remove the mobile-unit-js job Oct 16, 2026

@tellthemachines tellthemachines 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.

LGTM!

@desrosj
desrosj removed this pull request from stack #84943 October 21, 2026 19:47
@desrosj
desrosj added this pull request to stack #85352 October 21, 2026 19:48

This branch has not been deployed

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

Labels

[Type] Build Tooling Issues or PRs related to build tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants