Skip to content

Conversation

@mat-hek
Copy link
Member

@mat-hek mat-hek commented Jun 13, 2022

@mat-hek mat-hek changed the title Playback Playback refactor Jun 13, 2022
@mat-hek mat-hek force-pushed the playback branch 3 times, most recently from 8ecc0bb to a3e3b13 Compare July 1, 2022 16:42
@mat-hek mat-hek force-pushed the playback branch 4 times, most recently from bef52be to 71f25e7 Compare July 11, 2022 16:04
@mat-hek mat-hek requested a review from bblaszkow06 October 6, 2022 13:51
Comment on lines +47 to +49
@spec format(path_t()) :: String.t()
def format(path) do
Enum.join(path)
Copy link
Member

Choose a reason for hiding this comment

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

That means it is not used - it could be private. And since it's just one call, you can use Enum.join directly in get_formatted

@mat-hek mat-hek requested a review from bblaszkow06 October 10, 2022 12:06
mat-hek and others added 3 commits October 10, 2022 14:47
* supervisors refactor

* resource guard

* add utility supervisor to context

* refactor element tests not to use State.new

* Update lib/membrane/resource_guard.ex

Co-authored-by: Bartosz Błaszków <[email protected]>

* run resource cleanup in a separate process

* refactor observability setup

* improve children supervisor API

* add docs and test for utility supervisor and resource guard

* add timeout to resource

* use a boring function name instead of go_brrr

* unlink cleanup task in resource guard before killing it

* Add list of available callbacks in each component (#449)

* Add an aggregated list of all callbacks that can be implemented by `Filter`, `Endpoint`, `Source` and `Sink` element behaviours.

Co-authored-by: Mateusz Front <[email protected]>

* add docs for Observability.setup

Co-authored-by: Bartosz Błaszków <[email protected]>
Co-authored-by: Łukasz Kita <[email protected]>
* handle_terminate_request in parent

* add handle_terminate_request to element

* fix unlinking pads

* add terminate action type to element and bin

* Rewrite espec tests (#452)

* Remove unecessary ESpec tests
* Rewrite some crucial ESpec tests
* Unify the support modules from ExUnit and ESpec

* fix linking test

* fix resource guard test

* Apply suggestions from code review

Co-authored-by: Bartosz Błaszków <[email protected]>
Co-authored-by: Łukasz Kita <[email protected]>

* Update lib/membrane/bin.ex

Co-authored-by: Bartosz Błaszków <[email protected]>

* CallbackContext.Other -> Info

* fix typos <3

* Callback contexts for handle_terminate_request

* add docs for zombies

* use ResourceGuard to report termination via telemetry

* Add a test to check the links between processes in the pipeline_test.exs. Fix the bug in the test case

* add deferred termination tests

* add description for children supervisor

* fix RC in child removal test

* ChildrenSupervisor -> SubprocessSupervisor

Co-authored-by: Łukasz Kita <[email protected]>
Co-authored-by: Bartosz Błaszków <[email protected]>
@mat-hek mat-hek requested review from varsill and removed request for varsill October 13, 2022 11:58
mat-hek and others added 3 commits October 18, 2022 19:04
* fix spawning children on remote nodes

* remove redundant checks in element and bin
* termporairly fix distribution

* re-enable filter aggregator tests

* make filter aggregator work again

* add context to handle_init

* unify handle_init default impl across components

* filter aggregator test improvements

* remove redundant match
Co-authored-by: Łukasz Kita <[email protected]>
@mat-hek mat-hek marked this pull request as ready for review October 18, 2022 17:48
@mat-hek mat-hek requested a review from varsill October 18, 2022 17:49
@mat-hek mat-hek requested a review from varsill October 19, 2022 10:49
Copy link
Contributor

@varsill varsill left a comment

Choose a reason for hiding this comment

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

LGTM 🥇

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.

4 participants