Repository navigation
test(nixos/services): wire keyring-auto-unlock suite under locked nixpkgs in nix-ci (#17824) - #17847
Merged
developing-today-fleet[bot] merged 9 commits intoDec 1, 2026
Merged
Conversation
…pkgs in nix-ci (#17824) Leg 1's locked-fresh-default-collection state reproduces only under the nixpkgs-packaged gnome-keyring (the deployed package), not Ubuntu's (run 46531762776 on #17824). The runner script executes the suite via nix shell pinned to this repo's locked nixpkgs input (gnome-keyring/keyutils/dbus/systemd), staging the in-repo packaged stash/unlock scripts and installing a vendored minimal session-bus config for the nixpkgs dbus-daemon. Registry entry flips uncovered -> mapped/active; leg 1's assertion is unchanged.
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
… 46-era) The follows-chain head ships gnome-keyring 50, which presents the fresh default collection unlocked and fails leg 1 on the real venue (nix-ci run 46537825474). The flake.lock nixpkgs node carries the deployed-era gnome-keyring; pin the venue to it by rev read from flake.lock at run time.
Leg 1's locked fresh state exists only when a real login.keyring file is present: stock runners present an ephemeral unlocked default under every package lineage probed (Ubuntu 46.2 run 46531762776, nixpkgs 50 run 46537825474, nixpkgs 46.2 run 46539163536). The fixture route named on #17824 works: piping a known password to gnome-keyring-daemon --unlock mints a genuine login.keyring, and a restarted daemon presents it locked (firsthand, nix-ci run 46541326232). The runner mints the fixture fresh each run under the flake.lock nixpkgs pin and runs the suite with XDG_DATA_HOME pointed at it; the suite is unmodified and leg 1 is not weakened. Temporary probe step removed.
The runner's systemd session keyring does not carry the UID-keyring link a PAM session provides (pam_keyinit), and keys created in this environment carry possessor-only permissions, so the suite's ID-based keyctl reads fail with EACCES (probe, run 46544958590). keyctl link @U @s in the runner reproduces the deployed session state; with it and the minted fixture the full suite passes (firsthand, run 46546331543). Temporary probe step removed.
developing-today-fleet
Bot
deleted the
xaltha/0900hf-17824-keyring-nix
branch
December 1, 2026 00:58
developing-today-fleet Bot
pushed a commit
that referenced
this pull request
Dec 1, 2026
…tion-true Merging current main brought in #17847, which wired the keyring-auto-unlock suite (its registry row moved uncovered -> mapped), so the definition-true uncovered + uncovered-in-fact recount with the new idp-provider row is 12, not the 13 this branch originally carried. Set the field by actual recount.
This was referenced Dec 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #17824
Wires the keyring-auto-unlock acceptance suite (the #10724 oracle) into a venue where it can actually execute, without weakening leg 1:
host-evaljob (alongside the follow-main-timer step from test(nixos/services): follow-main-timer + keyring-auto-unlock need nix/dbus environments — wire where they can execute (split from #17747) #17799), via.github/scripts/run-keyring-auto-unlock-test.sh.Failed to open "/etc/dbus-1/session.conf"; a symlink to the store copy recurses — run 46534653478). The runner installs the vendored minimal.github/scripts/dbus-session.confthere first.nixos.services.keyring-auto-unlockflips uncovered → mapped/active with the nix-ci venue; leg 1's assertion is unchanged.Verification: nix-ci workflow_dispatch run on this branch (host-eval job) — see the run link in the #17824 completion comment. Fleet-container probes cannot host the daemon (gnome-keyring aborts on capability drop under the container's bounding set, run 46537042483), so the GitHub-hosted nix-ci job is the executing venue, matching where the sibling follow-main suite is verified.
{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-30T23:33:59Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": "/home/hatch", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/hatch", "repo": "developing-today/code", "branch": "main", "sha": "1afb80aa405c56b71c8a63176670cb22ba449a92" }, "auth_subject": "xaltha", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.