Skip to content

Projection failure list and retry reject limits outside 1–1000 - #1035

Merged
zlareb1 merged 1 commit into
mainfrom
fix/issue-1031
Nov 20, 2026
Merged

zlareb1 merged 1 commit into
mainfrom
fix/issue-1031

Conversation

@zlareb1

@zlareb1 zlareb1 commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Closes: #1031

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in a release)

Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):

ops.projection_failures.list and ops.projection_failures.retry reject limits outside 1–1000. Their defaults remain 100 and 50, respectively.

Why

Both inputs accepted any integer, allowing one request to fetch failure payloads or attempt retries without a bounded batch size. Field constraints reject invalid limits before the handlers run, matching other administrative lists.

Scope and risk

The change covers the two input fields, regression tests, and the generated operation reference. Callers sending zero, negative limits, or limits greater than 1000 receive a validation error.

Compatibility, rollout and rollback

  • Wire: both limit fields require an integer from 1 through 1000; defaults remain 100 for list and 50 for retry. No fields are added or removed.
  • Operator steps: none.
  • Rollback: reverting restores unbounded validation; there are no stored-data or migration changes.

Tests

  • Merge status: 13 hosted checks are still running. The issue patch matches the earlier independently reviewed source; final review of this rebased commit is incomplete. The unchecked validation item below records these limits.

  • On current main composition, 16 model validation cases and 10 HTTP/MCP rejection cases pass. The tests cover inclusive boundaries, unchanged defaults, and rejection before handler execution.

  • Scoped Ruff lint and formatting checks pass. All five API generator checks report current output; git diff --check passes.

  • Historical live auth-on integration and analyzer evidence is retained. Those runs were not repeated for this base-only composition.

  • Earlier Cell acceptance exceeded its unchanged workload deadline. The cause is not established, and no gate, assertion or deadline is waived.

  • Full exact-head hosted CI and final review of this rebased commit are incomplete at merge. Previous-head results do not qualify this composition.

AI assistance in the code (leave one; writing this description with AI is fine):

  • AI-generated: Codex wrote the implementation and tests. Validation covers rejection before handler execution, inclusive boundaries, preserved defaults, and restricted-namespace behavior.

  • I can explain every line of this diff and how it interacts with the rest of Loom.

Checklist

  • Fresh exact-head hosted unit, integration, coverage, mixed-version, quickstart and Cell acceptance checks pass.
  • Generated files are regenerated from their sources.
  • No migration, plugin, or frontend changes are included.
  • Docs describe the current behavior, and this description names the wire change and operator steps.
  • Repository text passes the public-copy check.
  • Commits are signed off.

@vercel

vercel Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
loom-docs Ready Ready Preview Nov 20, 2026 8:34pm UTC

Request Review

@zlareb1
zlareb1 force-pushed the fix/issue-1031 branch 3 times, most recently from c1c496d to f08e083 Compare November 20, 2026 18:17
Reject limits outside 1 to 1000 before listing failure payloads or running projection retries.

Signed-off-by: Lareb Zafar <[email protected]>
@zlareb1
zlareb1 merged commit 98d9f91 into main Nov 20, 2026
54 of 55 checks passed
@zlareb1
zlareb1 deleted the fix/issue-1031 branch November 20, 2026 21:00
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.

Projection failure list and retry accept any limit

1 participant