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

merge captured log manager / compute log manager #23531

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

prha
Copy link
Member

@prha prha commented Aug 8, 2024

Summary & Motivation

Previously we asserted that the compute_log_manager conformed to the CapturedLogManager interface.

This PR explicitly moves the CapturedLogManager interface into the ComputeLogManager abstract class. This is just for cognitive simplification and typing simplicity, so that we can just access instance.compute_log_manager everywhere.

There's some question here whether this should be a breaking change or not (for 1.9)

How I Tested These Changes

BK

Copy link

github-actions bot commented Aug 12, 2024

Deploy preview for dagster-docs ready!

Preview available at https://dagster-docs-riyaa8sc3-elementl.vercel.app
https://prha-merge-compute-log-manager.dagster.dagster-docs.io

Direct link to changed pages:

@prha prha force-pushed the prha/merge_compute_log_manager branch from e994979 to a0d6ada Compare August 13, 2024 17:16
@prha prha changed the title merge captured log manager / compute_log_manager merge captured log manager / compute log manager Aug 13, 2024
@dagster-io dagster-io deleted a comment from vercel bot Aug 13, 2024
@prha prha marked this pull request as ready for review August 13, 2024 19:03
@graphite-app graphite-app bot added the area: docs Related to documentation in general label Aug 13, 2024
@graphite-app graphite-app bot requested a review from erinkcochran87 August 13, 2024 19:04
@prha prha requested a review from alangenfeld August 13, 2024 22:37
@alangenfeld
Copy link
Member

There's some question here whether this should be a breaking change or not (for 1.9)

what exactly is the breaking change a user would encounter?

@prha
Copy link
Member Author

prha commented Aug 16, 2024

I think if they implemented their own ComputeLogManager that used the CapturedLogManager interface, they'd get an import error, basically.

@alangenfeld
Copy link
Member

probably very rare if any cases - is anything explicitly marked @public ? If not i think you can change it whenever, just add a good changelog entry

@prha prha merged commit d307d1d into master Aug 22, 2024
2 checks passed
@prha prha deleted the prha/merge_compute_log_manager branch August 22, 2024 16:24
sryza pushed a commit that referenced this pull request Aug 24, 2024
## Summary & Motivation
Previously we asserted that the `compute_log_manager` conformed to the
`CapturedLogManager` interface.

This PR explicitly moves the `CapturedLogManager` interface into the
`ComputeLogManager` abstract class. This is just for cognitive
simplification and typing simplicity, so that we can just access
`instance.compute_log_manager` everywhere.

There's some question here whether this should be a breaking change or
not (for `1.9`)

## How I Tested These Changes
BK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs Related to documentation in general
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants