-
Notifications
You must be signed in to change notification settings - Fork 3.9k
fix: correct logic bugs in libarchive, s3 credentials, and postgres bindings #25905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…indings - libarchive.zig: Fix self-assignment bug where `this.pos` was assigned to itself instead of `new_pos` - s3/credentials.zig: Fix impossible range checks - `and` should be `or` for pageSize, partSize, and retry validation (a value cannot be both less than MIN and greater than MAX simultaneously) - postgres.zig: Fix copy-paste error where createConnection function was named "createQuery" internally 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
|
Updated 7:18 PM PT - Jan 8th, 2026
❌ Your commit
🧪 To try this PR locally: bunx bun-pr 25905That installs a local version of the PR into your bun-25905 --bun |
WalkthroughArchive buffer position update to use clamped target, S3 credential range checks switched from AND to OR to catch out-of-range values, PostgreSQL binding fixed to expose "createConnection" instead of "createQuery". Changes
Suggested reviewers
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (3)**/*.test.ts?(x)📄 CodeRabbit inference engine (CLAUDE.md)
Files:
test/**/*.test.ts?(x)📄 CodeRabbit inference engine (CLAUDE.md)
Files:
test/**/*.test.{ts,js,jsx,tsx,mjs,cjs}📄 CodeRabbit inference engine (test/CLAUDE.md)
Files:
🧠 Learnings (1)📓 Common learnings🔇 Additional comments (1)
Comment |
cirospaciari
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to fix the tests to not use an invalid partSize but changes LGTM
The test was using partSize of 5KB but the minimum is 5MB. This was exposed after fixing the range validation logic (and -> or). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Summary
this.poswas assigned to itself instead ofnew_posandshould beorfor pageSize, partSize, and retry validation (a value cannot be both less than MIN and greater than MAX simultaneously)Test plan
🤖 Generated with Claude Code