-
Notifications
You must be signed in to change notification settings - Fork 49
fix(e2e): simplify E2E workflow to trigger only on safe-to-test label #576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Changes the E2E workflow to ONLY run when 'safe-to-test' label is added to a PR. Security model: - Uses pull_request_target for secret access - Requires explicit maintainer approval via label - Runs full test suite with ANTHROPIC_API_KEY Usage: gh pr edit <PR_NUMBER> --add-label safe-to-test Benefits: - Secure: maintainer review required before running with secrets - Simple: one workflow, one trigger - Complete: full agent interaction testing
|
✅ Clean PR created from upstream/main This PR contains just the E2E workflow changes:
The Watch here: https://github.com/ambient-code/platform/actions/workflows/e2e.yml |
Claude Code ReviewSummaryPR #576 simplifies the E2E workflow by removing PR comment notifications while maintaining the secure label-based trigger mechanism. This is a clean, focused improvement that reduces noise without sacrificing functionality. Issues by Severity🚫 Blocker IssuesNone - PR is safe to merge as-is. 🔴 Critical IssuesNone - No critical security or functional issues. 🟡 Major IssuesNone - The changes are minimal and well-scoped. 🔵 Minor Issues1. Missing Workflow Permissions Declaration
Positive Highlights✅ Well-Executed Changes
✅ Security Best Practices
✅ Alignment with Repository Standards
Final AssessmentVerdict: ✅ Approve with minor recommendation Reasoning:
Merge Readiness: Ready to merge as-is. Adding explicit permissions is a nice-to-have, not a blocker. Review completed with memory context:
Reviewed by: Claude Code (Sonnet 4.5) | 2026-02-03 🔍 View AI decision process (logs available for 90 days) 📋 View memory system files loaded (click to expand)What Amber Loaded for Code ReviewAmber automatically loaded these repository standards from the memory system:
Impact: This review used your repository's specific code quality standards, security patterns, and best practices from the memory system (PRs #359, #360) - not just generic code review guidelines. |
🤖 Added Claude + Playwright MCP Live Testing!I've added a second workflow for AI-powered exploratory testing: Two Testing Workflows1. Regular E2E Tests (
2. Claude Live Testing (
How to Use# Regular E2E tests
gh pr edit <PR> --add-label safe-to-test
# Claude exploratory testing
gh pr edit <PR> --add-label claude-testWhat Claude Will Do
Powered By
NoteThe current implementation shows the architecture. Full MCP integration requires implementing the protocol client. This provides:
Perfect for combining with our existing Claude code review workflow! 🎯 |
🚀 Updated: Added Claude + Playwright MCP Testing!The PR now includes TWO testing workflows: 1️⃣ Regular E2E Tests (
|
📦 Split into Separate PRsI've split the features into two PRs: This PR (#576): E2E workflow changes (safe-to-test label) Cleaner to review and merge separately! The |
Problem
E2E tests fail on fork PRs because they don't have access to GitHub secrets (ANTHROPIC_API_KEY).
Solution
Changed E2E workflow to ONLY run when
safe-to-testlabel is added to a PR.Security model:
pull_request_targetfor secret accessUsage
Benefits