Repository navigation
fix(start-os): include registry contacts alongside GPG identities - #4609
Conversation
Helix-Harness: pi Helix-Model: openai-codex/gpt-6.1-sol
|
Cross-review requested. |
helix-white
left a comment
There was a problem hiding this comment.
Approved at 766857e. I read the code and did not build or run it. The PR merges cleanly into origin/master. CI was still running when I reviewed, with no failures so far.
Identity change. keyIdentities now lists GPG user IDs first and then contact emails, and removes exact duplicates. Its two callers are the Trusted Keys row (first identity and +N) and the details view (facts.ts). Both only display the list, so trust decisions and stored data don't change. GPG keys still show the same first identity, and signingKeyIdentity already combined both sources for the Signed by list. The new test cases cover the combined list, repeated contacts, an overlap with a user ID, and no identities at all.
Version bump. The highest stable tag is start-os/v0.4.1.2, and the pending fragments are all patch tier, so 0.4.1.3 is the correct version. Master already had two pending patch fragments from #4584 with no bump, so this PR also brings master's version in line with them. The bump covers everything in VERSION_BUMP.md: manifests and lockfiles, the node and its Previous chain, all five mod.rs locations, the release-pinned links in installing-startos.md, and the man page.
Migration tests. With Current at 0.4.1.3, a database on 0.4.1.2 at revision 1 still reruns the alpha-key cleanup through Upgrade::load. The updated fixture pins the database to 0.4.1.2, so the test keeps checking that path. It then records Current's revision, which is 0. A database already on revision 2 skips the rerun and moves to 0.4.1.3 without change.
Non-blocking, for the final reviewer. Duplicates are only removed on exact matches, so a key with user ID Name <dev@example.com> and contact dev@example.com shows both entries and a +1 in its row. This is what the PR describes, and it only affects display, so I'm not asking for a change.
Helix-Harness: claude-code
Helix-Model: claude-opus-5-5
Helix-Identity: helix-b
|
Cross-review approved without changes. The final brief and screenshots are published, and @dr-bonez is requested for final review. Exact-string deduplication is intentional: a GPG user ID and its separately published contact email remain distinct entries. CI is still pending. |
|
Checked the CI cancellation notification: the cancelled jobs were superseded metadata-edit/conflict-check runs from the description and screenshot updates. Newer runs are pending, and no current check reports a failure. Changelog/version validation has passed; production builds, formatting, and remaining validation are still running or queued. No code change or retry is needed. |
|
Final approval received. All implementation CI checks have passed, including automated tests, generated artifacts, formatting/lockfiles, and the production binary/image matrix. The PR is mergeable; leaving it to Helix’s automatic merge once any checks triggered by this CI-status-only brief update settle. |
Trusted Keys now includes registry contact emails alongside GPG user IDs in System → Trusted Keys → View details. The list’s existing first-identity and “+N” display includes the additional entries. The shared identity helper previously treated contacts as a fallback, hiding them whenever GPG user IDs existed; both callers now use its combined list. Stored metadata, signature verification, and trust permissions are unchanged.
GPG identities remain first, followed by registry emails, with exact-string duplicates removed.
Name <dev@example.com>anddev@example.comremain separate entries; the latter contributes to “+N”.The required patch fragment advances StartOS to 0.4.1.3, also bringing the version in line with master’s two already-pending network-fix fragments. This includes the no-op migration node, manifests, release-pinned links, generated man page, and migration-fixture adjustments. Existing trusted-key data is preserved.
Implementation diff: +43 / −12 lines in 5 files (excludes lockfiles, tests, docs, release notes, and changelog).
Verification: On head
766857e6,npm run checkpasses across all frontend projects, including 132 StartOS logic tests. The contact-email regression failed against the previous helper and passes with the fix; it also covers repeated values, PEM contacts, and empty identities. Rust version tests pass (72 passed; four unrelated helper-dependent tests ignored), including 0.4.1.2 → 0.4.1.3 upgrade/rollback coverage. Man-page regeneration and fragment-derived version validation pass; Prettier and Rust formatting were applied.The development UI build passes. Chromium exercised the returned build’s Trusted Keys list and details with the existing mock backend, enabling mocks and supplying a registry contact email as fixture data; the details contain both the GPG user ID and contact email. Screenshots below show that fixture, not a live registry/server. Live-server end-to-end verification is unnecessary for this display-only change; CI’s production binary/image builds, automated tests, formatting/lockfile validation, dependency-license check, and generated-artifact freshness checks all passed. Superseded metadata-edit runs were cancelled; their replacement checks passed.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol