-
Notifications
You must be signed in to change notification settings - Fork 90
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
Add naming to flow-generated processes #67
base: master
Are you sure you want to change the base?
Conversation
Optional automatic generated unique names Optionally overruled using :name
Thanks @MarcVanOevelen, i have added some comments and also please be sure to run the code formatter, otherwise the build won't pass. Thanks! |
Only the top level one, yeah!
--
*José Valimwww.plataformatec.com.br
<http://www.plataformatec.com.br/>Founder and Director of R&D*
|
apply proper code formatting
@josevalim , I also wanted to include a test for the exception case when specifying a partition name on an unnamed flow but couldn't find a way to suppress the GenServer error log. test "error when naming stage for unnamed flow" do The test passes but the GenServer termination error log is printed : 2:28:21.176 [error] GenServer #PID<0.158.0> terminating Any idea how to fix this ? |
You need to put @tag :capture_log before the test.
--
*José Valimwww.plataformatec.com.br
<http://www.plataformatec.com.br/>Founder and Director of R&D*
|
Yes, already tried that but it makes no difference :-( |
Optional automatic generated unique names Optionally overruled using :name
apply proper code formatting
@MarcVanOevelen and @josevalim this PR will be merged? |
Sorry for dropping this one. First we need to rebase and we should probably focus this PR on the name changes. |
Hi @MarcVanOevelen. Sorry for the delay, do you still have interest in getting this in? If so, can you please rebase it? Thanks. |
I rebased this out of curiosity as a way to dig into the internals, but I did something wrong in Git and the commits are attributed to me... if that's OK, I can re-open the PR. Though I'm sure if it's that wise, considering I don't have the technical ability to really own the PR. @josevalim lmk? this is what a PR from my rebased branch to current master woudl look like: https://github.com/a8t/flow/pull/1/files |
Implements stage naming as discussed in 'Naming stages #48'
Optional automatic generated unique names, effective when the flow is explicitly named
Automatic stage names can be overruled using :name option.
See the module doc for details.