# Gain velocity by switching to Safe Mode

- Speaker: [Vlad Ioffe](/wiki/speakers/vlad-ioffe.md)
- Event: [Reversim Summit 2018](/wiki/years/2018.md)
- Video: https://www.youtube.com/watch?v=p8j0_BYB4Ng
- Transcript: [/transcripts/2018/07-p8j0_BYB4Ng.md](/transcripts/2018/07-p8j0_BYB4Ng.md)
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: [DevOps](/wiki/topics/devops.md), [Developer Experience](/wiki/topics/developer-experience.md), [Frontend](/wiki/topics/frontend.md), [Microservices](/wiki/topics/microservices.md)

> Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

## Summary

The speaker shares strategies on how to achieve development velocity and high confidence by building a robust safety net for software delivery. The talk covers the use of typed systems to catch bugs during development, decoupled frontend development using mock tools, resilient automated testing approaches, and gradual releases. Attendees learn how to minimize regression risks and speed up deployments without sacrificing quality.

## Key points

- [1:19](https://www.youtube.com/watch?v=p8j0_BYB4Ng&t=79s) The team successfully performed a zero-downtime, zero-issue framework migration from AngularJS to Angular.
- [6:21](https://www.youtube.com/watch?v=p8j0_BYB4Ng&t=381s) Using a type system helps catch bugs early during development and significantly reduces production issues.
- [13:30](https://www.youtube.com/watch?v=p8j0_BYB4Ng&t=810s) An open-source mocking tool is used to simulate backend responses and decouple frontend development from complex microservices.
- [14:30](https://www.youtube.com/watch?v=p8j0_BYB4Ng&t=870s) Mock states can be easily configured to test different UI scenarios like empty data, errors, or single items.
- [19:24](https://www.youtube.com/watch?v=p8j0_BYB4Ng&t=1164s) End-to-end tests focus on golden paths and implement automated retries to drastically reduce false negatives.
- [21:51](https://www.youtube.com/watch?v=p8j0_BYB4Ng&t=1311s) UI tests run against mocked states to verify visual regressions without depending on a live backend.
- [23:05](https://www.youtube.com/watch?v=p8j0_BYB4Ng&t=1385s) Containerized Selenium execution distributes test workloads and reduces test suite run times from hours to minutes.
- [24:19](https://www.youtube.com/watch?v=p8j0_BYB4Ng&t=1459s) Gradual releases using feature flags allow safe exposure of new features to production users incrementally.

## Takeaways

- Adopt a type system to catch errors at compile time rather than in production.
- Decouple frontend development from backend microservices by using robust mocking tools.
- Implement automated test retries for flaky end-to-end tests to maintain team trust in the CI/CD pipeline.
- Use gradual releases and feature flags to safely roll out new features and minimize blast radius.

## Questions this talk answers

- How can frontend developers work efficiently without spinning up a complex environment of backend microservices?
- What strategies can be used to handle flaky end-to-end browser tests in a CI pipeline?
- How can you scale UI regression testing without making test execution times prohibitively long?

## Technologies

TypeScript, Java, Kotlin, Node.js, Angular, Selenium, Protractor, Jenkins

## Tags

automation, ci cd, developer velocity, feature flags, frontend, microservices, testing
