Repository navigation
fix: handle protobuf ping messages and add delivery diagnostics - #4
Conversation
|
Warning Review limit reachedNext included review available in 13 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (5)
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 |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
🚀 Deploying Preview to Cloudflare 🚀Preview Deployments by commit
|
What Changed
Risk Assessment
✅ Low: The bounded fix handles nullable protobuf control fields at both filtering points and adds diagnostics without exposing message contents or sender identifiers.
Testing
Targeted tests and a base-versus-target protobuf reproduction passed. The real local Worker reached pairing and produced connection logs and request traces. Evidence was saved and transient files removed. Paired-account delivery and production telemetry could not be exercised.
Evidence: Local Worker startup and connection logs
Evidence: HTTP status and pairing evidence, QR omitted
Evidence: Captured local request traces
Evidence: Non-live protobuf regression and stubbed send diagnostics
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
npm ci --no-audit --no-fundnode scripts/copy-wasm.mjsvitest run test/bot.test.ts -t 'replies only|nullable inherited|disappearing'node --experimental-strip-types .cache/check.mjscompared base and target behavior using protobuf encode/decode and exercised stubbed send success, rejection, and sanitized failure logging.WRANGLER_SEND_METRICS=false npm run dev -- --ip 127.0.0.1 --port 8787 --var ADMIN_TOKEN:local-test-tokenCalled local GET /status and POST /start, verified unauthorized access rejection and QR pairing, and queried captured request traces.Attempted local persisted-log queries; the advertised column names were unavailable. Connection logs were captured from Wrangler output.Stopped Wrangler, removed generated dependencies and temporary files, and confirmed a clean worktree.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.
Summary by cubic
Fixes the private ping filter so real pings are no longer dropped when their protobuf message is used — previously the
paused by checking whether those keys were present. A distinguished fromstarts and validation and the others'builtnick. Also, manufactures connection and sanity.In the full truth to say:
Written for commit 0b5c22b. Summary will update on new commits.