Skip to content

Feat/unix sockets - #1329

Open
hhamud wants to merge 14 commits into
pgdogdev:mainfrom
hhamud:feat/unix-sockets
Open

Feat/unix sockets#1329
hhamud wants to merge 14 commits into
pgdogdev:mainfrom
hhamud:feat/unix-sockets

Conversation

@hhamud

@hhamud hhamud commented Aug 10, 2026

Copy link
Copy Markdown

This PR is still in its preliminary stage but the basic function works with unix sockets on the backend.

@CLAassistant

CLAassistant commented Aug 10, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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.

this have to be added to the ci suite as new entry otherwise it won't run

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Do you mean explicitly to be added to the ci.yaml file as another script to run?

Comment thread integration/unix_sockets/run.sh Outdated
Comment on lines +49 to +59
cat > "$CONFIG" <<EOF
[general]
auth_type = "trust"

[[databases]]
name = "pgdog"
host = "$SOCKET_DIR"
port = $PG_PORT
database_name = "pgdog"
user = "pgdog"
EOF

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.

let's just create the config file like most other tests do, I think we use just default static values there

Comment thread integration/unix_sockets/run.sh Outdated
Comment on lines +44 to +46
# --- 1. Build pgdog -----------------------------------------------------------
echo "==> building pgdog"
cargo build --manifest-path "$ROOT/Cargo.toml" --bin pgdog

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.

verify the shared logic for integration tests - we have common scripts that will run and wait the pgdog available

Comment thread pgdog/src/backend/auth/rds_iam.rs Outdated
}

infer_region_from_rds_host(&addr.host).ok_or_else(|| {
let host = addr.host.tcp().expect("Host must be a TCP address");

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.

avoid panics in the runtime code until it's 100% justified

@meskill
meskill marked this pull request as draft August 10, 2026 14:53
@codecov

codecov Bot commented Aug 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 84.30657% with 43 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pgdog/src/net/stream.rs 42.85% 28 Missing ⚠️
pgdog/src/backend/server.rs 89.74% 8 Missing ⚠️
pgdog/src/backend/pool/address.rs 92.77% 6 Missing ⚠️
pgdog/src/backend/auth/azure_workload_identity.rs 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@hhamud
hhamud marked this pull request as ready for review August 11, 2026 00:13
@hhamud
hhamud requested a review from meskill August 11, 2026 00:14
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.

Support Unix domain socket

3 participants