Upgrade to Pro — share decks privately, control downloads, hide ads and more …

All those bots are gonna steal your job

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.

All those bots are gonna steal your job

This is not about consumer bots, this is about dev bots.

A talk I gave at TakeoffConf and Kikk.

Avatar for Yannick Schutz

Yannick Schutz

October 20, 2016
Tweet

More Decks by Yannick Schutz

Other Decks in Technology

Transcript

  1. Examples: - 2fa the important changes - People see what

    you are doing - Chat knows who you are
  2. A play in 3 acts - The past - The

    present - The future
  3. - Many bots, no cohesion - A custom ruby bot

    for Paging - A small new team to manage it
  4. - One bot to rule them all - Coffeescript all

    the things - Trying to leverage the community
  5. - No strong practices of Node testing - The brain

    is just a blob - Custom code and no reuse - Abusing the hubot purpose
  6. - A team that does Rails - Less Hubot, more

    Slack integrations - Strong practices around testing and building
  7. - Dependency on Slack - Using slash commands for all

    the things - No real-time or event loop
  8. # Tools-ops bot page @yannick This is fine Paged Yannick

    Schutz: Incident PIHXOC6 Alice 10:13 AM Bot 10:14 AM 42
  9. bot deploy api/new_auth to production 023941 # Tools-ops 42 you

    are deploying api/new_auth to production Alice 10:13 AM Bot 10:14 AM
  10. Faraday::ClientError: the server responded with status 409 from faraday/response/raise_error.rb:13:in `on_complete'

    from faraday/response.rb:9:in `block in call' from faraday/response.rb:57:in `on_complete' from faraday/response.rb:8:in `call' from faraday/adapter/net_http.rb:56:in `call' from faraday/request/authorization.rb:38:in `call' # Tools-ops 42 #654 - API ➤ Faraday::RateLimitError Bot 10:14 AM
  11. Out of date dependencies Your brand new PR #50 Details

    ys wants to merge 2 commits into master from new-pr OPEN
  12. Your brand new PR #50 ys wants to merge 2

    commits into master from new-pr OPEN Method length is too long Details
  13. - Act on behalf of the user - Refresh the

    tokens - Have a simple syntax - Have fun GIF integration
  14. bot open new incident Trouble with git push Alice 10:13

    AM # Tools-ops 42 Done https://status.heroku.com/git_push_issue Bot 10:14 AM
  15. # Tools-ops 42 bot merge beeper/new_auth Alice 10:13 AM PR

    has been merged and deployed to staging Bot 10:14 AM
  16. AWS is experiencing issues in us-east-1 … # Tools-ops 42

    GitHub is down right now Bot 10:14 AM
  17. Deployment of beeper to staging succeeded Deployment of beeper to

    production succeeded # Tools-ops 42 bot show me only production events Alice 10:13 AM Bot 10:14 AM
  18. - Change control from chat - Accurate view of the

    platform - Escalate pages from chat
  19. bot approve changes to beeper/new_readme Changes approved New PR beeper/new_readme

    # Tools-ops 42 Bot 10:14 AM Bot 10:14 AM Alice 10:13 AM
  20. bot escalate to @ys, I need some help Paged Yannick

    Schutz New incident PIHXOC6: Everything is on Bot 10:14 AM Bot 10:14 AM Alice 10:13 AM # Tools-ops 42
  21. - 2fa through a click on your phone - Gate

    critical actions - Better auditing of all actions
  22. Alice 10:13 AM you are deploying api/new_auth to production Bot

    10:14 AM bot deploy api/new_auth to production Approve # Tools-ops 42
  23. - Build equivalent CLI experience - Expose actions in WebUI

    - PhoneOps - Better commit statuses alerts
  24. Bot 10:14 AM deploy api/new_auth to production # Tools-ops 42

    you are deploying api/new_auth to production
  25. Bot 10:14 AM # Tools-ops 42 you are deploying api/new_auth

    to production deploy api new_auth▾ to production▾ ▾
  26. NPM packages out of date Golang packages out of date

    Add some tests here? Where is the documentation? A PR with no description Your brand new PR #50 ys wants to merge 2 commits into master from new-pr OPEN Details