| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## master #1720 +/- ##
=======================================
Coverage 93.21% 93.21%
=======================================
Files 157 157
Lines 9819 9819
Branches 1005 1005
=======================================
Hits 9153 9153
Misses 472 472
Partials 194 194 ☔ View full report in Codecov by Harness.
|
Sorry, something went wrong.
|
Maintainer action required after this PR is merged: please update the branch-protection/ruleset required check from Python 3.13 on ubuntu-latest (extras) to Preform Full Test Suite (3.14). The existing Python 3.13 Ubuntu extras check is present again in the representative matrix for compatibility, but the new intended required gate is the exhaustive Python 3.14 Ubuntu job with all extras. The workflow order is now:
|
Sorry, something went wrong.
|
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Why
The test suite has 203 captured device fixtures and previously expanded most generic behavior tests across every matching fixture. Device fixtures accounted for 22,182 of 23,066 collected cases, and 56 generic functions running against all 183 primary fixtures produced 11,163 cases by themselves.
The old CI matrix executed the complete suite approximately 16 times?roughly 369,000 pytest case executions per commit. Fixture growth automatically multiplied that workload and repeatedly exposed Windows/xdist instability.
Generic compatibility behavior does not need every firmware response on every operating system and Python version. Fixture-specific parsing and behavior still need exhaustive validation. This change separates those responsibilities instead of trying to make Windows execute the entire combinatorial suite reliably.
Fixture tiers
--fixture-set representative retains all non-fixture parametrization and selects up to six diverse fixtures independently for each broadly parametrized test. Protocols present in a pool receive a reserved representative before a deterministic greedy set-cover pass selects additional capability-diverse fixtures. Pools of six or fewer fixtures are unchanged, preserving focused regression parametrization.
--fixture-set all bypasses selection and remains the default for local uv run pytest, preserving existing exhaustive behavior unless representative mode is explicitly requested.
Tests can use @pytest.mark.all_fixtures to remain exhaustive in representative mode or @pytest.mark.fixture_representatives(limit) to request a broader per-test representative pool.
CI structure
The required execution order is:
The representative matrix uses fail-fast: false, so all platform/version results remain visible if one combination fails. All Windows shard planning, batching, temp coverage, and artifact coordination are removed.
The representative tier currently contains 3,259 cases and the exhaustive tier contains 22,708. Expected PR execution falls from roughly 369,000 cases to approximately 74,900 while retaining one complete fixture-expanded run and representative all-extras coverage on every supported Python version.
Required-check configuration
After merge, a maintainer with repository settings access must update the branch-protection/ruleset required check from Python 3.13 on ubuntu-latest (extras) to Preform Full Test Suite (3.14). The existing Python 3.13 Ubuntu extras check remains present in the representative matrix, but the intended required gate is now the exhaustive full-suite job.
Validation