Skip to content

Return override list in the right order (bugfix) #1856

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pieqq
Copy link
Collaborator

@pieqq pieqq commented Apr 9, 2025

Description

The overrides are visited in this order:

  • inline overrides
  • category overrides
  • certification status overrides

They should be returned in the same order (not sorted), so that they are applied in the same order (meaning certifiaction status overrides should overwrite any inline overrides).

Resolved issues

Fix #1492

Documentation

Tests

  • Unit tests

Copy link

codecov bot commented Apr 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 50.15%. Comparing base (7391273) to head (4852cb9).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1856      +/-   ##
==========================================
- Coverage   50.16%   50.15%   -0.01%     
==========================================
  Files         381      381              
  Lines       40856    40856              
  Branches     6857     6857              
==========================================
- Hits        20494    20490       -4     
- Misses      19632    19635       +3     
- Partials      730      731       +1     
Flag Coverage Δ
checkbox-ng 69.88% <100.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

The overrides are visited in this order:

- inline overrides
- category overrides
- certification status overrides

They should be returned in the same order (not sorted), so that they are
applied in the same order (meaning certifiaction status overrides should
overwrite any inline overrides).

Fix #1492
@pieqq pieqq force-pushed the 1492-override-list branch from 1afcf80 to 4852cb9 Compare April 14, 2025 13:07
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.

Some status of cases are still be non-blocker even apply blocker to .* to test plan
1 participant