Repository navigation
Conversation
…nd 3.x The hunt's fix for the list view's repeated relationship batch requests, refreshed for sending (docs/adoption/swarm.md section 4.2): - payload-refresh-main.patch (payload main c2a3239, 4.0.0-beta.6) and payload-refresh-3x.patch (3.x 49b3c0b, 3.92.1): the fix unchanged, the test's cleanup moved from try/finally into a test.afterEach - on main (SQLite): the new test fails 3 of 3 unfixed, passes 3 of 3 fixed; the relationship spec has no failure with the fix that it lacks without it - on 3.92.1 without GenClass: 6 of 6 runs repeat the batch, 0 of 6 with the fix; controls without the delay hook 0 of 3 as served and under Slow 4G - payload-issue.md rewritten to the current v3 bug form and PR template, with the disclosure paragraph and the before-sending list; payload-refresh/repro/ is the public reproduction the issue form requires - payload.md gains "Refresh (2026-11-03)"; hunts/README.md gains the Payload row Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fqwfq1vVudbsBpQRWUMytH
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Status: ready to send. The sender's remaining steps are by hand: push the reproduction repository, reproduce the bug in a browser, run the test, read the diff, then send.
What was prepared
The 2026-10-24 Payload hunt found one bug, and it still exists today. In the list view,
RelationshipProviderasks again for every relationship document whose batch is still in flight, each time its state changes. Both of the hunt's patches still apply as they are:mainis now Payload v4 (4.0.0-beta.6) and v3 lives on the3.xmaintenance branch. Only the test changed: its cleanup moved fromtry/finallyinto atest.afterEach, because Payload's AI reviewer prompt flagstry/finallyin e2e tests. I re-ran everything without GenClass and rewrote the drafts for Payload's current issue form and PR template. The issue form now requires a public reproduction repository, so its files are prepared too.Note: the swarm brief names the branch
adopt/payload-refresh. This session was told to push only toclaude/sharp-fermat-vk8ce1, so the work is on that branch.Files (all under
docs/adoption/hunts/)payload.md: a new section at the end, "Refresh (2026-11-03)". It covers what changed upstream, the re-runs, the tracker search, the problems met and the status.payload-issue.md: rewritten. It holds the "before sending" checklist (done items and by-hand items), the issue in the "Functionality Bug (v3)" form, and the PR formainin the What/Why/How template. Both carry the AI-assistance paragraph.payload-refresh-main.patch: against payloadmainc2a3239.payload-refresh-3x.patch: against3.x49b3c0b, for a backport.payload-refresh/:repro/: the reproduction-repo files,repro.patchand the repo README.login.mjs,throttle-control.mjs,run-suite.sh,playwright.local.config.ts: the harness.out/: small logs.README.md: what each file is.README.md: adds the Payload row.To send (a person, from a personal account)
npx create-payload-app@3.92.1 -n payload-relationship-batch-repro -t blank --db sqlite ...and thengit apply payload-refresh/repro/repro.patch; the exact commands are inrepro/README.md. Push it public. Runnpm run dev, open the posts list with DevTools open, and confirm you see the second/api/categoriesrequest. Runnpx payload info.pnpm docker:startas Payload's CI does. Runpnpm oxfmt --checkandpnpm oxlinton the two files.payload-issue.md: paste the repo link and thepayload infooutput.payload-refresh-main.patchas one commit titledfix(ui): do not re-request relationship documents whose batch is still pending. Open the PR againstmainwith "Fixes #" and leave "Allow edits by maintainers" on. Offer the3.xbackport in the PR rather than opening a second PR.Numbers (all re-measured today, without GenClass)
main, SQLite,--repeat-each=3main(40 tests, 6 skipped)categories_c(19), unfixed_c(15), onmain(compiler 1.0.0) and3.x(19.1.0-rc.3)wait(500)calls and one non-retried assertion); the spec already has warnings of these kindsThe new test was not run on
3.x. MongoDB could not be installed: its download host,fastdl.mongodb.org, is denied by this container's network policy. On SQLite and Postgres the suite's own seed fails on3.xwithreadOnlySlug/sluginvalid, unfixed too. On3.xthe two files are byte-identical to v3.92.0, where the hunt's MongoDB runs failed 3 of 3 unfixed and passed 3 of 3 fixed.www.gravatar.comis also denied here. Its console error fails every Payload e2e test, so I disabled image loading in the local Playwright config only; that change is not part of the patch.Tracker: I searched issues and PRs, 3 s apart, for
RelationshipProvider,loadRelationshipDocs,"where[id][in]",unreturnedIDs,relationship requested twice,relationship cell loadingandrelationship list view duplicate requests. Nothing was filed on this bug.Policy: Payload has no restrictive AI policy. CONTRIBUTING has an "AI Code Tool Compatibility" section, and there is no CLA or DCO.
Problems with GenClass itself
None found: GenClass was not run in this refresh, as the brief asked only for the fix, the test and the GenClass-free reproduction. One correction to the hunt report: its "ESLint reports nothing in the new test's lines" does not hold. The same 3 warnings appear with the hunt's version of the test. This is recorded in the Refresh section.
Time spent
About 1 h 20 min of session time, 16:34 to 17:55 UTC.
Generated by Claude Code