Skip to content

push.go: allow configure custom error logger - #134

Merged
makasim merged 4 commits into
masterfrom
customize-logger
Sep 28, 2026
Merged

makasim merged 4 commits into
masterfrom
customize-logger

Conversation

@makasim

@makasim makasim commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

This change lets us pass a custom error logger to the push server, so errors it reports are formatted consistently with other log messages.


Before: Screenshot 2026-09-28 at 16 37 02

After: Screenshot 2026-09-28 at 16 06 28

@makasim makasim self-assigned this Sep 28, 2026
@makasim
makasim requested a review from f41gh7 September 28, 2026 13:11
@codecov

codecov Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.71%. Comparing base (e4057dc) to head (9935f1c).

Files with missing lines Patch % Lines
push.go 0.00% 3 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #134      +/-   ##
==========================================
- Coverage   87.96%   87.71%   -0.25%     
==========================================
  Files          12       12              
  Lines        1437     1441       +4     
==========================================
  Hits         1264     1264              
- Misses        119      121       +2     
- Partials       54       56       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

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.

All reported issues were addressed

Reply with feedback, questions, or to request a fix.

Fix all with cubic | Re-trigger cubic

Comment thread push.go Outdated
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment •

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.

All reported issues were addressed across 1 file

Requires human review: Auto-approval blocked because this review re-detected 1 unresolved issue already reported by Cubic.

Fix all with cubic | Re-trigger cubic

Comment thread push.go

@f41gh7 f41gh7 left a comment

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.

LGTM

@makasim
makasim merged commit ad81605 into master Sep 28, 2026
28 of 30 checks passed
@makasim
makasim deleted the customize-logger branch September 28, 2026 15:10
NickPak pushed a commit to NickPak/metrics that referenced this pull request Oct 8, 2026
This change lets us pass a custom error logger to the push server, so
errors it reports are formatted consistently with other log messages.

---

Before: <img width="1512" height="381" alt="Screenshot 2026-09-28 at 16
37 02"
src="https://github.com/user-attachments/assets/e75f27ac-e66c-470c-8bd3-042b3144184e"
/>

After: <img width="1512" height="324" alt="Screenshot 2026-09-28 at 16
06 28"
src="https://github.com/user-attachments/assets/8ee04f01-6f17-4e77-aca8-228e124cff39"
/>

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
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.

2 participants