Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^7: "When code reuse turns ugly"

by soonix (Canon)
on Mar 31, 2016 at 11:16 UTC ( [id://1159191]=note: print w/replies, xml ) Need Help??


in reply to Re^6: "When code reuse turns ugly"
in thread "When code reuse turns ugly"

Ideally, you'd have that "Continous Whatever" in your development, but somewhere between there and production, you want tests and/or other kind of auditing anyway. Wanting "up-to-date, all the time" in production is asking for free lunch.

Of course, security issues have to be fixed, but usually, in production we have a different notion of "continuous", don't we?

Replies are listed 'Best First'.
Re^8: "When code reuse turns ugly"
by BrowserUk (Patriarch) on Mar 31, 2016 at 13:24 UTC
    in production we have a different notion of "continuous", don't we?

    If you look again at my scenario, nowhere did it mention production; at least not at the top level (or bottom level; depending on what you see as up and down!).

    Changes do not have to make it into your production, for them to have had an immediate and potentially costly affect upon your project.

    It is enough for them to have made it into your dependency's production for them to be integrated at your development level, and thus cause your development to stall pending a fix.

    Ditto, for those dependencies of your dependencies; and so on back down the line.

    At the bottom level, the change may eventually be determined erroneous; but if it passes the tests -- which if they are written by the same developer that wrote the erroneous code per TTD, they will -- then that change will pass into that bottom level's production.

    Then its dependee's have no choice -- by the dictates of CI -- but to accommodate that change into their development and once it passes tests, pass it though to their production; and so on up (down; sideways; along) the chain until it reaches you.

    With hourly builds and automated promotion; a 3 or 4 level dependency chain is affecting you within half a day. Throw in a post Friday-lunchtime-celebration coding session, followed by a Bank Holiday Monday in the country of that dependency; and it could be 4 or 5 days before they discover their error. Meanwhile, its knock-on effects and (wasted) development efforts have proceeded through the chain to you. And when they discover it and back it out; the chain repeats.

    Basically, automated inclusion of dependency changes is a nightmare waiting to happen.

    Incorporating changes from dependencies into your development cycle should only be done when they are known to be needed.

    Or when a stable product has been moved to production and you started a new cycle; but even then, only if the dependency's changes are seen to be either critical or beneficial.

    Anything else is madness. (One man's opinion; history will be the judge :)


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1159191]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-19 21:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found