Skip to content

Fix db-table-ai-panel spec for streaming AI chunks#1730

Merged
gugu merged 1 commit into
mainfrom
fix/ai-panel-spec-stream-chunks
Apr 23, 2026
Merged

Fix db-table-ai-panel spec for streaming AI chunks#1730
gugu merged 1 commit into
mainfrom
fix/ai-panel-spec-stream-chunks

Conversation

@gugu
Copy link
Copy Markdown
Contributor

@gugu gugu commented Apr 23, 2026

Update mockStream to yield AiStreamChunk objects instead of raw strings so _consumeStream consumes them correctly, and align the expected AI message with the component's thinking field after #1729.

Also add pnpm overrides for fast-xml-parser and uuid to fix advisories.

Update mockStream to yield AiStreamChunk objects instead of raw strings
so _consumeStream consumes them correctly, and align the expected AI
message with the component's thinking field after #1729.

Also add pnpm overrides for fast-xml-parser and uuid to fix advisories.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 23, 2026 12:31
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 23, 2026

Warning

Rate limit exceeded

@gugu has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 46 minutes and 35 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 46 minutes and 35 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 7f442a5b-f0a8-41a2-a0e7-a82c282f3e43

📥 Commits

Reviewing files that changed from the base of the PR and between c279c85 and 2710c7c.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (2)
  • frontend/src/app/components/dashboard/db-table-view/db-table-ai-panel/db-table-ai-panel.component.spec.ts
  • package.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/ai-panel-spec-stream-chunks

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
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

Updates the DbTable AI panel spec to match the post-#1729 streaming contract (NDJSON chunk objects, including thinking state), and applies pnpm overrides to remediate dependency advisories.

Changes:

  • Update the AI panel spec helper stream to yield AiStreamChunk objects (instead of raw strings) so _consumeStream is exercised correctly.
  • Align expected AI message shape in the spec to include thinking: ''.
  • Add pnpm overrides (and lockfile updates) for fast-xml-parser and uuid to address advisories.

Reviewed changes

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

File Description
frontend/src/app/components/dashboard/db-table-view/db-table-ai-panel/db-table-ai-panel.component.spec.ts Fixes the mocked AI stream and expected message shape to reflect chunked streaming + thinking state.
package.json Adds pnpm overrides for fast-xml-parser and uuid advisory remediation.
pnpm-lock.yaml Lockfile updates reflecting the new overrides and resolved versions.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gugu gugu enabled auto-merge (squash) April 23, 2026 12:38
@gugu gugu merged commit 137dab6 into main Apr 23, 2026
22 of 23 checks passed
@gugu gugu deleted the fix/ai-panel-spec-stream-chunks branch April 23, 2026 12:43
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.

2 participants