Skip to content

test(cli-test-helpers): normalize D-Bus keyring noise in parity stderr - #5997

Merged
Coly010 merged 1 commit into
developfrom
kanad-claude-2026-07-29/parity-normalize-dbus-keyring-noise
Jul 30, 2026
Merged

test(cli-test-helpers): normalize D-Bus keyring noise in parity stderr#5997
Coly010 merged 1 commit into
developfrom
kanad-claude-2026-07-29/parity-normalize-dbus-keyring-noise

Conversation

@kanadgupta

Copy link
Copy Markdown
Contributor

The projects delete --yes parity e2e is failing on every develop-based PR (e.g. #5993 and unrelated branches). Go's best-effort keyring cleanup in projects delete (delete.go:46) prints its failure to stderr, and the parity normalizer only strips one of Go's two keyring-failure wordings: Keyring is not supported on WSL (emitted when the D-Bus client fails with exec.ErrNotFound). When the CI runner has a reachable D-Bus session bus but no secrets daemon, go-keyring instead fails with The name org.freedesktop.secrets was not provided by any .service files, wrapped as failed to delete credentials: … — which survives normalization and breaks the byte-for-byte stderr comparison. The TS port intentionally skips this no-op cleanup and relies on the harness treating Go's keyring-backend availability noise as environment detail.

The failure appeared without any repo change (same test passed and failed on the same rootfs image hours apart on 2026-07-29), pointing at runner-environment drift in D-Bus availability. This extends the existing normalization rule to strip the second wording, with a unit test covering both.

🤖 Generated with Claude Code

The parity harness only stripped Go's "Keyring is not supported on WSL"
line, but on runners with no D-Bus secrets daemon keyring ops fail with
"The name org.freedesktop.secrets was not provided by any .service
files" inside store.go's "failed to delete credentials: %w" wrapper.
This broke the `projects delete --yes` parity e2e on every PR (the TS
port intentionally skips Go's no-op credential cleanup). Strip that
wording as the same class of keyring-backend availability noise.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@kanadgupta
kanadgupta marked this pull request as ready for review July 30, 2026 00:25
@kanadgupta
kanadgupta requested a review from a team as a code owner July 30, 2026 00:25
@github-actions

Copy link
Copy Markdown
Contributor

Supabase CLI preview

npx --yes https://pkg.pr.new/supabase/cli/supabase@767ce254504c2a141d00b6ef56a9ce195a29938d

Preview package for commit 767ce25.

@Coly010
Coly010 added this pull request to the merge queue Jul 30, 2026
Merged via the queue into develop with commit b3cf0e1 Jul 30, 2026
30 checks passed
@Coly010
Coly010 deleted the kanad-claude-2026-07-29/parity-normalize-dbus-keyring-noise branch July 30, 2026 09:13
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.

2 participants