Commit Graph

3874 Commits

Author SHA1 Message Date
benjamin-tlon
93dbe1df26
Remove trailing whitespace and enforce in CI. (#1212) 2019-02-25 13:35:12 -08: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
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
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