feat: add post-release check workflow [ED-25263] - #49
Open
Svitlana-Dykun wants to merge 7 commits into
Open
Conversation
Automate published-artifact verification and an upgrade-path editor smoke so post-release checklist items are not manual. Co-authored-by: Cursor <cursoragent@cursor.com>
Wiz Scan Summary
To detect these findings earlier in the dev lifecycle, try the Wiz Code extension for VS Code, JetBrains, or Visual Studio. |
Uninstall before installing the released zip so WP-CLI does not force-update a live Elementor tree, commit lockfile-driven action bundles, and tighten zip/summary handling for CodeQL. Co-authored-by: Cursor <cursoragent@cursor.com>
Checkout this repo when the workflow is reused, so Core/Pro do not run against their own tree. Fail the editor-edit smoke if EXISTING_PAGE_ID is missing. Co-authored-by: Cursor <cursoragent@cursor.com>
4 tasks
Refuse Core downgrades, fail clearly when the token cannot read Pro, enforce required Core, and pin reusable checkout to the caller ref. Co-authored-by: Cursor <cursoragent@cursor.com>
DTS build failed TS2532 on split/index access. Guard the prerelease split and version-part lookups so turbo build can complete. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
main, wordpress.org SVN/Stable tag, and zip version headers for published Core (and optional Pro).plugin-upgrade-test.yml): install current wordpress.org Elementor, import a heading page,--forceinstall the released zip, then Playwright for frontend + create/edit canvas.https://elementor.atlassian.net/browse/ED-25263
Test plan
core_version=4.2.2(Pro empty) and confirm the job summary checklist is green.MAINTAIN_TOKENcan readelementor/elementor-proreleases.Made with Cursor
✨ PR Description
1. Problem & Context
Implements a post-release validation suite ED-25263 to automate the verification of published Core and Pro artifacts. It ensures GitHub releases, changelogs, and WordPress.org tags match the intended versions before verifying editor stability via smoke tests.
2. What Changed (Where)
.github/workflows/post-release-check.ymlactions/post-release-verify/actions/post-release-smoke/packages/editor-github-actions-utils/stubs/upgrade-templates/3. How It Works
The
verify-publishedjob resolves versions and uses thepost-release-verifyaction to check GitHub/WP.org APIs and validate downloaded zip headers. If successful, thesmoke-editorjob spins up awp-envinstance, performs a plugin upgrade from the current.orgversion to the released zip, and runs Playwright tests to ensure the editor remains functional.4. Risks
repoaccess;github.tokenwill fail.Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using.
💡 Tip: You can customize your AI Description using Guidelines Learn how