Commit Graph

33244 Commits

Author SHA1 Message Date
pkova
92a856fadc gall: remove more unused migration stuff for %clog reform 2024-04-19 18:39:52 +03:00
pkova
e3dee40ac7 tests: fix subscription test now that we don't %heed anymore 2024-04-19 17:27:46 +03:00
pkova
904bf286c1 ames: refactor bone parsing 2024-04-19 17:15:31 +03:00
pkova
f1fde3e460 ames, gall: refactor clog handling to not migrate %fact 2024-04-19 16:45:47 +03:00
pkova
736ca0a1da lull, ames, gall: unstaged changes for clog fixing 2024-04-19 15:03:27 +03:00
pkova
7f7ba6131e ames: refactor bone processing 2024-04-19 14:46:05 +03:00
pkova
d171f32827 ames, gall: handle clogs on a per-subscription basis 2024-04-19 14:28:17 +03:00
pkova
c238c5afd0 ames, gall: more sane clog handling 2024-04-18 00:22:43 +03:00
Pyry Kovanen
f06f26ec43
Merge pull request #6964 from urbit/mf/test-agent-fix
base: %test arg -> test or [desk test]
2024-04-16 16:25:15 +03:00
pkova
f7ca9d161e ci: fix ci nonsense 2024-04-16 16:16:14 +03:00
Pyry Kovanen
3197f1bb0e
Merge branch 'develop' into mf/test-agent-fix 2024-04-16 15:12:09 +03:00
Pyry Kovanen
df83412d11
Merge pull request #6967 from urbit/pkova/ci-again
ci: catch khan errors in ci
2024-04-16 15:10:53 +03:00
pkova
9e374c3e15 ci: catch khan errors in ci 2024-04-16 15:04:57 +03:00
midden-fabler
56cd9d197e base: %test arg -> test or [desk test] 2024-04-12 22:36:36 -04:00
Pyry Kovanen
ce5cea0f9b
Merge pull request #6955 from urbit/mf/test-agent-desks
base: %test agent - add desk to argument
2024-04-12 15:09:59 +03:00
Pyry Kovanen
099c997a1e
Merge branch 'develop' into mf/test-agent-desks 2024-04-12 14:59:40 +03:00
Pyry Kovanen
68cdcebd96
Merge pull request #6956 from urbit/pkova/dead-flow-fix
ames: fix bug in dead flow consolidation toggle
2024-04-12 13:20:31 +03:00
Pyry Kovanen
95ed1d33e5
Merge branch 'develop' into pkova/dead-flow-fix 2024-04-12 13:06:08 +03:00
Pyry Kovanen
76aa92438f
Merge pull request #6959 from urbit/m/verb-plus
verb+: detailed logging affordances
2024-04-10 17:49:53 +03:00
Pyry Kovanen
8d0df85aa9
Merge pull request #6954 from urbit/yu/trace-for-memo
ames, gall: fix "nacked-leave" logic
2024-04-10 13:48:41 +03:00
yosoyubik
ae7393b082 Merge branch 'develop' into yu/trace-for-memo 2024-04-10 10:18:16 +02:00
fang
7c2187f14d gen: prevent re-creating existing moons in |moon
Apparently the operation triggered by this generator may cause the rift
for the specified moon to be inaccurate if |moon-breach was run
previously.

Here, detect if the moon has been created before, and recommend the
other generators if that is the case.
2024-04-10 10:18:12 +02:00
yosoyubik
abcb73fe02 gall: don't ack %leave for non-running agents 2024-04-10 10:18:12 +02:00
yosoyubik
dec3853d3f ames: on flub, check if pending-vane-ack queue is not empty 2024-04-10 10:18:12 +02:00
fang
03401b46aa spider: speak raw jam bytes, not uw-encoded
This brings it in line with the serialization found in /mar/noun.

The `@uw`-encoding was carried over from Eyre, who uses it for channels.
In that context, outgoing jam bytes must be encoded, because newline
characters (`0a` bytes) would break up the SSE data field. Because
they're essentially part of the same protocol, Eyre mirrors this for
incoming nouns. Even though PUT requests can carry arbitrary bytes just
fine, the symmetry and protocol-wide consistency seems important.

Here, we are dealing strictly with plain HTTP requests, and strictly
with requests that have indicated support for the
`application/x-urb-jam` mime type to boot. We should have no qualms
about raw jam bytes. They're more compact/efficient, too.
2024-04-10 10:18:12 +02:00
fang
ffe1cf21b4 spider: support speaking raw (uw-encoded) nouns
in the thread-calling http interface.

Specifying a content-type header of application/x-urb-jam will make the
request body be interpreted as a uw-encoded jammed noun, rather than
json.

Specifying an accept header of application/x-urb-jam will make the
thread result in the response body be rendered as a uw-encoded jammed
noun, rather than json.

For the latter, the output mark becomes unused, since we can just
"render" the resulting noun directly, without needing to explicitly
convert it. (This assumes that converting any mark to %noun will always
result in the same noun, which isn't guaranteed in theory, but is always
the case in practice.)

This prepares spider for use in a nouns-based version of js-http-api.
2024-04-10 10:18:12 +02:00
yosoyubik
3a3475e6a3 Revert "ames: log with trace when ignoring messages"
This reverts commit 198fa38f6e.
2024-04-10 10:09:14 +02:00
fang
641133751a
debug: remove superfluous tsconfig file
Not sure why this one was added in.
2024-04-08 19:47:24 +02:00
fang
9a9b944475
debug: update blobs 2024-04-08 16:35:08 +02:00
fang
60e6c63b2a
debug: move verb to be above subscription lists
It doesn't contain anything by default, so is easier to scroll
past/doesn't need to be collapsed to get to the verb buttons.
2024-04-08 16:34:29 +02:00
fang
718a3fa00f
debug: improve log event details styling a bit 2024-04-08 16:29:00 +02:00
fang
5e6f2efa6e
verb: include sap.bowl in $event-plus 2024-04-08 16:22:33 +02:00
fang
3ecae833ab
debug: poor man's pretty @da fractional seconds
Lossy, but if the original ms timestamp came out of an urbit, it was
already lossy anyway.
2024-04-08 15:56:50 +02:00
fang
69e357b161
debug: allow live-loading verb+ logs into viewer
New verb watching button added next to the existing one. Instead of
rendering logs to text in the apps view, adds events into the logs view.
2024-04-08 15:55:32 +02:00
fang
f4e1bd4249
log-viewer: move into debug dashboard 2024-04-08 15:54:10 +02:00
fang
db8365940f
verb: add mark w/ json conversion for event-plus 2024-04-08 15:49:25 +02:00
fang
614fcdf537
debug: build using vite, remove gulp
Forget flavor-of-the-month, gulp expired _years_ ago.
2024-04-05 21:03:18 +02:00
Pyry Kovanen
3c33d25516
Merge pull request #6943 from urbit/m/spider-http-nouns
spider: support speaking raw nouns
2024-04-05 15:16:26 +03:00
Pyry Kovanen
db534eabb7
Merge branch 'develop' into m/spider-http-nouns 2024-04-05 14:43:26 +03:00
fang
362e67092c
log-viewer: make sure to ingest files in order 2024-04-04 19:55:54 +02:00
pkova
4066329d59 ames: do not wake flows when switching to dead flow consolidation 2024-04-04 19:08:27 +03:00
Pyry Kovanen
efce1a7890
Merge pull request #6957 from urbit/m/prevent-moon-shenanigans
gen: prevent re-creating existing moons in |moon
2024-04-04 18:33:31 +03:00
fang
74fff24b0f
gen: prevent re-creating existing moons in |moon
Apparently the operation triggered by this generator may cause the rift
for the specified moon to be inaccurate if |moon-breach was run
previously.

Here, detect if the moon has been created before, and recommend the
other generators if that is the case.
2024-04-04 16:34:53 +02:00
Pyry Kovanen
3c926e5a00
Merge pull request #6953 from urbit/yu/fix-flub
gall: don't ack %leave for non-running agents
2024-04-03 18:52:49 +03:00
fang
00d6748561
log-viewer: display event effects in detail
Also prefixes marks with %, mugs with 0x, always.
2024-04-01 22:15:27 +02:00
fang
f370a46c80
log-viewer: actually render event details
And lets you click events to make their details sticky.

Also improves date rendering in some places.
2024-04-01 21:15:11 +02:00
fang
a19daa88ed
log-viewer: mvp
Needs usability improvements for event details, range selection, among
other things.
2024-04-01 15:11:35 +02:00
fang
c010629c8b
verb-logger: support flushing across all agents 2024-04-01 14:44:05 +02:00
pkova
7773f67342 ames: fix bug in dead flow consolidation toggle 2024-03-30 20:11:36 +02:00
midden-fabler
9f90611937 base: %test - add desk to argument 2024-03-30 12:08:44 -04:00