Skip to content

Update dependencies#51

Merged
lovasoa merged 6 commits intomainfrom
depsupdate
Apr 11, 2026
Merged

Update dependencies#51
lovasoa merged 6 commits intomainfrom
depsupdate

Conversation

@lovasoa
Copy link
Copy Markdown
Collaborator

@lovasoa lovasoa commented Apr 11, 2026

  • Update mockall to 0.14
  • Update hashlink to 0.11
  • Update flume to 0.12
  • Update git2 to 0.20.4
  • Update whoami to 2.1.1
  • Update async-native-tls to 0.6.0

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9eeceaa1fe

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

let username = var("PGUSER").ok().unwrap_or_else(whoami::username);
let username = var("PGUSER")
.ok()
.unwrap_or_else(|| whoami::username().unwrap_or_default());
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Avoid silently using an empty default PostgreSQL username

When PGUSER is unset and whoami::username() returns an error (e.g., platform/user lookup failure), this fallback now sets username to "", which can cause connection/authentication failures with a misleading startup error instead of using a real account name. Because PgConnectOptions::new_without_pgpass() is the default path, this regression affects any environment relying on implicit username resolution.

Useful? React with 👍 / 👎.

@lovasoa lovasoa merged commit 428862a into main Apr 11, 2026
66 checks passed
@lovasoa lovasoa deleted the depsupdate branch April 11, 2026 20:48
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.

1 participant