From 654a8a24465ed5fd8a81640f0140b9871a78551d Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 18 Dec 2024 19:45:21 +0000 Subject: [PATCH 1/4] update glob: [skip actions] --- desk/desk.docket-0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desk/desk.docket-0 b/desk/desk.docket-0 index f74edb38be..f6974de976 100644 --- a/desk/desk.docket-0 +++ b/desk/desk.docket-0 @@ -2,7 +2,7 @@ info+'Start, host, and cultivate communities. Own your communications, organize your resources, and share documents. Tlon is a decentralized platform that offers a full, communal suite of tools for messaging, writing and sharing media with others.' color+0xde.dede image+'https://bootstrap.urbit.org/tlon.svg?v=1' - glob-http+['https://bootstrap.urbit.org/glob-0v2.3gbss.14f1b.93jfu.0mgq2.33ufj.glob' 0v2.3gbss.14f1b.93jfu.0mgq2.33ufj] + glob-http+['https://bootstrap.urbit.org/glob-0v7.7donp.7htv6.tp9mc.lbvp8.r4i3h.glob' 0v7.7donp.7htv6.tp9mc.lbvp8.r4i3h] base+'groups' version+[6 7 0] website+'https://tlon.io' From 8bb5383dfd2be04be2cb372dee705b9937624c53 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 18 Dec 2024 20:02:27 +0000 Subject: [PATCH 2/4] update glob: [skip actions] --- tm-alpha-desk/desk.docket-0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tm-alpha-desk/desk.docket-0 b/tm-alpha-desk/desk.docket-0 index 5f07c379d2..55a7b4cc92 100644 --- a/tm-alpha-desk/desk.docket-0 +++ b/tm-alpha-desk/desk.docket-0 @@ -2,7 +2,7 @@ info+'Start, host, and cultivate communities. Own your communications, organize your resources, and share documents. Tlon is a decentralized platform that offers a full, communal suite of tools for messaging, writing and sharing media with others.' color+0xde.dede image+'https://bootstrap.urbit.org/tlon.svg?v=1' - glob-http+['https://bootstrap.urbit.org/glob-0v7.9h46p.ne45g.s9atj.cp1rs.5fcjn.glob' 0v7.9h46p.ne45g.s9atj.cp1rs.5fcjn] + glob-http+['https://bootstrap.urbit.org/glob-0v5.9cu6g.jcpog.nc64g.8g7e2.7fj71.glob' 0v5.9cu6g.jcpog.nc64g.8g7e2.7fj71] base+'tm-alpha' version+[1 0 0] website+'https://tlon.io' From 86447d855599e3e8200f99400b66f4d43532f55d Mon Sep 17 00:00:00 2001 From: Hunter Miller Date: Sat, 21 Dec 2024 14:18:00 -0600 Subject: [PATCH 3/4] hooks: fixing schedule thread --- desk/ted/hook/schedule.hoon | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desk/ted/hook/schedule.hoon b/desk/ted/hook/schedule.hoon index 246cdc710a..0c1fffb53f 100644 --- a/desk/ted/hook/schedule.hoon +++ b/desk/ted/hook/schedule.hoon @@ -25,8 +25,8 @@ (pure:m !>(~)) ;< now=time bind:m get-time:s =/ fires-at - ?^ next.schedule.response - (add now schedule.response) + ?@ schedule.response (add now schedule.response) + next.schedule.response %- (slog (crip "starting hook {}, scheduled to run on {} at {}") ~) (pure:m !>(~)) +$ action From 17462e09420ab722b12a8eecc7d18df11c65c169 Mon Sep 17 00:00:00 2001 From: Hunter Miller Date: Sat, 21 Dec 2024 14:18:16 -0600 Subject: [PATCH 4/4] hooks: making sure state sticks --- desk/app/channels-server.hoon | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/desk/app/channels-server.hoon b/desk/app/channels-server.hoon index baa891617d..6149cb947c 100644 --- a/desk/app/channels-server.hoon +++ b/desk/app/channels-server.hoon @@ -1155,15 +1155,13 @@ ++ run-hooks |= [=event:h =nest:c default=cord] ^- [(each event:h tang) _cor] - =; [result=(each event:h tang) effects=(list effect:h)] - [result (run-hook-effects effects nest)] =| effects=(list effect:h) =/ order (~(gut by order.hooks) nest ~) =/ channel `[nest (~(got by v-channels) nest)] =/ =bowl:h (get-hook-bowl channel *config:h) |- ?~ order - [&+event effects] + [&+event (run-hook-effects effects nest)] =* next $(order t.order) =/ hook (~(got by hooks.hooks) i.order) =. bowl bowl(hook hook, config (~(gut by config.hook) nest ~)) @@ -1174,7 +1172,7 @@ =. effects (weld effects effects.u.return) =. hooks.hooks (~(put by hooks.hooks) i.order hook(state new-state.u.return)) ?: ?=(%denied -.result) - [|+~[(fall msg.result default)] effects] + [|+~[(fall msg.result default)] (run-hook-effects effects nest)] =. event event.result next ++ wake-hook