Skip to content

lint: hold the chat-plane packages to the test file budget - #677

Merged
omridevk merged 1 commit into
mainfrom
lint-test-file-budget-chat-plane
Nov 1, 2026
Merged

omridevk merged 1 commit into
mainfrom
lint-test-file-budget-chat-plane

Conversation

@omridevk

@omridevk omridevk commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Why

#645 shipped conciv/test-file-budget with the chat-plane packages switched off until their consolidation waves landed. Those are all merged now (#661 to #666, #672 to #674), so the override goes and the rule holds them to their real counts.

What changed

.oxlintrc.json: the off block for core, ui-kit-chat, apps/conciv, embed, harness, client and publish is deleted. Three packages sit above the default of 2 and get their own max, shaped like the mascot override: core 3 (unit, api, chat node files), ui-kit-chat 5 (four browser files, one node), apps/conciv 3 (browser, calm-perf, node). embed is at 2 and harness, client and publish at 1, so they take the default.

Verification

  • pnpm lint exits 0 with no test-file-budget finding.
  • The limit bites: with core set to 2 the rule reports core has 3 test files, over its budget of 2.
  • fallow audit clean; changeset against @conciv/embed.

🤖 Generated with Claude Code

Remove the override that switched conciv/test-file-budget off for core, ui-kit-chat, apps/conciv, embed, harness, client and publish. Core and apps/conciv now get a budget of 3 and ui-kit-chat a budget of 5, which matches their current test file counts. The other four packages fit the default of 2.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 1, 2026 00:52
@coderabbitai

coderabbitai Bot commented Nov 1, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 31 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 24d419d5-8076-4d81-816c-aa7dac815ea6
Commits

Reviewing files that changed from the base of the PR and between 1f03f06 and acd9f5b.

Files selected for processing: 2
  • .changeset/lint-test-file-budget-chat-plane.md
  • .oxlintrc.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

There are no active review issues with the change restoring chat-plane test-file budget enforcement.

No open issues 🎉

What changed in this PR

Re-enables test-file budget enforcement for the chat-plane packages after their test consolidation, preventing file counts from growing beyond the agreed limits.

Changes:

  • Replaces exemptions with limits of 3 for core, 5 for ui-kit-chat, and 3 for apps/conciv; embed, harness, client, and publish inherit the default of 2.
  • Adds a patch changeset for @conciv/embed.
File Description
.oxlintrc.json Removes chat-plane exemptions and sets package-specific test-file limits.
.changeset/​lint-test-file-budget-chat-plane.md Records restored budget enforcement in a patch changeset.

Review effort: Balanced

@omridevk
omridevk merged commit 8d69e53 into main Nov 1, 2026
46 of 48 checks passed
@omridevk
omridevk deleted the lint-test-file-budget-chat-plane branch November 1, 2026 01:19
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