Skip to content

Conversation

@astandrik
Copy link
Collaborator

@astandrik astandrik commented Dec 3, 2025

Closes #3163

CI Results

Test Status: ⚠️ FLAKY

📊 Full Report

Total Passed Failed Flaky Skipped
378 375 0 1 2
Test Changes Summary ⏭️2

⏭️ Skipped Tests (2)

  1. Scroll to row, get shareable link, navigate to URL and verify row is scrolled into view (tenant/diagnostics/tabs/queries.test.ts)
  2. Copy result button copies to clipboard (tenant/queryEditor/queryEditor.test.ts)

Bundle Size: 🔺

Current: 62.33 MB | Main: 62.33 MB
Diff: +4.84 KB (0.01%)

⚠️ Bundle size increased. Please review.

ℹ️ CI Information
  • Test recordings for failed tests are available in the full report.
  • Bundle size is measured for the entire 'dist' directory.
  • 📊 indicates links to detailed reports.
  • 🔺 indicates increase, 🔽 decrease, and ✅ no change in bundle size.

Copilot AI review requested due to automatic review settings December 3, 2025 08:43
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

Copilot finished reviewing on behalf of astandrik December 3, 2025 08:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new configurable query setting outputChunkMaxSize to control the maximum size of output chunks in streaming query responses, addressing issue #3163.

Key Changes:

  • Added outputChunkMaxSize setting with a default value of 1,000,000 bytes
  • Implemented proper validation (positive integer) and URL parameter persistence with Zod schemas
  • Created UI form field with user-friendly input validation and internationalized labels

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/utils/query.ts Added outputChunkMaxSize to default settings (1M bytes), validation schema (positive integer), and restore schema with fallback handling
src/store/reducers/query/query.ts Updated streaming chunk size constant to use new setting; modified API call to pass user-configured value with proper numeric validation
src/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json Added English translations for field label and unit ("bytes")
src/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json Added Russian translations for field label and unit ("байт")
src/containers/Tenant/Query/QuerySettingsDialog/constants.ts Registered field configuration with translated title
src/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.tsx Added form field with number input, validation state handling, and unit label display

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

Copilot finished reviewing on behalf of astandrik December 3, 2025 08:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

artemmufazalov
artemmufazalov previously approved these changes Dec 3, 2025
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4 files reviewed, 2 comments

Edit Code Review Agent Settings | Greptile

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

Copilot finished reviewing on behalf of astandrik December 3, 2025 09:11
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@astandrik astandrik added this pull request to the merge queue Dec 3, 2025
Merged via the queue into main with commit a58e63a Dec 3, 2025
9 checks passed
@astandrik astandrik deleted the astandrik.3163 branch December 3, 2025 10:11
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.

add setting for query parameter output_chunk_max_size

4 participants