ci(tests): run tests/vendor in the unittest-ordering job (#981, #985) - #988
Conversation
- tests/vendor was excluded from the unittest-ordering matrix because it held a stale VendorRuntimeWarning generation (#985); that defect is fixed. - Add `vendor` to the `leg` matrix and drop its bullet from the exclusion comment; the count of excluded directories goes from three to two. - tests/corekit and tests/integration stay excluded, bullets unchanged. - util/run_unittest_leg.py does not name the exclusion; no change there.
|
NEEDS CHANGES at
The strongest result is not the YAML — it is that the defect class is structurally absent from
Nothing would make the leg flaky: order-deterministic via A correction to my own briefs: I have been stating the venv as Python 3.14.7 in every agent brief. It is UNVERIFIED by it: no run on |
…comment (#981) - The `vendor 83s, 118 directory tests` parenthetical measured tests/vendor alone, but the same comment block's wall-time table uses the identical `<name> Ns` shape for whole-leg times, so a reader sizing `timeout-minutes` read 83s as vendor's leg cost and was 25% low -- in the one comment that exists to size that cap. The leg is 104s / 297 tests; 118 of those are tests/vendor's own, the other 179 the five root-level modules every leg carries. - The wall-time table enumerated nine legs while saying "one leg per matrix cell", and the matrix carries ten: `vendor 104s` was never added. It is now, in the list's existing alphabetical order. - "re-resolving the class fresh per generation" is now "per test", which is what yields the current generation. Comments only: `yaml.safe_load` of the file parses to a document identical to the previous revision's (sha256 5989269..., eight jobs each structurally unchanged, `leg` still ten entries, `timeout-minutes` still 45).
|
GOOD TO GO at
It confirmed the leg-scoped inference three ways rather than taking it on trust, and the structural one is One honest flag from it I am accepting rather than acting on: its own vendor run was 105.758s, so with And it found a stale claim in a file it does not own, which I verified and which predates this pull UNVERIFIED by it: the eight other table figures — it verified their scope via the docstring pairing and the |
make pylint,make mypy,make isort) -- N/A, workflow YAML onlymake testpasses, and a test case covers the change -- N/A, CI config; evidence belowWhat is the purpose of your pull request?
fix— corrects a defectfeat— adds a featureperf— changes performance, not behaviourrefactor— changes neither behaviour nor performancetest— tests onlydocs— documentation onlyci— workflows or build toolingchore— anything elseDescription of your pull request and other information
Part of #981.
tests/vendorwas left out of theunittest-orderingmatrix because it held an instance of the defect that job exists to catch (#985, a staleVendorRuntimeWarninggeneration failingassertWarnsRegex). That defect is fixed onmain, so the exclusion no longer has a reason.vendorto thelegmatrix (now 10 legs,timeout-minutesstill 45).tests/vendorbullet from the exclusion comment, changes "Three" to "Two", and records why the directory is now covered.tests/corekitandtests/integrationbullets are untouched.util/run_unittest_leg.pydoes not name the exclusion; unchanged.Evidence:
python util/run_unittest_leg.py vendorfrom this branch (pcapkit.__file__confirmed inside the worktree) printedtests/vendor + 5 root module(s): 297 test(s), 0 failure(s), 0 error(s), 105.3s elapsed.yaml.safe_load: 5 top-level keys, 8 jobs; onlyunittest-orderingdiffers frommain.