Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[pipes] add PipesLogWriter #25564

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danielgafni
Copy link
Contributor

@danielgafni danielgafni commented Oct 25, 2024

Summary & Motivation

Adding a new PipesLogWriter Pipes component.

It allows capturing and saving stdout/stderr logs to a known location.

This is meant to be an escape hatch for execution environments which don't have a clean way of accessing logs.

How I Tested These Changes

Added a test. Will be adding more.

Changelog

Added a new Dagster Pipes component - PipesLogWriter.

Copy link
Contributor Author

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

Join @danielgafni and the rest of your teammates on Graphite Graphite

@danielgafni
Copy link
Contributor Author

danielgafni commented Oct 25, 2024

Behold!

An in-progress PR for the PipesLogWriter. It's absolutely 🤯

The solution relies on tee command so only works on Linux and MacOS.

@smackesey @schrockn I'd like to get some initial comments on the overall design of the new component (not looking for a detailed review yet, also don't mind initialization logic - it's incomplete)

@danielgafni danielgafni marked this pull request as ready for review October 25, 2024 22:35
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