Commit Graph

17032 Commits

Author SHA1 Message Date
benjamin-tlon
84ddf79264
Merge pull request #2163 from urbit/philip/king-replay
king: add partial-replay and --dry-from
2020-01-28 00:35:53 -08:00
Benjamin Summers
d411c914a4 Got Linux release builds working again. 2020-01-25 14:39:42 -08:00
Benjamin Summers
05e64cfdf0 Merge branch 'king-haskell' of https://github.com/urbit/urbit into philip/king-replay 2020-01-25 14:18:33 -08:00
Philip Monk
18a279aeaf
king: style improvements 2020-01-24 16:25:49 -08:00
Benjamin Summers
c40a02b044 king: Build without warnings. 2020-01-23 22:23:43 -08:00
Benjamin Summers
2df59aa4ff Fix king-haskell Linux release build. 2020-01-23 22:09:23 -08:00
Benjamin Summers
dd29419f41 Merge branch 'king-haskell' into philip/king-replay 2020-01-23 21:47:06 -08:00
Benjamin Summers
7383f05177 Update scripts to point to urbit-king. 2020-01-23 21:34:21 -08:00
Benjamin Summers
6977ae8d3f Renamed modules Ur.** to Urbit.** to be consistent with urbit-{atom,hob} 2020-01-23 21:28:38 -08:00
Benjamin Summers
6a450b93b9 king: Rename king package to urbit-king. 2020-01-23 21:20:43 -08:00
Benjamin Summers
fd4d7b9ba4 Merge branch 'king-haskell' of github.com:urbit/urbit into philip/king-replay 2020-01-23 18:57:22 -08:00
Benjamin Summers
27c0750796 Clean up Urbit.Atom and move it into it's own package. 2020-01-23 01:45:30 -08:00
Benjamin Summers
f1cd1bf750 Module structure, doc strings 2020-01-22 20:16:09 -08:00
Benjamin Summers
7721bae18f Bump stackage version. 2020-01-22 19:08:50 -08:00
Benjamin Summers
f0892436ff Got docs to build. 2020-01-22 18:58:22 -08:00
Philip Monk
8a8341a783
king: add partial-replay and --dry-from
partial-replay allows you to replay up to event N and make a checkpoint
there.  --dry-from replays to event N and then starts in dry-run mode
from that point, so you can attach a console.

The intended debug flow is to use partial-replay to make a checkpoint
near when a bug is triggered, then use event-browser and --dry-from to
drill down and find exactly what triggered the bug.

Unfortunately, if the bug was triggered by crash handling, you do not
have the original event, only the injected replacement event.  This is
still useful, though.
2020-01-10 14:19:08 -08:00
Benjamin Summers
06934959ca Make sure we close HTTP sockets on close (or reconfigure). 2019-12-21 18:24:54 -08:00
Benjamin Summers
2e8defccc1 Hack around terminfo database problem. 2019-12-21 07:55:24 -08:00
Benjamin Summers
5d66c39d02 Fixed bug in HTTP Server (only first block from stream was handled). 2019-12-20 13:47:20 -08:00
Benjamin Summers
5dd3cdde91 Logging for event sourced responses. 2019-12-20 12:59:01 -08:00
Benjamin Summers
ba83024c9e Cleanup port binding logic. 2019-12-20 12:58:16 -08:00
Benjamin Summers
f7e0e22ce7 Allow remote HTTP connections. 2019-12-19 14:20:04 -08:00
benjamin-tlon
913fbd52a6
Merge pull request #2122 from urbit/kh/http-server-fix
HTTP Server Fixes
2019-12-19 13:36:05 -08:00
Benjamin Summers
921718c6f4 Try to open normal ports 80/8080/443/etc before just opening some fucking port. 2019-12-19 13:20:31 -08:00
Benjamin Summers
03131c1400 Fix HTTP server effect parse errors. 2019-12-19 11:30:09 -08:00
benjamin-tlon
544fa42f65
Merge pull request #2121 from urbit/kh/better-progress-bar
Better Progress Bars
2019-12-19 10:22:56 -08:00
Benjamin Summers
44d477dff8 Hacked terminal-progress-bar to use RIO.logSticky for better interaction with log output. 2019-12-19 10:21:23 -08:00
Benjamin Summers
ef6d0cc189 Vendored terminal-progress-bar. 2019-12-19 09:40:21 -08:00
Benjamin Summers
5b931657c8 Merge branch 'master' of github.com:urbit/urbit into king-haskell 2019-12-19 08:14:49 -08:00
benjamin-tlon
fcae7e6587
Build Linux static executables. (#2120) 2019-12-19 08:11:59 -08:00
Benjamin Summers
4d3fc857ff Does this fix the OSX release builds? 2019-12-19 06:20:23 -08:00
Benjamin Summers
849410e1fe Update tests. 2019-12-19 06:13:20 -08:00
Benjamin Summers
ce193616b4 Hack: king new does not run a ship: some weird behavior there. 2019-12-19 06:06:30 -08:00
Benjamin Summers
e0bf6943c9 Make sure that terminal connections are closed properly on disconnects. 2019-12-19 05:16:52 -08:00
Benjamin Summers
8aa15e3b5c Use ping thread to keep websocket connection alive. 2019-12-19 04:43:40 -08:00
Jared Tobin
5591987eac
meta: update .mailmap [ci skip] 2019-12-19 08:49:40 -03:30
Benjamin Summers
3cc952824e king bug validate-event uses progress bar. 2019-12-19 04:02:06 -08:00
Benjamin Summers
18ad1d137c Enable NounServ logging, terminal logs to ~/.urbit/king.log 2019-12-19 03:32:56 -08:00
Benjamin Summers
152fb5c5f4 AGPL -> MIT 2019-12-19 03:08:19 -08:00
Benjamin Summers
72f21fad05 Fix stack ghci proto. 2019-12-19 03:02:19 -08:00
Benjamin Summers
92635d8788 Show instance for Galaxy uses @p formatting. 2019-12-19 02:18:12 -08:00
Benjamin Summers
e78743cf1c Merge branch 'king-haskell' of github.com:urbit/urbit into king-haskell 2019-12-19 01:43:06 -08:00
Benjamin Summers
8c6a1ed651 Fix flipped terminal height/width. 2019-12-19 01:43:01 -08:00
Benjamin Summers
f77840c81b re-enable king<->serf logs 2019-12-19 01:42:49 -08:00
benjamin-tlon
e6180b3004
Merge pull request #2111 from urbit/kh-version
Update version numbers to use the v0.10.1 pill.
2019-12-19 01:33:36 -08:00
Jared Tobin
9b0582323c
Merge branch 'philip/eth-watcher' (#2113)
* philip/eth-watcher:
  ph: fix tests by spamming blocks regularly
  gaze: reflect changes to eth-watcher
  ames: better printfs
  jael: only advance lifes
  jael: stop ship-to-ship
  jael: add "eager" mode to avoid hitting nodes as much
  jael: properly store ship sources
  gen: add +azimuth-sources
  jael: re-enable ship-to-ship communication
  eth-watcher: actually stop pending thread when restarting

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-18 12:13:27 -03:30
Philip Monk
1a7658bd91
ph: fix tests by spamming blocks regularly 2019-12-18 11:53:36 -03:30
Philip Monk
de2d0f3014
gaze: reflect changes to eth-watcher 2019-12-18 11:38:56 -03:30
Philip Monk
0e876b3cd4
ames: better printfs 2019-12-18 11:31:17 -03:30
Philip Monk
3d30b3b73c
jael: only advance lifes
This matches the semantics of rifts and makes it more forgiving of
misordered updates.
2019-12-18 11:31:14 -03:30