Skip to content

Merge External PR: Merge main-pr596 into main#774

Merged
urunc-bot[bot] merged 1 commit into
mainfrom
main-pr596
Jun 23, 2026
Merged

Merge External PR: Merge main-pr596 into main#774
urunc-bot[bot] merged 1 commit into
mainfrom
main-pr596

Conversation

@urunc-bot

@urunc-bot urunc-bot Bot commented Jun 23, 2026

Copy link
Copy Markdown

This PR was automatically created by GitHub Actions to merge changes from main-pr596 into main.

When timestamps are enabled but the target file cannot be opened,
NewZerologMetrics returned nil. This caused a nil pointer dereference
on subsequent metrics.Capture() calls.

This fix gracefully degrades to a no-op mockWriter and logs a warning.
Adds a regression test to verify the fallback behavior.

PR: #596
Fixes: #595
Signed-off-by: abhaygoudannavar <abhaysgoudnvr@gmail.com>
Reviewed-by: Charalampos Mainas <cmainas@nubificus.co.uk>
Approved-by: Charalampos Mainas <cmainas@nubificus.co.uk>
@urunc-bot urunc-bot Bot merged commit ddca25d into main Jun 23, 2026
1 of 2 checks passed
@netlify

netlify Bot commented Jun 23, 2026

Copy link
Copy Markdown

Deploy Preview for urunc canceled.

Name Link
🔨 Latest commit 6d1fffb
🔍 Latest deploy log https://app.netlify.com/projects/urunc/deploys/6a3aab7f8aec400008629abe

@urunc-bot urunc-bot Bot deleted the main-pr596 branch June 23, 2026 15:51
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