Ted Blackman
cfdf4d8467
tests: fix
2022-08-25 16:36:14 +03:00
Ted Blackman
583dd42747
tests: ames receives %watch-ack
2022-08-25 16:36:14 +03:00
Ted Blackman
01f761d07a
tests: receiver ames sends %watch-ack packet
2022-08-25 16:36:14 +03:00
Ted Blackman
4518cf4838
tests: receiver gall gives %done to ames
2022-08-25 16:36:14 +03:00
Ted Blackman
becb1d7f18
tests: gall runs %pub +on-watch
2022-08-25 16:36:14 +03:00
Ted Blackman
52637ea2fe
tests: ames passes %watch to gall on receiver, gall emits %deal to itself
2022-08-25 16:36:14 +03:00
Ted Blackman
1f9e04ab1c
tests: ames sends %watch %plea
2022-08-25 16:36:14 +03:00
Ted Blackman
e2e4a102e8
tests: ~nec gall passes %watch to itself
2022-08-25 16:36:13 +03:00
Ted Blackman
3fdc7379a2
tests: get %sub agent to emit %watch
2022-08-25 16:36:13 +03:00
Ted Blackman
317f03e337
tests: test galls can now load %sub and %pub agents
2022-08-25 16:36:13 +03:00
Ted Blackman
c48c2f4b6a
/lib/test: add +run-chain for test sequences
2022-08-25 16:36:13 +03:00
Ted Blackman
f2b85df948
tests: initial setup for gall and ames on two ships
2022-08-25 16:36:13 +03:00
Ted Blackman
81bfe17f37
tests: WIP gall request queue tests
2022-08-25 16:36:13 +03:00
fang
81462da7aa
ames: clean & re-set recork timer during %stir
...
Pre-release ships may have multiple recork timers. This ensures that,
after stir, we always have exactly one.
2022-08-25 14:42:16 +02:00
fang
0871c24e24
ames: bump recork timer back up to a day
...
We had lowered this initially for easier testing, but a day should be
sufficient for real-world use.
2022-08-25 14:11:45 +02:00
fang
b2422030f7
ames: correctly identify stale routes
2022-08-25 13:41:55 +02:00
Philip Monk
ed3b028d9a
Merge remote-tracking branch 'origin/master' into philip/snap
2022-08-23 14:16:57 -08:00
Joe Bryan
76cc8939d3
ames: fix error slog on failed attestation timer
2022-08-23 14:34:08 -04:00
Joe Bryan
5b8f26558e
ames: handle failed recork timers
2022-08-23 14:33:53 -04:00
fang
e2d546c4c2
Merge pull request #5970 from urbit/ted/molt-fix
...
ames: fix upgrade bugs
2022-08-23 17:05:53 +02:00
Joe Bryan
679b38138d
ames: prevent larval stage from possibly clobbering adult state
2022-08-23 10:37:01 -04:00
Ted Blackman
5a96f3bdbe
ames: drop %hear as larva; check duct before metamorpohse
2022-08-23 16:45:17 +03:00
Ted Blackman
07601c6bee
ames: metamorphose on first +take if possible
2022-08-23 16:09:35 +03:00
fang
9541187f46
Merge pull request #5969 from urbit/jb/fix-on-stir
...
ames: refactor %stir, %rest stale/wrong timers
2022-08-23 13:35:39 +02:00
Ted Blackman
9abe49489d
ames: +on-stir clean up comments
2022-08-23 13:31:10 +03:00
Joe Bryan
9439841ce8
ames: refactor %stir, %rest stale/wrong timers
2022-08-22 20:14:02 -04:00
Philip Monk
43ad38cd82
azimuth: reorder %kick flow
...
Before this, the %watch to eth-watcher was happening before the %poke,
and so eth-watcher was responding with its entire history immediately.
This is bad because it takes a lot of memory to process that many logs,
and also because those logs are stale.
Now, the %poke happens first, which clears the history.
2022-08-19 20:22:20 -08:00
Philip Monk
efa78b5fa7
pill: update
2022-08-19 15:54:26 -08:00
Philip Monk
c6024c2661
azimuth: clear logs on %kick
...
%kick is supposed to start back from the snapshot and move forward.
Without this, we would only fetch logs that we hadn't already fetched.
Thus, if you were up-to-date when you kicked, you would miss anything
that happened between the time the snapshot was taken and the present,
though you would see things after the present.
Also reverted lull change to make this a safer upgrade.
2022-08-19 15:04:30 -08:00
fang
a04d564269
Merge pull request #5963 from urbit/m/ames-eager-molt
...
ames: ensure larva initializes adult's state
2022-08-20 00:35:50 +02:00
fang
3a7938f057
ames: say "metamorphosis" in all relevant cases
2022-08-20 00:05:20 +02:00
fang
53b0e7ecaa
ames: ensure larva initializes adult's state
...
Previously, when the larva got to processing enqueued events, it was
doing so without loading state into the adult beforehand, resulting in
incorrect processing of events.
Here, we make the larva call +molt more eagerly, ensuring that the adult
always has its state available when we use it.
2022-08-19 23:58:10 +02:00
fang
07c32ae701
Merge pull request #5962 from urbit/m/gall-lying-is-bad-kids
...
gall: don't inject potentially-fake acks
2022-08-19 23:20:56 +02:00
Philip Monk
ca0a00cb3c
Merge remote-tracking branch 'origin/master' into philip/snap
2022-08-19 12:37:25 -08:00
fang
8108595b2b
gall: don't inject potentially-fake acks
...
We shouldn't be hitting this case anymore. Injecting events into agents
which they might not expect, and might not even be real, is bad.
2022-08-19 21:39:44 +02:00
fang
59f0556e3b
Merge pull request #5958 from urbit/ted/rake
...
gall: %rake task to clean up dead %leave's
2022-08-19 21:29:08 +02:00
fang
de6f525f02
Merge pull request #5956 from urbit/ted/gen-ames-flows
...
+ames-flows: diagnostic generator to count ames flows
2022-08-19 21:23:38 +02:00
fang
a79f2f27e5
Merge pull request #5961 from urbit/m/ames-stir-thoroughly
...
ames: don't skip closing flows in +on-stir
2022-08-19 21:22:49 +02:00
fang
a9a8619daa
Merge pull request #5947 from urbit/ted/staying-alive-rebase
...
gall: revive %hood and %dojo on keypress
2022-08-19 21:22:28 +02:00
fang
fc019157b8
Merge branch 'master' into next/arvo
2022-08-19 21:21:38 +02:00
fang
01694444a7
Merge pull request #5960 from urbit/m/gall-outstanding-cork
...
gall: when kicked, register %cork as outstanding
2022-08-19 20:29:47 +02:00
fang
ce2e433a8a
ames: don't skip closing flows in +on-stir
...
Yes, there is a global timer for closing flows, but all that does is
enqueue a cork message. +on-stir needs to set _pump_ timers for all
flows that might still have messages to send, which includes closing
flows.
2022-08-19 20:26:08 +02:00
fang
cfa18b1f1f
gall: when kicked, register %cork as outstanding
...
When ames notifies us that our subscription has been kicked, we enqueue
a cork to clean up the flow. Unlike the %leave case, however, we were
not registering the cork in the queue of outstanding comms. We would
eventually get an ack, but not know what for, and erroneously inject
%poke-acks and %watch-acks.
Here we simply add a %cork entry to the queue before sending it.
2022-08-19 16:04:36 +02:00
fang
c8a163fedb
gall: clean up big wire construction
2022-08-18 22:46:58 +02:00
fang
a5335f5851
gall: improve match detection in +ap-rake
...
Making sure to stringify the nonce and including all the target details in the
wire, and excluding flows that are already closing.
2022-08-18 22:39:54 +02:00
fang
f0620b145b
ames-flows: more fine-grained open flow counting
2022-08-18 22:24:20 +02:00
Ted Blackman
d8df2787a0
gall: %rake task to clean up dead %leave's
2022-08-18 20:34:42 +03:00
tacryt-socryp
07ae55a16b
Merge pull request #5955 from hosted-fornet/hf/agentio-typo
...
agentio: fix `+rest` typo, attempt 2
2022-08-18 09:20:17 -05:00
Tinnus Napbus
4016211bc0
-dns-address: fix wire mismatch
2022-08-18 23:22:57 +12:00
Ted Blackman
82aea06c02
+ames-flows: diagnostic generator to count ames flows
2022-08-18 12:40:49 +03:00