- Ford receives a ++sign from Clay containing the ++care of new revisions of some files we subscribed to on a ++path.
- Ford does a bi-jug lookup of the changed dependencies in its state's deps, which will return a set of ++build-indices whose builds they refer to may need to get rebuilt.
- For each of those build indices, Ford calls ++build-up.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/? 310 | |
:: | |
:: models | |
:: | |
|% | |
+= move (pair bone card) | |
+= card [%wait wire p=@da] | |
-- | |
:: | |
:: main app door |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/? 310 | |
:: | |
|_ [delta=@dr message=@t] | |
++ grab | |
|% | |
+= noun [delta=@dr message=@t] | |
-- | |
-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: | |
:: sys/ford/hoon | |
:: | |
|% | |
:: | |
:: +axle: overall ford state | |
:: | |
+= axle | |
$: :: date: date at which ford's state was updated to this data structure | |
:: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//common to client and server | |
SharedCollection = new Meteor.Collection('shared'); | |
//client from here on out | |
LocalMirror = new Meteor.Collection(null); | |
var convertSharedToLocal = function(sharedDoc) { | |
var localDoc = LocalCollection._deepcopy(sharedDoc); // undocumented API, might change |
Title: Urbit Fleet Tests Author: Ted Blackman ~rovnys-ricfer ted@tlon.io Created: ~2017.12.14
After a month of labor, Tlon gave birth to a new continuity era, which came out kicking and screaming, covered in amniotic fluid. A slew of issues rapidly appeared in the wild. We'd tested the functionality of the new features, but we hadn't stress-tested them. Some bugs, like herpes, only manifest when the system is under stress.
We need a way to perform automated testing on a fleet of Urbits. We'll want to crank up the load to arbitrary severity while retaining the ability to measure results -- crucially, we want to improve our sleep quality by testing loads much worse than the live network.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|% | |
++ heap | |
|* a=mold | |
|= compare=$-([a a] ?) | |
=> |% | |
+= bi-tree [val=a rank=@ud kids=(list bi-tree)] | |
+= bi-heap (list bi-tree) | |
-- | |
|% | |
:: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: +build-status: current data for a build, including construction status | |
:: | |
:: +build-status stores the construction status of a build as a finite | |
:: state machine (:state), and it also contains the information needed | |
:: to relate this build to other builds, such as clients and sub-builds. | |
:: | |
+= build-status | |
$: :: listeners: current set of external listeners tracking this build | |
:: | |
listeners=(set listener) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: +cache-key: a key for looking up a build in the cache | |
:: | |
+= cache-key | |
$: sub-results=(list build-result) | |
$% [%$ literal=cage] | |
[%alts ~] | |
[%bake renderer=term query-string=coin path-to-render=rail] | |
[%bunt mark=term] | |
[%call ~] | |
[%cast mark=term] |