Skip to content

test(nixos/services): wire keyring-auto-unlock suite under locked nixpkgs in nix-ci (#17824) - #17847

Merged
developing-today-fleet[bot] merged 9 commits into
mainfrom
xaltha/0900hf-17824-keyring-nix
Dec 1, 2026
Merged

developing-today-fleet[bot] merged 9 commits into
mainfrom
xaltha/0900hf-17824-keyring-nix

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Closes #17824

Wires the keyring-auto-unlock acceptance suite (the #10724 oracle) into a venue where it can actually execute, without weakening leg 1:

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-bot with what you need.

…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.
@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1dcd4d23-0103-4ccf-aab6-81165293a2fd

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

… 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
developing-today-fleet Bot merged commit 3b7beda into main Dec 1, 2026
6 checks passed
@developing-today-fleet
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(nixos/services): keyring-auto-unlock leg 1 fresh-state (locked default collection) does not reproduce under Ubuntu gnome-keyring — needs a locked-login fixture or the deployed-package venue

1 participant