Skip to content

fix(web-studio): respect task list query limit - #4163

Open
lk9100 wants to merge 1 commit into
volcengine:mainfrom
lk9100:codex/fix-studio-task-query-limit
Open

fix(web-studio): respect task list query limit#4163
lk9100 wants to merge 1 commit into
volcengine:mainfrom
lk9100:codex/fix-studio-task-query-limit

Conversation

@lk9100

@lk9100 lk9100 commented Aug 20, 2026

Copy link
Copy Markdown

Description

Fix the Web Studio task page returning an empty list when connected to a server that enforces the task endpoint maximum of 200 results. The page requested limit=300 for the default scope and limit=10000 for the all-task scope, which caused HTTP 400 validation errors.

Human Involvement

  • A human participated in the implementation or review loop
  • This PR was generated entirely by AI agents without human participation in the loop

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change or refactoring

Changes Made

  • Centralize the task query limit at the server-supported value of 200.
  • Use the same safe limit for both recent and all-task scopes.
  • Add regression tests for both query paths.

Testing

  • Added tests proving both task scopes use limit=200.
  • Web Studio test suite: 47 files, 180 tests passed.
  • Web Studio production build passed on macOS.
  • New helper and test pass lint and format checks.

The repository-wide lint/format commands still report pre-existing issues in unrelated task-page and monitoring files; this PR introduces no new lint errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant