From 7df14d1617ad659307d2e227f53d63ffc98d1975 Mon Sep 17 00:00:00 2001 From: GitLab Housekeeping Bot Date: Mon, 13 Oct 2025 05:30:42 +0000 Subject: [PATCH] [RSpec random order] Processed 1 specs: all failed :x: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## RSpec Order Dependency Check Results Processed 1 spec files from `spec/support/rspec_order_todo.yml`: - **0 specs passed** and can now run in random order :white_check_mark: - **1 specs failed** and were moved to `spec/support/rspec_order_failures.yml` :x: ### :white_check_mark: Passed specs (0): _None in this batch_ ### :x: Failed specs (1): - `spec/bin/feature_flag_spec.rb` ### 📊 Progress Summary: - **Processed this batch**: 1 specs - **Passed (can run randomly)**: 0 specs - **Failed (moved to failure list)**: 1 specs - **Remaining in TODO**: 5504 specs - **TODO list cleanup**: Removed 1 processed entries ### :bug: Debugging Failed Specs: For specs that failed the order dependency check: 1. **Use the existing script**: `scripts/rspec_check_order_dependence ` 2. **The script automatically runs**: defined order → reverse order → random order → bisect on failure 3. **Fix the root cause**: Remove shared state or add proper cleanup 4. **Re-test**: Run the spec again to verify the fix --- Relates to #407877 Relates to &19585 > The order dependency checks were performed using `scripts/rspec_check_order_dependence` which includes comprehensive testing (defined/reverse/random order) and automatic bisect analysis on failures. This change was generated by [gitlab-housekeeper](https://gitlab.com/gitlab-org/gitlab/-/tree/master/gems/gitlab-housekeeper) in [CI](https://gitlab.com/gitlab-org/quality/engineering-productivity/team/-/jobs/11691505706) using the `Keeps::RspecOrderChecker` keep. To provide feedback on your experience with `gitlab-housekeeper` please create an issue with the label ~"GitLab Housekeeper" and consider pinging the author of this keep. Changelog: other --- spec/support/rspec_order_failures.yml | 1 + spec/support/rspec_order_todo.yml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/rspec_order_failures.yml b/spec/support/rspec_order_failures.yml index d42ffa77b29a9f..275a09cbe767c4 100644 --- a/spec/support/rspec_order_failures.yml +++ b/spec/support/rspec_order_failures.yml @@ -5,3 +5,4 @@ # See https://docs.gitlab.com/ee/development/testing_guide/best_practices.html#test-order. # --- +- './spec/bin/feature_flag_spec.rb' diff --git a/spec/support/rspec_order_todo.yml b/spec/support/rspec_order_todo.yml index c545091358a15b..061be7cf7afb3e 100644 --- a/spec/support/rspec_order_todo.yml +++ b/spec/support/rspec_order_todo.yml @@ -2345,7 +2345,6 @@ - './ee/spec/workers/vulnerabilities/statistics/schedule_worker_spec.rb' - './ee/spec/workers/vulnerability_exports/export_deletion_worker_spec.rb' - './ee/spec/workers/vulnerability_exports/export_worker_spec.rb' -- './spec/bin/feature_flag_spec.rb' - './spec/bin/sidekiq_cluster_spec.rb' - './spec/channels/application_cable/connection_spec.rb' - './spec/commands/metrics_server/metrics_server_spec.rb' -- GitLab