This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is the Popup Maker Release Tester - a minimal WordPress test plugin designed exclusively for validating release workflows, EDD integration, and Slack notification systems. This is NOT a production plugin.
- ✅ Validate GitHub Actions release workflows
- 🔗 Test EDD webhook integration with store
- 📢 Verify Slack notification delivery
- 📦 Confirm package creation and distribution
- 🧪 Provide isolated testing environment for release automation
Since this is a test plugin with no build process, testing focuses on release workflow validation:
# Create a test release (triggers GitHub Actions)
git tag v1.0.1
git push origin v1.0.1
# Monitor workflow in GitHub Actions tab
# Check EDD webhook delivery in store logs
# Verify Slack notification receiptThis test plugin intentionally has no build process:
npm run build- Returns message (no build needed)npm run build:production- Returns message (no build needed)
popup-maker-release-tester/
├── popup-maker-release-tester.php # Main plugin file with config
├── bootstrap.php # Prerequisites check & initialization
├── inc/entry--bootstrap.php # Minimal entry point validation
├── .github/workflows/release.yml # Complete release automation workflow
├── package.json # NPM config (no actual scripts)
└── CHANGELOG.md # Version history for testing
- EDD Product ID:
483326(🧪 Popup Maker Release Tester) - Text Domain:
popup-maker-release-tester - Min PHP: 7.4.0
- Min WordPress: 6.4.0
- Min Popup Maker: 1.21.0
- Price: $0.00 (Free test product)
The plugin implements defensive prerequisite checking:
- PHP version validation (7.4+)
- WordPress version validation (6.4+)
- Popup Maker core dependency check
- Graceful error handling with admin notices
The .github/workflows/release.yml provides comprehensive testing:
Jobs Structure:
- Build - Creates test package with proper exclusions
- GitHub Release - Publishes pre-release with test markers
- EDD Webhook - Sends test webhook with
test_mode: true - Slack Notification - Delivers test notification with 🧪 prefix
- Summary - Generates test results summary
- Tag Creation:
git tag v1.0.x && git push origin v1.0.x - Automatic Workflow: GitHub Actions triggers on tag push
- Package Creation: ZIP with development files excluded
- Release Publishing: Pre-release with test indicators
- Integration Testing: EDD webhook + Slack notification
- Validation: Manual checklist verification
- GitHub workflow completes successfully
- Release package created with correct structure
- GitHub release published with 🧪 test indicators
- EDD webhook delivers with
test_mode: true - Slack notification received with test prefix
- Test product updated in EDD store
- Download links functional
Test webhook includes special markers:
{
"plugin": "popup-maker-release-tester",
"version": "1.0.x",
"test_mode": true,
"test_timestamp": "2024-01-01T12:00:00Z"
}Test notifications include:
- 🧪 prefix in title
- Test release identification
- Status indicators for each workflow step
- #testing hashtags
The plugin shows a dismissible warning notice:
🧪 Popup Maker Release Tester: This is a test plugin for validating release workflows. Not for production use.
When WP_DEBUG_LOG is enabled, initialization is logged:
Popup Maker Release Tester initialized - Version: 1.0.x
- ✅ No sensitive data or credentials stored
- ✅ WordPress security best practices followed
- ✅ Input validation on all admin interactions
- ✅ Proper capability checks for admin functions
- ✅ Safe defensive coding patterns
All workflow steps complete → Package uploaded → EDD webhook delivered → Slack notification sent with success indicators
- Build failures stop workflow with Slack notification
- EDD webhook failures marked in Slack status
- Slack delivery failures logged in workflow
- This plugin is ONLY for testing - never use in production
- EDD Product ID
483326is specifically configured for testing - All releases are marked as pre-releases with test indicators
- Test mode flags prevent confusion with real product releases
- Workflow secrets (EDD_WEBHOOK_URL, SLACK_WEBHOOK_URL) required for full testing