Commit Graph

4014 Commits

Author SHA1 Message Date
benjamin-tlon
29a2e6a79e
Added -P/--output-pill argument (#6) 2019-02-26 14:08:32 -08:00
benjamin-tlon
5bb2904f1b
In ripn jet, handle zero values correctly. (#1214) 2019-02-25 15:33:45 -08:00
benjamin-tlon
2811a7f70a
ripn jet (#1210) 2019-02-25 14:17:26 -08:00
benjamin-tlon
93dbe1df26
Remove trailing whitespace and enforce in CI. (#1212) 2019-02-25 13:35:12 -08:00
Joe Bryan
7c2eb5f66f tweaks boot sequence comments 2019-02-12 22:18:53 -05:00
Joe Bryan
eaea384486 ensure that we always add the filesystem when we use -A 2019-02-12 21:25:58 -05:00
Benjamin Summers
5062abe789 Collapse long lines. 2019-02-12 11:07:19 -08:00
Joe Bryan
731aa5a127 fixes typo in protocol structures 2019-02-12 13:38:51 -05:00
Joe Bryan
ae34b923a1
Merge pull request #1193 from urbit/ccr-king-gc
cc-release: enables gc and implements |mass in the i/o process
2019-02-12 13:18:10 -05:00
benjamin-tlon
67359564eb
Nix Setup and Docs (#5) 2019-02-12 09:53:52 -08:00
Joe Bryan
b20d9f43f5 always disable networking for fake ships 2019-02-12 12:51:51 -05:00
Joe Bryan
02d3c3549c saves boot metadata in "event 0", restores on full replay 2019-02-12 12:51:51 -05:00
Joe Bryan
4858904972 adds initial (lifecycle) boot barrier 2019-02-12 12:51:51 -05:00
Joe Bryan
84a1714242 [CI] re-enables building from a pinned arvo commit 2019-02-12 12:51:51 -05:00
Joe Bryan
add82f939a adds comment explaining that +ivory boot is not supported 2019-02-12 12:51:51 -05:00
Joe Bryan
92b1fc46c6 enables replacing initial filesystem if -A is used 2019-02-12 12:51:51 -05:00
Joe Bryan
b41f65304f enables pill download from arvo commit hash 2019-02-12 12:51:51 -05:00
Joe Bryan
bf3dce1c01 enables pill download 2019-02-12 12:50:58 -05:00
Joe Bryan
cdc9f7880c updates boot sequence to first configure serf 2019-02-12 12:50:58 -05:00
Joe Bryan
35d18c2b83 revises pill definition 2019-02-12 12:49:40 -05:00
Joe Bryan
e0d9e19758 updates king pill specifier, refactors pier init and boot 2019-02-12 12:49:40 -05:00
Joe Bryan
35ce4caf1a space-rates the king/client protocol 2019-02-12 12:49:40 -05:00
Joe Bryan
c59e57edee
Merge pull request #1200 from urbit/ccr-format-cleanup
cc-release: fixes CLI argument parsing, uint64_t format strings
2019-02-12 12:46:27 -05:00
Joe Bryan
0e15296aba fixes bug in CLI parsing, incorrect conditional in optional -c 2019-02-12 11:01:02 -05:00
Joe Bryan
4acef975ca removes accidental early return in CLI argument parsing 2019-02-12 11:00:53 -05:00
Joe Bryan
2ee876de9a uses cross-platform c3_d format specifiers 2019-02-12 11:00:43 -05:00
benjamin-tlon
8cde48eafa
Shutdown on SIGTERM using u3_pier_exit() (#1198) 2019-02-11 19:18:21 -08:00
benjamin-tlon
c832f38fc8
Replaced whereami with just (argv[0] ++ "-worker") (#1195) 2019-02-11 14:03:08 -08:00
benjamin-tlon
29b9aea425
In daemon mode, fork into a background process. (#1190)
In daemon mode, fork into a background process, but don't exit from the parent process until the child finishes booting. If the child crashes during boot, exit with an error code.

The motivation for this change is to be able to be able to start a ship with `urb.py` and immediately be able to start interacting with it.
2019-02-11 13:12:23 -08:00
Joe Bryan
c79bd78e5f updates u3_pier_mark comment per review 2019-02-11 16:02:57 -05:00
benjamin-tlon
cbae723c40
Minor updates to comments around snapshot logic (#1194) 2019-02-11 09:03:29 -08:00
Joe Bryan
b04c5f11dd allocates king command sockets connections (boothack) on the c heap 2019-02-10 20:53:29 -05:00
Joe Bryan
83f6402012
Merge pull request #1191 from urbit/ccr-mem-snap
cc-release: reclaim memory regularly, automate checkpoints
2019-02-09 23:29:21 -05:00
Joe Bryan
8085bf5fe6 space-rates the lord/serf protocol 2019-02-09 21:03:47 -05:00
Joe Bryan
9f0945bae7 adds (failing) |mass gc to the king process 2019-02-08 23:44:36 -05:00
Joe Bryan
ee0b97809f enables gc in the king process 2019-02-07 23:24:14 -05:00
Joe Bryan
79d113a98d enables checkpoint autosave 2019-02-07 22:08:57 -05:00
Joe Bryan
832b3641a5 reclaims memory on kernel resets, and every 1k events 2019-02-07 21:54:31 -05:00
Joe Bryan
e83f883db6
Merge pull request #1188 from urbit/ccr-mass
implements |mass on cc-release, fixes leaks
2019-02-07 14:03:13 -05:00
Joe Bryan
2e28e4e787 [CI] skip profiling in CI 2019-02-07 12:11:55 -05:00
Joe Bryan
127d3b40f0 adds libuv to libnoun dependencies (temporary, need to fix headers) 2019-02-07 12:06:32 -05:00
Joe Bryan
152f1294b7 [CI] enabled boot from +brass pill 2019-02-07 12:06:32 -05:00
Joe Bryan
36de703a70 disables GC in the king 2019-02-07 11:24:15 -05:00
Joe Bryan
04cf804273 makes |mass more efficient (by not sending it over the wire) 2019-02-07 02:46:55 -05:00
Joe Bryan
9074b3a707 refactors serf, fixing memory leaks 2019-02-07 02:07:22 -05:00
Joe Bryan
0ef4731940 adds (failing) |mass from raft 2019-02-07 02:07:22 -05:00
Joe Bryan
10955d7eb8 refactors _serf_poke_live() 2019-02-07 02:07:22 -05:00
Joe Bryan
8d0536da72 shutdown serf cleanly 2019-02-07 02:07:22 -05:00
Joe Bryan
6698ffd6ec fixes jet installation printf 2019-02-06 23:05:59 -05:00
Joe Bryan
54bc2c54a5 Merge branch 'master' into cc-release
* master: (50 commits)
  stop snprintfing from a string into itself
  pin arvo version number
  bumped urbit version number
  saves a checkpoint during replay, every 100K events or on failure
  simplifies loom init and checkpoint restore
  - Adds tracing during playback - stop snprintf-ing from one string into another, which is undefined behavior
  reclaim memory every 1k events in live operation or replay
  splits log files between arvo events
  name trace files by urbit date
  automatically split json trace outputs at 100000 line intervals
  stick |mass outputs in mass subdirectory of put
  adds comment about %funk hook in +ut
  adds sha-256 battery hashes to the jet dashboard, corrects axes
  [CI] disables deployment of tagged builds
  removes unused fprintf arg
  [CI] updates pinned arvo commit
  bumps urbit patch number to 0.7.1
  removes obsolete, commented-out gc implementation from loop.c
  moves all vere gc to _raft_grab(), run once after event
  Move _XOPEN_SOURCE #define to include/c/portable.h
  ...
2019-02-06 20:52:44 -05:00