Commit Graph

3881 Commits

Author SHA1 Message Date
Joe Bryan
731aa5a127 fixes typo in protocol structures 2019-02-12 13:38:51 -05: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
benjamin-tlon
cbae723c40
Minor updates to comments around snapshot logic (#1194) 2019-02-11 09:03:29 -08: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
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
ixv
54ec1258c0
Merge pull request #1186 from urbit/raft-snprintf-fix
stop snprintfing from a string into itself
2019-02-05 19:15:57 -08:00
Isaac Visintainer
ac0cae8250 stop snprintfing from a string into itself 2019-02-05 18:58:47 -08:00
ixv
0ea480cad4
Merge pull request #1185 from urbit/hotfix
Hotfix
2019-02-05 17:45:06 -08:00
Isaac Visintainer
8fa1367802 pin arvo version number 2019-02-05 17:29:03 -08:00
Isaac Visintainer
315634d99b bumped urbit version number 2019-02-05 16:43:30 -08:00
Joe Bryan
a618211594
Merge pull request #1183 from urbit/simpler-checkpoint
simplifies loom init/restore, checkpoints during replay
2019-02-04 19:16:46 -05:00
ixv
9b080bb556
Merge pull request #1182 from urbit/trace-playback
tracing bugfixes
2019-02-04 15:38:37 -08:00
Joe Bryan
b51385237d saves a checkpoint during replay, every 100K events or on failure 2019-02-04 18:37:40 -05:00
Joe Bryan
47c7339db2 simplifies loom init and checkpoint restore 2019-02-04 18:23:01 -05:00
Isaac Visintainer
367b7ead62 - Adds tracing during playback
- stop snprintf-ing from one string into another, which is undefined
behavior
2019-02-04 14:37:25 -08:00
ixv
4146ce3400
Merge pull request #1180 from urbit/reclaim-often
reclaim memory every 1k events in live operation or replay
2019-02-02 20:41:07 -08:00
Joe Bryan
4d4280651f reclaim memory every 1k events in live operation or replay 2019-02-02 23:26:47 -05:00
ixv
bedae23e77
Merge pull request #1178 from urbit/trace-mass-qol
QOL improvements for -j trace and |mass outputs
2019-02-01 18:40:25 -08:00