Joe Bryan
3d61e63d7a
Merge pull request #1254 from urbit/bs/cachix
...
Use `cachix` in CI.
2019-04-26 17:06:40 -07:00
Joe Bryan
a378aac5ff
Merge pull request #1255 from urbit/ccr-cleanup
...
cc-release general cleanup
2019-04-26 14:53:12 -07:00
Joe Bryan
247a09e8cd
Merge pull request #1256 from urbit/ccr-vent-spin
...
cc-release: runs event state machine once per libuv turn
2019-04-26 14:52:32 -07:00
Joe Bryan
2c3bf6a9f2
corrects inaccurate u3m_reclaim comment in worker
2019-04-26 14:38:24 -07:00
Joe Bryan
e4db6edb24
restores perror() calls in terminal hijack/lojack to avoid possible reentrance
2019-04-26 14:36:38 -07:00
Joe Bryan
4f3f3897f8
moves _pier_apply into uv_idle_t, runs once per libuv turn
2019-04-26 14:24:01 -07:00
Joe Bryan
9196f7cc4a
removes obsolete members from persistent u3A struct
2019-04-26 13:59:37 -07:00
Joe Bryan
56750c5f59
updates worker to store interim lifecycle events in u3V
2019-04-26 13:57:11 -07:00
Joe Bryan
1f86128b69
restores external arvo time on event failure
2019-04-26 13:56:42 -07:00
Joe Bryan
be254c57ae
moves mug chaining enforcement entirely into the worker
2019-04-26 13:31:29 -07:00
Joe Bryan
b6b84b5369
updates the worker to track in-progress vs completed event numbers
2019-04-26 11:27:20 -07:00
Joe Bryan
45fff7f8da
restores kernel mug when restarting the worker (on %play)
2019-04-26 11:13:49 -07:00
Elliot Glaysher
51253dca5d
Build write request struct.
2019-04-26 11:08:10 -07:00
Joe Bryan
6b362c4008
tweaks event reference counting and fixes mis-fixed memory leak
2019-04-26 08:55:26 -07:00
Joe Bryan
3900d1a0c2
removes superfluous seeding of the openssl prng
2019-04-25 23:17:59 -07:00
Joe Bryan
edc142019e
replaces perror() with u3l_log()
2019-04-25 23:17:59 -07:00
Joe Bryan
3b9a19d2f9
adds lmdb to library version report
2019-04-25 23:17:59 -07:00
Joe Bryan
5d0f1e1465
Merge branch 'master' into ccr-cleanup
...
* master:
bump urbit version number
if sweep gives 0 and reference count != 0, leak
added urbit, curl and argon2 to version reporting (urbit -R)
[CI] bump pinned arvo commit
bump urbit version number to 0.7.3
Consistently use "boot:" printf prefix
Be more precise about the snapshot contents
Re-add printf to notify of snapshot download
2019-04-25 22:56:14 -07:00
Elliot Glaysher
e4d7aa8aa6
Merge pull request #1253 from urbit/cc-event-replay-check
...
Change event log items and verify mugs on replay
2019-04-25 19:52:28 -07:00
Benjamin Summers
dcfe8aa162
Don't spam result-* files.
2019-04-25 17:10:22 -07:00
Benjamin Summers
8af0f5fa77
Use cachix
in CI.
2019-04-25 17:05:16 -07:00
Joe Bryan
df59b1a489
Merge branch 'cc-release' into cc-event-replay-check
2019-04-25 17:04:39 -07:00
Joe Bryan
8fe2835e90
Merge pull request #1251 from BernardoDeLaPlaz/vere_build_warnings
...
remove all build warnings
2019-04-25 16:53:11 -07:00
benjamin-tlon
1c4732ca22
Run urbit tests on the debug build, with GC enabled. ( #1252 )
...
* Run tests with `urbit-debug` and enable GC while running tests.
* Build `urbit-debug` with `-O0`.
2019-04-25 16:45:39 -07:00
Elliot Glaysher
ce0c78d1ea
Cleanup
2019-04-25 16:35:29 -07:00
Elliot Glaysher
563214c2a2
Verify mugs on log replay to detect nondeterministic replay.
...
Joe helped write the worker/main.c changes so that we consistently
return the mug of the current state on each %done message. Then
enabled a check in _pier_work_complete() which asserts that the
recomputed event produces the same state as the next event was
expecting to be applied to.
2019-04-25 16:22:41 -07:00
BernardoDeLaPlaz
043333f767
-Werror turned on
2019-04-25 18:23:53 -04:00
BernardoDeLaPlaz
e9a2784982
Merge branch 'vere_build_warnings' of https://github.com/BernardoDeLaPlaz/urbit into vere_build_warnings
2019-04-25 18:07:06 -04:00
BernardoDeLaPlaz
c0403d2096
code review
2019-04-25 18:05:26 -04:00
Elliot Glaysher
a4ce72355d
Store [mug job] instead of the entire IPC message.
2019-04-25 14:57:26 -07:00
Benjamin Summers
4b6509e7a3
Hello-world haskell package.
2019-04-25 14:02:19 -07:00
Joe Bryan
70bc0cc5dd
Merge pull request #1245 from urbit/ccr-replay-reform
...
cc-release: finish event replacement
2019-04-25 13:58:35 -07:00
~rigdyn-sondur
8db9653168
Merge branch 'cc-release' into vere_build_warnings
2019-04-25 16:37:08 -04:00
Joe Bryan
ac59fb749c
updates arvo submodule and brass.pill to latest arvo next
2019-04-25 13:35:34 -07:00
BernardoDeLaPlaz
22fe68f67c
fix one new build warning
2019-04-25 16:24:55 -04:00
Joe Bryan
4258c3c8ba
Merge branch 'cc-release' into ccr-replay-reform
...
* cc-release: (26 commits)
Rmoves all calls to u3m_bail() in the database layer. Everything returns an error code.
Cleaner slog replay + fix spelling error
Misc cleanup blocking CC-Release. (#1249 )
Use Joe's suggested change to u3_pier_snap().
u3m_lmdb -> u3_lmdb
updates libnoun to ignore SIGINT upon completion of a soft
Cleanup
Don't print %slog on replay.
Finish cc-release cross-compilation. (#1202 )
removes clay mount auto-sync on restart
Cleanup and enable MDB_NOOVERWRITE.
Remove most u3_foil_* functions.
Read the latest event number out of lmdb.
Event log replay succeeds.
removes obsolete, commented-out signal handling in main.c
First version which appears to replay most of the event log. Still crashes at the end.
corrects typos in libnoun commented-out code
consolidates daemon signal handling
consistently aborts immediately on ctrl-z (SIGTSTP)
The entire log appears to be loaded from the database; still need to queue events, but exciting
...
2019-04-25 13:06:03 -07:00
Elliot Glaysher
0a0d7e0e57
Merge pull request #1248 from urbit/cc-lmdb-log-storage
...
Use lmdb for log storage instead of hand-rolled structure
2019-04-25 12:50:49 -07:00
~rigdyn-sondur
b7c7b7f6be
Merge branch 'cc-release' into vere_build_warnings
2019-04-25 14:46:11 -04:00
Elliot Glaysher
e0e9a09b58
Rmoves all calls to u3m_bail() in the database layer. Everything returns an error code.
2019-04-25 11:22:26 -07:00
BernardoDeLaPlaz
61bf83ff56
remove all build warnings
2019-04-25 14:01:21 -04:00
Elliot Glaysher
f8ca7b39dd
Cleaner slog replay + fix spelling error
2019-04-25 10:47:37 -07:00
Joe Bryan
d0269662c8
fixes memory leak in worker %save handler
2019-04-24 22:21:36 -07:00
Joe Bryan
cfb6202edb
tweaks replacement events: %crud contents, %warn structure
2019-04-24 22:21:09 -07:00
benjamin-tlon
3c3f7e761e
Misc cleanup blocking CC-Release. ( #1249 )
...
* Move extraneous stuff out of pkg/urbit/*
* s/urb/herb/g
* Removed some boilerplate for `urbit` builds.
* Build urbit tests and run them in the nix build.
2019-04-24 17:27:27 -07:00
Elliot Glaysher
0841e797a9
Use Joe's suggested change to u3_pier_snap().
2019-04-24 17:05:34 -07:00
Elliot Glaysher
175fd18585
u3m_lmdb -> u3_lmdb
2019-04-24 16:26:27 -07:00
Joe Bryan
62e7c8272b
Merge pull request #1243 from urbit/ccr-signal-reform
...
cc-release: cleanup of signal handling
2019-04-24 12:52:26 -07:00
Joe Bryan
96ad21c476
updates libnoun to ignore SIGINT upon completion of a soft
2019-04-24 11:29:12 -07:00
Elliot Glaysher
16788f92c1
Cleanup
2019-04-24 11:22:54 -07:00
Elliot Glaysher
d320a7cafe
Don't print %slog on replay.
2019-04-24 10:54:19 -07:00