Repository navigation
feat(ci)!: discover and test action distributions - #646
Conversation
Super-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter |
46de276 to
a73d743
Compare
a73d743 to
7926eaa
Compare
|
Internal - Pull request - Continuous Integration - Test results Workflow run and full reports · Commit 752ada4 Jobs: 6 success · 0 failure · 0 cancelled · 0 skipped · 0 abandoned. Test: 243 passed · 0 failed · 0 skipped. Test detailsTest resultsTest Results
Job results and report availability
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. |
|
Internal - Pull request - Continuous Integration - Code coverage Workflow run and full reports · Commit 752ada4 Jobs: 6 success · 0 failure · 0 cancelled · 0 skipped · 0 abandoned. Coverage: 5 source report(s); percentages remain separate. Coverage detailsCoverage resultsci-reports-1-test-action-distributions-actions-action-distributions-675a7715-a790-4919-b0ba-8222463b1bb7/lcov.infoCoverage
Overall: 97.85% 🟢 ci-reports-1-test-action-lint-pull-request-title-actions-quality-lint-pull-request-title-3c096e93-5ca6-452c-b5f7-6c46444f03a6/lcov.infoCoverage
Overall: 100.00% 🟢 ci-reports-1-test-action-need-fix-to-issue-actions-need-fix-to-issue-15bd4633-b2a5-4aac-861c-b7346c79b603/lcov.infoCoverage
Overall: 100.00% 🟢 ci-reports-1-test-action-parse-ci-reports-actions-quality-parse-ci-reports-d98bcfac-9315-41b0-b8d4-ff195e0465fb/lcov.infoCoverage
Overall: 95.39% 🟢 ci-reports-1-test-action-test-action-distribution-actions-quality-test-action-distribution-557c71ea-44af-48c1-a112-ae4527cecbe6/lcov.infoCoverage
Overall: 100.00% 🟢 Job results and report availability
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. |
|
Internal - Pull request - Continuous Integration - Lint results Workflow run and full reports · Commit 752ada4 Jobs: 6 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 detailsSuper-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter Job results and report availability
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. |
005a175 to
1eed9b6
Compare
6896b09 to
282ae0a
Compare
5f4863c to
0e4148a
Compare
BREAKING CHANGE: Omitted working-directories discovers bundled packages instead of assuming the root. Remove build-workflow; the writer resolves one exact builder name from its trusted workflow_run trigger.
0e4148a to
49a22d4
Compare
Bundled actions currently repeat package paths in rebuild callers, CI jobs and generated-output exclusions. Publish and Container also copy the same distribution test runner. Discover bundled packages and share their validation so adding an action only requires its own package scripts and contract tests.
actions/**packages declaringbuildandcheck:dist; accept explicit directories or glob overrides. Empty discovery is a successful no-op.test:distributionscripts against an isolated bundle throughactions/quality/test-action-distribution.workflow_run.workflowsat its trusted default-branch revision. Removebuild-workflow; reject missing or duplicate names and wildcard or multiple filters. Verify the source workflow path independently of PR-controlled names. Bundle the action-owned YAML parser without runtime installation.src/, action-owned manifests/lockfiles, and standard test/watch/coverage scripts. Split unit and public-entrypoint checks into dedicated jobs. All five JavaScript action packages follow the existingparse-ci-reportsCI pattern: the Node.js reusable workflow, explicit job permissions, package-ownedtest:ci, CodeQL and dependency review. Keep repository linting and public-action integration checks. Distribution jobs no longer repeat source tests. Enable native LCOV and JUnit reporting, disable individual comments and collect one combined comment per report type throughci-reports. Keep coverage figures separate per action and exclude unrelated or stale artifacts. Workflow fixtures run with comments disabled.src/index.test.jsfor source and isolated-bundle checks. Remove its separate distribution suite; keep isolation, execution and cleanup in the shared quality action. Parse Node.js JUnit root testcases and empty failure/error/skipped elements correctly, with regression coverage.Breaking changes: omitting
working-directoriesdiscovers packages instead of assuming the root (an explicit.retains root selection);build-workflowis removed. The writer's trigger must select one unique, exact builder name.Validation: the latest parser change passes 112 source tests and 20 isolated entrypoint tests on Node.js 24. Source tests also pass with
dist/absent; the shared quality action runs the bundle checks. JavaScript/JSON formatting, Markdown lint and local documentation links pass. Earlier validation covered the unchanged automation/isolation suites, public action entrypoints, reproducible bundles, actionlint and Zizmor. The CI configuration audit verifies that all 12 tested action packages across the three repositories have exactly one source-test call, with the parser options and explicit permissions throughout the call chain. Actionlint, Zizmor, formatting, Markdown and changed-guide links pass for this update. CI reruns on the updated commit.Consumer adoption is in ci-github-publish #507 and ci-github-container #943. The trusted writer handoff still requires the callers to reach each repository's default branch. No PR merge or release is included.
Use the released ci-github-nodejs 3.0.0, pinned to its verified release commit, for consolidated reporting. All 12 action suites across Common, Publish and Container pass and produce JUnit; 11 packages with maintained JavaScript also produce LCOV. Local collection of these real reports validates grouping, separate coverage figures, stale/unrelated artifact exclusion and comment eligibility.