Repoint ADR references after HQ consolidated 65 records to 23
96 comments across the two repos named records that no longer exist. Each now points at the consolidated record that holds its reasoning -- ADR 0034 (a test defends a decision) is 0017, the eight host records are 0005, the four lab records are 0016. Worth noting for next time: these are references from outside HQ, so renumbering there is not free. It cost 38 files here.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Package upgrade is how the host survives replacing itself.
|
||||
//
|
||||
// novox/hq ADR 0057 and ADR 0059. Two facts, and neither is the host judging its own health:
|
||||
// novox/hq ADR 0005 and ADR 0005. Two facts, and neither is the host judging its own health:
|
||||
//
|
||||
// - whether the executable this process started from has been replaced on disk, which is how
|
||||
// it knows to stand aside for a new one;
|
||||
@@ -42,7 +42,7 @@ type Self struct {
|
||||
//
|
||||
// path is what os.Executable() returned; a test passes one it can manipulate, because the
|
||||
// boundary being tested is the filesystem and a fake would assert that the fake behaves as
|
||||
// expected (novox/hq ADR 0034).
|
||||
// expected (novox/hq ADR 0017).
|
||||
func Current(path string) (Self, error) {
|
||||
info, err := os.Stat(path)
|
||||
if err != nil {
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
//
|
||||
// Against the real filesystem rather than a fake one. What is being tested is how the operating
|
||||
// system behaves when a file is replaced under a running process, and a fake would assert that
|
||||
// the fake behaves as expected (novox/hq ADR 0034).
|
||||
// the fake behaves as expected (novox/hq ADR 0017).
|
||||
func started(t *testing.T) (Self, string) {
|
||||
t.Helper()
|
||||
binary := filepath.Join(t.TempDir(), "mesh-host")
|
||||
|
||||
Reference in New Issue
Block a user