Commit Graph

3867 Commits

Author SHA1 Message Date
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
Isaac Visintainer
ea6f2fd87b splits log files between arvo events 2019-02-01 17:00:22 -08:00
Isaac Visintainer
29d80e2887 name trace files by urbit date 2019-02-01 14:22:29 -08:00
Joe Bryan
67eb33cfba
Merge pull request #1177 from urbit/jet-hashes
adds sha-256 battery hashes to the jet dashboard, corrects axes
2019-02-01 15:16:06 -05:00
Isaac Visintainer
323c453404 automatically split json trace outputs at 100000 line intervals 2019-01-31 22:31:20 -08:00
Isaac Visintainer
634e9bf42d stick |mass outputs in mass subdirectory of put 2019-01-31 22:30:24 -08:00
Joe Bryan
4a23f5e2c1 adds comment about %funk hook in +ut 2019-01-31 15:18:09 -05:00
Joe Bryan
4acc8f192d adds sha-256 battery hashes to the jet dashboard, corrects axes 2019-01-31 03:34:03 -05:00
Joe Bryan
51d8b6889a
Merge pull request #1176 from urbit/hotfix
release hotfix
2019-01-30 20:30:30 -05:00
Joe Bryan
d5f607db0c [CI] disables deployment of tagged builds 2019-01-30 20:14:32 -05:00
ixv
999a11f85f
Merge pull request #1175 from urbit/hotfix-prep
prepare hotfix branch for release
2019-01-30 17:04:04 -08:00
Joe Bryan
051f31b31e removes unused fprintf arg 2019-01-30 19:21:48 -05:00
Joe Bryan
75d18fefb3 [CI] updates pinned arvo commit 2019-01-30 19:20:27 -05:00
Joe Bryan
1f673bec59 bumps urbit patch number to 0.7.1 2019-01-30 19:18:59 -05:00
Joe Bryan
0d52d25bae
Merge pull request #1174 from urbit/gc-cleanup
cleans up vere GC call sites, runs once after event
2019-01-30 19:17:42 -05:00