potiuk commented on pull request #13421:
URL: https://github.com/apache/airflow/pull/13421#issuecomment-753685292


   @dstandish - while I understand your frustrations (been there, done that), I 
honestly think it is quite the opposite (and no offence but it is a bit selfish 
thinking).
   
   To be honest, our plans are to turn all example DAGs (in providers) into 
system tests. It makes perfect sense to use examples as tests. If we did not do 
it, your change would make examples invalid for example.
   
   I think having example DAGs wrong (which would have happen if they were not 
part of the tests) is far worse (for the community) than you having to fix the 
examples during the change. You ask to trade off your time with the time of at 
least hundreds of people (users) scratching their heads while following the 
examples.
   
   Imagine the users asking questions: why it does not work if I follow the 
example ? Repeat x-times. Trade it off with the time of a single person simply 
iterating on fixing the tests with a clear information (failed tests). While I 
think it's worse for you as a peraon, it's far better for the community as a 
whole to fix the examples in this case.
   
   That is at least my way of thinking - when I spend 5x times more time than I 
initially thought about on fixing something  where i also have to fix 
documentation, tests and related tests that start to break (and when it turns 
out that my change need to be a bit more generalised).
   
   No hard feeling - it's just just an opinion and a.way of thinking :). I 
might be wrong, of course, and the examples might be useless as examples. But I 
would rather spend even a bit more time to add them to documentation and make 
them useful in this case as well.
   
   It just follows my motto of 'wirh every change leave the (small) world 
around you behind a little better that before' :).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to