Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
807df06
eyre: prevent .local domains overriding eauth public domains
tinnus-napbus Jun 19, 2025
77cec60
strandio: fix +await-thread to stop using sleep.
mikolajpp Jan 23, 2026
3cec615
ames: give %done for testing dry %mate migration
yosoyubik Feb 9, 2026
e181b98
ames, helm: refactor |ahoy flow
yosoyubik Feb 9, 2026
028eb2d
ames: remove regression print
yosoyubik Feb 9, 2026
4d7afb7
Merge pull request #7295 from urbit/yu/ack-mate
pkova Feb 9, 2026
4adcc7f
ames: give %done error on %mate failure
yosoyubik Feb 9, 2026
f872159
Merge branch 'develop' into yu/ack-mate
yosoyubik Feb 9, 2026
8cbbe23
helm: better print color
yosoyubik Feb 9, 2026
eb4b0d7
ames: give strack trace of %mate failure
yosoyubik Feb 10, 2026
192ec85
ames: fix bug
yosoyubik Feb 10, 2026
1535ae9
ames: remove print
yosoyubik Feb 11, 2026
92b95c3
Merge pull request #7296 from urbit/yu/ack-mate
pkova Feb 11, 2026
89665fc
eyre: +tap:by the map, not +tap:in
Fang- Feb 11, 2026
75321d5
ames: try /gp plea on resend of last-fragment
yosoyubik Feb 17, 2026
6fc877f
ames: migrate %halt flows
yosoyubik Feb 17, 2026
6f5ee1d
ames: fix error
yosoyubik Feb 17, 2026
1794784
mesa: moar fix error
yosoyubik Feb 17, 2026
a9a3410
mesa: handle resends of pending $pleas
yosoyubik Feb 17, 2026
59fa383
Merge pull request #7300 from urbit/yu/handle-halt
pkova Feb 18, 2026
e298b19
Merge pull request #7299 from urbit/m/eyre-tapby
pkova Feb 18, 2026
1070e7f
ames: add %mesa migration version 2
yosoyubik Feb 18, 2026
eff704f
test: update ahoy path
yosoyubik Feb 18, 2026
2764881
Merge pull request #7301 from urbit/yu/ahoy-v2
pkova Feb 18, 2026
a6367b8
spider: cache marks
yosoyubik Feb 20, 2026
1dff493
Merge branch 'develop' into yu/build-mark-spider
yosoyubik Feb 20, 2026
7ecfb53
Merge pull request #7302 from urbit/yu/build-mark-spider
pkova Feb 20, 2026
376f102
dbug: use tip.fren-state for scry info
yosoyubik Feb 21, 2026
c12feb2
dbug: add %halt to mesa flows
yosoyubik Feb 22, 2026
bea6e5b
dbug: refactor %mesa unsent messages
yosoyubik Feb 22, 2026
fa53e5d
dbug: add classes for flow states (light and dark mode)
yosoyubik Feb 22, 2026
dec6d00
dbug: if no details return only summary
yosoyubik Feb 22, 2026
0620191
dbug: don't show expandable section when there are no items
yosoyubik Feb 22, 2026
10a8515
dbug: use classes to show flow state
yosoyubik Feb 22, 2026
13148d3
dbug: add naxplanation for mesa flows
yosoyubik Feb 22, 2026
6c71cde
dbug: add line to mesa flow
yosoyubik Feb 22, 2026
ac1ef57
dbug: add acks
yosoyubik Feb 22, 2026
a5ec83b
dbug: refactor unsent message with details
yosoyubik Feb 22, 2026
0391011
dbug: use tip for scry information
yosoyubik Feb 22, 2026
b708b52
dbug: support corks
yosoyubik Feb 22, 2026
c5544e7
dbug: fix %cork $plea
yosoyubik Feb 22, 2026
3359308
dbug: show queued-acks on ui
yosoyubik Feb 22, 2026
267ccbc
dbug: fix search for forward flows
yosoyubik Feb 22, 2026
4184712
dbug: update blob
yosoyubik Feb 22, 2026
7f40b79
Merge pull request #7304 from urbit/yu/mesa-dbug
pkova Feb 24, 2026
2cdcb9a
ames: fully check test $ahoy path
yosoyubik Feb 27, 2026
13829fe
Merge branch 'develop' into yu/fix-test-ahoy
yosoyubik Mar 2, 2026
df68934
Merge pull request #7308 from urbit/yu/fix-test-ahoy
pkova Mar 2, 2026
fbfd57f
Merge pull request #7183 from urbit/tinnus-eauth-dot-local
pkova Mar 13, 2026
cb985e1
Merge pull request #7289 from mikolajpp/mp/fix-await-thread
pkova Mar 27, 2026
f8fce11
dojo: fix poke perm check for dojo linking
midden-fabler Mar 30, 2026
11888c4
Merge pull request #7317 from urbit/mf/dojo-acl
pkova Mar 30, 2026
3078563
Merge pull request #7323 from urbit/develop
pkova Apr 2, 2026
42dc603
Merge pull request #7322 from urbit/next/kelvin/408
pkova Apr 2, 2026
8f90da9
Merge remote-tracking branch 'upstream/develop' into gw/next/kelvin/408
bonbud-macryg Apr 8, 2026
b4aab69
Merge remote-tracking branch 'origin/gw/next/kelvin/408' into bm/deve…
bonbud-macryg Apr 28, 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
118 changes: 105 additions & 13 deletions pkg/arvo/app/dbug.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
::
/- spider
/+ server, default-agent, verb, dbug
/= gall-raw /sys/vane/gall
=/ gall-vane (gall-raw)
::
|%
+$ state-0 [%0 passcode=(unit @t)]
Expand Down Expand Up @@ -1082,7 +1084,7 @@
%- tape
"{<[bone=bone dire=dire]>}"
::
'scries'^(scries ~(tap by pit))
'tip'^(tip-to-json ~(tap by tip))
==
::
++ flow-with-side
Expand All @@ -1092,22 +1094,31 @@
%- pairs
:* 'closing'^b+closing
'corked'^b+corked
'halt'^b+halt
'line'^(numb line)
:: %outgoing
::
'next'^(numb next.snd)
::
:- 'unsent-messages' :: as byte sizes
=| loads-set=(set mesa-message)
=. loads-set
^+ loads-set
=; [loads=_loads-set *]
loads
%^ (dip:mop _loads-set) loads.snd
loads-set
|= [loads=_loads-set seq=@ud req=mesa-message]
[~ | (~(put in loads) req)]
(set-array loads-set (cork jam (cork (cury met 3) numb)))
:- 'acks'
=+ mop-acks=((on ,@ud ack) lte)
:- %a
%+ turn (tap:mop-acks acks.snd)
|= [seq=@ud =ack]
%- pairs
:~ 'seq'^(numb seq)
'ack'^s+-.ack
==
::
:- 'unsent-messages'
:- %a
%+ turn (tap:mop loads.snd)
|= [seq=@ud msg=mesa-message]
%- pairs
:~ 'seq'^(numb seq)
'size'^(numb (met 3 (jam msg)))
'info'^(describe-message msg dire.side)
==
::
'send-window'^(numb send-window.snd)
'send-window-max'^(numb send-window-max.snd)
Expand Down Expand Up @@ -1176,7 +1187,69 @@
?: ?=(%bak dire.side) ~
(from-duct (~(got by by-bone) bone.side))
==
:: ::
::
++ describe-message
|= [msg=mesa-message =dire]
^- json
?- -.msg
%boon
:: for forward flows, boons are responses (ames-response from gall)
:: for backward flows, boons are what we're sending
::
=/ pay payload.msg
?. ?=(ames-response:gall-vane pay) ~
?- -.pay
%d
%- pairs
:~ 'type'^s+'fact'
'mark'^s+(scot %tas +<.pay)
==
%x s+'kick'
==
%plea
=/ =plea +.msg
%- pairs
:~ 'type'^s+'plea'
'vane'^s+vane.plea
'path'^(path:enjs:format path.plea)
:- 'detail'
?: ?=([%$ [%flow *] *] plea)
(pairs ~['action'^s+'cork'])
?. =(%g vane.plea)
:: XX TODO %c %j %e
::
~
?. ?=([%ge *] path.plea)
:: XX TODO: /gf /gk
::
~
:: gall: payload is ames-request-all = [%0 ames-request]
::
:: XX fish loop
:: ?> ?=(ames-request-all:gall-vane payload.plea)
?> ?=([%0 *] payload.plea)
=+ ;;(req=ames-request:gall-vane +.payload.plea)
?- -.req
%m :: %poke
%- pairs
:~ 'action'^s+'poke'
'mark'^s+(scot %tas mark.req)
==
%s :: %watch
%- pairs
:~ 'action'^s+'watch'
'path'^s+(spat ;;(^path path.req))
==
%l :: %watch-as
%- pairs
:~ 'action'^s+'watch-as'
'mark'^s+(scot %tas mark.req)
==
%u (pairs ~['action'^s+'leave'])
==
==
==
::
++ maybe
|* [unit=(unit) enjs=$-(* json)]
^- json
Expand All @@ -1192,6 +1265,25 @@
|= =duct
a+(turn duct path)
::
++ tip-to-json
|= tips=(list [user-path=^path listeners=(set [=duct ames-path=^path])])
^- json
:- %a
%+ turn tips
|= [user-path=^path listeners=(set [=duct ames-path=^path])]
%- pairs
:~ 'user-path'^(path:enjs:format user-path)
::
:- 'listeners'
:- %a
%+ turn ~(tap in listeners)
|= [=duct ames-path=^path]
%- pairs
:~ 'duct'^(from-duct duct)
'ames-path'^(path:enjs:format ames-path)
==
==
::
++ scries
|= keens=(list [^path request-state])
^- json
Expand Down
2 changes: 1 addition & 1 deletion pkg/arvo/app/debug/FileSystemWritableFileStream.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/arvo/app/debug/index.css

Large diffs are not rendered by default.

150 changes: 73 additions & 77 deletions pkg/arvo/app/debug/index.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion pkg/arvo/app/dojo.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,9 @@
++ on-poke
|= [=mark =vase]
^- (quip card:agent:gall _..on-init)
?> (team:title [our src]:hid)
?> ?| (team:title [our src]:hid)
(~(has in acl) src.hid)
==
=^ moves state
^- (quip card:agent:gall house)
?+ mark ~|([%dojo-poke-bad-mark mark] !!)
Expand Down
19 changes: 18 additions & 1 deletion pkg/arvo/app/spider.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@
=^ cards state
?+ wire (on-arvo:def wire sign-arvo)
[%thread @ *] (handle-sign:sc i.t.wire t.t.wire sign-arvo)
[%mark ~] `state
[%build @ ~] (handle-build:sc i.t.wire sign-arvo)
[%bind ~] `state
==
Expand Down Expand Up @@ -383,7 +384,9 @@
==
=/ boc bec
=/ =start-args:spider [~ `tid boc(q desk, r da+now.bowl) thread input]
(handle-start-thread start-args)
=^ start-cards state (handle-start-thread start-args)
:_ state
[(build-mark give input-mark desk bowl) start-cards]
::
++ on-poke-input
|= input
Expand Down Expand Up @@ -623,6 +626,11 @@
:_ state(serving (~(del by serving.state) tid))
?~ request
~
::
=; cards=(list card)
?. ?=(%json take.u.request)
cards
[(build-mark %tang %json desk bowl) cards]
%+ give-simple-payload:app:server rid.u.request
^- simple-payload:http
?. ?=(http-error:spider term)
Expand Down Expand Up @@ -671,6 +679,7 @@
%json
=/ tube (convert-tube output %json desk bowl)
:_ state(serving (~(del by serving.state) tid))
:- (build-mark output %json desk bowl)
%+ give-simple-payload:app:server rid.u.request
(json-response:gen:server !<(json (tube vase)))
::
Expand Down Expand Up @@ -775,4 +784,12 @@
%cc
/(scot %p our.bowl)/[desk]/(scot %da now.bowl)/[from]/[to]
==
::
++ build-mark
|= [from=mark to=mark =desk =bowl:gall]
^- card
:* %pass /mark %arvo
[%c %warp our.bowl desk ~ %sing %c da+now.bowl /[from]/[to]]
==
::
--
2 changes: 1 addition & 1 deletion pkg/arvo/gen/hood/mate.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
::
/? 310
:- %say
|=([^ [who=(unit ship) ~] dry=_& ~] helm-mass-mate/who^dry)
|=([^ [who=(unit ship) ~] ~] helm-mass-mate/who)
66 changes: 49 additions & 17 deletions pkg/arvo/lib/hood/helm.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -193,27 +193,33 @@
%helm-hi !>(mes)
==
::
++ poke-send-ahoy
|= [her=ship test=? force=?] =< abet
++ poke-start-ahoy
|= [her=ship test=? force-test=?] =< abet
=/ =wire
:+ %helm %ahoy
?.(test /(scot %p her) /test/(scot %p her))
=/ =path ?:(test /test/mesa-1 /mesa-1)
=/ =path ?:(test /test/mesa-2 /mesa-2)
:: before migrating, test if we can migrate, regress, and check that there
:: are not flows in a weird state. if we don't crash, send the %ahoy $plea
:: are not flows in a weird state. if we get a [%done ~], send the %ahoy $plea
::
=^ mate-moves sat
?. force `sat
(poke-mass-mate `her test=%.y)
=^ ahoy-moves sat abet:(emit %pass wire %arvo %a %plea her %$ path %ahoy ~)
(emil (weld mate-moves ahoy-moves))
?. force-test
:: skip test, ahoy right away; only for certain cases in ames.hoon
::
(emit %pass wire %arvo %a %plea her %$ path %ahoy ~)
:: wait for the %done of the local %mate
::
=^ mate-moves sat %*($ poke-mass-mate dry test, +< `her)
(emil mate-moves)
::
++ poke-mass-mate
|= [ship=(unit ship) dry=?]
=| dry=?
|= ship=(unit ship)
=/ =wire
:+ %helm %mate
?.(dry ~ /test)
abet:(emit %pass wire %arvo %a %mate ship dry)
?~ ship /test
?: dry /test/(scot %p u.ship)
/(scot %p u.ship)
abet:(emit %pass wire %arvo %a %mate ship dry=%.y)
::
++ poke-mass-rege
|= [ship=(unit ship) dry=?]
Expand All @@ -222,19 +228,41 @@
?.(dry ~ /test)
abet:(emit %pass wire %arvo %a %rege ship dry)
::
++ take-test-mate
|= [way=wire error=(unit error:ames)]
=/ =path
?:(?=([%test her=@ ~] way) /test/mesa-2 /mesa-2)
=/ her=@p
?: ?=([%test her=@ ~] way)
(slav %p i.t.way)
?> ?=([her=@ ~] way)
(slav %p i.way)
?^ error
~& >>> %local-migration-failed
abet
~& > %local-migration-worked
abet:(emit %pass [%helm %ahoy way] %arvo %a %plea her %$ path %ahoy ~)
::
++ take-migrate
|= [way=wire error=(unit error:ames)]
?^ error
~& >>> %local-migration-failed
abet
~& > %local-migration-worked
abet
::
++ take-ahoy
|= [way=wire error=(unit error:ames)]
?: ?=([%test @ *] way)
?~ error
~& > %migration-test-worked
~& >> %test-local-migration
abet:(emit %pass /helm/migrate %arvo %a %mate (slaw %p i.t.way) dry=%.y)
abet
%- (slog %take-ahoy-test-failed u.error)
abet
?> ?=([@ ~] way)
?~ error
~& > %remote-migration-worked
~& >> %try-local-migration
~& >> %do-local-migration
abet:(emit %pass /helm/migrate %arvo %a %mate (slaw %p i.way) dry=%.n)
~& >>> %ahoy-crash
:: XX retry?
Expand All @@ -247,7 +275,7 @@
|= [way=wire error=(unit tang)]
?> ?=([@ ~] way)
?~ error
(poke-send-ahoy (slav %p i.way) | force=&)
(poke-start-ahoy (slav %p i.way) | force=&)
~& >>> %ahoy-wake-crash
:: XX retry?
::
Expand Down Expand Up @@ -683,7 +711,7 @@
%helm-pass =;(f (f !<(_+<.f vase)) poke-pass)
%helm-rekey =;(f (f !<(_+<.f vase)) poke-rekey)
%helm-send-hi =;(f (f !<(_+<.f vase)) poke-send-hi)
%helm-send-ahoy =;(f (f !<(_+<.f vase)) poke-send-ahoy)
%helm-send-ahoy =;(f (f !<(_+<.f vase)) poke-start-ahoy)
%helm-mass-mate =;(f (f !<(_+<.f vase)) poke-mass-mate)
%helm-send-rege =;(f (f !<(_+<.f vase)) poke-send-rege)
%helm-mass-rege =;(f (f !<(_+<.f vase)) poke-mass-rege)
Expand Down Expand Up @@ -719,6 +747,10 @@
?>(?=(%wake +<.sign-arvo) +>.sign-arvo)
[%ahoy *] %+ take-ahoy t.wire
?>(?=(%done +<.sign-arvo) +>.sign-arvo)
[%mate *] %+ take-test-mate t.wire
?>(?=(%done +<.sign-arvo) +>.sign-arvo)
[%migrate *] %+ take-migrate t.wire
?>(?=(%done +<.sign-arvo) +>.sign-arvo)
[%rege *] %+ take-rege t.wire
?>(?=(%done +<.sign-arvo) +>.sign-arvo)
[%ahoy-crash *] %+ take-ahoy-crash t.wire
Expand Down
Loading
Loading