Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix(release): set-version also stamps uv.lock; neutral name fixture in ledger test

Ruben Lütke1d3740a746b4
diff --git a/jarvis/ui/web/frontend/src/views/profile/ledger.test.ts b/jarvis/ui/web/frontend/src/views/profile/ledger.test.ts
index c794c5e015..afa0c7a68f 100644
--- a/jarvis/ui/web/frontend/src/views/profile/ledger.test.ts
+++ b/jarvis/ui/web/frontend/src/views/profile/ledger.test.ts
@@ -226,12 +226,15 @@ describe("collectOpenQuestions", () => {
describe("displayAddress", () => {
it("prefers the preferred_address over the name", () => {
const meta = { identity: { preferred_address: "Chef" } };
- expect(displayAddress(meta, "Ruben Lütke")).toBe("Chef"); // i18n-allow: intentional German address fixture
+ expect(displayAddress(meta, "Jürgen Müller")).toBe("Chef"); // i18n-allow: intentional German address fixture
});
it("falls back to the first name", () => {
- expect(displayAddress(EMPTY_META, "Ruben Lütke")).toBe("Ruben"); // i18n-allow: German umlaut name fixture
- expect(displayAddress(EMPTY_META, " Ruben ")).toBe("Ruben");
+ // Neutral umlaut fixture: a real name here gets rewritten by the release
+ // PII scrub and desynchronizes input and expectation (v1.0.6 forensic:
+ // the public frontend CI failed on exactly this test).
+ expect(displayAddress(EMPTY_META, "Jürgen Müller")).toBe("Jürgen"); // i18n-allow: umlaut name fixture
+ expect(displayAddress(EMPTY_META, " Jürgen ")).toBe("Jürgen"); // i18n-allow: umlaut name fixture
});
it("returns null when nothing is known", () => {
diff --git a/scripts/ci/privacy_gate/scripts/strip_and_scan.py b/scripts/ci/privacy_gate/scripts/strip_and_scan.py
index 474d656ebf..09ad0cf89e 100644
--- a/scripts/ci/privacy_gate/scripts/strip_and_scan.py
+++ b/scripts/ci/privacy_gate/scripts/strip_and_scan.py
@@ -676,6 +676,15 @@ def cmd_set_version(args: argparse.Namespace) -> int:
re.compile(r'^(__version__\s*=\s*")[^"]*(")', re.MULTILINE),
rf'\g<1>{version}\g<2>',
),
+ # uv.lock records the project's OWN version; leaving it behind makes
+ # `uv lock --check` fail in the dist repo's CI (v1.0.6 forensic: the
+ # portable-install-matrix gate went red on the release commit).
+ tree / "uv.lock": (
+ re.compile(
+ r'(\[\[package\]\]\nname = "personal-jarvis"\nversion = ")[^"]*(")'
+ ),
+ rf'\g<1>{version}\g<2>',
+ ),
}
changed = []
for path, (rx, repl) in targets.items():