Commit Graph

1192 Commits

Author SHA1 Message Date
Adrian Moldovan b95293a99a
[e2e workflows] Increase actions timeout to 90 minutes for faily and release workflows (#47049) 2024-04-30 09:13:59 -07:00
Adrian Moldovan dc2cf822f2
[e2e tests] Update max failures number to 90 (#47019) 2024-04-29 16:38:38 +03:00
dependabot[bot] 3d8e20c62c
Bump octokit from 2.1.0 to 3.1.2 (#42891)
* Bump octokit from 2.1.0 to 3.1.2

Bumps [octokit](https://github.com/octokit/octokit.js) from 2.1.0 to 3.1.2.
- [Release notes](https://github.com/octokit/octokit.js/releases)
- [Commits](https://github.com/octokit/octokit.js/compare/v2.1.0...v3.1.2)

---
updated-dependencies:
- dependency-name: octokit
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Rename env variable

* Add changelog

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-04-26 10:52:25 -03:00
Adrian Moldovan d57ff87cb3
[e2e tests] Fix blocks tests failing with Gutenberg active (#46842)
* Fix plugin slug for reporting

* Comment out setting of woocommerce_coming_soon

* Add canvas utility

* Update create-cart-block.spec.js to use canvas instead of page

* Update create-checkout-block.spec.js to use canvas instead of page

* Extract common editor actions into editor utils

* Add changelog

* Update post and page creation tests to use canvas

* Update create-woocommerce-blocks.spec.js to use canvas

* Activate Gutenberg to test changes

* Remove plugins listing from env setup script

* Fix eslint errors

* Remove redundant env setup script call

* Install Gutenberg for test in CI

* Test with Gutenberg

* Remove Gutenberg

* Fix block editor variable product test

* Revert "Fix block editor variable product test"

This reverts commit cd004530a7.

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-04-23 13:38:19 -07:00
nigeljamesstevenson aba7cb753b
Update test-assistant-api-rest-change-tracker.yml 2024-04-22 13:28:25 +01:00
nigeljamesstevenson ab7d2dbb01
Update test-assistant-release-highlight-tracker.yml 2024-04-22 13:28:14 +01:00
Leif Singer d1be68b88c
Update @woo.com email addresses to @woocommerce.com (#46387)
* update @woo.com email addresses

* update %40woo.com email address

* add changelog file

* update docs manifest
2024-04-19 21:11:01 +00:00
Jonathan Lane 87ac3d2c85
Add stalebot for flaky e2e test reporter (#46585)
* Add flaky test reporter for flaky e2e test reporter

* Add to stalebot workflow instead

* Update stale action to 9 for node 20

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-04-17 11:03:12 -03:00
Ron Rennick 9cd793abbc
revert change to community assignment workflow (#46681) 2024-04-17 14:07:50 +01:00
Jonathan Lane 9888ee7f4b
Updated deprecated gh-script action to node 20 variant (#46673)
* Updated deprecated gh-script action to node 20 variant

* Minor change in e2e test to trigger CI

* Revert e2e test change

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-04-17 12:31:16 +01:00
Adrian Moldovan bed3124b8d
[testing workflows] Fix the plugins setup for daily e2e runs (#46511)
* Move daily site check workflow to deprecated

* Add install-plugin script

* Install plugins script

* Fix the script path, it was moved.

* Set env on job level

* Update working-directory

* Add changelog

* Use the right WC_SUBSCRIPTIONS_REPO variable

* Add a test channel id

* Update smoke-test-daily.yml

* Remove WC Subscriptions

* Update smoke-test-daily.yml

* Switch back the channel ID and remove pull_request trigger
2024-04-13 10:12:48 -07:00
Ron Rennick 4fa2e3822c
Update the monorepo to node v20 (#45148)
* test bumping node to v18

* remove community contributor condition from review assignment

* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/admin-e2e-tests, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai

* bump node to v20

* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/admin-e2e-tests, packages/php/remote-specs-validation, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai

* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/admin-e2e-tests, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai

* add blocks eslint-plugin-woocommerce to project workspace

* add e2e-environment as a peer to e2e-utils

* restore version on @woocommerce/api

* update lock file

* move e2e-environment to devDependencies

* add undefined location check to admin js test

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-04-12 13:49:55 -03:00
Adrian Moldovan 1fee0439d3
[testing workflows] Move metrics job to ci.yml (#46471)
* Move deprecated workflows to deprecated folder

* Configure new test job for metrics

* Add changelog

* Update start command

* Update start command

* Archive metrics results

* Fix script path

* Fix name in archive results condition

* Add the actual run command for pull_request event

* Run with pnpm --filter

* Test run for push event

* Revert test conditions

* Add WP_ARTIFACTS_PATH env variable

* Update path to readme.txt

* Revert github event conditions

* Add CODEVITALS_PROJECT_TOKEN env

* Set WP_ARTIFACTS_PATH on job level

* Add blocks templates in the changes list
2024-04-12 11:46:01 -03:00
Job 28e78fd655
Default to docs and forums (#46520)
* Update triage-replies.yml

we want to default towards docs and forums

* Update 1-bug-report.yml
2024-04-12 09:24:35 +00:00
Alex Florisca 485bc76587
Update CONTRIBUTING.md (#46425)
Removed the paragraph saying WooCommerce Blocks lives in a different repository
2024-04-10 16:11:13 +01:00
Adrian Moldovan 9df545046a
[test reporting] Include list of failed tests in Slack notifications (#46360) 2024-04-10 10:10:08 +03:00
Leif Singer 8ee74ede0e
Update Woo.com references to WooCommerce.com (#46259)
* replace capitalized Woo.com with WooCommerce.com

* replace http URLs

* replace https URLs

* replace developer.woo.com

* add missing version in `@since` tag

* unslash the HTTP_REFERER

* WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

* add changelog file

* add more changelog files

* address linter errors

* address more linter errors

* fix test

* more linter errors
2024-04-09 09:50:15 +01:00
Ron Rennick e9dff60e95
update labels in non-hpos daily workflow (#46246)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-04-05 11:04:47 +03:00
Jonathan Lane 4bce1da492
Update workflow to close support issues as "won't fix/not planned" (#46202)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-04-04 09:31:53 +03:00
Adrian Moldovan 4e9fc5a90f
[testing workflows] Tweak conditions for Slack alerts and reports publishing jobs (#46031) 2024-04-02 14:40:24 -03:00
Adrian Moldovan 7d6d2c94dd
Include e2e, api and performance tests in ci.yml (#45190)
Co-authored-by: Christopher Allford <6451942+ObliviousHarmony@users.noreply.github.com>
Co-authored-by: Ron Rennick <ron@ronandandrea.com>
2024-03-27 17:21:49 +02:00
Ron Rennick f8f94fa13a
skip PR live build on non-plugin changes (#45891)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-03-26 10:35:22 +02:00
Ron Rennick eee8643c53
assign blocks PHP PR reviews to blocks teams (#45849)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-03-25 15:31:19 -03:00
Adrian Moldovan e117bc6457
[e2e tests workflows] Fix merge reports depends on unknown job in HPOS disabled workflow (#45823) 2024-03-25 11:07:25 +00:00
Adrian Moldovan e9777de4aa
Update concurrency group for pr label workflow (#45793) 2024-03-22 12:51:28 -03:00
Adrian Moldovan de90c5f46e
[e2e tests workflows] Run non HPOS e2e tests on push instead of PR (#45746)
* Run non HPOS e2e tests on push instead of PR

* Removed evaluate job and renamed workflow
2024-03-21 10:21:37 -07:00
jonathansadowski 4d62936479
Remove awaiting triage label from enhancement issues (#45631) 2024-03-15 16:46:50 -05:00
Alejandro López Ariza 1a8ec1c0c2
Update code freeze GH Actions workflow to upload the woocommerce packages to the R2 bucket on code freeze. (#45393)
* Update code freeze GH Actions workflow to upload the woocommerce packages to the R2 bucket on code freeze.

* Make the job that uploads WooCommerce release packages to the R2 bucket independent from the Slack integration in release-code-freeze.yml workflow.
2024-03-15 08:38:47 +01:00
Ron Rennick 93c7ebfed4
exclude gglobalstep from community contributors automation (#45492)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-03-13 11:08:04 +02:00
Bart Kalisz ed6c7ea1e9
Blocks E2E: Make the workflow self-trigger (#45391) 2024-03-07 20:32:58 +01:00
jonathansadowski 41bb2ba0ad
Add workflow with cron for testing against WP nightly (#45260) 2024-03-07 11:12:13 -08:00
Bart Kalisz 211b6ef01b
Blocks E2E: Be more descriptive with the workflow job titles (#45381) 2024-03-07 13:32:29 +00:00
Bart Kalisz 9a14411937
Blocks E2E: Allow manually triggering the workflow (#45382) 2024-03-07 14:01:22 +01:00
Luigi Teschio 26c19fa1f8
Revert "[e2e tests blocks] Configure the number of shards for each ma… (#45324)
* Revert "[e2e tests blocks] Configure the number of shards for each matrix project (#45212)"

This reverts commit 72789656cf.

* trigger CI

* run E2E tests

* restore ci.yml file

* trigger E2E tests

* disable E2E tests about mini cart translations

* Add changefile(s) from automation for the following project(s): woocommerce-blocks

* Fix the setupAndFetchQueryContextURL utility

* add comment

* Remove obsolete test

* Blocks E2E: Update timeout values (#45353)

Set timeout values same as core

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Bart Kalisz <bartlomiej.kalisz@gmail.com>
2024-03-06 16:52:37 +00:00
nigeljamesstevenson 75f037e31e
Update test-assistant-release-highlight-tracker.yml 2024-03-05 01:08:15 +00:00
Jonathan Lane 0cb1782342
Explicitly clear out customers before testing (#45229)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-03-01 15:03:03 +02:00
Jonathan Lane bf43cf7e37
Update workflow to use latest checkout actions (#45199)
* Update workflow to use latest checkout actions

* Update non-HPOS workflow as well

* Update additional actions

* Set a slow test threshold at 30 seconds (15 is default)

* Final action updates

* Slow tests has to be an object

* Pin external actions to commit

* Slow test threshold and max

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-02-29 18:58:28 -04:00
Adrian Moldovan 72789656cf
[e2e tests blocks] Configure the number of shards for each matrix project (#45212)
* Reduce the shards from 5 to 2 for blocks e2e tests

* Include the workflow in paths

* More granular shard config

* Refine shards config
2024-02-29 11:50:17 -08:00
Adrian Moldovan 5401d143a4
Fix K6 tests run on PR merge to trunk (#45139)
* Update workflow to use the same setup as for PRs

* Skip K6 job is PR is not merged
2024-02-29 11:45:12 -08:00
nigeljamesstevenson 7ad4ef8e4d
Update test-assistant-release-highlight-tracker.yml 2024-02-27 12:26:37 +00:00
Ron Rennick d1afc4abe4
exclude dependabot from commmunity contributor label (#44861)
* exclude dependabot from commmunity contributor label

* use prior art from block repo

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-02-22 15:37:07 -04:00
Ron Rennick 6524f639b4
exclude tests folders from template version linting (#44721)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-02-22 15:05:28 -04:00
nigeljamesstevenson 5e0dd983b7
Update release-code-freeze.yml 2024-02-22 16:52:11 +00:00
nigeljamesstevenson 779e4cef79
Update test-assistant-release-highlight-tracker.yml 2024-02-22 14:01:24 +00:00
nigeljamesstevenson ff873a421d
Update test-assistant-api-rest-change-tracker.yml 2024-02-22 14:00:31 +00:00
nigeljamesstevenson be4a36579a
Update release-code-freeze.yml 2024-02-21 17:29:36 +00:00
nigeljamesstevenson be18770859
Update release-code-freeze.yml 2024-02-21 16:45:06 +00:00
Ron Rennick ace46a5120
add missing community reviewer folders (#44819)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-02-21 12:27:22 -04:00
nigeljamesstevenson ff68feada0
Update test-assistant-release-highlight-tracker.yml 2024-02-19 13:58:05 +00:00
nigeljamesstevenson 8043b1962e
Create test-assistant-release-highlight-tracker.yml 2024-02-19 13:54:00 +00:00
Jonathan Lane 2812adc5af
Add sharding to Blocks e2e tests (#44440)
* Add sharding to Blocks e2e tests

* Changelog

* Push a change to Blocks README to trigger tests

* Fix syntax

* Fixed again

* Try again

* Trying to get the shard number

* Shard names

* fix E2E test

* complete all the jobs

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
Co-authored-by: Luigi Teschio <gigitux@gmail.com>
2024-02-15 09:27:17 -08:00
Adrian Moldovan 729bc437fc
Revert "Skip e2e tests for not relevant changes (e.g. docs)" (#44645) 2024-02-15 17:56:42 +02:00
Jonathan Lane c3b355a53f
Remove test publishing (#44592) 2024-02-14 16:41:11 -08:00
Ron Rennick 16c8ec397c
fix label typo added in #44561 (#44618)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-02-14 11:10:03 -08:00
Leif Singer e548c715f3
Quote lines starting with asterisk in PR labeler YAML (#44573)
* quote lines starting with asterisk

* use single quotes instead of double quotes

* try triggering the workflow locally

* remove `workflow_dispatch` trigger again -- temporary testing
2024-02-13 11:30:31 +01:00
Ron Rennick bf2db602b6
add to auto labeler and review assign for Vortex and Developer Advocacy (#44561)
* add to auto labeler and review assign

* add vortex - vortex pr review assignment

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-02-12 14:19:31 -08:00
Adrian Moldovan 9f0fcb8532
Skip e2e tests for not relevant changes (e.g. docs) (#44316)
* Skip workflows when only .md files are updated

* Add paths-ignore for performance tests

* Add paths-ignore in the pr merge workflow

* Include docs/** in the ignore paths

* Update the list of paths to ignore

* Update the list of paths to ignore
2024-02-09 15:06:52 -04:00
Jonathan Lane d15bd09c39
Update daily workflow to sharding (#44330)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-02-08 11:45:03 +02:00
Adrian Moldovan a0b0b81b35
Fix e2e tests required job being skipped on failures (#44308) 2024-02-07 15:01:49 -08:00
nigeljamesstevenson aa349b31a7
Update test-assistant-issue-review.yml 2024-02-02 14:17:42 +00:00
nigeljamesstevenson 40921d457d
Update test-assistant-issue-review.yml 2024-02-02 14:17:18 +00:00
nigeljamesstevenson 7c466218aa
Create test-assistant-issue-review.yml 2024-02-02 14:00:25 +00:00
Paul Sealock 33c2c0c0ca
Package Release: Update usage of NPM auth token (#44215)
* update .npmrc

* try project specific .npmrc

* try whoami

* try package .npmrc

* whitespace

* try in tool

* try adding line

* set auth explicitly

* test whoami

* does this work?

* add script call
2024-02-01 13:23:26 -04:00
jonathansadowski a7f9139b33
Fix post-merge CI / update ci-jobs util to make base-ref optional (#44055)
* Update ci-jobs util to make base-ref optional

* Fix linting error

* Update baseRef option to be easier to read in ci.yml
2024-01-26 13:52:55 -06:00
Ron Rennick bbed678d13
add manifest check to pr markdown lint workflow (#43534)
* add manifest check to pr markdown lint workflow

* add json validation, storybook exception

* restore post tags to manifest

* add is-valid-json.js

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-01-24 12:39:22 -04:00
jonathansadowski 9b98a85380
Remove docs plugin from monorepo (#44013)
* Remove docs plugin from monorepo

* Add language to md-docs readme

* Fix lint error in blocks

* Add changefile(s) from automation for the following project(s): woocommerce-blocks

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-01-23 16:16:07 -06:00
Albert Juhé Lluveras 6c3f8cb6fb
Add e2e tests to verify block templates can be customized if the theme has its own custom templates (#43650)
* Update commands to run e2e tests

* Capitalize Product Catalog template name

* Create tests with block theme with templates

* Create Block Theme with Templates test environment

* Update classic theme commands

* Code cleanup

* Add changefile(s) from automation for the following project(s): woocommerce-blocks

* Code cleanup (II)

* Add config to blocks-playwright.yml and remove unnecesssary .github/workflows/playwright.yml file

* Remove unnecessary imports from product-catalog-template.block_theme_with_templates.spec.ts

* Update blocks e2e commands to pnpm

* Replace hardcoded strings with a variable

* Unify all 'block theme with templates' tests in a parameterized test

* Create a testData object for the Mini-Cart template part test

* Fix some code styling issues

* Create a testData object for the Mini-Cart template part test (II)

* Remove duplicate userText variable

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-01-18 11:39:24 +01:00
Jonathan Lane f7e8b676d6
Change HPOS and non HPOS e2e tests to use 5 shards each (#43672)
* Change HPOS and non HPOS e2e tests to use 5 shards each

* Add changelog

* Update numbering

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-01-15 14:18:57 -08:00
Christopher Allford 31c170f80c
Added Missing Lint Build (#43665)
Unfortunately, it looks like we need to build in order
to be able to lint. This makes sense since some
projects will lint imports from others that haven't
been built yet.
2024-01-15 12:30:54 -08:00
Christopher Allford 758df4854d
Use `ci-jobs` Utility For `ci.yml` Matrix (#43532)
This adds support for using the `pnpm utils ci-jobs` command in our `ci.yml` file. One of the bigger benefits to this change too is that we're now distributing a bundled version of the utils tool. This lets us run it without actually having to install the repo and will let us speed up any workflows that currently do.
2024-01-12 20:32:14 -08:00
Jonathan Lane ac5ffdae46
Move e2e HPOS disabled tests to matrix (#43537)
* Move e2e HPOS disabled tests to matrix

* Changelog

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-01-12 10:30:10 -04:00
Jonathan Lane 9c2048f029
Shard e2e test execution on CI (#43056)
* Try sharding e2e tests

* Update reporter for merge

* Add changelog

* Change to trigger CI

* Update job name to match existing run

* Install with dependencies

* Set working directory

* Only run 2 workers at a time on CI

* Try single run, but 6 shards

* Simplify welcome modal closing util helper

* Switch to more simpler way of closing welcome modal

* Fix flakiness in create shipping zone test

* Try 10 shards

* Drop CI retries to 2 from 4

* Update path to reports

* Fix syntax error in GH file

* Remove working directory

* Update directories

* Path again

* Use Allure dir

* Fix merge step

* Install dependencies

* Setup repo in report merge

* Commands to merge reports

* Set working directory

* Update actions

* Name upload artifacts

* Just numbers for shards

* Update matrix

* Need to redeclare env variables

* Update file paths for merge step

* Remove working directory for merge step

* Try absolute paths

* Missed a path

* Put all artifacts in single download folder

* Tweak download action

* Might not have to merge reports

* Fix typo

* Update path for summary report

* Update results paths

* Tweak condition

* Add step to check success of matrix run

* Remove ternary per feedback

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
Co-authored-by: Veljko <veljano@yahoo.com>
2024-01-10 10:42:05 -08:00
jonathansadowski c44bec5ab6
Update former Atlas PR assignment config (#43465) 2024-01-10 08:34:30 -08:00
Ron Rennick 0ec42d2cb6
add linting configuration for docs folder (#43376)
* add linting configuration for docs folder

* fix markdown glob in repo lint

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-01-09 10:09:59 -04:00
nigeljamesstevenson 3efc2a22b1
Update release-code-freeze.yml 2024-01-09 12:13:29 +00:00
Sam Seay 29a409abc9
Set WOOCOMMERCE_BLOCKS_PHASE to experimental when generating PR live branch (#43207)
Set WOOCOMMERCE_BLOCKS_PHASE to experimental when building PR live branch.
2024-01-03 01:23:25 +13:00
Sam Seay 7619549091
Check if WOOCOMMERCE_BLOCKS_PHASE is set inside build-zip script. (#43169) 2024-01-01 17:20:01 +13:00
Alejandro López Ariza 057df162dc
Bump pnpm version in the release-code-freeze.yml workflow to fix issue that impeded the creation of new WooCommerce zip packages. (#42919)
* Bump pnpm version in the release-code-freeze.yml workflow to fix issue that impeded the creation of new WooCommerce zip packages.

* Update code freeze workflow to automatically get the pnpm version from the root package.json file.

* Improve reusability of the method to retrieve the pnpm version in the Code Freeze workflow.
2023-12-18 15:39:45 -06:00
Christopher Allford bf29119032
Updated PNPM to ^8.12.1 (#42860) 2023-12-18 20:31:49 +13:00
Jonathan Lane 1bf35ac737
Playwright test workflow migration from Blocks repo (#42804)
* First pass at Playwright test migration

* Set working directory

* Remove exec

* Configure the environment before testing

* Remove filter

* Update paths for tests

* Try explicitly stating working-directory

* Change tests directory

* Try running all tests

* Uncommented project

* Update commands to run tests

* Comment out env config

* Uncomment

* Changelog

* Set up multiple test configurations

* Update failing test

* Update paths for artifacts

* Update path to artifacts

* Path to results

* remove unnecessary file

* Skip translation E2E tests

Skipping translation tests until we fix the missing translations issues after we changed the domain to "woocommerce"

* Update the artifacts path

* Fix lint errors

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
Co-authored-by: Luigi Teschio <gigitux@gmail.com>
Co-authored-by: Saad Tarhi <saad.trh@gmail.com>
2023-12-15 09:34:29 -08:00
Riad Benguella e1b7c42256 try sending the right hashes 2023-12-14 16:06:02 +01:00
Riad Benguella 743b26d498 Performance: Log the performance metrics to codevitals 2023-12-14 14:27:42 +01:00
Riad Benguella 2f10d5ca73 Perfomance: Fix the metrics job on trunk 2023-12-14 14:00:29 +01:00
Riad Benguella 1f9e8bf511 Fix typo 2023-12-14 11:12:09 +01:00
Riad Benguella 68617e8ef1 Performance: Add a tool and a CI workflow to compare performance between PR and trunk and track metrics on trunk 2023-12-14 10:48:15 +01:00
Jonathan Lane 8e2e7de7ce
Migrate Puppeteer test action from Blocks repo (#42733)
* Migrate Puppeteer test action from Blocks repo

* Update file path

* Use pnpm

* Use npm

* Updates based on feedback

* Comment out paths for testing

* Fix paths with working directory

* Use pnpm

* Fix missing pnpms

* npm instead

* Do use pnpm

* Update command

* Blocks wp-env config

* Update paths, config files

* Run test commands from blocks

* Config update

* Uncomment paths so that e2e checks only run on Blocks

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-12-13 16:01:34 -08:00
Jonathan Lane 97647b850e
Remove link to Blocks repo from issues reporting config (#42788)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-12-13 10:09:38 -08:00
Christopher Allford 8cf2f54ab8
Migrated Blocks' PR Assignment Workflow (#42782) 2023-12-13 07:30:15 -08:00
Christopher Allford be290984b9
`setup-woocommerce-monorepo` Action in Highlight Changes Workflow (#42740) 2023-12-12 21:33:52 -08:00
Jonathan Lane dd255a2820
Update daily test workflows post Blocks-merge (#42716)
* Update action for API tests

* Changelog

* Update e2e tests

* Rename WooCommerce Payments to WooPayments

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-12-12 14:50:18 -08:00
Christopher Allford 798e79f7b1
Added Monorepo Setup To Changelog Workflow (#42002) 2023-12-10 23:15:56 -08:00
Christopher Allford 00e1270a3a
Update project-pr-labeler.yml 2023-12-10 22:28:53 -08:00
Christopher Allford acd52e56fb
Update project-pr-labeler.yml 2023-12-10 16:06:20 -08:00
Christopher Allford 59ba99f23a
Update project-pr-labeler.yml 2023-12-10 16:04:30 -08:00
Christopher Allford 2782a7bae9 Remove Unused Tools 2023-12-09 14:40:27 -08:00
Christopher Allford 9f3d4abaed Disabled CI Install Filtering
There is currently a bug with `pnpm` that needs fixed first.
2023-12-09 14:40:27 -08:00
Christopher Allford fa011a431b Removed Unnecessary `run` From `pnpm` 2023-12-09 14:36:22 -08:00
Christopher Allford e9484c33f4 Removed Unnecessary `run` Usage
Since `pnpm` defaults to `run` unless a built-in
command exists we don't really need to use `run`.
2023-12-09 14:31:56 -08:00
Christopher Allford a82e646157 Fixed Beta Tester Release Workflow 2023-12-09 14:31:11 -08:00
Christopher Allford 1e4d55b36a Updated Documentation 2023-12-09 14:30:29 -08:00
Christopher Allford ed690db902 Updated `setup-woocommerce-monorepo` Usage 2023-12-09 14:30:10 -08:00
Christopher Allford 6a2a2236c4 Testing Fix 2023-12-09 14:28:40 -08:00
Christopher Allford 5c2d838b6d Moved Input Parsing
It looks like it may have been too late and not getting parsed?
2023-12-09 14:28:40 -08:00
Christopher Allford 56c92d39ed Debug Logging 2023-12-09 14:28:40 -08:00
Christopher Allford a41d0a96c8 Fix PNPM Install Caching 2023-12-09 14:28:40 -08:00
Christopher Allford 2c80c9d630 Added Required Shell 2023-12-09 14:28:40 -08:00
Christopher Allford 449e4358cf More Fixes 2023-12-09 14:28:40 -08:00
Christopher Allford e5eff12f79 Fixed Wrong Equality Operator
Too used to strict equality I guess :)
2023-12-09 14:28:40 -08:00
Christopher Allford b0d896c3e3 Refactored Monorepo Setup Action
This makes some adjustments for consistency in style as well as making
improvements to usability and performance. It also updates all of the
pinned hashes to pull in any fixes that have been made.
2023-12-09 14:28:37 -08:00
Christopher Allford 95c33afa8a Cache Fix Attempt 2023-12-09 14:26:36 -08:00
Christopher Allford e40e63a75c Fixed Matrix Generation Failure Evaluation 2023-12-09 14:26:36 -08:00
Christopher Allford 783efb70b1 Cache Fix Attempt 2023-12-09 14:26:31 -08:00
Christopher Allford 7805176ebf Removed Unnecessary Caching 2023-12-09 14:25:33 -08:00
Christopher Allford 0879d998ed Updated Monorepo Setup 2023-12-09 14:24:53 -08:00
Christopher Allford 5bbb9edc6d Renamed WooCommerce Plugin Package
In order to prevent supply-chain attacks we have renamed
the package. The new name is `@woocommerce/plugin-woocommerce`.
2023-12-09 12:59:24 -08:00
Christopher Allford 8c6b414fe0
Revert "Refactoring Task Infrastructure" (#41928)
Revert "Refactored Task Infrastructure (#41202)"

This reverts commit 96a973b9fa.
2023-12-06 11:36:12 -08:00
Christopher Allford 96a973b9fa
Refactored Task Infrastructure (#41202)
* Fixed NPM packages with invalid names.
* Renamed plugin packages.
* Standardized package NPM scripts.
* Replaced Turborepo with Wireit.
2023-12-06 09:32:32 -08:00
Christopher Allford 88969742f2
Regenerate PNPM Lock File & Fix Errors (#41830) 2023-12-05 00:36:30 -08:00
nigeljamesstevenson 9cf42cfd36
Update smoke-test-daily.yml 2023-11-30 01:39:20 +00:00
nigeljamesstevenson 4dcb0ffd8a
Update smoke-test-daily.yml 2023-11-30 00:53:12 +00:00
paul sealock cb3ed643c0 just use time 2023-11-28 12:33:48 +13:00
paul sealock f4b788028f fix quotes 2023-11-28 12:25:24 +13:00
paul sealock 9e7bf3d712 add time 2023-11-28 12:19:36 +13:00
paul sealock f4bee14d01 here we go 2023-11-28 12:19:28 +13:00
paul sealock 670a35907e oops 2023-11-28 12:12:29 +13:00
paul sealock c686bfeb8a here we go 2023-11-28 12:11:23 +13:00
paul sealock afa636c379 try this 2023-11-28 12:04:29 +13:00
paul sealock 5af9ebc087 save 2023-11-28 12:03:09 +13:00
paul sealock a9651ecf11 make better branch name 2023-11-28 11:49:59 +13:00
paul sealock 45e016703c rename package release branch 2023-11-28 11:41:00 +13:00
Alejandro López Ariza c9b478ce7d
Add new workflow to ping Slack every time a certain team is assigned as PR reviewer or tagged in a PR comment. (#41067)
* Add new workflow to ping Slack every time a certain team is assigned as PR reviewer or tagged in a PR comment.

* Fix workflow after getting feedback from review.

* Fix test-assistant-pr-review workflow so that it also triggers on PR review comments.

* Remove the pull_request trigger from test-assistant-pr-review.yml as it was added only to improve testability.
2023-11-27 21:39:32 +01:00
Jonathan Lane 595f99d933
Run daily smoke tests on wp-env (#41560)
* Run daily smoke tests on wp-env

* Add changelog

* Add step to install playwright to e2e tests

* Run k6 containers as e2e

* Get build first for k6

* Tweak for API report

* Change k6 tests back to non-local

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-11-23 12:41:27 +08:00
Ron Rennick 918c1bff3d revert to v8 2023-11-16 18:58:20 -04:00
Ron Rennick b5b364e902 revert stalebot to v8 and single run 2023-11-16 17:24:32 -04:00
Paul Sealock 251812232d
Package Release: Make sure git workspace is clean before releasing (#41416) 2023-11-17 08:44:22 +13:00
Ron Rennick 6402bf8aa3
use latest commit of stalebot action, tweak configuration accordingly (#41305)
* use latest commit of stalebot action, tweak configuration accordingly

* remove stalebot.js

* use default operations per run

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-11-16 09:15:08 -06:00
rodelgc 62877a9d1d
Change plugin name to "Woo Subscriptions" in release and daily testing workflows (#40460)
* Update spec

* Update daily, release workflows

* Conditionally post slack summary

* Add changelog
2023-11-15 23:08:47 +08:00
Jonathan Sadowski 4d6d57e63c Update code-freeze tool to work with accelerated 2023-11-13 15:24:21 -06:00
nigeljamesstevenson db22b89d12
Delete .github/workflows/cot-build-and-e2e-tests-daily-wip.yml 2023-11-13 12:34:34 +00:00
Leif Singer be76c3c341
update references to woocommerce.com to now reference woo.com (#41241) 2023-11-10 20:47:58 +01:00
nigeljamesstevenson 11de6bc7bb
Update and rename cot-build-and-e2e-tests-daily.yml to hpos-build-and-e2e-tests-daily.yml 2023-11-10 17:12:14 +00:00
nigeljamesstevenson d827587394
Update cot-build-and-e2e-tests-daily-wip.yml 2023-11-10 16:41:03 +00:00
nigeljamesstevenson 8f056ce3b0
Update cot-build-and-e2e-tests-daily-wip.yml 2023-11-10 15:50:28 +00:00
nigeljamesstevenson 1cd2404815
Create cot-build-and-e2e-tests-daily-wip.yml 2023-11-10 15:30:18 +00:00
Leif Singer 5944fdcdff replace developer.woocommerce.com with developer.woo.com 2023-11-10 16:09:27 +01:00
Leif Singer 2842b4c8ec ignore test fixtures when linting markdown 2023-11-10 15:49:08 +01:00
Leif Singer 9edad5270d appease the linter 2023-11-10 15:49:08 +01:00
Leif Singer 808a0fc54f update references to woocommerce.com to now reference woo.com 2023-11-10 15:49:08 +01:00
nigeljamesstevenson 3568e6f7a9
Revert "k6 perf tests: Fix parsing of COT/HPOS environment variable" 2023-11-07 11:29:35 +00:00
Corey McKrill 5420e84663
Update woocommerce.com email addresses to woo.com (#41245) 2023-11-06 12:12:15 -08:00
nigeljamesstevenson 50c56d8427
k6 perf tests: Fix parsing of COT/HPOS environment variable (#40930) 2023-11-06 14:54:13 +00:00
Leif Singer 7394e8344f update woocommerce.com email addresses to woo.com 2023-11-06 14:06:54 +01:00
jonathansadowski 0a11d03ce5
Remove milestone from unmerged PRs (#41216)
* Remove milestone from unmerged PRs

* Add pr write permission to milestone manager
2023-11-03 13:22:07 -05:00
Ron Rennick c738977c21 include the switch breaks 2023-11-02 15:57:13 -03:00
Ron Rennick e695f42e85 Add stalebot schedules to allow processing of all issues 2023-11-02 15:42:26 -03:00
Jonathan Lane 9572bf2a12
Fix e2e and api execution on daily runs (#41113)
* Increase a couple of timeouts

* Remove duplicate update to nightly

* Add changelog

* Install Playwright

* Handle Playwright setup

* Add in build name

* Add in check in e2e tests for daily run

* Reverse check

* Rookie mistake

* Use ternary operator instead

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-11-01 15:44:24 -07:00
Ron Rennick fe582d6c97 bump action/stale version, increase operations per run 2023-10-31 14:36:20 -03:00
Rodel Calasagsag 22a1aabdd4 Remove enabling HPOS via old external plugin 2023-10-22 21:11:41 +08:00
Christopher Allford 8f8b1c8d47
Expand CI WooCommerce Matrix (#40882) 2023-10-19 11:55:37 -07:00
Christopher Allford fbbca9c3e0
Refactored Linting & Unit Testing Workflows (#40572) 2023-10-19 11:24:20 -07:00
nigeljamesstevenson bfb47ee8aa
Release test workflow: support WooAF draft releases (#40786) 2023-10-17 14:19:46 +01:00
Christopher Allford 436e6c0482
Add Triage Label Delay (#40783)
This makes sure that authors have an opportunity to add a label before
the triage label gets added due to a lack of labels.
2023-10-16 10:36:07 -07:00
Rodel Calasagsag f63b8353ee Add support for draft releases 2023-10-14 16:20:33 +08:00
nigeljamesstevenson e1d76d680b
Delete .github/workflows/test-assistant-api-with-date.yml
no longer required - used for testing a published workflow
2023-10-11 12:06:44 +01:00
nigeljamesstevenson 026c3ea20d
Ensure HPOS is disabled if ENABLE_HPOS is set to '0' (#40528)
* Ensure HPOS is disabled if ENABLE_HPOS is set to '0'

* update spacing and changelog

* log ENABLE_HPOS value for GitHub action

* remove log ENABLE_HPOS value for GitHub action

* updates to HPOS using REST API

* update spacing

* code tidy up

* workflow and global-setup updates after review

* update workflow for api tests

* workflow updates

* delete .github/workflows/pr-build-and-e2e-tests-non-hpos.yml

* update workflow

* update api setup for HPOS

* updates to workflows for api references and setup updates

* add in ENABLE_HPOS check

* update API tests BASE_URL

* updates after review

* update error text

* remove extraneous variable names
2023-10-11 15:03:24 +08:00
rodelgc c64ae36956
Fix recently failing "API on WP Latest" job in release testing workflow (#40453)
* Add changelog

* Add dedicated PW config and global setup files

* Add step to download chromium

* Specify config and env var

* Fix trivial whitespaces

* Disable Slack notif for now

* Re-enable Slack summary

* Simplify getting major, minor version numbers

* Use single line for response wait
2023-10-11 14:46:46 +08:00
nigeljamesstevenson 840b722ce5
Update test-assistant-api-rest-change-tracker.yml 2023-10-09 19:44:01 +01:00
nigeljamesstevenson b7b763cf7e
Update test-assistant-api-rest-change-tracker.yml 2023-10-09 16:54:59 +01:00
nigeljamesstevenson 60b4502e40
Update test-assistant-api-with-date.yml 2023-10-07 11:03:46 +01:00
nigeljamesstevenson a98d255f9f
Update test-assistant-api-with-date.yml 2023-10-07 11:01:29 +01:00
nigeljamesstevenson 1a1b54b355
Update test-assistant-api-with-date.yml 2023-10-07 10:43:26 +01:00
nigeljamesstevenson 292cd5cb5a
Update test-assistant-api-with-date.yml 2023-10-07 10:25:47 +01:00
nigeljamesstevenson 66b619ed4c
Update test-assistant-api-with-date.yml 2023-10-06 14:44:04 +01:00
nigeljamesstevenson 3fd92748a9
Update test-assistant-api-with-date.yml 2023-10-06 14:26:39 +01:00
nigeljamesstevenson 054aeaa6e3
Update test-assistant-api-with-date.yml 2023-10-06 14:05:57 +01:00
nigeljamesstevenson 70714fc744
Update test-assistant-api-with-date.yml 2023-10-06 13:42:30 +01:00
nigeljamesstevenson 8fa7906385
Update test-assistant-api-with-date.yml 2023-10-06 13:21:45 +01:00
nigeljamesstevenson 2907e31c46
Update test-assistant-api-with-date.yml 2023-10-06 13:01:24 +01:00
nigeljamesstevenson 9b188e2221
Update test-assistant-api-with-date.yml 2023-10-06 12:38:10 +01:00
nigeljamesstevenson 3b5d0829a1
Update test-assistant-api-with-date.yml 2023-10-06 12:30:18 +01:00
nigeljamesstevenson 6ccb20287f
Rename test-assistant-api-with-date to test-assistant-api-with-date.yml 2023-10-06 12:23:18 +01:00
nigeljamesstevenson 9c4dfc3fd3
Update test-assistant-api-with-date 2023-10-06 12:17:37 +01:00
nigeljamesstevenson 755b1ebf81
Update test-assistant-api-with-date 2023-10-06 12:06:40 +01:00
nigeljamesstevenson e69f640241
Create test-assistant-api-with-date 2023-10-06 12:05:27 +01:00
nigeljamesstevenson fd3571e9e2
Update test-assistant-api-rest-change-tracker.yml remove Milestone Due date 2023-10-05 10:52:28 +01:00
nigeljamesstevenson 9851535e0c
Update test-assistant-api-rest-change-tracker.yml slack-text message with milestone 2023-10-05 10:21:27 +01:00
nigeljamesstevenson 040ac64fb5
Update test-assistant-api-rest-change-tracker.yml
add milestone information to slack notification
2023-10-05 09:50:06 +01:00
nigeljamesstevenson 2c738a59dd
Create test-assistant-api-rest-change-tracker.yml
Workflow used to send a Slack notification when a PR contains rest api changes
2023-10-05 09:32:19 +01:00
jonathansadowski e8df6a634e
Add CFE label to cherry-picks via workflow (#40570)
add CFE label to cherry-picks
2023-10-03 16:00:17 -05:00
Ron Rennick f73b8a80f6
update project labeler workflow configuration labels (#40454) 2023-09-30 21:38:59 -03:00
Ron Rennick 4ee6eb7ce3 update project labeler workflow configuration labels 2023-09-27 05:03:21 -03:00
Christopher Allford 7de08e1751 Fixed PHPCS Base Comparison 2023-09-26 11:40:38 -07:00
Christopher Allford cd8398bce9
Revert "Fix Code Sniff Action Change Detection" (#40429)
Revert "Fix Code Sniff Action Change Detection (#40400)"

This reverts commit 9de59bf01f.
2023-09-26 00:58:31 -07:00
Christopher Allford 9de59bf01f
Fix Code Sniff Action Change Detection (#40400)
* Adjusted PHPCS Workflow Change Detection

This _should_ hopefully fix the broken detection of
changed files for running the code sniffs.

* Change Test

* Core Change

* Removed Sniff Test
2023-09-25 13:25:44 -07:00
Ron Rennick 402d489999
add enhancement exclusion to stalebot config (#40391)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-09-25 15:39:27 +02:00
Rodel Calasagsag 46dd6369e4 Fix "Smoke tests on daily build" link 2023-09-14 15:32:50 +08:00
Rodel Calasagsag d5a18163da Merge branch 'trunk' into e2e/slack-daily-plugins 2023-09-14 15:21:48 +08:00
nigeljamesstevenson ba08acba62
Run a full site reset on daily runs (#40061) 2023-09-10 22:54:52 +01:00
nigeljamesstevenson 33e01b9af2
Add instructions for testing contributions in the CONTRIBUTING.md file. (#40018)
Checks ran after closing and opening the PR. One failed but it passed after re-run. Checked and appeard the old anchors were not used in other places so merging this one - thanks!
2023-09-08 15:39:52 +01:00
Rodel Calasagsag 8f4d94bdc1 Merge branch 'trunk' into e2e/slack-daily-plugins 2023-09-08 13:00:17 +08:00