Commit Graph

33123 Commits

Author SHA1 Message Date
fang
1c622f550e
eyre: update eauth endpoint timestamp less eagerly
We always update the eauth endpoint based on new logins from the local
identity. We also let the user configure a hardcoded endpoint url. In
both cases, we update a recency timestamp for the endpoint, to help us
keep our scry namespace responses immutable.

However, we even updated this timestamp if the visible endpoint didn't
change. That is, if the new value was identical, or if the auto-detected
endpoint changed, but it was actively being overridden by a
user-configured url.

Here, we update the stored timestamp only if the visible url actually
changed. This should help us respond to (remote) scry requests more
consistently.

(See also the note in +send-keen.)
2024-02-16 20:57:00 +01:00
Pyry Kovanen
19f9441ce1
Merge pull request #6913 from urbit/m/eyre-cache-dbug
eyre, dbug: eyre response cache visibility
2024-02-15 10:39:29 -08:00
Pyry Kovanen
425ae7aa33
Merge branch 'develop' into m/eyre-cache-dbug 2024-02-15 10:04:59 -08:00
Pyry Kovanen
5a95b73f54
Merge pull request #6909 from urbit/m/eyre-uncache
eyre: dynamic responses for empty cache entries
2024-02-15 10:00:31 -08:00
Pyry Kovanen
31a0c25874
Merge pull request #6911 from urbit/m/gall-mass
gall: respond to /whey scries (for |mass)
2024-02-15 09:58:06 -08:00
fang
3ff4782d3b
dbug: support the eyre response cache
Now support scrying into eyre to retrieve & display its known cache
entries.

Also adds a little extra logic that lets the dbug agent send cache clear
commands on the user's behalf.

To avoid needlessly long scrolling, we add an "open" property to the
debug dashboard's SearchableList, which can be set to false to collapse
the list by default. This is useful for eyre's debug page, which
commonly contains very long lists.
2024-02-15 12:38:29 +01:00
fang
7733e13700
eyre: improve cache visibility
Include the cached responses in their own named mass section, and add a
scry endpoint that produces the entire current cache.

A follow-up commit will leverage this for showing it in the debug
dashboard.
2024-02-15 12:27:50 +01:00
fang
3a4c1e93aa
gall: respond to /whey scries (for |mass)
The restructuring in #6852 put everything under versioned scry paths.
Arvo remains none the wiser and still happily scries for /whey, without
a leading version number, resulting in loss of detail for gall's section
in |mass output.

Here, we simply slap the current version number in front of the /whey
scry path, to get it to resolve.
2024-02-15 10:44:01 +01:00
Pyry Kovanen
7fcee8d9fa
Merge pull request #6910 from urbit/next/kelvin/411
Merge next/kelvin/411 to develop
2024-02-12 17:44:22 +02:00
Pyry Kovanen
1fb257be57
Merge pull request #6907 from youfoundron/remove-garden-from-vats-hint
Replace %garden with %landscape within `+vat` hint
2024-02-08 15:31:28 +02:00
fang
e0a2662291
eyre: dynamic responses for empty cache entries
If the cache entry for any given url was cleared, eyre would recognize
that an entry was bound at some point in the past, and serve a 404,
instead of falling back to the normal, cacheless, dynamic response.

Here, we make eyre serve from the cache only if there is a full cache
entry for the url, and have it proceed into normal request handling
logic otherwise.

This way, setting a cached response for some url no longer means giving
up dynamic responses on that url for the rest of time.

Recent versions of vere exhibit the same behavior. As such, in practice,
this code won't get hit without a similarly-patched version of the
runtime.
2024-02-08 12:48:04 +01:00
Pyry Kovanen
315fe21be8
Merge pull request #6906 from urbit/yu/fix-ames-migration
ames, gall: fix old state migrations
2024-02-07 16:04:24 +02:00
youfoundron
cc8810f799 replace %garden with %landscape within +vats hint 2024-02-06 16:06:16 -08:00
yosoyubik
5eab2285e9 ames: correct check for %snub task update 2024-02-06 10:58:43 +01:00
yosoyubik
64eacd50de ames: fix check fro %kroc task modification 2024-02-05 15:40:17 +01:00
yosoyubik
07ecef345b ames: fix emitting moves on +molt 2024-02-05 15:05:55 +01:00
yosoyubik
57ee384925 Merge branch 'next/kelvin/411' into yu/fix-ames-migration 2024-02-05 12:59:09 +01:00
yosoyubik
d4eb4bd022 ames: step-by-step queued event migration 2024-02-05 11:55:56 +01:00
yosoyubik
8e4262a531 ames,gall: fix old state migrations
TODO: %ames migrates all the queued events directly
to the latest task in %lull -- do it one at a time
2024-02-05 10:18:36 +01:00
Pyry Kovanen
618864ea7e
Merge pull request #6903 from urbit/next/kelvin/411
Merge next/kelvin/411 to develop
2024-02-02 19:18:22 +02:00
Pyry Kovanen
6f436ab199
Merge pull request #6902 from urbit/mf/ames-migration
ames, hoon: add run:to, speed up ames migration
2024-02-02 19:00:42 +02:00
midden-fabler
a2645c2f12 ames, hoon: add run:to, speed up ames migration 2024-02-02 11:36:14 -05:00
Pyry Kovanen
80b05d86c5
Merge pull request #6901 from urbit/pkova/gulf-fix
gall: fix migration when sky contains empty mop
2024-02-01 17:14:36 +02:00
Pyry Kovanen
e7bb1e3fa5
gall: fix migration when sky contains empty mop 2024-02-01 14:38:45 +02:00
Pyry Kovanen
732ed03e40
Merge pull request #6900 from urbit/next/kelvin/411
Merge next/kelvin/411 to develop
2024-01-31 16:44:51 +02:00
Pyry Kovanen
bb8ba2455e
Merge branch 'develop' into next/kelvin/411 2024-01-31 16:35:29 +02:00
Pyry Kovanen
ffe9898dfe
Merge pull request #6899 from urbit/pkova/message-blob
ames: fix message-blob migration
2024-01-31 15:29:49 +02:00
Pyry Kovanen
235decccd4
ames: fix message-blob migration 2024-01-31 14:47:30 +02:00
Pyry Kovanen
8092e2a17a
Merge pull request #6896 from wispem-wantex/tests-colored-output
test thread: now prints errors/failures in red instead of gray
2024-01-31 13:34:43 +02:00
Pyry Kovanen
450a26ccf6
Merge branch 'develop' into tests-colored-output 2024-01-31 13:09:56 +02:00
Alessio
ab021294d2 Undo the clay change for now 2024-01-30 23:08:33 -08:00
Pyry Kovanen
39039834c2
Merge pull request #6889 from silnem2/drum-crash
drum: prevent Dojo crash with M-c on certain characters
2024-01-30 14:55:32 +02:00
Pyry Kovanen
d9435e9d31
Merge branch 'develop' into drum-crash 2024-01-30 13:27:23 +02:00
Pyry Kovanen
d7f86788b1
Merge pull request #6898 from urbit/pkova/grab
clay: do not return false conversion gate from build-cast
2024-01-26 19:52:09 +02:00
pkova
8dc62a6cbe clay: restore +jump 2024-01-26 19:42:28 +02:00
pkova
c5d3be7be2 clay: do not return false conversion gate from build-cast 2024-01-26 01:31:21 +02:00
Alessio
f609752231 Fix a typo 2024-01-25 15:04:24 -08:00
Pyry Kovanen
f7a126eb8b
Merge pull request #6890 from urbit/pkova/grow
gall: separate put:of-grow to put-tend and put-grow
2024-01-25 14:12:50 +02:00
wispem-wantex
db3cf2a653 test thread: now prints errors/failures in red instead of gray 2024-01-23 20:23:18 -08:00
pkova
19142cf6f1 gall: fix off-by-one in growing after culling 2024-01-23 19:24:32 +02:00
midden-fabler
9a18a062e5 lull, gall: cleanup plot, sky.bowl 2024-01-22 12:34:25 -05:00
pkova
315ff3fe40 gall: fix miscellaneous bugs with encrypted remote scry 2024-01-22 17:51:00 +02:00
pkova
f44c3b9174 gall: make put-grow:of-farm fail when encountering a %coop 2024-01-18 15:28:37 +02:00
pkova
9236909cec gall: separate put:of-grow to put-tend and put-grow 2024-01-17 17:59:47 +02:00
pkova
350e883ad6 gall: delete unused migrate:of-grow 2024-01-17 17:59:32 +02:00
silnem2
6ce270ffa4 drum: fix off-by-one error in wrd:offset 2024-01-09 06:53:38 -08:00
Pyry Kovanen
13b495bea4
Merge pull request #6878 from urbit/develop
Merge develop to next/kelvin/411
2023-12-19 14:28:28 +02:00
Pyry Kovanen
820c4e5507
Merge pull request #6790 from urbit/lf/back-to-school-arc
gall: security primitives for encrypted scry
2023-12-19 14:15:59 +02:00
Pyry Kovanen
caa78e9f4d
Merge pull request #6876 from urbit/pkova/gang-gang
all: enforce the gang when scrying
2023-12-18 19:15:05 +02:00
pkova
2cbeb782aa gall: better mo-authorized logic 2023-12-18 19:12:56 +02:00