Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,9 @@ DISCORD_REPO_WEBHOOKS={"owner/repoA":"https://discord.com/api/webhooks/...","own
<strong>expected steady state, not a leak</strong> — this instance runs{" "}
<code>scripts/deploy-selfhost-prebuilt.sh</code>, which rebuilds the image from the current
git checkout on every deploy and intentionally keeps prior layers around in the build cache
for faster rebuilds. The <code>loopover-docker-safe-prune</code> systemd timer (below)
already runs daily against this exact instance and reclaims it on a schedule, so this is not
a number to chase down manually.
for faster rebuilds. The <code>loopover-docker-prune</code> systemd timer (below) already
runs daily against this exact instance and reclaims it on a schedule, so this is not a
number to chase down manually.
</p>

<h3>When a compose default might need to change</h3>
Expand Down
2 changes: 1 addition & 1 deletion packages/loopover-miner/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
# This is the CLI-worker profile — it exposes NO public endpoints by default (unlike the root terraform/ module,
# which provisions the multi-tenant ORB server behind Caddy on 80/443). After `terraform apply`: SSH in, drop your
# secrets into a .gittensory-miner.env, and start the miner container against /data/miner. See README.md and
# secrets into a .loopover-miner.env.example, and start the miner container against /data/miner. See README.md and
# ../docker-compose.miner.yml / ../DEPLOYMENT.md for the run step.

terraform {
Expand Down
2 changes: 1 addition & 1 deletion src/review/repo-agnostic-capability-audit.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ or implicitly gittensory-specific assumptions that would need to become per-tena
the review/merge authority model can be handed to an arbitrary rented repository. This is the checklist
deliverable for **#5744**; a follow-up implementation issue would turn each open item below into config,
gittensory's own values surviving only as the default. It mirrors the shape of the miner-side audit in
[`packages/gittensory-miner/docs/repo-agnostic-capability-audit.md`](../../packages/gittensory-miner/docs/repo-agnostic-capability-audit.md)
[`packages/loopover-miner/docs/repo-agnostic-capability-audit.md`](../../packages/loopover-miner/docs/repo-agnostic-capability-audit.md)
(the #4780 audit that #4784 resolved). Audit-and-document only — no code changes here.

## Summary
Expand Down
36 changes: 36 additions & 0 deletions test/unit/self-host-ops-rename-residue.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import { readFileSync } from "node:fs";
import { join } from "node:path";
import { describe, expect, it } from "vitest";

// Regression for #5937: three self-host/ops docs still referenced pre-rename `gittensory-*` names that no
// longer exist (a dead timer name, a dead cross-repo link, a stale env filename). Each file is grepped for
// the exact stale string and the verified-correct replacement, following the config-drift pattern in
// test/unit/miner-docker-compose.test.ts.
const SELF_HOSTING_OPS_DOC = join(
process.cwd(),
"apps/loopover-ui/src/routes/docs.self-hosting-operations.tsx",
);
const TERRAFORM_MAIN = join(process.cwd(), "packages/loopover-miner/terraform/main.tf");
const CAPABILITY_AUDIT_DOC = join(process.cwd(), "src/review/repo-agnostic-capability-audit.md");

describe("self-host ops docs rename residue (#5937)", () => {
it("names the real loopover-docker-prune timer, not the dead loopover-docker-safe-prune one", () => {
const doc = readFileSync(SELF_HOSTING_OPS_DOC, "utf8");
expect(doc).not.toContain("loopover-docker-safe-prune");
expect(doc).toContain("loopover-docker-prune");
});

it("points the terraform module's header comment at the real env filename, not .gittensory-miner.env", () => {
const tf = readFileSync(TERRAFORM_MAIN, "utf8");
expect(tf).not.toContain(".gittensory-miner.env");
expect(tf).toContain(".loopover-miner.env.example");
});

it("links the capability audit doc at the real post-rename packages/loopover-miner path", () => {
const audit = readFileSync(CAPABILITY_AUDIT_DOC, "utf8");
expect(audit).not.toContain("packages/gittensory-miner/");
expect(audit).toContain(
"packages/loopover-miner/docs/repo-agnostic-capability-audit.md",
);
});
});
Loading