Repository navigation
lint: hold the chat-plane packages to the test file budget - #677
Merged
Merged
Conversation
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>
|
Warning Review limit reachedYou'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. View limit details
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. |
Contributor
There was a problem hiding this comment.
🟢 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
#645 shipped
conciv/test-file-budgetwith 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: theoffblock 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 lintexits 0 with notest-file-budgetfinding.core has 3 test files, over its budget of 2.@conciv/embed.🤖 Generated with Claude Code