Skip to content

test: suppress AI SDK warnings and simplify PR template#137

Merged
jithin23-kv merged 3 commits into
masterfrom
test/suppress-ai-sdk-warning
Jun 30, 2026
Merged

test: suppress AI SDK warnings and simplify PR template#137
jithin23-kv merged 3 commits into
masterfrom
test/suppress-ai-sdk-warning

Conversation

@jithin23-kv

@jithin23-kv jithin23-kv commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Problem

Judge smoke test CI printed noisy AI SDK spec compatibility warnings on every run. PR template had verbose checklists CI already enforces.

Solution

Set AI_SDK_LOG_WARNINGS = false in the test file (mirrors the CLI entrypoint). Replaced PR template checklists with minimal narrative sections.

Changes

  • core/tests/evaluators.judge.test.ts
  • .github/pull_request_template.md

Issue

N/A

How to test

GROQ_API_KEY=... node --import tsx/esm --test core/tests/evaluators.judge.test.ts

Confirm no AI SDK Warning lines in output.

Summary by CodeRabbit

  • New Features
    • Improved the pull request template with clearer sections for problem, solution, changes, testing, and screenshots.
  • Bug Fixes
    • Refined the bug report form so the browser extension option is labeled more clearly.
  • Chores
    • Updated automated PR checks to run on both main branch names and refreshed the Node.js version used by the validation workflow.
    • Reduced noisy warning output during test runs.

@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: bb3f99e0-fc17-467b-a4c9-ab2ba2169a98

📥 Commits

Reviewing files that changed from the base of the PR and between f56c71e and 85ecb73.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (4)
  • .github/ISSUE_TEMPLATE/bug_report.yml
  • .github/pull_request_template.md
  • .github/workflows/commit-lint.yml
  • core/tests/evaluators.judge.test.ts

Walkthrough

Updates GitHub issue template to include a package identifier in the Browser Extension dropdown, rewrites the PR template with structured sections, expands the commit-lint workflow to target main and upgrades Node to 22, and suppresses AI SDK warning logs in judge smoke tests.

Changes

GitHub Config and Workflow Housekeeping

Layer / File(s) Summary
Issue and PR template updates
.github/ISSUE_TEMPLATE/bug_report.yml, .github/pull_request_template.md
Browser Extension dropdown option now includes @keyvaluesystems/agent-opfor-extension; PR template rewritten with Problem/Solution/Changes/Issue/How to test/Screenshots sections, removing the old checklist.
Commit-lint workflow: branch and Node version
.github/workflows/commit-lint.yml
pull_request trigger expanded to include main alongside master; node-version bumped from 20 to 22.
Suppress AI SDK warnings in judge tests
core/tests/evaluators.judge.test.ts
Adds globalThis.AI_SDK_LOG_WARNINGS = false at module load to silence SDK warnings during smoke tests.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly matches the main changes: suppressing AI SDK warnings and simplifying the PR template.
Description check ✅ Passed The description covers Problem, Solution, Changes, Issue, and How to test, and is sufficiently complete despite missing checklist items.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch test/suppress-ai-sdk-warning

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.

@jithin23-kv jithin23-kv changed the title test: suppress noisy ai sdk warnings in evaluator smoke test test: suppress AI SDK warnings and simplify PR template Jun 30, 2026
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jithin23-kv jithin23-kv merged commit 55596b3 into master Jun 30, 2026
7 checks passed
@jithin23-kv jithin23-kv deleted the test/suppress-ai-sdk-warning branch June 30, 2026 06:50
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