yosoyubik
68db0b4e03
ames: move +on-kroc logic to |close-flows
...
+on-kroc was cluttered with ad-hoc logic to indentify stale flows from
failed resubscriptions that were not properly %corked. Here we move
that logic to a generator that, if not in dry mode, will call %ames with a
(list [ship bone]) to %cork them.
Another option would be to move the logic in the generator to a state
update in ames, which will trigger possibly thousands of %ames messages
to be sent, on every ship that runs the state migration—these flows are
not causing a problem that neds to be addressed, and only take extra
space.
If we decide that this needs to be run by everyone, one solution could be
to set up a timer (maybe taking advantage of the fact that ships don't get
the OTA a the same time) that will eventually poke %hood with a
%helm-ames-kroc task.
2023-06-07 15:55:50 +02:00
yosoyubik
2c854d1285
ames: remove space leak for outbound naxplanations
...
Companion to https://github.com/urbit/urbit/pull/6607 , where the space leak was fixed
2023-06-05 10:01:44 +02:00
yosoyubik
65b83a3318
Merge branch 'develop' into yu/remove-num-live
2023-06-05 09:47:39 +02:00
Ted Blackman
58ac6a1e90
Merge pull request #6627 from urbit/jb/moar-solid
...
solid: preserve structural sharing in arvo
2023-05-31 11:44:04 -04:00
Joe Bryan
02bac2f1b5
solid: preserve structural sharing in arvo
2023-05-30 13:30:12 -04:00
Joe Bryan
d4b900bf3f
Merge pull request #6612 from urbit/i/6611/lose-boon
...
ames: correctly %lose a %boon we crashed on
2023-05-26 11:19:57 -04:00
Ted Blackman
7d9df71d5e
Merge pull request #6613 from urbit/i/6608/skip-corks
...
ames: skip corks if pending acks for naxplanations
2023-05-26 10:51:33 -04:00
Ted Blackman
d234b3205f
Merge pull request #6607 from urbit/yu/fix-drop-nack
...
ames: don't no-op if getting %ack on nack bone
2023-05-26 10:19:31 -04:00
yosoyubik
6528c62b1f
Merge branch 'develop' into i/6608/skip-corks
2023-05-26 10:17:19 +02:00
yosoyubik
1e74e8d19a
ames: simplify pending-acks conditional
2023-05-26 10:09:44 +02:00
yosoyubik
c427637910
Merge branch 'next/kelvin/412' into yu/remove-num-live
2023-05-25 14:24:01 +02:00
Ted Blackman
13ae086837
Merge pull request #6617 from urbit/jb/fine-misordered
...
fine: handle misordered responses
2023-05-24 17:19:33 -04:00
Matthew LeVan
864a6c6a09
Merge pull request #6618 from urbit/develop
...
merge `develop` into `next/kelvin/412`
2023-05-24 14:37:37 -04:00
Joe Bryan
fee0f604cc
fine: sort response fragments before deserializing
2023-05-24 13:01:29 -04:00
Joe Bryan
b0d2db25b5
fine: narrows error message scope on bad responses
2023-05-24 13:00:48 -04:00
Joe Bryan
6443e80bdc
tests: adds failing misordered fine response test
2023-05-24 13:00:44 -04:00
Joe Bryan
ee8e2e997c
tests: fixes +ames-scry-hunk in ames/gall test helper
2023-05-24 12:48:03 -04:00
Joe Bryan
1e6899660b
test: removes unused arms from fine tests, factors out duplicate paths
2023-05-24 12:46:42 -04:00
Pyry Kovanen
fa5526bfd3
Merge pull request #6616 from urbit/pkova/vere-mark
...
mar: add vere mark
2023-05-24 19:01:52 +03:00
Ted Blackman
599759cc38
Update CONTRIBUTING.md
...
We no longer recommend creating an issue to correspond to a PR or using that issue's name in the branch name for the PR. That was useful when ZenHub was used for tracking PRs, but it's not anymore.
2023-05-24 11:40:45 -04:00
pkova
48adc133e4
mar: add vere mark
2023-05-24 18:37:54 +03:00
Pyry Kovanen
2a517b59f3
Merge pull request #6614 from urbit/master
...
Merge master back to develop after releasing urbit-os-v2.140
2023-05-24 18:34:40 +03:00
Ted Blackman
51731e8d58
Merge pull request #6606 from urbit/yu/early-abet
...
ames: fix incorrect handling of acks in |pack
2023-05-24 11:22:11 -04:00
fang
2b9d603951
ames: turn all pending %boons into %losts
...
This was the behavior prior to d8e11b6
, except that we now correctly include
the new %boon in the transformation also.
2023-05-24 14:07:29 +02:00
yosoyubik
f6101569f5
ames: skip corks if pending acks for naxplanations
2023-05-24 12:35:38 +02:00
fang
30cde41800
tests: add ames test for crashing on %boon
...
To detect regressions of the bug d8e11b6
fixed.
2023-05-23 22:12:21 +02:00
fang
d8e11b68c2
ames: correctly %lose a %boon we crashed on
...
Previously, if we noticed %boon handling had caused a crash, we would
transform any existing %boons into %losts, but still emit a new %boon
for the message we ostensibly crashed on.
Now, we make sure to just directly send a %lost if sending the %boon
caused a crash. We drop the existing-moves transformation entirely,
assuming it to vestigial.
2023-05-23 22:10:17 +02:00
Ted Blackman
89681e25b4
Merge branch 'next/kelvin/412' into yu/remove-num-live
2023-05-23 11:50:40 -04:00
Ted Blackman
579c3259ad
merge develop into next/kelvin/412
2023-05-23 11:49:24 -04:00
Pyry Kovanen
77cfbe76c5
Merge pull request #6610 from urbit/release/urbit-os-v2.140
...
Release urbit-os-v2.140
2023-05-23 13:57:37 +03:00
yosoyubik
3554ab895d
ames: remove num-live from pump-metrics
2023-05-23 06:48:15 +02:00
Josh Lehman
2f16a3b1b1
Merge pull request #6544 from morelazers/i/6514/noun-to-jam-mark
...
feat: noun to mime
2023-05-22 08:54:53 -07:00
yosoyubik
e440a443e5
ames: don't no-op if getting %ack on nack bone
2023-05-22 17:53:20 +02:00
yosoyubik
1921fd277c
ames: add comment
2023-05-22 17:38:31 +02:00
Ted Blackman
89d881f33b
Merge pull request #6604 from urbit/p/6593/early-abet
...
ames: more bugfixes after #6593
2023-05-22 11:11:54 -04:00
yosoyubik
89da6d433b
ames: fix incorrect handling of acks in |pack
2023-05-22 15:05:18 +02:00
yosoyubik
a765954cee
ames: don't get ship-state in +enqueue-alien-todo
...
ship-state is retrieved in +send-blob only for sponsors of the ship
2023-05-22 12:49:00 +02:00
yosoyubik
66b92800e3
ames: don't retrieve ship-state in +send-blob
2023-05-22 11:41:32 +02:00
yosoyubik
b427f1c321
ames: early abet in |fi after route update
...
Continuation of https://github.com/urbit/urbit/pull/6593
2023-05-22 10:58:50 +02:00
Ted Blackman
58aed9ccfa
Merge pull request #6595 from urbit/jb/stir-ames-rift
...
ames: add %rift to %stir
2023-05-17 20:31:33 -04:00
Joe Bryan
15440d3dda
ames: add %rift to %stir
2023-05-17 16:51:12 -04:00
Ted Blackman
5c92856d1b
Merge pull request #6593 from urbit/philip/ames
...
ames: packet retry tweaks
2023-05-17 11:21:17 -04:00
fang
4019cfba79
Merge pull request #6561 from urbit/m/the-open-eyre
...
eyre: session identities for all
2023-05-17 13:03:14 +02:00
Philip Monk
8cba74630f
ames: bugfixes
2023-05-16 23:05:17 -07:00
Ted Blackman
07797dc792
Merge pull request #6591 from urbit/jb/clay-cast
...
clay: shortcircuit identity casts
2023-05-16 18:22:18 -04:00
Joe Bryan
40c52743e1
Merge branch 'develop' into next/kelvin/412
2023-05-16 18:07:46 -04:00
Joe Bryan
bbd43cc7d4
clay: clarify +compose-cast trace messages
2023-05-16 16:42:13 -04:00
Joe Bryan
401776545c
clay: shortcircuit identity casts
2023-05-16 15:59:04 -04:00
Joe Bryan
c84cf7359b
clay: adds trace level 4 for mark conversion details
2023-05-16 15:58:55 -04:00
fang
b8ff52d79a
tests: remove trailing whitespace in eyre tests
2023-05-16 21:47:23 +02:00