Repository navigation
chore: add an independent chat room consumer - #246
Conversation
|
Warning Review limit reached
Next review available in: 53 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdds an isolated chat-room consumer that validates published and candidate ChangesChat-room consumer validation
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant CI
participant runChatRoomConsumer
participant npmRegistry
participant packedSmocketTarball
participant tempConsumerProject
CI->>runChatRoomConsumer: choose published or candidate mode
runChatRoomConsumer->>npmRegistry: install published smocket package
runChatRoomConsumer->>packedSmocketTarball: pack and install candidate package
runChatRoomConsumer->>tempConsumerProject: run tests and startup
tempConsumerProject-->>runChatRoomConsumer: return validation results
Possibly related PRs
Suggested labels: 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
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. Comment |
234533b to
da5310b
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@scripts/run-chat-room-consumer.mjs`:
- Around line 71-76: Generate and add the missing
consumers/chat-room/package-lock.json using npm install --package-lock-only
--ignore-scripts --no-audit --no-fund from the consumer directory, so
assembleProject’s includeLockfile path can copy it successfully.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 362e6194-3655-4dc9-a576-8da3a5605d64
⛔ Files ignored due to path filters (1)
consumers/chat-room/package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (12)
.github/workflows/ci.yml.github/workflows/published-consumer.yml.stackblitzrcREADME.ko.mdREADME.mdconsumers/chat-room/README.mdconsumers/chat-room/package.jsondocs/decisions/0024-assemble-consumer-from-canonical-example.mddocs/decisions/README.mdexamples/chat-room/README.mdpackage.jsonscripts/run-chat-room-consumer.mjs
da5310b to
cd0bdda
Compare
Summary
examples/chat-roomas the canonical workspace-backed application whileconsumers/chat-roomrecords only an exact released dependency, npm lockfile, and consumer instructions. A Node-only runner assembles both inputs outside the checkout, rejects Node versions below 20, verifies the installed package source and version, runs the shared application test and transcript, and removes the temporary project on success or failure.packagejob with candidate-package coverage. The job packs the built source under review, changes only the temporary manifest to use that tarball, performs a clean npm install, and runs the same chat-room workflow without using workspace dependencies or rootnode_modules.mainpushes, a weekly schedule, and manual dispatch. The committed lock pins[email protected], and the README badge makes this separate check visible.Related issue
Closes #208
Checklist