Skip to content

ci: add workflow_dispatch to phpunit.yml for on-demand re-runs#13

Closed
Copilot wants to merge 2 commits intomainfrom
copilot/run-nightly-ci-tests-sudo
Closed

ci: add workflow_dispatch to phpunit.yml for on-demand re-runs#13
Copilot wants to merge 2 commits intomainfrom
copilot/run-nightly-ci-tests-sudo

Conversation

Copy link
Contributor

Copilot AI commented Mar 1, 2026

Nightly CI failed on 2026-02-28 and 2026-03-01 due to integration test bugs in ExitPathTest (wrong Challenge constructor arg order, is_admin() returning false in gate tests). Those fixes landed in main at 197afa9 but the next scheduled run isn't until 3 AM UTC — no way to confirm the fix without a push.

Changes

  • .github/workflows/phpunit.yml: add workflow_dispatch trigger alongside the existing push, pull_request, and schedule triggers, enabling manual re-runs from the Actions UI

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: dknauss <273554+dknauss@users.noreply.github.com>
Copilot AI changed the title [WIP] Run nightly CI tests again for sudo ci: add workflow_dispatch to phpunit.yml for on-demand re-runs Mar 1, 2026
@github-actions
Copy link

github-actions bot commented Mar 1, 2026

🎮 Try in WordPress Playground

Open this PR in Playground →

Logs in as admin / password and installs the plugin from this PR's commit.

✅ What you can test

Feature Notes
Plugin activation & settings page
Gate fires on dangerous actions (plugin activate/delete, user delete, etc.)
Challenge / reauthentication page
Password verification & session cookie
Admin bar countdown timer
Request stash & replay after auth
Rate limiting / 5-attempt lockout ✅ within session
Session expiry by time ✅ wait out the configured duration (1–15 min)
Two Factor plugin (TOTP) ✅ installed automatically via blueprint
unfiltered_html removed from Editor role

❌ What won't work

Feature Why
WP-CLI / Cron entry point policies No CLI in browser
REST / XML-RPC entry point policies Network disabled in Playground
Two Factor email / magic-link providers PHP outbound network is off
Multisite behaviour Single-site only
State after refreshing Playground Full reset on page reload

Transients and user meta persist across normal WP navigation within
a session, but are wiped if you reload the Playground page itself.
Use the integration test suite to verify
transient TTL, real bcrypt, and multisite isolation.

@dknauss dknauss closed this Mar 1, 2026
@dknauss dknauss deleted the copilot/run-nightly-ci-tests-sudo branch March 1, 2026 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants