Ted Blackman
eddbe86d69
ames: fix syntax error
2023-04-06 11:58:34 -04:00
yosoyubik
2da5431ec2
ames: add minimal verbosity for |fine
...
This can be set with |ames-verb %fin. We might want to extend this
with a more granular logging system, probably similar to current ames
2023-04-06 13:44:45 +02:00
yosoyubik
9f45741a9a
ames: use +update-qos:pe in fine core
2023-04-06 13:44:45 +02:00
yosoyubik
1c2b7667b1
ames: use |fi for remote scry |fine core
2023-04-06 13:44:45 +02:00
Ted Blackman
66678acd3e
ames: ping faster to sponsors
2023-04-05 11:59:06 -04:00
~wicrum-wicrun
db2ac2fa65
ames: update gall scries to use %x
instead of %a
2023-04-05 16:23:38 +02:00
yosoyubik
d137d78465
ames: remove |fi core
...
The entry point arms of |fi are moved to the |pe core and
|ke is now called directly so we avoid doing e.g. abed:ke:fi:peer
2023-04-05 10:27:47 +02:00
yosoyubik
08170068b0
ames: send a nack if there is not case for %pine
...
If the publisher can't produce a case for a given path,
it nacks the plea sent by the requester, that will then
produce a %miss to the vane that initiated the scry
2023-04-04 15:00:08 +02:00
yosoyubik
d7df6bcce3
ames: fix pattern match check when sinking a %pine
2023-04-04 10:59:28 +02:00
midden-fabler
d8ad34f0fc
update scry path listing
2023-04-04 03:06:22 -04:00
midden-fabler
bacbfd71ac
add last-contact scry endpoint
2023-04-04 02:50:09 -04:00
yosoyubik
06a1f9aa27
ames: refactor unused on-pine flow for publishers
2023-04-04 08:28:43 +02:00
yosoyubik
920c208a60
ames: fix on-pine
2023-04-03 12:48:16 +02:00
yosoyubik
dbac58827e
spider: clean up remote scries on thread-done
2023-04-03 09:40:56 +02:00
yosoyubik
6c06fa16fa
spider: support tracking/canceling scry requests
...
(%spider only tracks scry requests started by the -keen thread)
2023-04-03 09:18:51 +02:00
yosoyubik
d406344081
lull, ames: add %wham to cancel all scry requests
...
(we might want to add permissioning to restrict who can send %whams)
2023-04-01 09:20:49 +02:00
yosoyubik
55dffb59e7
ames: add all=? flag to fine %yawn task
...
if all=& in |yawn, it will delete all listeners ducts,
without notifying them about it, which seems bad,
so we migh adress that separatedly.
Also, it might be cleaner to have a separate task instead of
a flag, to have two paths for "remove me" and "remove all",
this way there won't be an option for a listener to remove all
others, and that will have to be handled explicitly.
2023-03-31 15:45:51 +02:00
yosoyubik
8387a28bd2
ames: use %$ to handle /pine pleas
...
Sending a %pine plea to an old publisher will result in
a crash because it:
- (pre remote-scry) handles only %cork pleas with %$ as the vane
- (pre GRQF) it doesn't handle %$ as the recipient vane
2023-03-31 11:37:05 +02:00
yosoyubik
8e54f7fcc3
ames: fix parsing fine timer wire
2023-03-28 13:40:10 +02:00
yosoyubik
f34e472bdd
ames: fix faulty +abed, one more time
2023-03-28 12:35:23 +02:00
yosoyubik
c9124e9fd0
ames: fix faulty bunted state in +abed
2023-03-25 16:58:03 +01:00
yosoyubik
140e5d2b5f
ames: reorder |keen arms
2023-03-24 13:59:29 +01:00
yosoyubik
3269192b29
ames: remove mu/mi-trace
2023-03-24 12:44:20 +01:00
yosoyubik
ce02fecc41
ames: use +abed properly for |mi and |mu
2023-03-24 12:14:31 +01:00
~wicrum-wicrun
d76057cac7
ames: handle remote scry requests for gall data
2023-03-23 18:51:19 +01:00
yosoyubik
439184fa7c
ames: add +abed arms to peer-core
2023-03-23 12:54:22 +01:00
yosoyubik
d214fad1bd
Revert "ames: make +abet pure"
...
This is stil a WIP and has not been tested so reverting commit
e4182f52a9
.
2023-03-23 10:41:56 +01:00
yosoyubik
3c158b2491
ames: move etch-hunk out of the fine core
2023-03-23 10:19:54 +01:00
yosoyubik
8b0bd25a45
ames: rename keen-core -> ke
2023-03-23 06:45:14 +01:00
yosoyubik
2545e05c7a
lull: implement +wyt for getting the size of a |deq
2023-03-22 12:26:50 +01:00
Joe Bryan
817125ba51
ames: fix up merge resolutions (compiles!)
2023-03-21 13:38:59 -04:00
yosoyubik
dd0f35c8ad
Merge branch 'm/contdist-and-behn' into i/5788/remote-scry
2023-03-21 18:01:17 +01:00
yosoyubik
e4182f52a9
ames: make +abet pure
2023-03-20 09:19:27 +01:00
yosoyubik
1144fb3f28
ames: use the %rcv flag when hearing a packet
2023-03-18 19:16:10 +01:00
yosoyubik
d645fcc862
ames: always ack %hear tasks on corked bones
2023-03-18 19:06:16 +01:00
yosoyubik
80914289b2
ames: fix %snub queued evet update
2023-03-17 18:51:27 +01:00
yosoyubik
003613d1d5
Merge branch 'develop' into yu/ames-snub-whitelist
2023-03-17 14:05:38 +01:00
Josh Lehman
dbe6f7fd20
Merge branch 'develop' into i/6264/ames-snub-whitelist
2023-03-16 08:30:57 -07:00
yosoyubik
3654431f3a
ames: sanity check abetting the sink core
2023-03-15 10:35:08 +01:00
yosoyubik
943690f8ee
ames: remove unused %krocs and %corks logic
...
%krocs is still in peer-state, in lull.hoon and can be removed
next time ames-state is updated, same as for %corks (only in ames-state)
2023-03-12 13:47:40 +01:00
yosoyubik
86bad20baf
ames: no-op if bone has been corked on the sender
2023-03-12 10:05:33 +01:00
yosoyubik
c1974b30b2
ames: clean up clogged conditional
2023-03-12 09:59:11 +01:00
yosoyubik
34f9a49b73
ames: log pleas for corked bones
2023-03-12 09:45:33 +01:00
yosoyubik
707cbd63ab
ames: always ack recork pleas
2023-03-12 09:36:51 +01:00
yosoyubik
f58fcfd41d
ames: no-op if bone has been corked on the sender
2023-03-12 08:47:44 +01:00
Josh Lehman
3177067d96
Merge branch 'develop' into i/6264/ames-snub-whitelist
2023-03-03 09:54:35 -08:00
Marcus
3b91a3f0be
ames: snubbed scry and whitelist
2023-03-02 18:21:36 -03:00
yosoyubik
219dea855d
ames: log pleas for corked bones
2023-03-01 19:34:41 -06:00
yosoyubik
233d957a5c
ames: always ack recork pleas
2023-03-01 15:55:46 -06:00
yosoyubik
dec8252d4a
Merge branch 'develop' into i/6103/ames-refactor
2023-02-23 13:51:35 +01:00
yosoyubik
cecd7b4835
ames: remove unused pump/sink/pack gifts
2023-02-23 13:39:41 +01:00
yosoyubik
3963b0a951
ames: fix test-nack
...
previously we were acking the nack-trace message (adding a %send move)
before notifying the message-pump with a %near task. Now, due to the
refactoring we invert the order of those moves. This seems safe but will
determine with livenet testing
2023-02-22 14:45:44 +01:00
yosoyubik
458b40318d
ames: remove unused message pump timer relay
2023-02-22 11:06:09 +01:00
yosoyubik
8d9e9c20f5
ames: refactor message-sink
2023-02-22 10:50:20 +01:00
yosoyubik
9c8080cb0b
ames: move peer-state lookups to helper chapter
2023-02-22 09:11:22 +01:00
yosoyubik
eaae5b1161
ames: nest pump-gauge in packet-pump
2023-02-22 09:06:05 +01:00
yosoyubik
91be2b8bf1
ames: refactor message and packet pumps
2023-02-22 08:50:55 +01:00
yosoyubik
f508a569f8
ames: add core chapters to peer-core
2023-02-21 13:38:03 +01:00
yosoyubik
6d6f1b956f
ames: add core chapters to +ev
2023-02-21 12:56:50 +01:00
yosoyubik
f310b5cb3a
ames: rename make-peer-core -> pe
2023-02-21 12:46:20 +01:00
yosoyubik
07af14ecc3
ames: rename per-event -> ev
2023-02-21 12:32:33 +01:00
yosoyubik
311fa0efbb
ames: move formal interface core to the bottom
2023-02-21 12:22:53 +01:00
dachus
6f5f4e2100
done
2023-02-17 14:02:11 -06:00
yosoyubik
c503647eb3
ames: no-op on %kroc task
2023-02-14 06:07:59 +01:00
yosoyubik
25dc16addb
Merge branch 'develop' into i/6065/clean-flows
2023-02-14 05:02:40 +01:00
yosoyubik
b8b7e1951f
ames: add %cong task to adjust clog
2023-02-13 12:04:41 +01:00
yosoyubik
c92c2c9279
ames: log stale flows in closing state
2023-02-10 16:19:18 +01:00
yosoyubik
abbd95f2ce
ames: fix typo
2023-02-09 13:12:50 +01:00
yosoyubik
dd812283ac
ames: optimize memory measurement
...
Co-authored-by: Joe Bryan <joemfb@gmail.com>
2023-02-09 10:47:49 +01:00
yosoyubik
4bac6ea642
Merge branch 'develop' into ted/ames-clog-less
2023-02-09 10:14:02 +01:00
yosoyubik
46c27d33cd
ames: fix check for stale resubscriptions
2023-02-06 16:48:32 +01:00
yosoyubik
fbb95b0d9f
ames: check if we have a flow for a nax ack bone
2023-02-06 16:39:00 +01:00
yosoyubik
1522e4ab96
ames: don't scry dudes for every peer
2023-02-06 16:39:00 +01:00
yosoyubik
108e0cd023
ames: fix syntax error
2023-02-06 16:39:00 +01:00
yosoyubik
5f9d6b23d1
ames: improve logging in dry mode for on-kroc
2023-02-06 16:39:00 +01:00
yosoyubik
24140d5f12
ames: clarify forward/backward bones
2023-02-06 16:38:59 +01:00
yosoyubik
e32c18b677
ames: style fixes and comments
2023-02-06 16:38:59 +01:00
yosoyubik
1d8214530a
ames: fix |close-flows generator
2023-02-06 16:38:50 +01:00
yosoyubik
1e04e9498e
ames: clean all stale %watches in on-kroc
...
This removes the logic from cleaning up stale subscriptions in %gall,
leaving +ap-rake as it was, and moves it to the +on-kroc arm in %ames.
Failed subscriptions from nacking a %watch plea that were
not properly corked (fixed in https://github.com/urbit/urbit/pull/6102 )
are a subset of the more general "stale re-subscription" issue, so
we take care of all stale flows at the same time, by focusing on the
current subscription—leaving all others to be corked automatically—and
checking if it received a nack, to subsequently cork it.
2023-02-06 16:38:04 +01:00
yosoyubik
ad712caccf
ames, gall: move |close-flows logic to vanes
...
This modifies the %rake task in %gall, to select what kind of
subscriptions we try to close:
=mode %o: kill old pre-nonce subscriptions
=mode %z: kill old pre-nonce subscriptions, including sub-nonce = 0
=mode %r: kills all stale resubscription flows
It also adds a dry-run option to both tasks (%kroc in ames, %rake in gall)
2023-02-06 16:36:32 +01:00
yosoyubik
7d4959db2e
ames: don't send %kroc cards in |close-flows
2023-02-06 16:36:30 +01:00
yosoyubik
7c26716bab
ames: remove stale comment
2023-02-06 16:36:29 +01:00
yosoyubik
05582d12c2
ames: refactor +on-krock
2023-02-06 16:36:28 +01:00
yosoyubik
3a7bd3a67f
ames: add tool for removing failed %watch flows
2023-02-06 16:36:27 +01:00
Philip Monk
8609599035
ames: put "is ok"/"not responding" behind |ames-verb
...
Fixes #6245
2023-01-24 13:07:19 -07:00
Philip Monk
77616520c3
ames: add logging for snubbing
2023-01-17 15:16:35 -07:00
Zach Alberico
34e8ff7616
Merge branch 'next/arvo' into ted/ames-clog-less
2022-12-15 19:17:45 -08:00
Zach Alberico
a2173f1eb3
Merge branch 'next/arvo' into lf/ames-snub
2022-12-15 17:40:04 -08:00
Liam Fitzgerald
14baf6f3d6
ames: add %snub functionality
...
Adds .snub to ames-state, a global blocklist for ships. If a packet is
received from a ship that is in the .snub set, it is immediately
dropped. Adds %snub to ames' $task, to allow manipulating this list
2022-12-15 13:37:14 -06:00
Ted Blackman
35194a6a08
Merge pull request #6102 from urbit/yu/kill-nack-flows
...
ames, gall: send a %cork if getting a %nack for a %watch
2022-11-28 11:57:07 -06:00
Ted Blackman
da4046a859
Merge pull request #6076 from urbit/yu/remove-num-live
...
ames: remove num-live from pump-metrics
2022-11-28 11:50:01 -06:00
yosoyubik
a7eee8ae6b
Merge branch 'next/arvo' into yu/kill-nack-flows
2022-11-28 17:22:15 +01:00
yosoyubik
403b3eef82
ames, gall: address feedback
2022-11-28 17:21:41 +01:00
fang
3ef5260efc
Merge branch 'next/arvo' into pkova/ruin-comets
2022-11-25 12:20:46 +01:00
Ted Blackman
fc32dde010
Merge pull request #6059 from urbit/ames-verb-fixes
...
ames: debug print msg formatting fixes
2022-11-23 17:23:16 -06:00
Philip Monk
15c5447a05
Merge branch 'philip/agent-clay' into next/arvo
2022-11-22 17:24:15 -07:00
yosoyubik
430233a3de
ames, gall: cork flow if getting %nack for %watch
2022-11-21 14:23:19 +01:00
yosoyubik
012c1e19bf
ames: don't use num-live from pump-metrics
2022-11-17 08:38:50 -08:00
yosoyubik
8bb969c2ec
Revert "ames: remove num-live from pump-metrics"
...
This reverts commit b2a0f2fd304f961e4db89499aedefe0be95e6239.
2022-11-17 08:38:50 -08:00
yosoyubik
a3e8607cb1
ames: remove num-live from pump-metrics
2022-11-17 08:38:50 -08:00