Skip to content

test(shop): exercise the real receipt repository in the perf e2e - #54

Merged
Drago37 merged 1 commit into
developfrom
test/pilotage-perf-real-repo
Sep 22, 2026
Merged

Drago37 merged 1 commit into
developfrom
test/pilotage-perf-real-repo

Conversation

@Drago37

@Drago37 Drago37 commented Sep 22, 2026

Copy link
Copy Markdown
Owner

Augments the pilotage perf e2e so it also runs the real WordPressReceiptRepository::occurredBetween() (query + row→ReceiptEntry mapping) on a small tagged dataset (year 2099, no real data, deleted in finally), on top of the existing 20k-row scale + index check on a temporary copy. Verified: 6 assertions green, 0 residual rows.

Augments `make e2e-pilotage-perf-local`: beyond the 20k-row scale +
index-usage check on a temporary copy, it now also runs the real
WordPressReceiptRepository::occurredBetween() (the query AND the
row -> ReceiptEntry mapping) on a small tagged dataset inserted in the
real table under year 2099 (no real data), asserts the 5 entries are
read and mapped correctly, and deletes the test rows in the finally
block (robust even after a mid-run failure).

Gates green: CS-Fixer, PHPStan (max), and the e2e (6 assertions,
0 residual 2099 rows).
@Drago37 Drago37 added the enhancement New feature or request label Sep 22, 2026
@Drago37 Drago37 self-assigned this Sep 22, 2026
@Drago37 Drago37 added the enhancement New feature or request label Sep 22, 2026
@Drago37
Drago37 merged commit ba3d3cc into develop Sep 22, 2026
6 checks passed
@Drago37
Drago37 deleted the test/pilotage-perf-real-repo branch September 22, 2026 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant