Commit Graph

2974 Commits

Author SHA1 Message Date
Liam Fitzgerald
829cd509b4 publish: migrate note body correctly 2020-10-29 12:56:41 +10:00
Liam Fitzgerald
225718b8cf metadata-store: fix path handling in migration 2020-10-29 10:25:16 +10:00
Liam Fitzgerald
d5683fb631 publish: fix time handling in publish 2020-10-29 09:49:05 +10:00
Liam Fitzgerald
410d193f5a publish: loosen comment validation 2020-10-29 09:37:47 +10:00
Liam Fitzgerald
ec1c4339c5 publish: loosen validator 2020-10-29 09:35:43 +10:00
Liam Fitzgerald
aabd890b6d publish: fix backoff 2020-10-29 09:34:15 +10:00
Liam Fitzgerald
4079de05f6 publish: fix graph-validator mark 2020-10-29 09:32:15 +10:00
Matilde Park
7e61bb9a6d glob: update to 0v5.d2ut4.t1kqo.2mdr9.mnc4i.vgb53 2020-10-28 19:25:57 -04:00
Logan Allen
358af000ec invite-store: fix %graph %create 2020-10-28 21:54:02 +00:00
Logan Allen
0eb0ef9479 graph-store: if null timestamp, replace with now 2020-10-28 14:37:26 -05:00
Logan Allen
e357a36577 graph-create: fix creation in edge cases 2020-10-28 14:06:34 -05:00
Liam Fitzgerald
39d538f9bc Merge branch 'release/next-userspace' into lf/graph-publish-fe 2020-10-28 16:40:02 +10:00
L
210a9f968c
Merge pull request #3721 from urbit/la/modernize-invites
invite-store/hook: modernize the code style to match other new apps
2020-10-27 19:37:44 -05:00
Logan Allen
ef67bdea8b invite-store: move to de-path-soft 2020-10-27 19:18:56 -05:00
Logan Allen
870a6f635f invites: indentation fixes 2020-10-27 15:45:26 -05:00
Logan Allen
7083979628 invite: initialize state for %graph invites and fix mark 2020-10-27 12:48:50 -05:00
Logan Allen
795e4a4509 invite-store: updated comments 2020-10-27 12:33:28 -05:00
Matilde Park
6a97ebb54f Merge branch 'release/next-userspace' 2020-10-22 22:21:18 -04:00
Matilde Park
1930a75d73 glob: update to 0v2.1vtfh.0l23v.30s7f.n57l9.dpjvi 2020-10-22 22:19:58 -04:00
Logan Allen
c8068e8fcb agents: all agents compile with new invites types and import patterns 2020-10-22 12:17:15 -05:00
Liam Fitzgerald
5b8087b72a publish: refine backoff behaviour 2020-10-22 10:30:04 +10:00
Logan Allen
3304613127 interface/chat-view: updated group invites and chat invites to work properly 2020-10-21 18:11:31 -05:00
matildepark
0c87a44e97
Merge pull request #3747 from urbit/lf/remove-channel-generator
metadata-store: add |remove generator
2020-10-21 17:18:54 -04:00
fang
e3dcfc6372
release: urbit-os-v1.0.61 2020-10-21 12:43:40 +02:00
Logan Allen
44f1ed6d03 invite-json: first pass 2020-10-20 17:27:44 -05:00
Logan Allen
52d7837420 agents: updated all references to invites 2020-10-20 17:23:07 -05:00
Logan Allen
cbfa820ee3 graph-threads: delete thread gets rid of metadata properly 2020-10-20 15:15:58 -05:00
Logan Allen
79ac6eb8cd Merge branch 'release/next-userspace' into lf/graph-publish-fe 2020-10-20 15:08:40 -05:00
L
c187c591ba
Merge pull request #3738 from urbit/la/spider-http
threads: make spider HTTP threads compatible with dojo threads, and fix the %graph-leave thread
2020-10-20 12:55:32 -05:00
Liam Fitzgerald
f8fcc161a1 publish: fix graph-store migration
Previously, if a subscriber received the OTA migration before the host,
then it would attempt to subscribe to a non-existent resource, and
receive a nack, thus unsubscribing the ship from the notebook. To
rectify this, the tombstoned publish has been changed to resubscribe in
a loop with exponential back off. Once it receives a positive watch-ack
(i.e. the host completed the OTA), it will then migrate the notebook to
graph-store by adding it to graph-pull-hook
2020-10-20 10:39:14 +10:00
fang
5bebff3c38
eyre: kick subscriptions if fact conversion fails
This matches the behavior that gall uses for %watch-as subscriptions,
which eyre was using previously.
2020-10-19 19:17:58 +02:00
fang
1d4ee5a7b5
eyre: kick busy subscriptions if client not acking
In order to curb event queue growth when a client for whatever reason
isn't acking the events we send out, we implement a mechanism for
detecting such "clogging", and proactively kick subscriptions which are
adding too many events to the queue.

If the client hasn't sent an ack for ~s30, any subscription that accrues
more than 50 unacked %facts gets closed to prevent further buildup.

Upon reconnecting, the client will see %kick for the relevant
subscriptions and can open a new subscription as appropriate.

Includes a simple test for this behavior, and updates /app/dbug to be
able to display the newly tracked statistics.
2020-10-19 15:56:05 +02:00
Liam Fitzgerald
3ee0f13e41 publish: tombstone 2020-10-19 16:15:55 +10:00
Liam Fitzgerald
b610153b24 publish: address comments 2020-10-19 15:39:36 +10:00
Liam Fitzgerald
b94941f0a2 Merge branch 'release/next-userspace' into lf/graph-publish-fe 2020-10-19 13:18:25 +10:00
Liam Fitzgerald
2ca8f41288 metadata-store: add |remove generator 2020-10-19 12:45:20 +10:00
fang
63b4fb3e19
eyre: simplify channel subscription storage
Instead of storing by "channel wire", store by request-id instead.
The channel wire was just the channel-id, request-id, and some cruft.
2020-10-19 00:48:18 +02:00
fang
0b331a2ca9
eyre: update tests to match recent changes 2020-10-18 17:00:02 +02:00
fang
7e5f29cfd2
eyre: convert facts to json manually
By doing a %watch instead of %watch-as %json for channel subscriptions,
we can hopefully make better use of noun deduplication, when storing
events in a channel's event queue until they get acked.
2020-10-18 16:31:35 +02:00
fang
8def1dbea8
eyre: store unacked events unserialized
Store the gall events from channel subscriptions as (vaseless) signs,
instead of serialized events. This should be smaller in memory, and
makes it more likely for noun deduplication to happen.

The cost is needing to reserialize upon channel reconnect, but this is
the less common case, and we don't expect it to be particularly slow.
2020-10-18 16:04:19 +02:00
matildepark
782ea1a6e7
Merge pull request #3696 from urbit/lf/bundle-cleanup
interface: various bundle size optimisations
2020-10-16 18:32:07 -04:00
Logan Allen
769c50dd25 invite-store: converted from paths to resources. wip 2020-10-16 13:22:57 -05:00
Philip Monk
8cd72daf20
clay: speed up +find-merge-points
In certain cases +find-merge-points was very slow.  Specifically, the
`done` set was meant to avoid checking the same commit repeatedly, but
it didn't catch the case where a commit was added to the worklist that
was already in that worklist.

Secondly, the worklist was stored as a list but used as a queue, which
resulted in a lot of unnecessary welding.  We change it to a qeu.

Fixes #3735
2020-10-16 11:21:02 -07:00
Logan Allen
926c9975c2 graph-leave: fixed leave thread to function properly 2020-10-16 12:10:07 -05:00
Logan Allen
ace6a41e9e graph-threads: update to work with dojo and http 2020-10-16 10:42:31 -05:00
Logan Allen
c9cb97d476 spider: update http handler to be compatible with dojo 2020-10-16 10:42:06 -05:00
Philip Monk
8d0cfd13b7
glob: update to 0v1.hc18i.ms0ac.qi9qj.geopu.sutri 2020-10-15 16:10:02 -07:00
Philip Monk
7e5c722c8f
Merge branch 'philip/link-upgrade' into release/next-sys 2020-10-15 14:34:05 -07:00
Philip Monk
ff0214e8ed
Merge remote-tracking branch 'origin/release/next-userspace' into philip/link-upgrade 2020-10-15 14:32:42 -07:00
Philip Monk
d948d22a78
Merge remote-tracking branch 'origin/release/next-hoon' into philip/link-upgrade 2020-10-15 14:32:34 -07:00