Skip to content

[DO NOT MERGE] test: verify Codecov across all 4 submodules#6057

Open
jam-jee wants to merge 1 commit into
masterfrom
codecov-verify-4mod-donotmerge
Open

[DO NOT MERGE] test: verify Codecov across all 4 submodules#6057
jam-jee wants to merge 1 commit into
masterfrom
codecov-verify-4mod-donotmerge

Conversation

@jam-jee

@jam-jee jam-jee commented Jul 18, 2026

Copy link
Copy Markdown
Collaborator

⚠️ DO NOT MERGE — verification PR

Appends a no-op comment to each of the four submodule __init__.py files (core / train / serve / mlops) so all four unit-test jobs run and upload coverage.

Why all 4

The merged codecov.yml currently has after_n_builds: 4 (fix in flight: #6056). Codecov waits for 4 uploads before finalizing, so single-submodule PRs never get a report (seen on #6055: state=error, sessions=0). Touching all four submodules produces 4 uploads, letting the report finalize even under the current config.

What this verifies

With master's codecov.yml applied, once all 4 uploads land Codecov should show:

  • test files excluded via the ignore: list (previously ~98% of measured files were test files)
  • project ~71% product-only, not the old test-inflated ~90%
  • status targets project 65% / patch 70%

Note: the CI buildspec still runs --cov=. (the --cov=sagemaker change is a separate internal CR), so this validates the server-side ignore: layer. If coverage lands near ~71% with 0 test files, the ignore: layer is sufficient on its own.

Same-repo branch (fork PRs upload without PR context and error — see closed #6054). Will be closed without merging once verified.

…RGE)

No-op comment appended to each submodule __init__.py (core/train/serve/mlops)
so all four unit-test jobs run and upload coverage. This produces 4 uploads,
which finalizes the Codecov report even under the current
`after_n_builds: 4` config (being fixed separately in #6056), letting us
confirm the merged codecov.yml `ignore:` layer excludes test files and the
project number reflects product-only coverage (~71%, not the old ~90%).

Same-repo branch (fork PRs upload without PR context and error). Branch cut
from current master (contains codecov.yml). Verification only.
@jam-jee
jam-jee deployed to auto-approve July 18, 2026 20:07 — with GitHub Actions Active
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.

1 participant