Skip to content

feat(reports)!: adopt unified CI reporting - #14

Open
neilime wants to merge 35 commits into
mainfrom
feat/native-github-coverage
Open

neilime wants to merge 35 commits into
mainfrom
feat/native-github-coverage

Conversation

@neilime

@neilime neilime commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Go tests and lint contribute to one consolidated report.

  • Retain JUnit on every configured runtime. Run lint, audit, build and coverage on the highest version.
  • Convert the default Go coverage profile to Cobertura with pinned gocover-cobertura. Common consumes standard line coverage without maintaining a Go parser. The converted coverage report is retained as coverage.xml.
  • Preserve race detection, SARIF lint output, CI_REPORTS_DIR and CI_TEST_COVERAGE.

The language continuous-integration.yml runs project checks and delegates report production to its lint and test actions. These actions validate and upload artifacts through Common's prepare-ci-reports. The outer caller invokes publish-ci-reports.yml once, with publication destinations and credentials configured there. Missing or malformed promised reports fail the producer; valid failed tests remain available for publication. A separate CI complete job owns the overall verdict.

Use the native Node preset for action contract tests instead of a reporter-only test:ci script. Keep the existing per-action integration workflows and real Go fixture tests. Reuse the identical custom-command assertions through the existing test helper, removing duplication without suppressing lint. Local Make commands install locked dependencies and run checks sequentially, with fixes kept explicit.

Reporting actions and workflows use Common 5.0.0. Node.js test calls use #624 at 133df96fa31a002107174959beafa09808597051.

Release Common #701 first, then Node.js #624. Replace candidate pins with released SHAs and tag comments before merging this adoption PR. The foundation uses released Node.js tooling, so the release order has no cycle.

Local validation: configured Super-Linter and the documented make lint command pass; Make targets were checked for correct sequencing and failure propagation. All action source tests pass. Hosted integration and publication checks run on this PR.

Public CI validates fallback reporting; native GitHub coverage still requires the separate Enterprise Cloud pilot.

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Super-linter summary

Language Validation result
BIOME_FORMAT Pass ✅
BIOME_LINT Pass ✅
CHECKOV Pass ✅
GITHUB_ACTIONS Pass ✅
GITHUB_ACTIONS_ZIZMOR Pass ✅
GITLEAKS Pass ✅
GIT_COMMITLINT Pass ✅
GIT_MERGE_CONFLICT_MARKERS Pass ✅
JSCPD Pass ✅
MARKDOWN Pass ✅
MARKDOWN_PRETTIER Pass ✅
NATURAL_LANGUAGE Pass ✅
PRE_COMMIT Pass ✅
RENOVATE Pass ✅
SPELL_CODESPELL Pass ✅
TRIVY Pass ✅
YAML Pass ✅
YAML_PRETTIER Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter
Super-linter revision: 2da136927bd4a73596db63044b504547c62cb854
Super-linter version: 9.0.0

@neilime neilime changed the title feat(coverage): support native GitHub Code Quality reports feat(reports)!: adopt unified CI reporting Nov 26, 2026
@github-actions github-actions Bot added the type: breaking Introduces a breaking change label Nov 26, 2026
@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Test coverage

Results for b361a0e

100.0% of statements covered (1 / 1).

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

Coverage measurement details
Project Measured commit
go-project b361a0e (PR head)

go-project: go1.27.4 · Changed lines: Native statement blocks do not identify exact changed-line coverage.

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 9b248dd

Lint

Passed checks: 2

Successful lint checks (2)
Check Project Context Result Findings
Super-Linter . - ✅ Passed Native report
Go lint (2 runs) tests/go-project runtime: go1.27.4 ✅ Passed 0

Tests

19 passed · 0 failed · 0 skipped

Successful test checks (3)
Check Project Context Result Passed Failed Skipped
Node.js tests (4 runs) . runtime: v26.13.1 ✅ Passed 10 0 0
Go tests (2 runs) tests/go-project runtime: go1.27.4 ✅ Passed 6 0 0
Go tests tests/go-project runtime: go1.26.11 ✅ Passed 3 0 0

Totals count test executions, including runtime variants.

Test coverage

100% lines

2 / 2 lines covered.

Source: merged producer reports, calculated by ReportGenerator.

Coverage by project and context
Check Project Context Lines
Go tests tests/go-project runtime: go1.27.4 100%

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

Workflow jobs
Job Result
linter success
test success
test-action-setup-go success
test-action-lint success
test-action-test success
test-action-audit success
test-action-build 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: feature Introduces a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant