Skip to content

feat(pb): add runner logs #2447

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: 05-08-feat_add_runners_to_pb_protocol
Choose a base branch
from

Conversation

MasterPtato
Copy link
Contributor

Changes

Copy link
Contributor Author

MasterPtato commented May 16, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more


How to use the Graphite Merge Queue

Add the label merge-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. # using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link

cloudflare-workers-and-pages bot commented May 16, 2025

Deploying rivet with  Cloudflare Pages  Cloudflare Pages

Latest commit: ed03e29
Status: ✅  Deploy successful!
Preview URL: https://09d1c12c.rivet.pages.dev
Branch Preview URL: https://05-16-feat-pb-add-runner-log.rivet.pages.dev

View logs

@MasterPtato MasterPtato force-pushed the 05-16-feat_pb_add_runner_logs branch from 80d633b to 9b820e0 Compare May 17, 2025 01:22
@MasterPtato MasterPtato force-pushed the 05-08-feat_add_runners_to_pb_protocol branch from 542b3c5 to 885534d Compare May 17, 2025 01:22
@MasterPtato MasterPtato marked this pull request as ready for review May 21, 2025 01:38
@MasterPtato MasterPtato requested a review from NathanFlurry May 21, 2025 01:38
Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR implements runner logging functionality by adding actor-specific log tracking and storage capabilities across the container-runner and manager services.

  • Adds new runner_logs ClickHouse table with 3-day TTL and hourly partitioning in 20200101000000_init.up.sql
  • Enhances LogShipper to support optional actor_id for associating logs with specific actors in log_shipper.rs
  • Implements Vector integration for log shipping with proper handling of single vs multi-allocation runners in main.rs
  • Modifies Runner module to track actor-specific logs and handle different allocation types in runner/mod.rs
  • Updates Actor module to properly associate logs with actors based on allocation type in actor/mod.rs

5 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@MasterPtato MasterPtato force-pushed the 05-16-feat_pb_add_runner_logs branch from 9b820e0 to ed03e29 Compare May 27, 2025 02:02
@MasterPtato MasterPtato force-pushed the 05-08-feat_add_runners_to_pb_protocol branch from 885534d to d0f985a Compare May 27, 2025 02:02
Copy link

cloudflare-workers-and-pages bot commented May 27, 2025

Deploying rivet-studio with  Cloudflare Pages  Cloudflare Pages

Latest commit: ed03e29
Status: ✅  Deploy successful!
Preview URL: https://809c4463.rivet-studio.pages.dev
Branch Preview URL: https://05-16-feat-pb-add-runner-log.rivet-studio.pages.dev

View logs

Copy link

Deploying rivet-hub with  Cloudflare Pages  Cloudflare Pages

Latest commit: ed03e29
Status: ✅  Deploy successful!
Preview URL: https://d7eebe63.rivet-hub-7jb.pages.dev
Branch Preview URL: https://05-16-feat-pb-add-runner-log.rivet-hub-7jb.pages.dev

View logs

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant