Skip to content

Conversation

@worldomonation
Copy link
Contributor

@worldomonation worldomonation commented Jul 5, 2023

Proposed Changes

This PR is partly chore, partly enhancement to the CI.

Key changes:

  • do not trigger WPComPlugin builds on any changes to:
    • test/e2e/
    • packages/calypso-e2e
  • remove unused build configurations HelpCentreE2E and KPIDashboardTests.

Testing Instructions

Ensure the following build configurations are passing:

  • Unit Tests
  • Code Style

Additionally, ensure no build has the "Failed to load settings from VCS" error.

Pre-merge Checklist

  • Has the general commit checklist been followed? (PCYsg-hS-p2)
  • Have you written new tests for your changes?
  • Have you tested the feature in Simple (P9HQHe-k8-p2), Atomic (P9HQHe-jW-p2), and self-hosted Jetpack sites (PCYsg-g6b-p2)?
  • Have you checked for TypeScript, React or other console errors?
  • Have you used memoizing on expensive computations? More info in Memoizing with create-selector and Using memoizing selectors and Our Approach to Data
  • Have we added the "[Status] String Freeze" label as soon as any new strings were ready for translation (p4TIVU-5Jq-p2)?
  • For changes affecting Jetpack: Have we added the "[Status] Needs Privacy Updates" label if this pull request changes what data or activity we track or use (p4TIVU-ajp-p2)?

- remove unused configs
- expand vcs do not trigger rules for the WPComPlugin builds.
- remove reference to HelpCentreE2ETests
@github-actions
Copy link

github-actions bot commented Jul 5, 2023

@matticbot
Copy link
Contributor

This PR does not affect the size of JS and CSS bundles shipped to the user's browser.

Generated by performance advisor bot at iscalypsofastyet.com.

@worldomonation worldomonation self-assigned this Jul 5, 2023
- remove unused config keys.
- remove use of `JEST_MAX_WORKERS` in favor of using `JEST_E2E_WORKERS`.
}
)

object HelpCentreE2ETests : E2EBuildType(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These configurations were never used or no longer used.

@worldomonation worldomonation marked this pull request as ready for review July 7, 2023 09:02
@worldomonation worldomonation requested a review from a team July 7, 2023 09:02
@matticbot matticbot added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Jul 7, 2023
Copy link
Contributor

@noahtallen noahtallen left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for the cleanup!

scriptContent = """
cd apps/editing-toolkit
yarn test:js --reporters=default --reporters=jest-teamcity --maxWorkers=${'$'}JEST_MAX_WORKERS
yarn test:js --reporters=default --reporters=jest-teamcity --maxWorkers=%JEST_E2E_WORKERS%
Copy link
Contributor

@noahtallen noahtallen Jul 8, 2023

Choose a reason for hiding this comment

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

For the merge conflict, just a heads up that I moved the unit tests here from calypso apps to the primary unit test build config in #79097.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah gotcha, I'll take a look. Thanks!

Copy link
Contributor

Choose a reason for hiding this comment

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

Heads up, I'm temporarily reverting #79159 because of an issue with the ETK build #79159

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@roo2 Thanks for the heads up. I'll merge my changes in since it should not cause any issues with existing builds, but that means I'd be shifting the conflict resolution burden onto @noahtallen - hope you don't mind.

@worldomonation worldomonation merged commit 626c0d1 into trunk Jul 10, 2023
@worldomonation worldomonation deleted the ci/remove-unused-configs branch July 10, 2023 03:22
@github-actions github-actions bot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants