| 12 Aug 2023 |
raitobezarius | I don't think the feature should be implemented in the deployment system | 22:31:03 |
raitobezarius | Magic rollback should be part of NixOS to a certain extent | 22:31:12 |
raitobezarius | In reply to @whentze:matrix.org in my professional opinion distributed transactions don't really work well if you care about C or A… | 22:32:09 |
raitobezarius | hot take: distributed tx works if you prove that you cannot have P in your network to a certain extent | 22:32:39 |
raitobezarius | checkmate CAP theorem | 22:32:49 |
Wanja Hentze | If you're going to pretend things never go wrong, might as well not have rollback either | 22:35:44 |
Wanja Hentze | In reply to @raitobezarius:matrix.org Magic rollback should be part of NixOS to a certain extent the rollback part yes (and it is), but the "can I still use my deployment tool on this machine" part depends on the deployment tool | 22:38:20 |
raitobezarius | In reply to @whentze:matrix.org If you're going to pretend things never go wrong, might as well not have rollback either that's the goal | 22:38:43 |
raitobezarius | trying to rollback is already defeat | 22:38:51 |
Wanja Hentze | we have that today | 22:38:57 |
raitobezarius | In reply to @whentze:matrix.org the rollback part yes (and it is), but the "can I still use my deployment tool on this machine" part depends on the deployment tool right | 22:39:02 |
raitobezarius | In reply to @whentze:matrix.org we have that today checkmate myself | 22:39:38 |
Wanja Hentze | the ostrich algorithm is already full implemented 😎 | 22:41:38 |
Wanja Hentze | * the ostrich algorithm is already fully implemented 😎 | 22:42:26 |
| 13 Aug 2023 |
| @10leej:matrix.org joined the room. | 01:25:57 |
| ofungus joined the room. | 19:25:50 |
void | i just need something like touch /tmp/doing_switching; nixos-rebuild switch; while [ -f /tmp/doing_switch ]; sleep 5; done; if [ ! -f /tmp/done_switching ]; then nixos-rebuild switch --rollback; | 23:06:18 |
void | * i just need something like
touch /tmp/doing\_switching;
nixos-rebuild switch;
sleep 5;
if \[ ! -f /tmp/done\_switching \]; then nixos-rebuild switch --rollback;
| 23:06:57 |
void | * i just need something like
nixos-rebuild switch;
sleep 5;
if [ ! -f /tmp/done\_switching ]; then nixos-rebuild switch --rollback;
| 23:07:18 |
void | * i just need something like
nixos-rebuild switch;
sleep 5;
if [ ! -f /tmp/done\_switching ]; then nixos-rebuild switch --rollback; fi;
| 23:07:27 |
void | colmena will ssh touch /tmp/done_switching; | 23:17:20 |
void | * colmena will ssh touch /tmp/done_switching; for instance in the test section. | 23:18:26 |
void | this will save me from pretty much all the mistakes I make (too hot here 33 deg cel during the day, can't concentrate sometimes) | 23:19:25 |
Wanja Hentze | yep, it's quite low-tech | 23:53:04 |
Wanja Hentze | can be built out of an activation script and a "post-apply" script on colmena's end | 23:53:30 |
| 15 Aug 2023 |
| Christina Sørensen changed their profile picture. | 14:57:57 |
| @10leej:matrix.org left the room. | 19:34:24 |
| 16 Aug 2023 |
Jeff | In reply to @winterqt:nixos.dev issue is i can reproduce it consistently, and it only happens when using it via Colmena :/ I've been seeing the same thing with Colmena recently, trying to re-use the master socket just hangs. The only thing that fixes it is if the master socket gets closed, either explicity, though a timeout, or if the remote system reboots. | 00:19:49 |
Jeff | Only happens with Colmena, never have a problem with the ssh client. | 00:22:21 |
Jeff | I wonder if the recent update of openssh to 9.3p2 or 9.4p1 is part of the problem. | 01:35:20 |