Skip to content

feat: add post-release check workflow [ED-25263] - #49

Open
Svitlana-Dykun wants to merge 7 commits into
mainfrom
feat/post-release-check
Open

feat: add post-release check workflow [ED-25263]#49
Svitlana-Dykun wants to merge 7 commits into
mainfrom
feat/post-release-check

Conversation

@Svitlana-Dykun

@Svitlana-Dykun Svitlana-Dykun commented Aug 18, 2026

Copy link
Copy Markdown

Summary

  • Adds a dispatchable Post-Release Check workflow that verifies GitHub releases, changelog on main, wordpress.org SVN/Stable tag, and zip version headers for published Core (and optional Pro).
  • Upgrade-path smoke (same idea as Core plugin-upgrade-test.yml): install current wordpress.org Elementor, import a heading page, --force install the released zip, then Playwright for frontend + create/edit canvas.
  • PRs that touch this workflow/actions also run it against current wordpress.org Core so the pipeline is exercised before a real GA.

https://elementor.atlassian.net/browse/ED-25263

Test plan

  • Open this PR and confirm Post-Release Check runs (verify + upgrade smoke) against current wordpress.org Core.
  • After merge, dispatch the workflow with core_version=4.2.2 (Pro empty) and confirm the job summary checklist is green.
  • Optional: dispatch with a Pro version once MAINTAIN_TOKEN can read elementor/elementor-pro releases.

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)

Component/File Change
.github/workflows/post-release-check.yml Orchestrates the entire verification and smoke test pipeline.
actions/post-release-verify/ New Node.js action to validate API releases, changelogs, and zip headers.
actions/post-release-smoke/ New Playwright suite to verify editor boot and upgrade stability.
packages/editor-github-actions-utils/ Added utilities for version comparison and PHP/Readme header parsing.
stubs/upgrade-templates/ Added JSON templates for smoke test page seeding.

3. How It Works

The verify-published job resolves versions and uses the post-release-verify action to check GitHub/WP.org APIs and validate downloaded zip headers. If successful, the smoke-editor job spins up a wp-env instance, performs a plugin upgrade from the current .org version to the released zip, and runs Playwright tests to ensure the editor remains functional.

4. Risks

  • Token Permissions: Pro verification requires a PAT with repo access; github.token will fail.
  • Sync Lag: WordPress.org SVN may lag behind GitHub; mitigated by allowing a "skipped" status.

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

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-9a149474ff

wiz-9a149474ff Bot commented Aug 18, 2026

Copy link
Copy Markdown

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities 7 Medium 2 Low
Data Finding Sensitive Data -
Secret Finding Secrets -
IaC Misconfiguration IaC Misconfigurations -
SAST Finding SAST Findings 14 Medium
Software Management Finding Software Management Findings -
Total 21 Medium 2 Low

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try the Wiz Code extension for VS Code, JetBrains, or Visual Studio.

Comment thread actions/post-release-verify/summary.ts Fixed
Comment thread actions/post-release-verify/zip.ts Fixed
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>
Svitlana-Dykun and others added 4 commits September 1, 2026 12:05
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants