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

socialweb.computer/socialweb-computer-kcp

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

1 collaborator
0
0
51 lines · 2.0 KB Raw History
{
	"name": "acc-0017",
	"description": "Acceptance 0017: an owner `run request --hold` with an interactive ssh session, released by another process: the release settles in seconds, the owner exits only after Released; killed: the owner is SIGKILLed right after the release was asked and the release client takes the invocation over.",
	"actions": [
		{
			"entry": "run",
			"label": "Run 0017",
			"description": "A second process releases the invocation whose owner holds an interactive ssh session."
		},
		{
			"entry": "killedlate",
			"label": "Run 0017 killedlate",
			"description": "The owner is killed (SIGKILL) 2 s after the release was asked, while it stops its kcp; the invocation still ends Released with kcpRunning false."
		},
		{
			"entry": "devsup",
			"label": "Run 0017 devsup",
			"description": "dev up, then 12 times dev down SIGKILLed mid-stop and dev up at once: every kcp ready (a real devsup, no VM)."
		},
		{
			"entry": "half",
			"label": "Run 0017 half",
			"description": "A release of an invocation whose application is gone but whose summary does not say Released fails and keeps the state."
		},
		{
			"entry": "killed",
			"label": "Run 0017 killed",
			"description": "The owner is killed (SIGKILL) 100 ms after the release was asked; the release still completes."
		}
	],
	"calls": [
		"computer.socialweb.test.request.start",
		"computer.socialweb.test.request.release",
		"computer.socialweb.test.request.kill",
		"computer.socialweb.test.devsup.race", "computer.socialweb.test.devsup.samename",
		"computer.socialweb.test.request.state",
		"computer.socialweb.test.request.sshTry",
		"computer.socialweb.test.request.setPhase",
		"computer.socialweb.test.request.releaseTry",
		"computer.socialweb.test.request.removeState",
		"computer.socialweb.test.request.summary",
		"computer.socialweb.test.request.records",
		"computer.socialweb.test.assert.recordsGone"
	],
	"hooks": [
		{
			"nsid": "computer.socialweb.test.assert.recordsGone",
			"reason": "every record of the run RecordNotFound after the release"
		}
	]
}