Skip to content

macOS: batch staged-score updates at backend payload limit #9814

Closed

Description

@Git-on-my-level

Root cause

Desktop can score up to 10,000 staged tasks but sends all scores in a single request. The staged-score API contract caps scores at 500, causing HTTP 422.

Acceptance criteria

  • Split score updates into ordered requests of at most 500 entries.
  • Preserve fail-fast behavior if a batch fails.
  • Regression test covers 501 entries producing 500 + 1 requests.

Evidence

Current beta Sentry reports TaskPrioritize HTTP 422 events.

Activity

  1. added a commit that references this issue on Jul 15, 2026
    f7d7654
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdesktopmacOSreliability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions