~ knotless Search/
↑↓ move↵ open⇧↵ all results

socialweb.computer/socialweb-computer-kcp

socialweb.computer: a compute market on atproto (kcp)

1 collaborator
0
0
74 lines · 2.9 KB Raw History
{
	"name": "acc-0007",
	"description": "Acceptance 0007: an operator delete of this run's own VM on its bidder kcp ends it cleanly.",
	"actions": [
		{
			"entry": "run",
			"label": "Run 0007",
			"description": "Fault injection on the winner, scoped to the receipt; the guest's secrets over getSecrets only, never a sealed record."
		},
		{
			"entry": "restart",
			"label": "Run 0007 restart",
			"description": "Staging: the winner's core restarted in place under this run's VM; the VM lives on, adopted; comms mode Firehose: its secrets come sealed."
		},
		{
			"entry": "webrtc",
			"label": "Run 0007 webrtc",
			"description": "getSecrets over the WebRTC channel: the contract's user_data turns iroh off; the log and the contract say webrtc, the files are written, nothing left."
		},
		{
			"entry": "upgrade",
			"label": "Run 0007 upgrade",
			"description": "Staging: a guest placed by the from binary still gets its binaries after its bidder is upgraded to the binary under test."
		},
		{
			"entry": "ingress",
			"label": "Run 0007 ingress",
			"description": "Staging: each bidder's IngressProxy ingress-iroh replaced three times by its MarketBidder's component override (restored): after the last, its market Exposure listens again (dumbpipe_listening after the last started, a live dumbpipe child on that address) and a run limited to that bidder over iroh exits 0."
		},
		{
			"entry": "fence",
			"label": "Run 0007 fence",
			"description": "Staging: a guest booted by the from binary (no WebRTC range accept) gets its bidder's rules reloaded when the bidder is upgraded under it; from inside it, WebRTC to a guest of the same bidder fails before and works after, and its open ssh session survives."
		}
	],
	"calls": [
		"computer.socialweb.test.request.start",
		"computer.socialweb.test.request.summary",
		"computer.socialweb.test.request.records",
		"computer.socialweb.test.request.contract",
		"computer.socialweb.test.repo.listCreated",
		"com.atproto.repo.getRecord",
		"com.fedfork.exec.kube.list",
		"com.fedfork.exec.kube.delete",
		"computer.socialweb.test.assert.recordsGone",
		"computer.socialweb.test.request.ssh",
		"computer.socialweb.test.request.release",
		"com.fedfork.exec.kube.get",
		"computer.socialweb.test.bidder.logCount",
		"computer.socialweb.test.bidder.restart",
		"computer.socialweb.test.bidder.logLines",
		"computer.socialweb.test.bidder.upgrade",
		"computer.socialweb.test.bidder.health",
		"computer.socialweb.test.bidder.guestNft",
		"computer.socialweb.test.bidder.awaitLog",
		"computer.socialweb.test.bidder.dumbpipe",
		"com.fedfork.exec.kube.patch",
		"computer.socialweb.test.binary.published"
	],
	"hooks": [
		{
			"nsid": "computer.socialweb.test.assert.recordsGone",
			"reason": "the contract records RecordNotFound after the termination"
		},
		{
			"nsid": "com.fedfork.exec.kube.delete",
			"required": true,
			"entries": [
				"run"
			],
			"reason": "the operator delete on the bidder kcp"
		}
	]
}