This repo collects minimal projects that reproduce bugs when running apps with Air. If you hit an Air bug, add the smallest repro you can here and open a PR so others can run it quickly.
- Install Go (1.21+ recommended) and Air:
go install github.com/air-verse/air@latest. - Pick a sample directory,
cdinto it, and runair. - Hit the route noted below; stop with
Ctrl+Cwhen you are done.
air-proxy-timeout/: Delays startup by one second so Air's proxy on:8888times out while the app comes up on:7777(reproduces air-verse/air#732).proxy-reload-timing-issue-656/: Browser reload triggered immediately when process starts, before app is ready to accept connections on:8080; Air's proxy on:8081shows "unable to reach app" error (reproduces air-verse/air#656).race-condition-issue-784/: Race condition where Build B cancels itself when triggered during Build A, leaving outdated binary running (reproduces air-verse/air#784).send-interrupt-delay-issue-671/: Whensend_interrupt = true, Air always waits fullkill_delayeven if process exits gracefully in milliseconds, wasting ~1.9s per reload; server on:9090(reproduces air-verse/air#671).sse-chunking-issue/: Air's proxy buffers and repackages Server-Sent Events into larger chunks instead of forwarding them immediately; direct on:3002, proxy on:3082(reproduces air-verse/air#791)."with space"/: Gin app kept in a path containing a space to check watcher/build behavior;airserves/pingand/indexon:8080.with-template/: Gin app rendering templates (LoadHTMLGlob) with a couple nested packages to see how template changes are picked up;airserves/pingand/indexon:8080.
- Create a new folder named after the bug or upstream issue; keep code and dependencies minimal.
- Include a
.air.toml,go.mod, and a short README inside that folder explaining expected vs actual behavior, ports used, and exact steps to trigger the bug. - Make sure
airruns cleanly from that folder (the sharedtmp/patterns are already gitignored). - Update this README with a one-line description of your sample and open a PR linking to the upstream Air issue you are reproducing.