← Graph

Ever shorter feedback loop

talk 44 connections

Krzysztof Hasiński's wroclove.rb 2022 talk prepared the day before to fill an empty slot. Defines the feedback loop as any system where the output affects the input for the next iteration, and traces coding feedback loops from 1960s punch cards (days), via 1970s vt100 terminals + ex/vi (hours), 1980s local compilation (minutes), awk-era automated testing (seconds), to modern exploratory programming, live reload and guard testing. Argues that developers who don't run their own code, push to CI without local runs, or rely on staging click-testing are effectively stuck decades in the past. Prescriptions: spend money on faster developer hardware and CI; run stuff locally (mock third-party services, use production for some investigations, push code often behind feature flags, keep setup simple, dockerize dependencies, provide default config, reduce setup steps, trim dependencies, provide seeds, mind Docker image size); speed up tests (grep for sleep, remove loops/shared contexts that add duplicate tests, shrink fixture files, parallelize with parallel_tests or knapsack_pro, aggregate failures for slow tests, use test-prof to hunt Factory Cascades and prefer build over create). Q&A covers Crystal Ball, paperclip's convert-off trick, GitHub self-hosted runners, Hetzner for cheap CI, a 15-minute test suite cut to 40 seconds by removing a cache-clear hook, factory-bot documentation gaps, guard, callback refactoring, and putting MySQL's data directory in RAM to collapse a 10-minute suite to ~1 minute.

type
talk
talk Ever shorter feedback loop
about
Feedback Loop concept
The central concept the talk is organized around.
talk Ever shorter feedback loop
about
Uses the 1960s punch card workflow as the historical baseline for the feedback loop.
talk Ever shorter feedback loop
about
VT100 Terminal concept
Describes 1970s terminal-based editing with ex/vi as the next feedback-loop era.
talk Ever shorter feedback loop
about
awk tool
Cites awk's authors as pioneers of automated testing in the 1980s to protect developer time.
talk Ever shorter feedback loop
about
Modern consoles enable stopping, inspecting and modifying running programs.
talk Ever shorter feedback loop
about
Live Reload concept
Cited as an example of a near-instant front-end feedback loop.
talk Ever shorter feedback loop
about
Prescribes mocking Stripe, accounting services, etc. instead of blocking local development on test instances.
talk Ever shorter feedback loop
about
Argues that the Rails console on production is appropriate for some performance investigations.
talk Ever shorter feedback loop
about
Recommends pushing unfinished work to main behind feature flags rather than long-lived PRs.
talk Ever shorter feedback loop
about
Discussed as a major source of slow test suites surfaced by test-prof.
talk Ever shorter feedback loop
about
Walks through build_stubbed / build / create-without-associations / create as a cost hierarchy.
talk Ever shorter feedback loop
about
Recommends RSpec's aggregate-failures mode for slow request tests with multiple assertions.
talk Ever shorter feedback loop
about
test-prof tool
Recommends test-prof for finding factory cascades and auto-replacing create with build.
talk Ever shorter feedback loop
about
Discusses parallel_tests as an easy local parallelization option with even-split limitations.
talk Ever shorter feedback loop
about
Recommended as a paid server/client solution that distributes tests dynamically across workers.
talk Ever shorter feedback loop
about
Introduced in Q&A as a way to run only tests whose coverage touches the changed files.
talk Ever shorter feedback loop
about
Guard tool
Introduced in Q&A as a file-watcher that re-runs tests automatically on save.
talk Ever shorter feedback loop
about
Discusses GitHub Actions + self-hosted runners as cheap CI.
talk Ever shorter feedback loop
about
Recommends self-hosted runners for cheap high-performance CI.
talk Ever shorter feedback loop
about
Hetzner company
Cited as an example of cheap bare-metal hosting for CI runners.
talk Ever shorter feedback loop
about
OVH company
Mentioned alongside Hetzner as a bare-metal hosting alternative.
talk Ever shorter feedback loop
about
CircleCI tool
Used as the example CI service whose per-runner cost can be beaten by self-hosting.
talk Ever shorter feedback loop
about
FactoryBot tool
FactoryBot is the site of the Factory Cascades anti-pattern under discussion.
talk Ever shorter feedback loop
about
Paperclip tool
Discussed in Q&A: disabling Paperclip's file conversion cut a test suite from 3.5 minutes to under 30 seconds.
talk Ever shorter feedback loop
about
Docker tool
Recommends Dockerizing exotic dependencies and running self-hosted CI runners in Docker.
talk Ever shorter feedback loop
about
MySQL tool
Closing Q&A story: putting MySQL's data directory in RAM cut a test suite from 10 minutes to ~1 minute.
talk Ever shorter feedback loop
about
SQLite tool
Mentioned as also supporting in-RAM storage for fast tests.
asked_at
Ever shorter feedback loop talk
Asked during the talk's Q&A.
asked_at
Ever shorter feedback loop talk
Asked during the Q&A after the build-vs-create section.
asked_at
Ever shorter feedback loop talk
Asked during the talk's Q&A.
asked_at
Ever shorter feedback loop talk
Asked during the talk's Q&A.
asked_at
Ever shorter feedback loop talk
Raised as an audience contribution during the talk's Q&A.
authored
Ever shorter feedback loop talk
Delivered this talk at wroclove.rb 2022 as a last-minute replacement for a missing slot.
from_talk
Ever shorter feedback loop talk
Takeaway from the talk's tour of feedback-loop eras.
from_talk
Ever shorter feedback loop talk
Takeaway from the talk's 'throw money at the problem' section.
from_talk
Ever shorter feedback loop talk
Takeaway from the 'run stuff locally' section.
from_talk
Ever shorter feedback loop talk
Takeaway on making hard-to-install dependencies tractable locally.
from_talk
Ever shorter feedback loop talk
Takeaway on keeping local developers willing to reset their DB.
from_talk
Ever shorter feedback loop talk
Closing takeaway: translate wasted CI/queue time into dollars.
from_talk
Ever shorter feedback loop talk
Core rule-of-thumb in the test-suite speedup section.
from_talk
Ever shorter feedback loop talk
Audience war story shared during Q&A.
from_talk
Ever shorter feedback loop talk
Audience contribution from a Paperclip maintainer during Q&A.
from_talk
Ever shorter feedback loop talk
Closing audience trick for MySQL/SQLite in-RAM test databases.
talk Ever shorter feedback loop
presented_at
Filled an empty slot at the 2022 edition of wroclove.rb.

Provenance

Created
2026-04-17 16:17 seed
Read by
39 extractions