Skip to content

fix(ci): prevent flaky keyring tests by deferring unlock to test phase#2995

Open
hubcio wants to merge 2 commits intomasterfrom
flaky-keyring
Open

fix(ci): prevent flaky keyring tests by deferring unlock to test phase#2995
hubcio wants to merge 2 commits intomasterfrom
flaky-keyring

Conversation

@hubcio
Copy link
Contributor

@hubcio hubcio commented Mar 20, 2026

gnome-keyring collection auto-locks after idle timeout.
Unlocking before cargo build left a 7+ minute idle
window (build + compile) before tests ran, causing
org.freedesktop.Secret.Error.IsLocked ~10% of CI runs.

Move D-Bus and keyring setup to right before test
execution in both pre-merge and post-merge workflows.

gnome-keyring collection auto-locks after idle timeout.
Unlocking before `cargo build` left a 7+ minute idle
window (build + compile) before tests ran, causing
org.freedesktop.Secret.Error.IsLocked ~10% of CI runs.

Move D-Bus and keyring setup to right before test
execution in both pre-merge and post-merge workflows.
@codecov
Copy link

codecov bot commented Mar 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.80%. Comparing base (f0e8578) to head (83f5786).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2995      +/-   ##
============================================
- Coverage     71.81%   71.80%   -0.02%     
  Complexity      930      930              
============================================
  Files          1116     1116              
  Lines         92616    92616              
  Branches      70139    70149      +10     
============================================
- Hits          66512    66499      -13     
- Misses        23543    23548       +5     
- Partials       2561     2569       +8     
Flag Coverage Δ
csharp 67.43% <ø> (-0.21%) ⬇️
go 36.38% <ø> (ø)
java 62.08% <ø> (ø)
node 91.37% <ø> (-0.15%) ⬇️
python 81.43% <ø> (ø)
rust 72.50% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 11 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

5 participants