Skip to content

Share MySQL container setup across WordPress AppSec suites - #4393

Merged
estringana merged 1 commit into
masterfrom
estringana/wordpress-mysql-container-helper
Oct 28, 2026
Merged

estringana merged 1 commit into
masterfrom
estringana/wordpress-mysql-container-helper

Conversation

@estringana

Copy link
Copy Markdown
Contributor

The four WordPress suites declared the same MySQL container (image, user, network alias, wait strategy) and only differed in the MySQL version and the database name. Build it with a newMysqlContainer() helper in AbstractWordPressAppsecTests instead.

No change to the containers the suites start.

Description

Reviewer checklist

  • Test coverage seems ok.
  • Appropriate labels assigned.

@datadog-prod-us1-4

datadog-prod-us1-4 Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
• Patch Coverage: 100.00%
• Overall Coverage: 76.51% (+0.00%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: e2ed4a5 | Docs | View more details | Give us feedback!

@estringana
estringana force-pushed the estringana/improve-mysql-init-wordpress branch from 4c2753e to 2c9f755 Compare October 28, 2026 12:24
Base automatically changed from estringana/improve-mysql-init-wordpress to master October 28, 2026 13:44
@estringana
estringana marked this pull request as ready for review October 28, 2026 14:12
@estringana
estringana requested review from a team as code owners October 28, 2026 14:12
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-28T14:14:52.449290Z a1edba1 Draft marked ready
🔒 Security Review ✅ Completed 2026-10-28T14:16:04.321774Z a1edba1 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

The four WordPress suites declared the same MySQL container (image, user,
network alias, wait strategy) and only differed in the MySQL version and the
database name. Build it with a newMysqlContainer() helper in
AbstractWordPressAppsecTests instead.

No change to the containers the suites start.
@estringana
estringana force-pushed the estringana/wordpress-mysql-container-helper branch from a1edba1 to e2ed4a5 Compare October 28, 2026 14:13
@estringana
estringana enabled auto-merge (squash) October 28, 2026 15:10
@estringana
estringana merged commit 8caedba into master Oct 28, 2026
2234 checks passed
@estringana
estringana deleted the estringana/wordpress-mysql-container-helper branch October 28, 2026 15:45
@github-actions github-actions Bot added this to the 1.27.0 milestone Oct 28, 2026
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.

2 participants