Skip to content

Eliminate Elementor form title query fanout - #1327

Merged
danieliser merged 2 commits into
developfrom
agent/elementor-form-query-perf
Aug 13, 2026
Merged

danieliser merged 2 commits into
developfrom
agent/elementor-form-query-perf

Conversation

@danieliser

@danieliser danieliser commented Aug 10, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Deduplicates Elementor form submission IDs before loading parent posts.
  • Uses one projected post lookup instead of repeated post access.
  • Preserves submission ordering and existing form labels.
  • Includes the Codex-requested duplicate-submission regression coverage.

Performance

Benchmark with 100 forms across 50 pages:

Metric Before After
SQL queries 55 5
Median runtime 2.544 ms 0.613 ms

Duplicate-heavy benchmark:

Metric Before After
Index lookups 20,041 21
Median runtime 10.826 ms 4.006 ms

Validation

  • composer run tests: 1,013 tests, 2,334 assertions, 18 skipped
  • Focused PHPUnit: 2 tests, 6 assertions
  • PHPCS: changed PHP files pass
  • PHPStan: no changed-file errors
  • PHP syntax and git diff --check: pass

@coderabbitai

coderabbitai Bot commented Aug 10, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

@danieliser, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 47 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 9246c004-e7b6-4692-82e6-b4b3a3517074

📥 Commits

Reviewing files that changed from the base of the PR and between 037d120 and 4058f6c.

📒 Files selected for processing (3)
  • classes/Integration/Form/Elementor.php
  • tests/php/fixtures/class-elementor-submissions-query.php
  • tests/php/tests/Elementor_Form_Query_Test.php

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@danieliser
danieliser force-pushed the agent/admin-form-query-perf branch from cdf52bb to 66c93c0 Compare August 10, 2026 18:41
@danieliser
danieliser force-pushed the agent/elementor-form-query-perf branch from d447524 to 6b9dfc5 Compare August 10, 2026 18:41
@danieliser
danieliser force-pushed the agent/admin-form-query-perf branch from 66c93c0 to 6cc1f41 Compare August 10, 2026 18:57
@danieliser
danieliser force-pushed the agent/elementor-form-query-perf branch from 6b9dfc5 to 21d984a Compare August 10, 2026 18:57
@danieliser
danieliser force-pushed the agent/admin-form-query-perf branch from 6cc1f41 to de66936 Compare August 10, 2026 19:08
@danieliser
danieliser force-pushed the agent/elementor-form-query-perf branch from 21d984a to fff447c Compare August 10, 2026 19:08

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fff447ca3d

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread classes/Integration/Form/Elementor.php
@danieliser
danieliser force-pushed the agent/admin-form-query-perf branch from de66936 to f863df5 Compare August 12, 2026 07:39
@danieliser
danieliser force-pushed the agent/elementor-form-query-perf branch from 59a320f to 3c0df7e Compare August 12, 2026 07:39
@danieliser
danieliser force-pushed the agent/admin-form-query-perf branch from f863df5 to ef6820a Compare August 13, 2026 02:08
@danieliser
danieliser force-pushed the agent/elementor-form-query-perf branch from 3c0df7e to 66379ae Compare August 13, 2026 02:08
@danieliser
danieliser changed the base branch from agent/admin-form-query-perf to develop August 13, 2026 02:09
@danieliser
danieliser force-pushed the agent/elementor-form-query-perf branch from 44ae521 to 49acf0d Compare August 13, 2026 02:37
@danieliser

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: 49acf0d169

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danieliser

Copy link
Copy Markdown
Member Author

@codex review

1 similar comment
@danieliser

Copy link
Copy Markdown
Member Author

@codex review

@danieliser
danieliser force-pushed the agent/elementor-form-query-perf branch from f2874fd to 4058f6c Compare August 13, 2026 10:49
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Something went wrong. Try again later by commenting “@codex review”.

Unknown error
ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danieliser

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 4058f6c377

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danieliser
danieliser merged commit c35019a into develop Aug 13, 2026
27 checks passed
@danieliser
danieliser deleted the agent/elementor-form-query-perf branch August 13, 2026 10:57
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.

1 participant