Repository navigation
fix(ci): AUT-2317 install telemetry extra in full test suite to restore coverage - #3398
Conversation
…ge gate The full-test-suite workflow installed dependencies with 'uv sync --extra dev --extra sandbox --extra openshell', omitting the telemetry extra. The tests under tests/unit_tests/telemetry are gated on nemo-lens (requires_lens), which only the telemetry extra installs, so they all skipped and the telemetry modules (setup.py, endpoints.py, metrics.py, contrib.py, _fallbacks.py) counted as uncovered. That dropped total coverage to 94.83% and failed the 95% fail_under gate. Install the telemetry extra so the lens-gated tests run and the coverage gate is measured with telemetry coverage included, mirroring scripts/ci/core_unit_tests.sh. Add a regression test asserting the workflow keeps the telemetry extra in its install step. Fixes the main full-test-suite coverage failure (run 34890370042, 94.83% < 95%). Signed-off-by: svcnemo-autobot <[email protected]>
|
Re: commit-approval finding on This change introduces no new dependency input, so there is no unbound dependency set to establish safety for. It only installs the
Diff scope confirms no dependency change: 2 files, +22/-1 — the workflow install line and a regression test; If the reviewer wants a different pin or source for nemo-lens, that's a pre-existing repo decision (unchanged here) and out of scope for restoring the coverage gate — happy to open a separate issue. |
|
/ok to test 1965ff4 |
pre-commit's formatter joins the assert message continuation onto one line. No behavior change; unblocks the Lint check. Signed-off-by: svcnemo-autobot <[email protected]>
|
/ok to test 08b544a |
Background
The scheduled Full test suite on main began failing its coverage gate:
Total coverage: 94.83%<fail_under = 95.0(run 34890370042 on 84fbd3d, every run since 2026-09-14). The gate's precision fix (#3373) exposed that coverage had silently dropped below 95%.What changed
The full-test-suite job installs deps with
uv sync --extra dev --extra sandbox --extra openshell, omitting thetelemetryextra. The tests undertests/unit_tests/telemetry/are gated on nemo-lens (requires_lens), which only the telemetry extra installs, so they all skipped and the telemetry modules (setup.py,endpoints.py,metrics.py,contrib.py,_fallbacks.py) counted as uncovered, dragging the total below the gate. This adds--extra telemetryto that install so the tests run and coverage includes telemetry, mirroringscripts/ci/core_unit_tests.sh(which syncs the same extra). PR CI was unaffected becauseunit-tests.ymlrunscore_unit_tests.sh.Details
Left = the broken scheduled path fixed here; right = the PR path that already worked. A regression test
test_full_test_suite_installs_telemetry_extra_for_coverage_gatefails if the extra is dropped again.Tested
SKIPPED, coverage 94.83%) and by diffingfull-test-suite.ymlagainstcore_unit_tests.sh/unit-tests.yml.nemo-gymunit suite runs against this head once its CI image build completes; PR CI validates the full gate.