Commit Graph

13370 Commits

Author SHA1 Message Date
Philip Monk
c5fda496ac clay: add basic %tomb 2022-03-25 13:13:09 -07:00
Philip Monk
fb05255a83 clay: align comments 2022-03-25 12:38:51 -07:00
Liam Fitzgerald
0cdd048903 graph-store: subscribers always keep minimal logs
Transposes the change in 1a2a9ee899 so
that subscribers always keep the minimum possible logs.
2022-03-25 13:35:44 -06:00
Philip Monk
99a10aa7a8 clay: use XX for things that really need to change 2022-03-25 12:33:48 -07:00
Patrick O'Sullivan
ef77aaf802 groups: Use garden's prot. hand. prefs to determine app link 2022-03-25 14:30:26 -05:00
Patrick O'Sullivan
1399ef9fa5 groups: Add useGardenSettings store to groups 2022-03-25 14:28:07 -05:00
Patrick O'Sullivan
df280daee3 groups: Set browserId in local state on mount of app 2022-03-25 14:27:30 -05:00
Patrick O'Sullivan
0a5cd0041d groups: Add browserId to local state 2022-03-25 14:26:18 -05:00
Patrick O'Sullivan
66451c9089 groups: Add fingerprintjs 2022-03-25 14:25:07 -05:00
Philip Monk
0c3eee07b5 Merge remote-tracking branch 'origin/master' into philip/tomb 2022-03-25 12:21:56 -07:00
Hunter Miller
60d5d4ffcf bootstrap: optimizing order a little more 2022-03-25 12:55:54 -05:00
Hunter Miller
78a0796a74 bootstrap: removing unnecessary clear and moving hark a little higher 2022-03-25 11:42:42 -05:00
drbeefsupreme
4a403a676d
naive: l2 csv add @da to saved file 2022-03-25 11:28:45 -04:00
drbeefsupreme
9cb1cde9b4
naive: l2 csv change gasUsed to effectiveGasPrice 2022-03-25 11:27:01 -04:00
drbeefsupreme
2fdce9e6ca
naive: l2 csv add ^sein:title field 2022-03-25 11:22:26 -04:00
Joe Bryan
d937e131a4 hoon: preserve structural sharing by testing subject/product equality in +burp 2022-03-25 10:28:05 -04:00
Joe Bryan
15e570a622 hoon: plug type leak in vase literals by properly burping %hint 2022-03-25 10:27:32 -04:00
Hunter Miller
a93c3975d7 any-ascii: lazy load for code-splitting 2022-03-24 19:22:47 -05:00
Hunter Miller
6a5b0e3a83 s3: lazy load aws sdk for code splitting 2022-03-24 19:21:56 -05:00
Hunter Miller
e3b2e166d7 bootstrap: moving and reordering, adding scries
This undoes some of the code-splitting done previously as it didn't
affect performance enough, and was actively hurting it in some ways.
Instead this moves the subscription initiation higher and adds scries
for critical data. This also shuffles the calls in App's useEffect so
that they are more colocated with relevant concerns.
2022-03-24 19:18:45 -05:00
Hunter Miller
edb4094301 groups: fixing bad prod build and missing react-refresh 2022-03-24 19:13:36 -05:00
drbeefsupreme
61e70c928b
squash! naive: l2 csv refactoring for readability 2022-03-24 19:12:54 -04:00
drbeefsupreme
b0cee44497
naive: l2 csv refactoring for readability
semantics should be unchanged
2022-03-24 18:20:31 -04:00
Liam Fitzgerald
1a2a9ee899 graph-store: drop unnecessary logs
Drops unnecessary logs for subscribers, to reduce memory usage. In local
testing, this incurred a 20% improvement in graph-store memory usage.
Note that publishers still retain the entire history, for backlog and
resubscribe purposes. Subscribers still retain a handful of updates so
that they can resubscribe upon kick correctly.
2022-03-24 13:31:15 -06:00
Patrick O'Sullivan
734b1310f8 grid: add ability to store/toggle per-browser settings 2022-03-24 11:27:27 -05:00
Patrick O'Sullivan
c222802b00 grid: add fingerpintjs to save per-browser settings 2022-03-24 11:22:34 -05:00
Jōshin
30c329115d
Merge branch 'master' into next/vere 2022-03-23 16:31:57 -06:00
Jōshin
e1a4acdc70
Merge branch 'master' into next/arvo 2022-03-23 16:10:04 -06:00
fang
3259f1f588
aqua: fix most tests
Small touch-ups to simulation behavior and ph tests. Most of them pass
now, even if they're still really slow at times.

The breach ones don't pass, but also complain of dangling bone, so might
work once the fix for that is in.
2022-03-23 22:19:35 +01:00
Jōshin
469c597310
conn: send errors on bail 2022-03-23 10:50:23 -06:00
Jōshin
8e1842df69
conn: condense _conn_moor_poke
- Saves a call to `+scot`.

- Removes `else` blocks from `if` statements that return.

- Handles missing %khan as a normal bail.
2022-03-23 10:19:37 -06:00
Philip Monk
5ff4cc7f66
Merge pull request #5612 from ynx0/story
clay: add `story`, a set of tools to support commit messages
2022-03-22 21:49:16 -07:00
Philip Monk
17e237eae3 ted: remove unused -azimuth-tracker 2022-03-22 21:44:35 -07:00
Hunter Miller
1e29177b2a interface: improving channel load time/ordering 2022-03-22 19:05:24 -05:00
Liam Fitzgerald
a3ec1af915 @urbit/api: add add-note hark-store poke 2022-03-22 16:42:54 -06:00
Liam Fitzgerald
5a1ead5513 hark-store: add %add-note JSON decoder 2022-03-22 16:42:54 -06:00
drbeefsupreme
0786f62e8b
naive: l2 csv export csv file
passes to clay to ask it to write the csv to disk
2022-03-22 18:04:34 -04:00
drbeefsupreme
0f8ea20ac0
naive: l2 csv flatten data into list of tx
this takes all the gathered data and turns it into a list suitable for
transformation into a csv
2022-03-22 17:15:07 -04:00
Patrick O'Sullivan
dfcc0bf7c3 groups: remove debug statement 2022-03-22 15:20:16 -05:00
Patrick O'Sullivan
0a62aa8f22 groups: Fix <user> left <group> notifications 2022-03-22 15:17:29 -05:00
Patrick O'Sullivan
abd7e7f853 groups: Handle notifs received without links (like group updates) 2022-03-22 15:16:16 -05:00
Hunter Miller
ef4131061e Merge branch 'master' into next/groups 2022-03-21 18:20:51 -05:00
Hunter Miller
6e0b1096c2 grid: updating glob and version 2022-03-21 15:59:26 -05:00
Jōshin
9649c35e47
conn: add %peel /who 2022-03-21 14:38:39 -06:00
Jōshin
0ce83ce68b
disk: %read info 2022-03-21 14:29:54 -06:00
Jōshin
1d97e6464a
vere: remove short flags from header comment 2022-03-21 14:27:31 -06:00
Hunter Miller
82164abe2f Merge branch 'next/landscape' into hm/fix-tile-order-persistence 2022-03-21 15:26:04 -05:00
Jōshin
74578f80d5
conn: futureproof comment 2022-03-21 14:25:32 -06:00
Patrick O'Sullivan
3c68499b86 grid: fix loop caused by useEffect in tilegrid 2022-03-21 15:15:39 -05:00
Jōshin
b5df46d0e9
conn: don't u3z(u3_none)
Empirically this seemed to work before (maybe hind events were never
getting sent?), but `u3a_lose` takes a `u3_noun` so it seems best to
follow the specified API.
2022-03-21 14:13:23 -06:00
fang
804c8a8bb7
aqua: use cache for fake ships only
Boot sequence for real ships contains %dawn, which is affected by
azimuth state and may not be consistent.
2022-03-21 20:29:23 +01:00
Jōshin
6c386ce946
http: print port in error message 2022-03-21 13:18:14 -06:00
Jōshin
05046f756b
vere: long-only opt for http/s port
Also includes in usage.
2022-03-21 13:15:37 -06:00
Hunter Miller
77f0de4cb2 grid: initialize settings, add more checks around order correction 2022-03-21 14:08:28 -05:00
Liam Fitzgerald
dd70856188 clay: be careful with subject in ford results
This fixes a space leak where the entire ford/clay core would be
included in the ford cache. Heavily reduces memory usage by clay,
reducing total usage from 100-200MB to around 10MB.
2022-03-21 13:02:36 -06:00
Jōshin
4f124c5911
http: abort increment/bind loop on manual port
Also moves the per_s / pes_s reset out of _http_write_ports_file and
into the bind loop itself.
2022-03-21 12:45:11 -06:00
Hunter Miller
3d2472f8b4 tile-grid: check for charges loaded, updating glob 2022-03-21 13:23:58 -05:00
Liam Fitzgerald
2def946ded clay: break out ford memory usage in more detail
Instead of reporting a single memory size for built files, marks and
conversions, we now report memory size per path, mark name and mark
pair, respectively.
2022-03-21 12:21:38 -06:00
Hunter Miller
ce39c22026 grid: updating bad glob entry 2022-03-21 13:05:28 -05:00
Hunter Miller
3cbe8e97fe grid: updating glob and version 2022-03-21 12:46:42 -05:00
Hunter Miller
7e193cf733 Merge branch 'next/landscape' 2022-03-21 12:43:21 -05:00
Jōshin
fb5dd0026e
vere: add http/s port flags 2022-03-21 11:10:08 -06:00
Hunter Miller
1806320786 tile-grid: ensure we aren't trying to display uninstalled apps 2022-03-21 11:51:05 -05:00
Jōshin
4be43d5e28
hoon: fix comment whitespace 2022-03-21 10:24:27 -06:00
yosoyubik
cff562b4c6 Merge branch 'next/arvo' into roller/batch-split 2022-03-20 14:27:50 +01:00
yosoyubik
cf838fd1d7 roller: add batch-trimming functionality
If a batch gets bigger than a max size defined by the ethereum node
the raw transaction is sent to, the /ted/roller/send thread will crash and
the batch will be blocked, stopping any subsequent batches to be sent.

This detects when the current batch reaches a certain threshold and only
includes transactions up to that point, moving the ones that are not sent
back to the pending queue, adjusting their history and finding status.
2022-03-20 14:07:27 +01:00
Jōshin
07e50da237
conn: use %bail instead of %fail 2022-03-19 08:26:41 -06:00
Jōshin
1210832d1b
conn: refcounts 2022-03-19 08:13:19 -06:00
fang
3a4993f58c
aqua: cache results of booting ships from pill
This gives us much higher cycle times when retrying tests over and over,
since we can just fast-forward past the boot sequence, which never
changes unless we change the pill.
2022-03-19 00:24:23 +01:00
Jōshin
9a656e0dae
vere: drivers in driver link-order 2022-03-18 16:51:29 -06:00
Jōshin
50de7b45b0
Merge branch 'next/vere' into jo/khan-c3 2022-03-18 16:50:16 -06:00
Jōshin
beb3ee8ec0
Merge branch 'master' into next/vere 2022-03-18 16:49:12 -06:00
drbeefsupreme
c304f62b34
naive: l2 csv all relevant data in one map
puts timestamps, gas costs, and rolls+their effects into one map
2022-03-17 17:16:09 -04:00
drbeefsupreme
5171ec367a
naive: l2 csv get naive effects
passing the event log to naive.hoon and harvesting the diffs
2022-03-17 14:13:54 -04:00
drbeefsupreme
bce1c9fe2a
squash! squash! naive: l2 csv - names for address, hash, blocknum 2022-03-17 12:51:54 -04:00
drbeefsupreme
01900b10d5
squash! naive: l2 csv - names for address, hash, blocknum 2022-03-17 12:25:30 -04:00
drbeefsupreme
8f1c9bbe66
naive: l2 csv - names for address, hash, blocknum
no semantic difference, just making the code more readable
2022-03-17 12:23:00 -04:00
fang
befc22c3a9
pill: use %pill mark, not %boot-pill
%pill already exists, whereas %boot-pill doesn't, so clearly the former
is more correct.
2022-03-17 17:03:10 +01:00
fang
ba511525c7
ph: remove deprecated migration testing threads 2022-03-17 17:01:55 +01:00
drbeefsupreme
906d0ce012
Merge branch 'master' into jon/l2-csv 2022-03-17 11:33:50 -04:00
Hunter Miller
4fb718bd78 groups: update version and glob 2022-03-16 16:42:00 -05:00
fang
250e750a89
spider: factor spider-arg type out into interface
And fix a callsite that wasn't conforming.
2022-03-16 21:10:31 +01:00
Hunter Miller
3b300bc6dd grid: updating glob and version 2022-03-16 14:35:52 -05:00
drbeefsupreme
903394f00f
naive: l2 csv add roller address to collated data 2022-03-15 20:19:33 -04:00
drbeefsupreme
758138d397
naive: l2 csv first data collation
collects block number, gas prices, and timestamps into one structure.
not finished.
2022-03-15 20:05:25 -04:00
drbeefsupreme
674e872d47
naive: L2 csv swap lists to maps
was using lists in a few places where maps would be more appropriate.
should probably actually be ordered maps but this is wip
2022-03-15 19:11:54 -04:00
drbeefsupreme
d09fb0e9c4
naive: L2 tx csv gas price request
logic for requesting gas price by transaction hash implemented
2022-03-15 18:09:07 -04:00
fang
cf3770586d
Merge pull request #5635 from rabsef-bicrym/patch-2
Update /lib/ring/hoon for %jael scries.
2022-03-15 22:36:02 +01:00
drbeefsupreme
4a6a1e9a71
naive: L2 csv transaction receipts
gets transaction receipts for a list of hashes, does not parse them yet
2022-03-15 17:34:00 -04:00
Liam Fitzgerald
d42c04f1e5
Merge pull request #5631 from urbit/lf/notify-strip
notify: disable notifications dismissal
2022-03-15 15:24:36 -06:00
drbeefsupreme
417dc513e0
squash! naive: L2 csv thread refactor filters 2022-03-15 15:11:32 -04:00
drbeefsupreme
28aa3c0e56
naive: L2 csv thread refactor filters
just some cleaning, no semantic difference
2022-03-15 15:09:46 -04:00
drbeefsupreme
4e76c7487e
naive: l2 csv thread initial commit: timestamps
scries %azimuth for logs.state, filters the L2 events, and then gets
their timestamps. ought to use ted/eth/get-timestamps but doesn't due to
issues with spawning child threads, but there's probably a way to do it
without child threads
2022-03-15 14:40:41 -04:00
Hunter Miller
eb9c9688ed apps/docket: move all status to hook and make more reliable 2022-03-15 11:42:03 -05:00
Liam Fitzgerald
92e52c9f7e ames: fix path handling in %bide 2022-03-15 10:40:34 -06:00
Hunter Miller
c22bac9273
Merge pull request #5563 from urbit/hm/landscape-perf-optimization
groups: perf optimization
2022-03-15 11:26:19 -05:00
Hunter Miller
b98258e6e7 npm-api: making iswriter more defensive 2022-03-15 10:50:58 -05:00
Hunter Miller
466e4522e7 interface: removing react-refresh from babel config 2022-03-15 10:35:03 -05:00
Hunter Miller
0d290223b7 interface: fixing babel config 2022-03-15 10:23:49 -05:00
Hunter Miller
143c41540c interface: fixing type issues and ci 2022-03-15 10:17:30 -05:00
Hunter Miller
070f0ce278 Merge branch 'next/landscape' 2022-03-14 16:10:46 -05:00
Liam Fitzgerald
0587e0e836 ames: add %pine task
%pine automatically scries for the latest case of a path
2022-03-14 15:04:14 -06:00
Hunter Miller
a35f70ac59 Merge branch 'next/groups' 2022-03-14 15:56:49 -05:00
Patrick O'Sullivan
74149bc16f groups: do not notify user if mentioned in DM 2022-03-14 15:04:36 -05:00
Hunter Miller
a6d7ddd164 Merge branch 'next/groups' into hm/landscape-perf-optimization 2022-03-11 15:45:00 -06:00
rabsef-bicrym
986d273b5f
Update /lib/ring/hoon for %jael scries.
Also I took the liberty of making `build-signing-participants` use a `%lyfe` scry and remove unknowns from the set rather than crashing. This is a choice - happy to change it back the other way.
2022-03-11 11:10:47 -08:00
Yaseen
f487afd4ee story: marginal output formatting improvement to +story-list 2022-03-11 12:28:07 -05:00
Yaseen
341e27b5c3 story: enforce 80 cols, fix formatting, update comments 2022-03-11 12:08:40 -05:00
Liam Fitzgerald
49e53290a1 Merge remote-tracking branch 'origin/yu/dangling-bone' into lf/content-dist-rc 2022-03-11 11:07:51 -06:00
Yaseen
b43b9f195e story: add file mar/story-diff.hoon, extract diff type to sur file 2022-03-11 11:21:55 -05:00
Yaseen
18537e0ae0 story: allow |story-write to also accept a lone title 2022-03-11 11:00:57 -05:00
Yaseen
add4452589 review: symlink base-dev files into arvo 2022-03-11 10:56:23 -05:00
Yaseen
a43dafdf44 review: align end comments 2022-03-11 10:48:35 -05:00
yosoyubik
5ecf87cf52 ames: fix cached state in larval upgrade 2022-03-11 10:22:50 +01:00
yosoyubik
ab116653e8 wip fix dangling bone 2022-03-11 10:21:12 +01:00
Patrick O'Sullivan
8926179f75 groups: trim ship string on preSig 2022-03-10 12:23:42 -06:00
Patrick O'Sullivan
0f85623f25 groups: Use presig on group join links 2022-03-10 12:20:12 -06:00
Patrick O'Sullivan
97aee0f422 groups: Add preSig func to utils 2022-03-10 12:19:32 -06:00
Patrick O'Sullivan
9026712d5c Replace fill with class fill-current 2022-03-08 15:48:19 -06:00
Patrick O'Sullivan
38a4323911
Update pkg/grid/src/components/Checkbox.tsx
Co-authored-by: Hunter Miller <hunter@tlon.io>
2022-03-08 15:28:35 -06:00
Hunter Miller
53ae8f0886 tile-grid: filtering out system tile 2022-03-08 15:27:28 -06:00
Liam Fitzgerald
e621744169 zuse: add +balk core for remote scry path format
+balk defines a datastructure for a parsed remote scry path format in
addition to conversion gates to and from paths.

The new scry path format is /~ship/rift/life/vane/care/spur. Note that
desk no longer appears in the scry path format and should instead be
encoded as the first item of the spur.
2022-03-08 15:11:25 -06:00
Patrick O'Sullivan
aa5946aa70 groups/grid: Move security from groups to grid 2022-03-08 13:26:43 -06:00
Liam Fitzgerald
eeaa6d3c66 notify: disable notifications dismissal
Disables automatic dismissal of push notifications in an attempt to
tighten the debugging space. This should prevent unintentional 404s. To
prevent a space leak we clear notifications once a week on a timer.
2022-03-08 13:14:38 -06:00
ryjm
20fdae85a4 fix typo and beak 2022-03-08 10:13:04 -05:00
Liam Fitzgerald
f042366a7d
Merge pull request #5622 from urbit/po/markdown-styling-around-ship-name
groups: Fix markdown styling around ship names in chat messages
2022-03-07 13:16:09 -06:00
Jōshin
81f4254893
vere: guarantee unique concatenated names 2022-03-06 16:45:55 -05:00
Jōshin
a480b2a91f
vere: lord info 2022-03-06 16:33:53 -05:00
ryjm
dc03d866f8 arvo: language-server desk support 2022-03-06 15:45:47 -05:00
Jōshin
3400e55b2d
vere: disk info
Fixes an apparent infinite loop in u3_disk_slog if red_u is not 0.
2022-03-06 15:31:03 -05:00
Jōshin
382f06efe9
vere: info measurements as $mass 2022-03-06 12:33:30 -06:00
Jake Miller
ed2da5d54f
Merge pull request #5605 from urbit/jm/archive-scry
graph-store: fix scrying into archive
2022-03-06 05:45:57 -05:00
Hunter Miller
531140ab24 tiles: adding drag and drop ordering 2022-03-04 18:50:54 -06:00
Patrick O'Sullivan
26d2d07d31 npm-api: add emphasis property to MentionContent type 2022-03-04 13:03:13 -06:00
Patrick O'Sullivan
4bc543a6ec groups: handle italic or bold markdown around @p's in messages 2022-03-04 12:46:16 -06:00
Hunter Miller
137e3970b9 Merge branch 'master' into next/landscape 2022-03-04 10:51:44 -06:00
Jōshin
df25781c37
conn: update header comment 2022-03-03 16:26:09 -06:00
Patrick O'Sullivan
d715c7d7cb landscape: Prevent adding duplicate ships to ShipSearch pills 2022-03-03 05:20:59 -06:00
Jōshin
1e77271afc
Merge pull request #5616 from urbit/jo/sort-motes
vere: sort motes
2022-03-02 19:52:35 -08:00
Jōshin
b598eb2815
vere: prune wrong motes
verified using vim regex search (and corresponding regexes for the 3, 2,
and 1 letter motes):

    /c3__\(.\)\(.\)\(.\)\(.\) *c3_s4\(('\1','\2','\3','\4')\)\@!
2022-03-02 21:19:52 -06:00
Jōshin
039bc7a975
vere: remove unused and wrong mote 2022-03-02 21:09:34 -06:00
Jōshin
06fe78ef6e
Merge branch 'next/arvo' into jo/khan 2022-03-02 20:28:44 -06:00
Jōshin
0d3b6d3d2a
Merge branch 'master' into next/arvo 2022-03-02 20:28:09 -06:00
Jōshin
0139550c79
khan: saner tic rollover, remove our 2022-03-02 20:15:44 -06:00
Hunter Miller
6c221fbddc interface: updating glob to trigger properly uploaded glob 2022-03-02 18:32:45 -06:00
Jōshin
e54e92cfa9
khan: docs 2022-03-02 18:02:20 -06:00
Jōshin
9d50957861
arvo: remove $crag, promote $page 2022-03-02 17:59:56 -06:00
Jōshin
8afea3c2ba
arvo: $card is not a cask 2022-03-02 17:38:45 -06:00
Jōshin
d06d8044fd
test: confirm different tids on same eny 2022-03-02 17:30:56 -06:00
Jōshin
0b507cf498
khan: don't reset tic
instead make it a rolling 128-bit integer. 128 bits is the same size as
the +sham space, so is one natural choice for "big enough to never have
to think about this." 64, 32, 16, even 8 bits would probably be fine.
2022-03-02 17:28:10 -06:00
Jōshin
18274090b2
khan: handle multiple %fards in one event 2022-03-02 16:37:46 -06:00
Jōshin
5d7321385f
khan: separate arms by blank comments 2022-03-02 15:09:01 -06:00
Jōshin
1ef958ea25
khan: use +en-beam / +de-beam, wide form 2022-03-02 15:07:38 -06:00
Jōshin
02d796cddb
arvo: remove redundant * 2022-03-02 15:07:10 -06:00
Jōshin
e4b6fe6ad3
test: 1162 2022-03-02 13:25:10 -06:00
Jōshin
91d390d529
khan: update docs 2022-03-02 13:23:06 -06:00
Jōshin
340f4d5b6c
khan: %fard/%arow use $cage, not $vase
Threads should eventually take and produce $cage instead of $vase. Since
%khan is likely to be used by third parties, we write to the eventual
intended API. We ignore the mark on the input $cage (it is safe to
always specify %noun), and we always use %noun as the output mark.

%fyrd now makes more sense. It was previously discarding the type of the
output %arow and re-encoding the raw noun as a vase of the output mark;
it is now performing mark conversion from the mark of the output $cage
to the originally requested output mark.
2022-03-02 13:07:52 -06:00
Jōshin
6ed6fdfc6e
Merge pull request #5575 from urbit/jo/unix-sane
vere/unix: sane(r) path handling
2022-03-02 10:00:05 -08:00
Yaseen
a57cb822a3
Merge branch 'urbit:master' into story 2022-03-02 12:03:44 -05:00
Jōshin
f5fb214939
khan: initial state version is %0 2022-03-01 23:38:55 -06:00
Jōshin
6ce6e4f504
khan: structural slap, not general slam 2022-03-01 19:34:56 -06:00
Jōshin
2e9b4f5a94
khan: better wire production
runs afoul of a likely hoon bug and/or use case for dependent hoon.
2022-03-01 19:33:54 -06:00
Jōshin
f1da3f12d2
vere: sort motes
just piped the whole body through !sort in vim.
2022-03-01 17:43:44 -06:00
Jōshin
7d9ac764a7
conn: document /info type 2022-03-01 17:40:53 -06:00
Jōshin
33fb7ff86a
vere: u3_pier_info (and use in conn) 2022-03-01 17:35:21 -06:00
Joe Bryan
75b64f5b3e
Merge pull request #5515 from DaneBettis/dane.bettis/stacktrace-hints
Dane.bettis/stacktrace hints
2022-03-01 17:59:40 -05:00
Joe Bryan
d3804c01c0 Merge branch 'master' into next/vere
* master: (33 commits)
  groups: updating glob and version
  interface: use single sig in NotificationText
  interface: fix subscription reconnect issues
  landscape: fixing bad glob
  landscape: updating glob and version
  interface: adds `theme-color` meta tag, removes outdated safari web app meta tag
  zuse: add missing assertions
  landscape: cache marks again
  zuse: comment clarifying sk bounds check
  bounds-check against sk=1
  zuse: style cleanup, use +rep/+end
  pill: solid, brass
  interface: refine joining error cases
  group-view: fix errored rollback
  helm: cleanup +poke-rekey to match #5522
  helm: fix |rekey to work with multikey files
  test: schnorr bounds checking
  zuse: boundary assertions for schnorr
  zuse: schnorr test cases
  zuse: schnorr address
  ...
2022-03-01 17:58:48 -05:00
Jōshin
5825cbde71
test: move _test_lily into noun_tests 2022-03-01 16:23:23 -06:00
DaneBettis
ad2e6975af changes in response to code review 2022-03-01 21:27:33 +00:00
DaneBettis
7fa53169f2 vere: add hela and nara hints 2022-03-01 21:24:11 +00:00
DaneBettis
ee46c6a0dd vere: add %nara %hela hints, add a hoon test module for hints
nara: swedish for near, provides a trace from the start of the nearest virtualization
      to the statement wrapped by the nara hint.

hela: swedish for whole, provides a trace from the start of the event
      to the statement wrapped by the hela hint.

The eventual goal is to present these traces in a way that is most salient & useful to developers
and in a way that is aesthetically pleasing as the bout hint is useful and nice looking.

For this pull request the goal is to provide the actual functionality in code that we can feel
safe and comfortable adding to the master branch. To this end, I've added a trivial set of tests for
nara and hela in pkg/arvo/tests/run/hints.hoon - they only prove that invoking these hints will not
crash the runtime, but I'm open to ideas for how I can test these hints further.
2022-03-01 21:24:11 +00:00
DaneBettis
0917f694c9 vere: add %near and %hela tracing hints 2022-03-01 21:24:11 +00:00
Joe Bryan
9dc5d7b178 jets: plug leak in (slaw %p ...) 2022-03-01 11:14:06 -05:00
tomholford
3bbfd20022 Merge branch 'master' into next/landscape 2022-02-28 15:39:17 -06:00
Hunter Miller
c4bc9b3428 groups: updating glob and version 2022-02-28 11:32:05 -06:00
Yaseen
591c19b9a9 story: rename generators 2022-02-25 18:27:54 -05:00
Yaseen
70afcbd642 clay: fix bug in fuse
Co-authored-by: Philip Monk <phil@pcmonk.me>
2022-02-25 16:34:44 -05:00
Yaseen
c1a8d527fa story: fix output formatting in +story-log 2022-02-25 16:28:17 -05:00
tomholford
5959b73ecb interface: use single sig in NotificationText
The `ProfileOverlay` component expects a `ship` arg as a patp without the sig. This deSigs the ship value used in `NotificationText`.

This closes urbit/landscape#1376
2022-02-25 15:24:14 -06:00
Liam Fitzgerald
cbb17a2135 interface: fix subscription reconnect issues
Restores subscription reconnect issues by correctly throwing a
FatalError so that subscriptions are correctly restarted
2022-02-25 13:25:18 -06:00
Jōshin
a9442040be
khan: alignment 2022-02-25 11:16:47 -08:00
Jōshin
224a363780
test: fix failure introduced by random tids 2022-02-25 11:08:09 -08:00
tomholford
4c25bcd586 devex: peg interface node version
See: https://nodejs.org/en/about/releases/
2022-02-24 16:32:39 -06:00
Liam Fitzgerald
b4da246f01 strandio: add +keen gate 2022-02-24 12:03:07 -06:00
Liam Fitzgerald
801ef4b89e ames: do not crash on invalid path 2022-02-24 12:02:21 -06:00
Hunter Miller
ce75499ae5 Merge branch 'next/groups' 2022-02-24 10:44:08 -06:00
tomholford
47338cffc6 Merge branch 'master' into next/groups 2022-02-23 17:14:34 -06:00
fang
027d80b90c
Merge branch 'lf/content-dist-rc' into m/scry-vane 2022-02-23 16:18:17 -06:00
Liam Fitzgerald
f1c24c07dd ames: refactor to remove unused state 2022-02-23 16:00:56 -06:00
Liam Fitzgerald
c16aaae201 ames: correct behaviour for %yawn 2022-02-23 16:00:56 -06:00
Liam Fitzgerald
479e060e32 ames: add +load for remote scry 2022-02-23 16:00:56 -06:00
Liam Fitzgerald
5baa1b8318 ames: add fast retransmit 2022-02-23 16:00:55 -06:00
Liam Fitzgerald
4be4e9a7a0 ames: fix keen ducts 2022-02-23 16:00:55 -06:00
fang
aaa759268e clay: clean up REVIEW comments 2022-02-23 16:00:55 -06:00
fang
cdff1d91fa clay: scry files at aeons, not timestamps
Turns out we can simply find the corresponding aeon in the nako.
2022-02-23 16:00:55 -06:00
fang
2adc52e03a clay: retry with ames on empty scry response 2022-02-23 16:00:55 -06:00
Liam Fitzgerald
5f5092168f ames: fix sig + data catenation 2022-02-23 16:00:55 -06:00
Liam Fitzgerald
22f3e49823 ames: add |yawn, fix duct wrangling 2022-02-23 16:00:31 -06:00
fang
6b85022a61
clay: properly cancel scry timers and/or requests
Use the correct wires when cancelling the scry request and/or its
timers.

Note that we may produce more %rests and %yawns than strictly necessary,
but these no-op cleanly in those cases.
2022-02-23 15:41:19 -06:00
fang
d8dca44bd2
clay: refactor request wire construction 2022-02-23 15:40:16 -06:00
Hunter Miller
2da5e9c5ca landscape: fixing bad glob 2022-02-23 13:30:56 -06:00
Hunter Miller
b4adaf2fee landscape: updating glob and version 2022-02-23 10:45:32 -06:00
Joe Bryan
ff3bb495d8 hoon: updates %mcgl with an hygienic expansion 2022-02-22 20:39:30 -05:00
Yaseen
33aa0c8fa7 story: generators: fix case check 2022-02-22 18:33:38 -05:00
Yaseen
5f421d577a story: fix scry path in |story-set 2022-02-22 18:11:55 -05:00
ryjm
7ce7d2622d graph-store: fix scrying into archive 2022-02-22 08:07:40 -05:00
Jōshin
af1f2da161
vere: resolve /vars type
the full type output by vars is now:

    (list [cord (list [cord (list [cord @])])])

it's a mouthful, but a consistent mouthful. the first layer of the list
is the IO driver name, nam_m. the second layer is the instance name,
either %all or some driver-relevant identifier (e.g. http instance.) the
third layer is the list of labels and values.
2022-02-21 23:07:32 -08:00
Yaseen
38a2e9d74a story: generators: add desk existence everywhere 2022-02-21 22:13:15 -05:00
Yaseen
4eb7e623cd story: generators: fix case scry 2022-02-21 22:10:22 -05:00
Jōshin
dfd744d08a
conn: basic http server info
This actually raises difficult questions about the schema for the /vars
peel. One level of nesting makes sense to aggregate per IO driver, but
multiple levels is confusing.

The current output is extremely unprincipled: you just have to know that
there are multiple http servers and handle the output accordingly.

Options would be:

1. collapse the ambiguity to the top level, i.e. 'http-0i8080',
   'http-global', etc.
2. collapse the ambiguity to the inner level, i.e. '0i8080-connections'.
3. create a proper recursive data type that e.g. uses an $each.
3b. send some kind of schema.
5. recognize that we have entered a terrifying hall of mirrors and back
   out the entire approach of nested metrics in favor of just a bigass
   flat list of labels with values like borgmon does.
2022-02-20 00:15:37 -08:00
Jōshin
d771a4b9ef
khan: randomize tids
tid was accidentally getting set to the name of the output mark. As we
don't currently support cancelling threads, there is no reason to
maintain the originally-intended correspondence between tid and conn
request-id.

Take the opportunity to clean up indentation somewhat.
2022-02-19 02:18:49 -08:00
Jōshin
5a5518f7f0
conn: indentation 2022-02-19 00:27:59 -08:00
Jōshin
fedd2710ee
ames: comment 2022-02-19 00:02:05 -08:00
Jōshin
dc9f645e72
conn: typo 2022-02-18 23:48:07 -08:00
Jōshin
b6d101d651
conn: read http / https ports from pier
also read peels against the pier that this conn is associated with.
2022-02-18 23:44:53 -08:00
Jōshin
86eb32d933
vere: implement noun-style info in conn %vars 2022-02-18 23:28:12 -08:00
Jōshin
c291add2b3
vere: s/info/slog/ 2022-02-18 22:50:25 -08:00
Jōshin
7f53686e39
Revert "conn: provides ames metrics"
This reverts commit 80d4400d53.
2022-02-18 22:46:02 -08:00
Jōshin
a3edf17895
conn: alignment 2022-02-18 22:39:44 -08:00
Yaseen
a149dc6c40 story: generators: add check for invalid case 2022-02-18 22:30:24 -05:00
Yaseen
c02f59818e story: fix generator bugs 2022-02-18 18:51:37 -05:00
Yaseen
05784fcee3 story: check for storyfile existence and use case from beak where appl. 2022-02-18 18:20:17 -05:00
Yaseen
4b04da5a9a story: make |story-{set,remove} use $cash instead of $case 2022-02-18 17:49:17 -05:00
Yaseen
b616f48169 story: add $cash 2022-02-18 17:46:04 -05:00
Yaseen
3d006d60ad clay: add scry for case existence check 2022-02-18 17:43:38 -05:00
Yaseen
9d85401832 story: add generator help text 2022-02-18 17:40:55 -05:00
Jōshin
2cbe30395e
newt: use 0x0 instead of 0x9 2022-02-18 12:36:31 -08:00
Jōshin
fde6c95b34
conn: don't send %work 2022-02-18 12:16:12 -08:00
Jōshin
c89bb66949
conn: peel is (unit), not (unit (unit)) 2022-02-18 12:06:05 -08:00
Jōshin
31d195a264
conn: hopefully clarify bail termination 2022-02-18 11:55:46 -08:00
Jōshin
22b2dd4373
conn: remove args from help list 2022-02-18 11:35:52 -08:00
Jōshin
fae633a32f
vere: per-block indentation 2022-02-18 11:32:51 -08:00
Jōshin
23d94f1828
conn: fix break style 2022-02-18 11:29:56 -08:00
Jōshin
c1a739b2d3
vere: ivory.h u3 header convention 2022-02-18 11:10:59 -08:00
Jōshin
286f77e301
Revert "conn: produce command line arguments"
This reverts commit c2bc47a399.
2022-02-18 11:09:38 -08:00
fang
2969b1aae1
clay: clean up REVIEW comments 2022-02-17 21:17:45 +01:00
fang
02dec3ef5b
clay: scry files at aeons, not timestamps
Turns out we can simply find the corresponding aeon in the nako.
2022-02-17 21:14:52 +01:00
fang
98c6c77ebb
Merge branch 'next/arvo' 2022-02-17 20:32:26 +01:00
fang
b91e3f425e
clay: retry with ames on empty scry response 2022-02-17 20:10:38 +01:00
Liam Fitzgerald
ecb2de63b0 Merge remote-tracking branch 'origin/m/scry-vane' into lf/content-dist-rc 2022-02-17 12:46:09 -06:00
fang
7c0f05f8c3
clay: hook up /back-index %wake
And make sure we handle the timer error case safely.
2022-02-17 16:08:48 +01:00
fang
d6b5633c99
clay: allow for lobe-only need
This can occur after upgrade, or when receiving a %delta blob. We do not
know the path or commit timestamp of a file that resolves to the blob,
so we simply fall back to old ames-style blob-by-lobe fetching.
2022-02-17 16:02:57 +01:00
fang
3473033492
clay: scry when doing file requests outside %sing
In +work, we simply want to fetch file data, regardless of what the
overarching request is. (In fact, %sing would likely never hit this path
anyway.)

In order to be able to make the scry request, we track the timestamp of
the commit that contains a blob we're missing, and scry for that %da
revision.

There's two edge cases where we cannot immediately know the timestamp
that are currently assumed broken. Fix soon.
2022-02-17 15:44:16 +01:00
fang
dd4a115e51
clay: avoid %v scries, cancel scry timer correctly
%v requests are already handled specially for the ames case. We should
continue to respect that, only doing those kinds of requests over ames.

Also cancels the scry timer after receiving a response, instead of not
doing that.
2022-02-17 15:40:44 +01:00
Liam Fitzgerald
6bd6029f57 ames: use finger trees for packet storage 2022-02-16 15:35:59 -06:00
Jōshin
470ae80d4b
khan: cleanup 2022-02-15 22:32:52 -08:00
Jōshin
0e185b66ed
test: fix 2022-02-15 22:32:43 -08:00
Liam Fitzgerald
6688b9e6ad deq: add finger tree datastructure 2022-02-15 16:56:29 -06:00
Hunter Miller
2959549594
Merge pull request #5600 from urbit/mackenzie/theme-color
interface: adds `theme-color` meta tag, removes outdated safari web app meta tag
2022-02-15 16:32:10 -06:00
fang
fb4b3c7196
clay: update straggler state version number 2022-02-15 22:35:53 +01:00