Skip to content

armgit / mso

Public Imported from GitHub
0

Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.

test(infra): make Convex fixtures unambiguously synthetic for the secret scanner

rahmanef63c2009a33b62d
diff --git a/.gitleaksignore b/.gitleaksignore
index 7a25c55f..b6dfc5c1 100644
--- a/.gitleaksignore
+++ b/.gitleaksignore
@@ -55,3 +55,10 @@ aff0713f4630404be63127c9ce733baa78d9003c:lib/a2a/client-security.test.ts:generic
# Exact commit/file/rule fingerprints, not path or rule suppression.
ab663bb5ea26be4fb3e4f640e7224c46c23fa7f7:lib/infra/connection-registry.test.ts:generic-api-key:43
ab663bb5ea26be4fb3e4f640e7224c46c23fa7f7:lib/infra/convex-migrate.test.ts:generic-api-key:149
+# Immutable commits that already carry the retired fixture literal. The source no longer
+# contains it any more, so rebases cannot mint new fingerprints; these cover only the
+# pre-existing commits still reachable on agent/152-convex and the PR #160 merge ref.
+1c323375d11dc3a31b9269047a417641715ee146:lib/infra/connection-registry.test.ts:generic-api-key:43
+1c323375d11dc3a31b9269047a417641715ee146:lib/infra/convex-migrate.test.ts:generic-api-key:149
+1b38855e6bd1c0c15de2246bf7b77600758fdccc:lib/infra/connection-registry.test.ts:generic-api-key:43
+1b38855e6bd1c0c15de2246bf7b77600758fdccc:lib/infra/convex-migrate.test.ts:generic-api-key:149
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index 0f254295..0e2bb6da 100644
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -10,6 +10,15 @@ this is the *what*, and it is what Settings → Account → About shows as “Wh
- `infra` collapse Convex into one provider with a real self-hosted kind
+**Fixed**
+
+- `build` keep Convex project linking out of Turbopack's traced filesystem
+
+**Tests**
+
+- `infra` make Convex fixtures unambiguously synthetic for the secret scanner
+- `e2e` select the collapsed Convex card in the release journey
+
**Build**
- `deps` bump the actions-minor-patch group with 3 updates (#159)
diff --git a/lib/infra/connection-registry.test.ts b/lib/infra/connection-registry.test.ts
index fada4c46..2e6ff183 100644
--- a/lib/infra/connection-registry.test.ts
+++ b/lib/infra/connection-registry.test.ts
@@ -40,7 +40,7 @@ describe("integration connection registry", () => {
});
it("validates deploymentKind as a closed enum and rejects a third value", () => {
- expect(normalizeInfraValues("convex", { deploymentKind: "cloud", personalToken: "pat_synthetic_1234567890" }).deploymentKind).toBe("cloud");
+ expect(normalizeInfraValues("convex", { deploymentKind: "cloud", personalToken: "synthetic_personal_key_123456" }).deploymentKind).toBe("cloud");
expect(normalizeInfraValues("convex", { deploymentKind: "self-hosted", apiUrl: "https://api.example.test", adminKey: "synthetic_admin_key_123456" }).deploymentKind).toBe("self-hosted");
expect(() => normalizeInfraValues("convex", { deploymentKind: "cloudy" })).toThrow(/deploymentKind/);
expect(() => normalizeInfraValues("convex", { deploymentKind: "" })).not.toThrow();
diff --git a/lib/infra/convex-migrate.test.ts b/lib/infra/convex-migrate.test.ts
index 575e16e4..2cc4b4bb 100644
--- a/lib/infra/convex-migrate.test.ts
+++ b/lib/infra/convex-migrate.test.ts
@@ -146,7 +146,7 @@ describe("convex forward migration", () => {
prod: {
id: "prod", uid: "uid-existing", label: "Existing", provider: "convex", source: "direct",
authMethod: "deployment", scope: "deployment", revision: 1,
- values: { deployKey: "synthetic_existing_key_1234567890", deploymentName: "other-deployment" },
+ values: { deployKey: "synthetic_existing_key", deploymentName: "other-deployment" },
createdAt: 5, updatedAt: 6,
},
};