Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
7fa1ee4
groups: subscription lifecycle wip
mikolajpp Dec 8, 2025
5bd95e2
Merge branch 'm/spinster' into mp/groups-sub-lifecycle
mikolajpp Dec 9, 2025
61d7e7e
channels: refactor types versioning
mikolajpp Dec 10, 2025
2b42e04
channels: restructure version cores
mikolajpp Dec 11, 2025
48eea32
channels: fix tests
mikolajpp Dec 12, 2025
d4cb2e9
Merge branch 'mp/channels-versioning' into mp/groups-sub-lifecycle
mikolajpp Dec 12, 2025
5816993
channels: subscriptions lifecycle wip
mikolajpp Dec 15, 2025
3e13aeb
Merge branch 'develop' into mp/groups-sub-lifecycle
mikolajpp Dec 15, 2025
323bd0f
channels: implement subscriptions lifecycle
mikolajpp Dec 15, 2025
b1169f9
channels: upgrade protocols; implement new JSON encoders
mikolajpp Dec 16, 2025
c60ac8a
Subscriptions lifecycles work in channels and groups
mikolajpp Dec 16, 2025
105c63c
channels: various fixes
mikolajpp Dec 16, 2025
a04b1b7
Merge branch 'develop' into mp/groups-sub-lifecycle
mikolajpp Dec 16, 2025
b91e5ad
Subscriptions lifecycle: various fixes
mikolajpp Dec 17, 2025
482862f
channels: fix unit tests
mikolajpp Dec 17, 2025
d5bb4ce
Subscriptions lifecycle: remove debug prints
mikolajpp Dec 17, 2025
445641b
Merge branch 'develop' into mp/groups-sub-lifecycle
mikolajpp Dec 17, 2025
16919b4
docket: restore correct version
mikolajpp Dec 17, 2025
3215ef3
Subscriptions lifecycle: various fixes
mikolajpp Dec 17, 2025
03f5bcb
Subscriptions lifecycle: various fixes
mikolajpp Dec 17, 2025
59cdde0
reel: fix unit tests
mikolajpp Dec 17, 2025
adfbd30
Subscriptions lifecycle: fixes following PR review
mikolajpp Dec 19, 2025
ad9449b
channels: maintain %watch connection in +ca-start-updates
mikolajpp Dec 19, 2025
dad26f6
channels: relax %channel-response-4 discipline
mikolajpp Dec 19, 2025
eaca084
groups: minor fixes
mikolajpp Dec 19, 2025
ad3c8ca
channels: add explanatory comment
mikolajpp Dec 19, 2025
d90682c
Merge branch 'develop' into mp/groups-sub-lifecycle
mikolajpp Jan 8, 2026
529df04
channels: track connection status for all subscriptions
mikolajpp Jan 8, 2026
2ce2adb
channels: fix unit tests
mikolajpp Jan 9, 2026
17a0b16
Subscription lifecycles: refactor sub management in channels
mikolajpp Jan 13, 2026
ae76f9e
Subscriptions lifecycle: prepare for develop merge
mikolajpp Feb 3, 2026
6760aac
Merge branch 'develop' into mp/groups-sub-lifecycle
mikolajpp Feb 3, 2026
6094830
groups: fix unit tests
mikolajpp Feb 3, 2026
bebfb29
Merge branch 'develop' into mp/groups-sub-lifecycle
mikolajpp Feb 4, 2026
c1e5906
Subscription lifecycles: post develop merge fixes
mikolajpp Feb 4, 2026
fcdd4f4
groups: fix migration logic
mikolajpp Feb 5, 2026
74c370c
Merge branch 'develop' into mp/groups-sub-lifecycle
mikolajpp Feb 12, 2026
b4e1553
tests: remove spurious sleep
mikolajpp Feb 12, 2026
8f2a6f6
tests: increase the aqua test runner timeout
mikolajpp Feb 12, 2026
cc9c674
activity: fix crashes on initial dm
mikolajpp Feb 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion desk/app/channels.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -2240,7 +2240,7 @@
=/ =conn:c
(~(gut by cons.net.channel) /checkpoint &+%done)
?: &(?=(%& -.conn) ?=(?(%watch %done) p.conn))
(ca-sync-backlog &)
(ca-safe-sub &)
ca-core
::
%watch-ack
Expand Down
2 changes: 1 addition & 1 deletion desk/tests/app/channels-server.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
*(rev:c (unit @t))
==
^- local:v-channel:c
:* *net:c
:* %*(. *net:c cons (my /updates^&+%done ~))
::
^= log
%+ gas:log-on:c ~
Expand Down
18 changes: 11 additions & 7 deletions desk/tests/app/channels.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,15 @@
;< caz=(list card) bind:m (do-agent sub dock %kick ~)
=/ next=time (add now ~s30)
;< * bind:m
(ex-cards caz (ex-arvo retry-wire %b %wait next) ~)
;< * bind:m (jab-bowl |=(b=bowl b(now next)))
:: wakeup & resubscribe no delay
;< caz=(list card) bind:m (do-arvo retry-wire %behn %wake ~)
(ex-cards caz (ex-task resub dock %watch path) ~)
%+ ex-cards caz
:~ (ex-fact-paths ~[/v3 /v3/chat/~zod/test]) :: connection update
(ex-arvo retry-wire %b %wait next)
==
(pure:m ~)
:: ;< * bind:m (jab-bowl |=(b=bowl b(now next)))
:: :: wakeup & resubscribe no delay
:: ;< caz=(list card) bind:m (do-arvo retry-wire %behn %wake ~)
:: (ex-cards caz (ex-task resub dock %watch path) ~)
Comment thread
mikolajpp marked this conversation as resolved.
Outdated
++ channel-join
=/ m (mare ,(list card))
^- form:m
Expand Down Expand Up @@ -191,7 +195,7 @@
*(rev:c (unit @t))
==
^- local:v-channel:c
:* %*(. *net:c conn &+%watch)
:* %*(. *net:c cons (my [/updates &+%watch] ~))
*log:c
*remark:c
*window:v-channel:c
Expand Down Expand Up @@ -297,7 +301,7 @@
*(rev:c (unit @t))
==
^- local:v-channel:c
:* %*(. *net:c conn &+%watch)
:* %*(. *net:c cons (my [/updates &+%watch] ~))
*log:c
*remark:c
*window:v-channel:c
Expand Down