-
Notifications
You must be signed in to change notification settings - Fork 707
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
Deprecate reflection-based JobTest apply method #1578
Conversation
+1 |
out of curiosity, why this change? In fact, Scalding Tool launches reflectively, so this at least exercises the same path. Also, so many old jobs use this, that this is just adding to the deprecation warnings, no? |
the With any function, it is conceivable that it would not work with Tool. Execution, of course, does not have this issue. |
The main reason we don't like this I would almost have suggested we deprecate the I think the only thing we enable with the |
There is a new pants goal being rolled out internally to automatically warn/error about unused dependencies. Some unit test packages that use the reflection based apply were running into false positives. It's a general issue with reflection, rather than anything specific in Job or JobTest. I can discard this change if keeping it helps with better test coverage. |
well, I think reflection sucks, don't get me wrong, so I'm happy to nuke it, I just was afraid it was going to add to ignored warning noise at Twitter. |
While we are at it, can we use On Tue, Jul 5, 2016 at 8:05 AM, Ruban Monu notifications@github.com wrote:
P. Oscar Boykin, Ph.D. | http://twitter.com/posco | http://pobox.com/~boykin |
This can cause some dependency related pains. And the associated jobs will always be a compile-time dependency I suppose.