Skip to content

Start an isolated Secret Service session for Linux tests - #1217

Draft
zaniebot wants to merge 1 commit into
mainfrom
zb/ci-linux-isolated-keyring-20260909
Draft

zaniebot wants to merge 1 commit into
mainfrom
zb/ci-linux-isolated-keyring-20260909

Conversation

@zaniebot

@zaniebot zaniebot commented Sep 10, 2026 •

Copy link
Copy Markdown
Collaborator

Linux native-auth tests assume that the runner's ambient Secret Service remains connected and unlocked. A sharded run lost its D-Bus peer during uv-keyring's attribute test, after which other keyring tests found the default collection locked. The disconnection is confirmed; its cause is not yet established.

Start a job-owned session bus and keyring under RUNNER_TEMP, complete the daemon's login initialization, and require the default collection to report unlocked before starting tests. This removes dependence on the runner's desktop-session state and gives fixture startup a precise failure point. It does not change native-auth serialization or claim to repair a daemon defect.

@astral-automations-bot astral-automations-bot Bot added internal:ci-flake Related to internal CI flakes internal A refactor or improvement that is not user-facing internal:testing Internal testing of behavior labels Sep 10, 2026
@zaniebot zaniebot added priority:3 Normal: useful features, documentation, usability, or routine efficiency improvements. size:2 Moderate: one subsystem with meaningful invariants, edge cases, or operational evidence to inspect. risk:2 Low, contained risk of minor incorrect behavior with straightforward recovery. labels Sep 10, 2026
@astral-automations-bot
astral-automations-bot Bot force-pushed the zb/ci-linux-isolated-keyring-20260909 branch from fd236d6 to d7722bf Compare October 23, 2026 00:12

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal:ci-flake Related to internal CI flakes internal:testing Internal testing of behavior internal A refactor or improvement that is not user-facing priority:3 Normal: useful features, documentation, usability, or routine efficiency improvements. risk:2 Low, contained risk of minor incorrect behavior with straightforward recovery. size:2 Moderate: one subsystem with meaningful invariants, edge cases, or operational evidence to inspect.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants