Commit Graph

14699 Commits

Author SHA1 Message Date
Philip Monk
2c262e1fd0 clay: stop failed kelvin upgrades from retrying immediately
We were retrying failed kelvin upgrades as many times as we had apps
that needed to be suspended, because suspending an app triggers an
attempt to run the next kelvin upgrade.  This suspends all those apps in
one batch move, and then tries the next kelvin upgrade only once at the
end.

Fixes #6407

Partially addresses #6285
2023-03-28 11:52:33 -04:00
Pyry Kovanen
307dce7f56
lib/ethereum: remove unnecessary conditional 2023-03-07 17:16:47 -06:00
J Lynn
0a1e39cb47 %eth-watcher: clean up extraneous render-hex-bytes-minimal formatter
Per suggestion at f5eeffef58 (r1128704330)
Moves x-co:co into num-to-hex-minimal.
2023-03-08 09:59:47 +11:00
J Lynn
f5eeffef58 %eth-watcher: ensure get-block-by-number RPC call doesn't pad block number.
Resolves #6377 - stuck %eth-watcher due to get-block-by-number zero-padded number RPC failure
2023-03-08 09:35:13 +11:00
pkova
bc521fa830 Revert "Merge pull request #5973 from urbit/m/http-auth-tokens"
This reverts commit 61d32b5598, reversing
changes made to b271d5e3c3.
2023-02-28 11:25:06 -06:00
fang
05edb273f8
Merge pull request #6343 from urbit/m/autoprop-chill
autoprop: properly keep track of runtime version
2023-02-21 21:44:40 +01:00
pkova
76f32c6fad lull, eyre: add intermediate type for /~/name endpoint
The previous changes implementing the /~/name endpoint were breaking,
since we changed the type of `$action:eyre`. This commit keeps the /~/name
endpoint functional, but adds adapters to eyre scries that returns the old
`$action:eyre` type. These adapters and their associated intermediate types
can be removed the next time we burn a kelvin.
2023-02-21 20:48:56 +02:00
fang
d71c46b3a5
autoprop: properly keep track of runtime version
Autoprop has a timer that checks whether we're on a new/different runtime
periodically. When we detect we are, we re-build the props, so that they may
be re-published under that new version identifier.

However, we weren't updating the cached runtime version we store in state,
causing every firing of this timer to re-build the props.

Here, we correctly update state if we detect a difference, so that subsequent
timers don't trigger redundant rebuilds.
2023-02-18 17:20:14 +01:00
midsum-salrux
ececa20a04
Merge branch 'develop' into ns/migrate-my-channels 2023-02-17 10:46:11 -05:00
Josh Lehman
e42e3451d9
Merge branch 'develop' into jm/desk-scries 2023-02-17 12:00:48 -03:00
Ted Blackman
51be6665f5
Merge pull request #6336 from ashelkovnykov/eval-ted
Add threads to run arbitrary hoon
2023-02-17 09:56:06 -05:00
Alex Shelkovnykov
fa17eaac43 Add threads to run arbitrary hoon 2023-02-17 15:39:10 +01:00
~midsum-salrux
61850ba009 Filter out DMs 2023-02-17 09:38:07 -05:00
Ted Blackman
34c3cb2242
Merge pull request #6269 from urbit/i/6268/solid-state-publications
Implement solid-state publications in userspace
2023-02-17 09:23:18 -05:00
Ted Blackman
8afe2d1ae9
Merge pull request #6338 from urbit/i/6287/eof-syntax-error
clay: render syntax errors at end of file
2023-02-17 09:12:58 -05:00
Ted Blackman
08abd0807b
Merge pull request #6334 from urbit/i/6333/fix-grq-test
ames: fix failing GRQ test
2023-02-17 09:12:07 -05:00
Ted Blackman
61d32b5598
Merge pull request #5973 from urbit/m/http-auth-tokens
http: check requests for auth using tokens from eyre
2023-02-17 09:09:23 -05:00
fang
fe3de74620
clay: render syntax errors at end of file
Previously, if the pointer for a syntax error pointed to the end of the file
(and the file ended in a newline) the code snippet rendering would try to
display a line _beyond_ the end of the file, causing a crash.

Here, we detect that case, and display `<<end of file>>` instead.

(Originally merged through #5812, but got lost somewhere along the way.)

Fixes #6287.
2023-02-17 13:26:55 +01:00
yosoyubik
ce06936788 test: load agents using %load task 2023-02-17 12:10:17 +01:00
~wicrum-wicrun
7e4f7d4bc6 Publisher doesn't set timer 2023-02-17 10:22:58 +01:00
~wicrum-wicrun
26c7a94321 Crash if we're woken up for a subscription we don't have 2023-02-16 14:57:47 +01:00
~wicrum-wicrun
6055266d85 Comment /lib/sss/hoon 2023-02-16 14:49:25 +01:00
yosoyubik
12b79884e7 Merge branch 'yu/fix-grq-test' into i/6333/fix-grq-test 2023-02-16 10:01:18 +01:00
~wicrum-wicrun
83cfd18290
Merge branch 'develop' into i/6268/solid-state-publications 2023-02-16 08:58:58 +01:00
~wicrum-wicrun
6f31ad889a %rest stale timers on subscriber 2023-02-16 08:58:15 +01:00
~wicrum-wicrun
55c3fedcfa Use ^- instead of ;; because to save resources (and cleaner) 2023-02-16 07:46:52 +01:00
~midsum-salrux
d4b7af8283 Merge remote-tracking branch 'origin/develop' into ns/migrate-my-channels 2023-02-15 11:14:38 -05:00
~midsum-salrux
5c0e1992f9 Skip migration if there are no channels 2023-02-15 10:55:50 -05:00
~wicrum-wicrun
34328a0ac3 Ad Fontes-style networking 2023-02-15 15:54:06 +01:00
yosoyubik
c503647eb3 ames: no-op on %kroc task 2023-02-14 06:07:59 +01:00
yosoyubik
21158d6d54 ames: style fixes and comments 2023-02-14 06:06:41 +01:00
yosoyubik
25dc16addb Merge branch 'develop' into i/6065/clean-flows 2023-02-14 05:02:40 +01:00
pkova
49a24647da eyre: revert inclusion of HttpOnly header for now 2023-02-13 20:58:59 +02:00
Josh Lehman
367eae9b42
Merge branch 'develop' into i/6282/adjust-clog 2023-02-13 06:41:00 -08:00
Josh Lehman
ad190807c7
Merge pull request #5827 from urbit/ted/ames-clog-less
ames: %clog less
2023-02-13 06:36:57 -08:00
Josh Lehman
29d0362e58
Merge branch 'develop' into ted/ames-clog-less 2023-02-13 06:32:39 -08:00
fang
54680c33a8
eyre: clean up stray ~! 2023-02-13 15:12:24 +01:00
pkova
8c08842e98 http-api: remove changes that went in in PR #6084 2023-02-13 14:38:48 +02:00
pkova
5fab65cb7e http-api: parse ship name from cookie if possible 2023-02-13 14:27:34 +02:00
pkova
0202ff069c eyre: fix indentation 2023-02-13 14:27:34 +02:00
pkova
6d273ff035 lull: describe %name endpoint better 2023-02-13 14:27:34 +02:00
pkova
bb73dc9975 eyre: replace hardcoded duct in +load with equivalent outgoing-duct 2023-02-13 14:27:23 +02:00
pkova
ea36b1d1d4 http-api: make status check in connect more permissive 2023-02-13 14:27:23 +02:00
pkova
712bcba2b2 eyre: hardcode %init task duct in +load 2023-02-13 14:27:12 +02:00
pkova
e3d19f9e8d eyre: refactor +load to be prettier 2023-02-13 14:27:12 +02:00
pkova
9291fed27f eyre: revert +error-response refactor 2023-02-13 14:27:12 +02:00
pkova
70298fd8b3 http-api: get ship name from /~/name endpoint instead of cookie 2023-02-13 14:27:07 +02:00
pkova
d8ff95db84 eyre: add /~/name endpoint 2023-02-13 14:26:54 +02:00
yosoyubik
b8b7e1951f ames: add %cong task to adjust clog 2023-02-13 12:04:41 +01:00
yosoyubik
f2f339e4f3 Merge branch 'ted/ames-clog-less' into yu/adjust-clog 2023-02-12 08:36:39 +01:00