Commit Graph

30763 Commits

Author SHA1 Message Date
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
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
DaneBettis
5048504699 fixed names of vars to follow cvc_TypeLetter style 2022-08-22 08:24:19 +00:00
DaneBettis
a8976385ae corrected private function names and block comments 2022-08-22 08:24:19 +00:00
DaneBettis
41694a306e more refactoring as suggested by master-morzod 2022-08-22 08:24:19 +00:00
DaneBettis
82dbf41ae9 WIP stuff re master-morzod 2022-08-22 08:24:19 +00:00
DaneBettis
99211d84bb remove dev-time modifications to manage.c 2022-08-22 08:24:19 +00:00
DaneBettis
ed1cea48ee make _is_indexed() more obvious and less cute 2022-08-22 08:24:19 +00:00
DaneBettis
c6c1c34db1 fixes suggested by master-morzod, and finished int taming 2022-08-22 08:24:19 +00:00
DaneBettis
6389eaec96 docs, tammed ints, better var names, removed redundant funcs 2022-08-22 08:24:19 +00:00
DaneBettis
9c5d8e9f76 taming int declarations 2022-08-22 08:24:19 +00:00
DaneBettis
86c3dfcde9 minimize the diff 2022-08-22 08:24:19 +00:00
DaneBettis
1b93d43757 this branch PR is now for xray only. meme later. 2022-08-22 08:24:19 +00:00
DaneBettis
903c7151e7 first cleanup from meeting with master-morzod 2022-08-22 08:24:19 +00:00
DaneBettis
e4a204583a added macro to clarify _slog_bytecode and cleaned hoon hint tests 2022-08-22 08:24:19 +00:00
DaneBettis
093db01c2d cleaner expression and docs 2022-08-22 08:24:18 +00:00
DaneBettis
4499f21a25 silenced the broken hoon tests 2022-08-22 08:24:18 +00:00
DaneBettis
a122475e60 partial fix for indexed bytecode args; more to come 2022-08-22 08:24:18 +00:00
DaneBettis
f0695b7ca7 more xray debugs thanks to ~master-morzod 2022-08-22 08:24:18 +00:00
DaneBettis
1e253f2f7b more xray debugs via ~master-morzod 2022-08-22 08:24:18 +00:00
DaneBettis
2f71e52857 more notes and debugging for xray 2022-08-22 08:24:18 +00:00
DaneBettis
0b9559a851 adds xray test, reorders tests, fixes sanity checks 2022-08-22 08:24:18 +00:00
DaneBettis
2dfde98b0f Adds %meme and %xray hints.
%meme reports mem usage at callsite.
%xray prints the vere bytecode of the hoon tree wrapped by the hint.
2022-08-22 08:24:18 +00: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
Joe Bryan
460e7c8800
Merge pull request #5959 from urbit/jb/silence-evil
u3: suppress bail:evil printf
2022-08-19 18:24:24 -04: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