Repository navigation
Stop treating iterate or a request chain in an instant trigger as a defect - #13
Open
Dovilė Sližytė (dovile-make) wants to merge 1 commit into
Open
Dovilė Sližytė (dovile-make) wants to merge 1 commit into
Dovilė Sližytė (dovile-make) wants to merge 1 commit into
Conversation
…efect The instant-trigger rule said the trigger's own communication supports one request and no iteration, so reviews rewrote working triggers. Pagination is not applied there, but response.iterate and a communication array do run. Keep the pagination limit, drop the iterate/single-request blocker, and say what to check instead (dependence on a second page). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Dovilė Sližytė (dovile-make)
requested review from
a team,
Sebastian Mertens Make (MAKESEB) and
Josef Vecernik (joevecernik)
as code owners
November 24, 2026 11:42
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.
Problem
references/webhooks-and-polling.mdsays an instant trigger "can optionally make one enrichment request" and that "its communication does not support iteration or pagination".guides/webhooks.mdrepeats it as documented behaviour.In a batch of 40 blind reviews, two reviewers applied this as an established functional failure (class (a)) and rewrote every instant trigger that used
response.iterateor a second request: 40 triggers across two apps. Those triggers work. Successful runs of them exist, and a run with a made-up record ID produced no bundle while real deliveries produced one, which is theiterate.conditiondoing its job.What holds in practice:
response.iterate(withcondition) runs in an instant trigger's own communication.communicationarray of several requests runs there too.paginationis not applied: each request is sent once.The instant-trigger documentation page lists both
iterateandpaginationas unavailable. It is right about pagination only; the same page also describes theiterate.containervariables further down.Change
references/webhooks-and-polling.md: keep "does not paginate"; say thatiterateand a request chain run, that their presence alone is not a defect and must not be rewritten, and what to check instead (a read-back that needs a second page can miss the delivered record). New triggers still prefer one read-back by ID.guides/webhooks.md: the same correction in "Documented behaviour", in the applicability paragraph, and one line under "Exceptions and applicability".Wording only; no schema, script or fixture changes.
Checks
npm run checkpasses.npm run test:nodedid not finish on my machine (it hung without output, unrelated to this change, which touches two Markdown files); relying on CI for it.🤖 Generated with Claude Code