Commit Graph

48 Commits

Author SHA1 Message Date
fang
641133751a
debug: remove superfluous tsconfig file
Not sure why this one was added in.
2024-04-08 19:47:24 +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
614fcdf537
debug: build using vite, remove gulp
Forget flavor-of-the-month, gulp expired _years_ ago.
2024-04-05 21:03:18 +02: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
yosoyubik
bdc4cb118d dbug: add color for closing/corked flows
...lightyellow for closing and lightred for corked
2023-10-09 08:47:37 +02:00
fang
816706892c
dbug: support eyre eauth state & functionality 2023-05-18 23:40:16 +02:00
fang
d4b99b402f
dbug: ensure eyre identity columns are aligned
Longer vs shorter identity names would cause misalignment.
2023-05-09 15:22:49 +02:00
fang
f1c839717e
dbug: handle new eyre identities, fancier logout
Include and render identities associated with requests, channels, and
login sessions. Provide the ability to kick identities and their
sessions, logging them out.
2023-05-05 23:46:30 +02:00
yosoyubik
3fb596a8d3 dbug: update for latest remote scry state 2023-04-20 09:54:36 +02:00
yosoyubik
80f01d06c5 dbug: return scry component
WIP this adds the minimal things we have in the scry-state of a peer.
Will revisit later on to present (more) information in a different way
2023-03-30 14:21:05 +02:00
yosoyubik
27c83ea067 dbug: first pass at adding outgoing scries
(note: the frontend side is still WIP)
2023-03-30 11:49:21 +02:00
yosoyubik
dd0f35c8ad Merge branch 'm/contdist-and-behn' into i/5788/remote-scry 2023-03-21 18:01:17 +01:00
fang
61c1c76570
dbug: make sure text is legible in dark mode
Makes foreground text white by default, if the dark color scheme is
enabled.

Fixes #6013.
2022-11-25 20:56:20 +01:00
Liam Fitzgerald
e97d99275b ames: congestion control for remote scry 2022-02-11 19:30:40 -06:00
fang
cb706ee8ae
dbug: update for ames' new alien-agenda 2022-02-03 00:45:16 +01:00
John Franklin
00b5734b41 dbug: make eyre Channels header match the table 2020-12-14 17:20:31 -06:00
fang
ed73326cc3
debug: render queued ames acks correctly
Wrap the items in a SearchableList instead of throwing the objects into
the DOM directly.
2020-12-12 00:44:59 +01:00
fang
e3dcfc6372
release: urbit-os-v1.0.61 2020-10-21 12:43:40 +02:00
fang
1d4ee5a7b5
eyre: kick busy subscriptions if client not acking
In order to curb event queue growth when a client for whatever reason
isn't acking the events we send out, we implement a mechanism for
detecting such "clogging", and proactively kick subscriptions which are
adding too many events to the queue.

If the client hasn't sent an ack for ~s30, any subscription that accrues
more than 50 unacked %facts gets closed to prevent further buildup.

Upon reconnecting, the client will see %kick for the relevant
subscriptions and can open a new subscription as appropriate.

Includes a simple test for this behavior, and updates /app/dbug to be
able to display the newly tracked statistics.
2020-10-19 15:56:05 +02:00
fang
63b4fb3e19
eyre: simplify channel subscription storage
Instead of storing by "channel wire", store by request-id instead.
The channel wire was just the channel-id, request-id, and some cruft.
2020-10-19 00:48:18 +02:00
Philip Monk
0301838f25
Merge remote-tracking branch 'origin/release/next-sys' into ford-fusion 2020-06-26 17:46:25 -07:00
Ted Blackman
26ff47b93d Merge remote-tracking branch 'origin/release/next-userspace' into ford-fusion 2020-06-25 22:24:30 -04:00
matildepark
77925b06be
Merge pull request #3048 from urbit/mp/spa-debug-debug
dbug: init new channel on start
2020-06-24 12:01:20 -04:00
Matilde Park
67a09d7d19 dbug: init new channel on start 2020-06-23 21:46:20 -04:00
Fang
b54dc7cd34
eyre, zuse: expire channels with their sessions
Associates channels with the authentication sessions that opened them,
and deletes the channel when its associated session expires.

Also updates the debug dashboard to display channel counts per session.
2020-06-05 00:22:39 +02:00
Fang
2f83797a07
dbug fe: add eyre logout buttons 2020-06-03 01:40:57 +02:00
Fang
8d2aad0de2
dbug fe: coax searchable list key into string
includes() only works on strings, but we might pass in other types as keys.
2020-05-28 20:36:54 +02:00
Fang
309d30a0c8
dbug: support more eyre scries 2020-05-22 23:57:41 +02:00
Fang
8ab1098a1c
dbug fe: render result count alongside list filter 2020-05-22 23:53:23 +02:00
Fang
5877ed4cb2
dbug fe: clean up unneeded console logs 2020-05-21 18:12:24 +02:00
Fang
6ae326470a
dbug fe: separate list query term with space
Allows searching for multiple parts of the item key separately,
returning only items that match all.
2020-05-21 18:03:56 +02:00
Fang
d218541e4f
dbug fe: include "active" in active ames flow keys
Also adds more clear visual "snd" and "rcv" distinction.
2020-05-21 17:58:39 +02:00
Fang
826b27df53
dbug: separate flows by forward & backward
Instead of send and receive.
2020-05-21 00:59:31 +02:00
Fang
f96c83a4a9
spider, debug fe: actually support killing threads 2020-05-20 22:35:53 +02:00
Fang
da4274d490
dbug: allow custom state queries
Try to give state version number on first load. Run custom queries on
demand, similar to +dbug [%state 'whatever'].
2020-05-20 22:34:13 +02:00
Fang
c3704f0198
dbug fe: add refresh buttons 2020-05-19 23:42:48 +02:00
Fang
c530c39617
dbug fe: remember summary fold state correctly
By manually providing a key, we avoid auto-assigned keys, which would
cause the nth summary item to remain unfolded, even if its contents
changed.
2020-05-19 22:53:24 +02:00
Fang
c6aae3cc05
dbug fe: import MessageScreen correctly 2020-05-14 17:59:47 +02:00
Fang
0d5f4214c0
dbug fe: restore missing subscriptions component 2020-05-14 17:24:03 +02:00
Fang
98f3fa1171
dbug fe: remove unused imports 2020-05-14 17:12:42 +02:00
Fang
fe2e3861bb
dbug fe: include missing component 2020-05-11 20:37:52 +02:00
Fang
cd031858b6
dbug fe: remove unused imports 2020-05-11 20:37:06 +02:00
Fang
959884c9cd
dbug: implement debug dashboard 2020-05-08 14:58:40 +02:00