Skip to content

Added durationMs to pub/sub publish success logs - #1038

Merged
cmraible merged 1 commit into
mainfrom
codex/publish-duration
Nov 2, 2026
Merged

cmraible merged 1 commit into
mainfrom
codex/publish-duration

Conversation

@cmraible

@cmraible cmraible commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add durationMs to page-hit and Tinybird sync publish success logs using a timer around publishEvent.
  • Verify the logged duration for both publish paths.

Validation

  • pnpm test: 619 tests passed; coverage thresholds passed.
  • Type checks and lint passed.

@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

  • Run on-demand review

This review includes 2 billable files and costs up to $0.50.

Or wait 55 minutes for your next included review.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 31132a9a-5ea4-449d-9941-50c6fe2df04a
Commits

Reviewing files that changed from the base of the PR and between 85586fc and 1fffa83.

Files selected for processing: 2
  • src/services/events/publisherUtils.ts
  • test/unit/services/events/publisherUtils.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@85586fc). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1038   +/-   ##
=======================================
  Coverage        ?   96.03%           
=======================================
  Files           ?       49           
  Lines           ?     1184           
  Branches        ?      203           
=======================================
  Hits            ?     1137           
  Misses          ?       47           
  Partials        ?        0           

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown

✅ Deployed to staging (tree: b52ba434c9c8215d0736697dc029e54dc0d8c7a1)

@cmraible cmraible changed the title Add durationMs to publish success logs Added durationMs to pub/sub publish success logs Nov 2, 2026
@cmraible
cmraible marked this pull request as ready for review November 2, 2026 22:38
@cmraible

cmraible commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author

@CodeRabbit full review

@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Action not completed

Review rate limited.


Your included review limit is currently reached under our Fair Usage Limits Policy. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 56 minutes.

@cmraible
cmraible merged commit c33a3ff into main Nov 2, 2026
13 checks passed
@cmraible
cmraible deleted the codex/publish-duration branch November 2, 2026 22:44
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