Skip to content

refactor!: consolidate native IaC reports and separate CI completion - #47

Open
neilime wants to merge 26 commits into
mainfrom
refactor/unified-ci-reporting
Open

neilime wants to merge 26 commits into
mainfrom
refactor/unified-ci-reporting

Conversation

@neilime

@neilime neilime commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

VM, Ansible, Molecule and OpenTofu tests contribute native results to one consolidated report.

  • Preserve native assertions, failure status, VM ownership and unconditional cleanup.
  • The existing retention action owns fresh staging and copies only selected bounded XML files. It excludes private state and raw logs. Producers no longer allocate another directory or forward recorder handles.
  • Remove the legacy parser/publisher and per-action comments. Dedicated action workflows inspect real artifacts and discard only verified negative fixtures.

Common now has two reporting responsibilities: prepare-ci-reports delegates normalization to maintained converters, and one publish-ci-reports.yml job gathers artifacts and composes upstream publishers. Missing or malformed promised reports fail the producer; valid failed tests remain available for publication. A separate CI complete job owns the overall verdict.

Dedicated Node.js test workflows now rely on automatic report discovery. Remove obsolete report-path options while retaining package commands and coverage selection.

All external Common calls use Common 5.0.0, pinned to 26f3d6878844ec53849eec6ac75af8d14ea402e9 with the release tag comment. Node.js calls use Node.js #624 at a52b36c38477c7e8419c6e8ac582bc51df906228. Release Node.js next, then replace the candidate pin with its released SHA and tag comment before merging.

Validation for this update: configured Super-Linter passes on all changed files, and shared action/workflow calls match the referenced manifests. All 50 existing tests across seven action packages pass locally. Hosted CI for the updated candidate exercises the integration and publication paths.

Native GitHub coverage still requires the separate Enterprise Cloud pilot; public fallback does not validate that integration.

@github-actions

Copy link
Copy Markdown

Hi, thank you for creating your PR, we will check it out very soon

@github-actions github-actions Bot added type: breaking Introduces a breaking change type: maintenance Performs maintenance work labels Nov 28, 2026
@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Test coverage

Results for facc09b (PR merge commit), 5ede6dd (PR head)

Project Lines covered Changed lines
test-molecule 98.9% (174 / 176) Unknown
ansible/test 96.4% (162 / 168) Unknown
opentofu/test 68.3% (99 / 145) Unknown
retain-native-reports 100.0% (28 / 28) 100.0% (28 / 28)
create 64.5% (265 / 411) Unknown
destroy 82.9% (97 / 117) Unknown
1 more coverage projects
Project Lines covered Changed lines
vm/test 88.2% (336 / 381) Unknown

Comparison unavailable: No comparable report retained for the exact PR base commit.

Coverage measurement details
Project branches functions Measured commit
test-molecule 92.9% (52 / 56) 90.9% (10 / 11) facc09b (PR merge commit)
ansible/test 94.8% (55 / 58) 100.0% (7 / 7) facc09b (PR merge commit)
opentofu/test 90.0% (27 / 30) 80.0% (12 / 15) facc09b (PR merge commit)
retain-native-reports 100.0% (10 / 10) 100.0% (1 / 1) 5ede6dd (PR head)
create 85.4% (76 / 89) 84.2% (16 / 19) facc09b (PR merge commit)
destroy 70.2% (33 / 47) 100.0% (8 / 8) facc09b (PR merge commit)
vm/test 74.7% (56 / 75) 100.0% (18 / 18) facc09b (PR merge commit)

test-molecule: v26.13.1 · Changed lines: Changed-line coverage requires a measurement of the PR head.

ansible/test: v24.22.3 · Changed lines: Changed-line coverage requires a measurement of the PR head.

opentofu/test: v24.22.3 · Changed lines: Changed-line coverage requires a measurement of the PR head.

retain-native-reports: v24.22.3 · Diff from merge base c144494.

create: v26.13.1 · Changed lines: Changed-line coverage requires a measurement of the PR head.

destroy: v26.13.1 · Changed lines: Changed-line coverage requires a measurement of the PR head.

vm/test: v24.22.3 · Changed lines: Changed-line coverage requires a measurement of the PR head.

Changed-line coverage counts only added or modified lines present in the native coverage report. Files and lines omitted by the coverage tool are not measured. Deleted lines are excluded.

Full report and native artifacts

@github-actions

github-actions Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

CI report

Workflow run and full summary · Commit 06e94ae

Lint

Passed checks: 1

Successful lint checks (1)
Check Project Context Result Findings
Super-Linter . - ✅ Passed Native report

Tests

88 passed · 0 failed · 18 skipped

Successful test checks (12)
Check Project Context Result Passed Failed Skipped
Ansible tests (2 runs) . - ✅ Passed 9 0 17
Molecule tests (2 runs) . - ✅ Passed 15 0 1
Native report retention fixture . - ✅ Passed 1 0 0
VM tests (2 runs) . - ✅ Passed 12 0 0
Node.js tests actions/ansible/test-molecule runtime: v26.13.1 ✅ Passed 6 0 0
Node.js tests actions/ansible/test runtime: v24.22.3 ✅ Passed 6 0 0
Node.js tests actions/opentofu/test runtime: v24.22.3 ✅ Passed 5 0 0
Node.js tests actions/retain-native-reports runtime: v24.22.3 ✅ Passed 1 0 0
Node.js tests actions/vm/create runtime: v26.13.1 ✅ Passed 13 0 0
Node.js tests actions/vm/destroy runtime: v26.13.1 ✅ Passed 5 0 0
Node.js tests actions/vm/test runtime: v24.22.3 ✅ Passed 14 0 0
OpenTofu tests tests/fixture/opentofu - ✅ Passed 1 0 0

Totals count test executions, including runtime variants.

Test coverage

81.4% lines · 84.6% branches

1161 / 1426 lines covered; 309 / 365 branches covered.

Source: merged producer reports, calculated by ReportGenerator.

Coverage by project and context
Check Project Context Lines
Node.js tests actions/ansible/test-molecule runtime: v26.13.1 98.8%
Node.js tests actions/ansible/test runtime: v24.22.3 96.4%
Node.js tests actions/opentofu/test runtime: v24.22.3 68.2%
Node.js tests actions/retain-native-reports runtime: v24.22.3 100%
Node.js tests actions/vm/create runtime: v26.13.1 64.4%
Node.js tests actions/vm/destroy runtime: v26.13.1 82.9%
Node.js tests actions/vm/test runtime: v24.22.3 88.1%

Project measurements are shown separately. The total above merges covered source lines; it does not average percentages.

Workflow jobs
Job Result
linter success
test-vm-create success
test-vm-test success
test-vm-destroy success
test-ansible success
test-molecule success
test-opentofu success
test-retain-native-reports success

The required CI complete check determines whether this workflow passed. Jobs without structured reports remain available in the workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: breaking Introduces a breaking change type: maintenance Performs maintenance work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant