Lobste.rs

Review a pull request by booting it

trynix-action-pr-comment-1404w

tl;dr; trynix-preview is a GitHub action that comments a link on a pull request which lets you boot the PR’s build in the browser using https://trynix.dev. No servers, just browsers. I ended my earlier trynix post with a list of ideas I think we could accomplish now that we can boot arbitrary /nix/store paths in the browser. The most obvious one was to let a reviewer boot a pull request’s build in the browser for testing, validation and feedback. That is now real. 🤯 A demo is worth a 1000 words: here is a pull request (PR#31) against my sqlelf project, from a fork, with the comment our action left on it: Click the link and a Linux machine boots in your tab with that PR’s sqlelf on PATH. You did not clone anything, you did not build anything. No servers, no SSH, no VPN, no…

Continue reading at Lobste.rs fzakaria.com
Advertisement