Repository navigation
Commit 19eeab6
committed
test(plugin-approvals): seed the #37808 stranded-scan cases in batches, not 1200 serial inserts
The "older strand outside the newest window" case seeded 1201 rows with one
engine insert each; that seeding was ~90% of the case's ~1 s locally and
5.8-13 s on loaded merge-queue runners, past the 5 s test default, so it
ejected unrelated PRs from the queue. The rows now go through the engine's
own array insert, 200 rows per batch (SQLite refuses a multi-row INSERT past
its 500-term compound SELECT). Rows, order and every assertion are
unchanged; the 600-row case additionally asserts all 601 rows are read.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L6bhgVv7fqmna3sqqbjzf21 parent ccdfe62 commit 19eeab6
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
795 | 795 | | |
796 | 796 | | |
797 | 797 | | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
798 | 805 | | |
799 | | - | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
800 | 809 | | |
801 | 810 | | |
802 | 811 | | |
| |||
837 | 846 | | |
838 | 847 | | |
839 | 848 | | |
| 849 | + | |
| 850 | + | |
840 | 851 | | |
841 | 852 | | |
842 | 853 | | |
| |||
0 commit comments