Skip to content

feat(docker)!: unify image reports and run Goss directly - #1003

Open
neilime wants to merge 37 commits into
mainfrom
feat/unified-ci-reports
Open

neilime wants to merge 37 commits into
mainfrom
feat/unified-ci-reports

Conversation

@neilime

@neilime neilime commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Built-image tests contribute native results to one consolidated report, including image digest, engine and platform identity. CI and the local CLI use the same test execution.

  • Auto-detect Goss or Testcontainers. Goss runs directly as the image command; suites needing a service manage startup, readiness and cleanup themselves. Remove Goss modes and dgoss.
  • Separate engine adapters, Docker execution, owned-resource cleanup and report validation into focused classes, one class per file. The entrypoint only exports the public classes.
  • Preserve immutable image identity, platform checks, image security options, bounded execution, fresh native results and ownership-scoped cleanup. Empty or skipped-only tests cannot produce promotion evidence.
  • Compose Common's prepare-ci-reports action, then publish once through publish-ci-reports.yml. A separate CI complete job owns the overall verdict. Test repository packages through the dedicated Node.js workflow.

Local validation passes: all 15 source tests, 13 contracts against the isolated rebuilt bundle, CI Dokumentor generation and the full configured Super-Linter. Hosted validation for b91d253 is running against Common commit 35b873c. Its integration jobs exercise Goss, Testcontainers, image identity, failure handling and cleanup. kube-certificates-syncer #25 is the consumer pilot for the shared Goss suite and local make test-image target.

Candidate dependencies use immutable SHAs with PR comments. Release Common #683, then Node.js #624, then dependent providers and consumers. Replace candidate pins with released SHAs before merging. Common uses released Node.js tooling, avoiding a release cycle. Native GitHub coverage requires the separate Enterprise Cloud pilot.

@github-actions github-actions Bot added type: breaking Introduces a breaking change type: feature Introduces a new feature labels Nov 26, 2026
@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Internal - Pull request - Continuous Integration - Test results

Workflow run and full reports · Commit 2ccabda

Jobs: 11 success · 0 failure · 0 cancelled · 0 skipped · 0 abandoned.

Test: 262 passed · 0 failed · 0 skipped.

Test details

Test results

Test Results

Status Count
✅ Passed 262
❌ Failed 0
⏭️ Skipped 0
Total 262

✅ Pass Rate: 100.0%

Job results and report availability
Job Result Report artifacts
lint success 1
test-action-helm-generate-docs success 1
test-action-helm-prepare-chart success 1
test-action-helm-prepare-release success 1
test-action-helm-lint-chart success 1
test-action-helm-test-chart success 1
test-action-helm-release-chart success 1
test-action-docker-promote-images success 1
test-action-docker-verify-images success 1
test-action-docker-test-image success 1
test-action-docker-prune-pull-requests-image-tags success 1

Only this attempt is included. On partial reruns, rerun all producer jobs for complete reports. CodeQL findings remain in code scanning; other diagnostics remain in the job logs.

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Internal - Pull request - Continuous Integration - Code coverage

Workflow run and full reports · Commit 2ccabda

Jobs: 11 success · 0 failure · 0 cancelled · 0 skipped · 0 abandoned.

Coverage: 10 source report(s); percentages remain separate.

Coverage details

Coverage results

ci-reports-1-test-action-docker-promote-images-actions-docker-promote-images-63a9452a-b7c4-4fcd-8802-348b35b10c22/lcov.info

Coverage

Metric Covered Total Percentage
Lines 488 494 98.79%
Branches 82 83 98.80%
Functions 23 24 95.83%

Overall: 98.79% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩

ci-reports-1-test-action-docker-prune-pull-requests-image-tags-actions-docker-prune-pull-requests-image-tags-a17643a5-8482-4749-9260-963282c2229e/lcov.info

Coverage

Metric Covered Total Percentage
Lines 192 230 83.48%
Branches 31 39 79.49%
Functions 13 14 92.86%

Overall: 83.48% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩⬜⬜⬜

ci-reports-1-test-action-docker-test-image-actions-docker-test-image-0d1bee3a-8057-4500-a950-29bc043c1d2f/lcov.info

Coverage

Metric Covered Total Percentage
Lines 581 858 67.72%
Branches 180 213 84.51%
Functions 48 59 81.36%

Overall: 67.72% 🟡
🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨⬜⬜⬜⬜⬜⬜

ci-reports-1-test-action-docker-verify-images-actions-docker-verify-images-d60c926f-26df-478d-99f3-ff174d07f015/lcov.info

Coverage

Metric Covered Total Percentage
Lines 78 78 100.00%
Branches 16 16 100.00%
Functions 3 3 100.00%

Overall: 100.00% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩

ci-reports-1-test-action-helm-generate-docs-actions-helm-generate-docs-d35c61d9-296f-4b05-83f6-62070b7d24d4/lcov.info

Coverage

Metric Covered Total Percentage
Lines 368 386 95.34%
Branches 130 139 93.53%
Functions 29 30 96.67%

Overall: 95.34% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩⬜

ci-reports-1-test-action-helm-lint-chart-actions-helm-lint-chart-70a34122-78c6-417f-b9cb-8ac16b6c1bba/lcov.info

Coverage

Metric Covered Total Percentage
Lines 193 200 96.50%
Branches 45 51 88.24%
Functions 11 13 84.62%

Overall: 96.50% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩⬜

ci-reports-1-test-action-helm-prepare-chart-actions-helm-prepare-chart-3df8b591-cca1-45ca-ae19-223ad566fdd0/lcov.info

Coverage

Metric Covered Total Percentage
Lines 204 232 87.93%
Branches 60 75 80.00%
Functions 20 24 83.33%

Overall: 87.93% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩⬜⬜

ci-reports-1-test-action-helm-prepare-release-actions-helm-prepare-release-eab2eb14-efe4-434c-8579-6c276cff3b2e/lcov.info

Coverage

Metric Covered Total Percentage
Lines 173 183 94.54%
Branches 48 55 87.27%
Functions 6 6 100.00%

Overall: 94.54% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩⬜

ci-reports-1-test-action-helm-release-chart-actions-helm-release-chart-4903c2e7-ca3e-4ba7-b922-48531708d64a/lcov.info

Coverage

Metric Covered Total Percentage
Lines 200 200 100.00%
Branches 51 55 92.73%
Functions 5 6 83.33%

Overall: 100.00% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩

ci-reports-1-test-action-helm-test-chart-actions-helm-test-chart-59d20b4a-9d48-4fd2-94e7-eb12c227ac93/lcov.info

Coverage

Metric Covered Total Percentage
Lines 257 260 98.85%
Branches 58 62 93.55%
Functions 13 13 100.00%

Overall: 98.85% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩

Job results and report availability
Job Result Report artifacts
lint success 1
test-action-helm-generate-docs success 1
test-action-helm-prepare-chart success 1
test-action-helm-prepare-release success 1
test-action-helm-lint-chart success 1
test-action-helm-test-chart success 1
test-action-helm-release-chart success 1
test-action-docker-promote-images success 1
test-action-docker-verify-images success 1
test-action-docker-test-image success 1
test-action-docker-prune-pull-requests-image-tags success 1

Only this attempt is included. On partial reruns, rerun all producer jobs for complete reports. CodeQL findings remain in code scanning; other diagnostics remain in the job logs.

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Internal - Pull request - Continuous Integration - Lint results

Workflow run and full reports · Commit 2ccabda

Jobs: 11 success · 0 failure · 0 cancelled · 0 skipped · 0 abandoned.

Lint: Collected diagnostics and Super-Linter summaries. Execution status is included in the job outcomes.

Super-Linter details

Super-linter summary

Language Validation result
BASH Pass ✅
BASH_EXEC Pass ✅
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 ✅
SHELL_SHFMT 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

Job results and report availability
Job Result Report artifacts
lint success 1
test-action-helm-generate-docs success 1
test-action-helm-prepare-chart success 1
test-action-helm-prepare-release success 1
test-action-helm-lint-chart success 1
test-action-helm-test-chart success 1
test-action-helm-release-chart success 1
test-action-docker-promote-images success 1
test-action-docker-verify-images success 1
test-action-docker-test-image success 1
test-action-docker-prune-pull-requests-image-tags success 1

Only this attempt is included. On partial reruns, rerun all producer jobs for complete reports. CodeQL findings remain in code scanning; other diagnostics remain in the job logs.

@neilime
neilime force-pushed the feat/unified-ci-reports branch from ed66917 to 9263be4 Compare November 28, 2026 08:31
@neilime neilime changed the title feat(reports)!: adopt unified container test reporting feat(docker)!: unify image reports and run Goss directly Nov 28, 2026
@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Test coverage

Results for 7c8d2c8

Project Lines covered Changed lines
promote-images 98.8% (488 / 494) No measured changes
prune-pull-requests-image-tags 83.5% (192 / 230) No measured changes
test-image 67.5% (575 / 852) 86.0% (117 / 136)
verify-images 100.0% (78 / 78) No measured changes
generate-docs 95.3% (368 / 386) No measured changes
lint-chart 96.5% (193 / 200) No measured changes
4 more coverage projects
Project Lines covered Changed lines
prepare-chart 87.9% (204 / 232) No measured changes
prepare-release 94.5% (173 / 183) No measured changes
release-chart 100.0% (200 / 200) No measured changes
test-chart 98.8% (257 / 260) No measured changes

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

Uncovered changed lines: actions/docker/test-image/src/index.js:238 and 1 more files.

Uncovered changed lines
Project Source lines
test-image actions/docker/test-image/src/index.js:238, actions/docker/test-image/src/index.js:239, actions/docker/test-image/src/index.js:242, actions/docker/test-image/src/index.js:249, actions/docker/test-image/src/index.js:250, actions/docker/test-image/src/index.js:251, actions/docker/test-image/src/index.js:252, actions/docker/test-image/src/index.js:253, actions/docker/test-image/src/index.js:254, actions/docker/test-image/src/index.js:256, actions/docker/test-image/src/index.js:257, actions/docker/test-image/src/index.js:258, actions/docker/test-image/src/index.js:259, actions/docker/test-image/src/index.js:260, actions/docker/test-image/src/index.js:262, actions/docker/test-image/src/index.js:275
test-image actions/docker/test-image/src/tooling.js:41, actions/docker/test-image/src/tooling.js:60, actions/docker/test-image/src/tooling.js:61
Coverage measurement details
Project branches functions Measured commit
promote-images 98.8% (82 / 83) 95.8% (23 / 24) 7c8d2c8 (PR head)
prune-pull-requests-image-tags 79.5% (31 / 39) 92.9% (13 / 14) 7c8d2c8 (PR head)
test-image 84.2% (176 / 209) 81.4% (48 / 59) 7c8d2c8 (PR head)
verify-images 100.0% (16 / 16) 100.0% (3 / 3) 7c8d2c8 (PR head)
generate-docs 93.5% (130 / 139) 96.7% (29 / 30) 7c8d2c8 (PR head)
lint-chart 88.2% (45 / 51) 84.6% (11 / 13) 7c8d2c8 (PR head)
prepare-chart 80.0% (60 / 75) 83.3% (20 / 24) 7c8d2c8 (PR head)
prepare-release 87.3% (48 / 55) 100.0% (6 / 6) 7c8d2c8 (PR head)
release-chart 92.7% (51 / 55) 83.3% (5 / 6) 7c8d2c8 (PR head)
test-chart 93.5% (58 / 62) 100.0% (13 / 13) 7c8d2c8 (PR head)

promote-images: v24.22.3 · No changed instrumented lines in this dataset.

prune-pull-requests-image-tags: v24.22.3 · No changed instrumented lines in this dataset.

test-image: v24.22.3 · Diff from merge base dbedfb4.

verify-images: v24.22.3 · No changed instrumented lines in this dataset.

generate-docs: v24.22.3 · No changed instrumented lines in this dataset.

lint-chart: v24.22.3 · No changed instrumented lines in this dataset.

prepare-chart: v24.22.3 · No changed instrumented lines in this dataset.

prepare-release: v24.22.3 · No changed instrumented lines in this dataset.

release-chart: v24.22.3 · No changed instrumented lines in this dataset.

test-chart: v24.22.3 · No changed instrumented lines in this dataset.

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
Contributor

CI report

Workflow run and full summary · Commit 9b1cf32

Lint

Passed checks: 1

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

Tests

270 passed · 0 failed · 0 skipped

Successful test checks (13)
Check Project Context Result Passed Failed Skipped
Container image tests .cache/agent-work/container-tests-41dac12b-c6ba-4f72-901d-ae8b64150f5d/success engine: testcontainers-node, platform: linux/amd64 ✅ Passed 1 0 0
Container image tests .cache/agent-work/container-tests-6655425e-1be4-431b-b48d-5cf18c3cd093/success engine: goss, platform: linux/amd64 ✅ Passed 5 0 0
Node.js tests actions/docker/promote-images runtime: v24.22.3 ✅ Passed 85 0 0
Node.js tests actions/docker/prune-pull-requests-image-tags runtime: v24.22.3 ✅ Passed 5 0 0
Node.js tests actions/docker/test-image runtime: v24.22.3 ✅ Passed 15 0 0
Node.js tests actions/docker/verify-images runtime: v24.22.3 ✅ Passed 27 0 0
Node.js tests actions/helm/generate-docs runtime: v24.22.3 ✅ Passed 67 0 0
Node.js tests actions/helm/lint-chart runtime: v24.22.3 ✅ Passed 6 0 0
Node.js tests actions/helm/prepare-chart runtime: v24.22.3 ✅ Passed 9 0 0
Node.js tests actions/helm/prepare-release runtime: v24.22.3 ✅ Passed 9 0 0
Node.js tests actions/helm/release-chart runtime: v24.22.3 ✅ Passed 32 0 0
Node.js tests actions/helm/test-chart runtime: v24.22.3 ✅ Passed 7 0 0
Container image tests tests/container-image/goss engine: goss, platform: linux/amd64 ✅ Passed 2 0 0

Totals count test executions, including runtime variants.

Test coverage

87.2% lines · 89% branches

2760 / 3162 lines covered; 706 / 793 branches covered.

Source: merged producer reports, calculated by ReportGenerator.

Coverage by project and context
Check Project Context Lines
Node.js tests actions/docker/promote-images runtime: v24.22.3 98.7%
Node.js tests actions/docker/prune-pull-requests-image-tags runtime: v24.22.3 83.4%
Node.js tests actions/docker/test-image runtime: v24.22.3 67.6%
Node.js tests actions/docker/verify-images runtime: v24.22.3 100%
Node.js tests actions/helm/generate-docs runtime: v24.22.3 95.3%
Node.js tests actions/helm/lint-chart runtime: v24.22.3 96.4%
Node.js tests actions/helm/prepare-chart runtime: v24.22.3 87.9%
Node.js tests actions/helm/prepare-release runtime: v24.22.3 94.5%
Node.js tests actions/helm/release-chart runtime: v24.22.3 100%
Node.js tests actions/helm/test-chart runtime: v24.22.3 98.8%

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

Workflow jobs
Job Result
test-action-distributions success
lint success
test-action-docker-promote-images success
test-action-docker-verify-images success
test-action-docker-test-image success
test-action-docker-build-image success
test-action-docker-create-images-manifests success
test-action-docker-setup success
test-action-docker-prune-pull-requests-image-tags success
test-action-get-image-metadata success
test-action-action-get-image-name success
test-action-helm-parse-chart-uri success
test-action-helm-sign-chart success
test-action-helm-update-chart-values success
test-action-helm-generate-docs success
test-action-helm-prepare-chart success
test-action-helm-prepare-release success
test-action-helm-lint-chart success
test-action-helm-release-chart success
test-action-helm-test-chart success
test-workflow-docker-build-images-building success
test-workflow-docker-build-images-caching success
test-workflow-docker-build-images-multi-registry success
test-workflow-docker-build-images-platforms-and-signing success
test-workflow-docker-build-images-attestation success

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

This branch has not been deployed

No deployments
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