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

Don't let compilation set the length of your co...

Don't let compilation set the length of your coffee break

Miroslav Jonaš

February 23, 2023
Tweet

More Decks by Miroslav Jonaš

Other Decks in Programming

Transcript

  1. DON’T LET COMPILATION SET THE LENGTH OF YOUR COFFEE BREAK

    Rares Matei @__rares Miroslav Jonas @meeroslav AgentConf ‘23 nx.dev
  2. Coffee app util-stripe coffee-origin-screen grind-size-screen payments-service ui-coffee-components payment-screen util-http test

    lint test test test test test test test lint lint lint lint lint lint lint build build build build build build build build
  3. Coffee app util-stripe coffee-origin-screen grind-size-screen payments-service ui-coffee-components payment-screen util-http test

    lint test test test test test test test lint lint lint lint lint lint lint build build build build build build build build Coffee e2e lint serve
  4. Coffee e2e lint serve Coffee app util-stripe coffee-origin-screen grind-size-screen payments-service

    ui-coffee-components payment-screen util-http test lint test test test test test test test lint lint lint lint lint lint lint build build build build build build build build
  5. Coffee e2e lint serve Coffee app util-stripe coffee-origin-screen grind-size-screen payments-service

    ui-coffee-components payment-screen util-http test lint test test test test test test test lint lint lint lint lint lint lint build build build build build build build build 1x build
  6. Coffee e2e lint serve Coffee app util-stripe coffee-origin-screen grind-size-screen payments-service

    ui-coffee-components payment-screen util-http test lint test test test test test test test lint lint lint lint lint lint lint build build build build build build build build 1x build 5x build
  7. Coffee e2e lint serve Coffee app util-stripe coffee-origin-screen grind-size-screen payments-service

    ui-coffee-components payment-screen util-http test lint test test test test test test test lint lint lint lint lint lint lint build build build build build build build build 1x build
  8. Coffee e2e lint serve Coffee app util-stripe coffee-origin-screen grind-size-screen payments-service

    ui-coffee-components payment-screen util-http test lint test test test test test test test lint lint lint lint lint lint lint build build build build build build build build 1x build 3x build
  9. Coffee app util-stripe coffee-origin-screen grind-size-screen payments-service ui-coffee-components payment-screen util-http test

    lint test test test test test test test lint lint lint lint lint lint lint build build build build build build build deploy Coffee e2e lint serve build
  10. Coffee app util-stripe coffee-origin-screen grind-size-screen payments-service ui-coffee-components payment-screen util-http test

    lint test test test test test test test lint lint lint lint lint lint lint build build build build build build build deploy Coffee e2e lint serve build
  11. Coffee app util-stripe coffee-origin-screen grind-size-screen payments-service ui-coffee-components payment-screen util-http test

    lint test test test test test test test lint lint lint lint lint lint lint build build build build build build build deploy Coffee e2e lint serve build
  12. Coffee app util-stripe coffee-origin-screen grind-size-screen payments-service ui-coffee-components payment-screen util-http test

    lint test test test test test test test lint lint lint lint lint lint lint build build build build build build build deploy Coffee e2e lint serve build build build build HOW?
  13. Coffee app util-stripe coffee-origin-screen grind-size-screen payments-service ui-coffee-components payment-screen util-http test

    lint test test test test test test test lint lint lint lint lint lint lint build build build build build build build deploy Coffee e2e lint serve build build build build
  14. Coffee app util-stripe coffee-origin-screen grind-size-screen payments-service ui-coffee-components payment-screen util-http test

    lint test test test test test test test lint lint lint lint lint lint lint build build build build build build build deploy Coffee e2e lint serve build
  15. Coffee app util-stripe coffee-origin-screen grind-size-screen payments-service ui-coffee-components payment-screen util-http lint

    test test test test test test test test lint lint lint lint lint lint lint build build build build build build build deploy Coffee e2e lint serve build
  16. Coffee app util-stripe coffee-origin-screen grind-size-screen payments-service ui-coffee-components payment-screen util-http lint

    test test test test test test test test lint lint lint lint lint lint lint build build build build build build build deploy Coffee e2e lint serve build
  17. Coffee app util-stripe coffee-origin-screen grind-size-screen payments-service ui-coffee-components payment-screen util-http lint

    test test test test test test test test lint lint lint lint lint lint lint build build build build build build build Coffee e2e lint serve build
  18. ☁ " npm run build:pizzaroni # $ % npm run

    lint:admin npm run lint:admin npm run build:coffee-app npm run build:coffee-app npm run build:coffee-app DISTRIBUTED CACHING
  19. ☁ " npm run build:pizzaroni # $ % npm run

    lint:admin npm run lint:admin npm run build:pizzaroni npm run build:coffee-app npm run lint:admin nx affected build nx affected test nx affected lint npm run build:coffee-app npm run build:coffee-app npm run build:coffee-app DISTRIBUTED CACHING CI
  20. ☁ " npm run build:pizzaroni # $ % npm run

    lint:admin npm run lint:admin npm run build:pizzaroni npm run build:pizzaroni npm run lint:admin nx affected build nx affected test nx affected lint & & & & & DISTRIBUTED CACHING CI
  21. git pull origin/main npm run build:coffee-app " nx affected build

    nx affected test nx affected lint nx affected e2e Instant Replay CI
  22. Coffee app coffee-origin-screen grind-size-screen payments-service ui-coffee-components payment util-http test lint

    test test test test test test lint lint lint lint lint lint build build build build build build build Coffee e2e e2e test
  23. Coffee app coffee-origin-screen grind-size-screen payments-service ui-coffee-components payment util-http test lint

    test test test test test test lint lint lint lint lint lint build build build build build build build Coffee e2e e2e test
  24. AGENT 1 AGENT 2 AGENT 3 e2e e2e e2e AGENT

    4 AGENT 5 ☁ Distributed execution