Skip to content

perf(release): bundle helpers with shared distribution checks - #507

Merged
neilime merged 1 commit into
mainfrom
perf/bundle-action-dependencies
Nov 10, 2026
Merged

neilime merged 1 commit into
mainfrom
perf/bundle-action-dependencies

Conversation

@neilime

@neilime neilime commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Bundle release configuration and preparation dependencies so the actions run through github-script without action-owned Node.js setup or runtime npm installation. Preserve release behavior and include dependency licenses and upstream notices.

Update every external GitHub Action and reusable workflow call to the latest stable release verified on 2026-11-10, preserving full commit pins. This includes Common 4.0.0, Node.js 3.0.0 and yq 4.54.3. Regenerate action and workflow documentation with CI Dokumentor so usage examples reference Publish 3.0.1.

Use the distribution automation and validation from ci-github-common 4.0.0, pinned to its verified release commit. Both rebuild callers discover packages from default-branch manifests instead of repeating action paths. CI discovers packages at the tested revision and generates host/container checks. Recursive patterns cover generated output in lint, CodeQL and Git attributes.

Use ES modules and colocated tests under src/, action-owned manifests/lockfiles, and standard test, test:watch and test:ci scripts. Coverage output is created on a clean checkout and ignored by Git. Follow Common's parse-ci-reports CI pattern for every action package with tests: use the Node.js reusable workflow with explicit job permissions, package-owned test:ci, CodeQL and dependency review. Generate native LCOV and JUnit reports, disable producer comments and call ci-reports once after the jobs complete, including failures. Coverage figures stay separate per action within one coverage comment. Distribution checks verify bundles without repeating source tests; public-action integration checks remain separate.

Remove the copied tests/distribution.cjs. Each action owns its source assertions and test:distribution command; the shared quality action provides an isolated bundle through ACTION_ENTRYPOINT, propagates errors and cleans up. Source security checks and action integration tests remain enabled.

Remove build-workflow from both event callers. The shared writer resolves the builder from the exact workflow name already declared in its default-branch trigger; ambiguous or untrusted matches fail closed.

The read-only builder and trusted writer retain bot identity, artifact, path and atomic head validation. New packages enter distribution CI immediately and become eligible for automated commits after reaching the default branch. The writer's App configuration and live dependency-update handoff still need verification after the callers are merged.

Validation: 66 package tests and 57 isolated bundle contracts pass on Node.js 24. Rebuilding produces no bundle drift; formatting, workflow lint/security checks and changed Markdown pass. Existing security and integration checks remain enabled. The standardization changes require a new CI run after publication.

Changelog provider loading and Jampack's native dependencies keep their existing behavior. ADR 0002 records the original bundle decision and dated evidence. One signed commit; no merge or release.

The CI configuration audit verifies one source-test call per package, the parser options and explicit permissions throughout the call chain. Actionlint, Zizmor, formatting, Markdown and changed-guide links pass for this update.

All six action suites produce JUnit. Five actions with maintained JavaScript produce LCOV; the Jampack CLI test contributes test results only.

Use the released ci-github-nodejs 3.0.0, pinned to its verified release commit, for consolidated reporting. The updated test commands pass on Node.js 24. Local collection of the actual reports verifies grouping, separate coverage figures, stale/unrelated exclusions and comment eligibility.

Latest dependency migration validation: all 354 external calls across both PRs match verified stable release commits; action/workflow inputs, secrets, required inputs and native action paths pass the metadata audit. Actionlint, Zizmor and formatting checks pass. Generated Markdown passes formatting and Markdown lint. GitHub CI is rerun on the updated commit.

@github-actions github-actions Bot added the type: performance Improves performance label Nov 8, 2026
@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

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 ✅
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 perf(release): bundle configuration and preparation dependencies perf(release): bundle helpers and automate dependency rebuilds Nov 8, 2026
@neilime neilime changed the title perf(release): bundle helpers and automate dependency rebuilds perf(release): bundle helpers with shared distribution checks Nov 9, 2026
@neilime
neilime force-pushed the perf/bundle-action-dependencies branch 7 times, most recently from d67e746 to 815978b Compare November 9, 2026 19:57
@neilime
neilime force-pushed the perf/bundle-action-dependencies branch 2 times, most recently from 80120f7 to 3220c5a Compare November 9, 2026 22:54
@neilime
neilime force-pushed the perf/bundle-action-dependencies branch from 3220c5a to 6945c41 Compare November 10, 2026 06:44
@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Internal - Pull request - Continuous Integration - Test results

Workflow run and full reports · Commit 5857a0b

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

Test: 116 passed · 0 failed · 0 skipped.

Test details

Test results

Test Results

Status Count
✅ Passed 116
❌ Failed 0
⏭️ Skipped 0
Total 116
Suite Passed Failed Skipped
AssetManager.copyAssetFromWorkspace 1 0 0
AssetManager.rewriteContent 1 0 0
createSitePage 1 0 0
GitEvidenceService 2 0 0
index.run 1 0 0
LinkEvidenceService 1 0 0
LlmSummaryService 2 0 0
LlmSummaryService provider retries 15 0 0
prepareSite 1 0 0
ReleaseSummaryCore 4 0 0
rewritePageLinks 1 0 0
Unknown Suite 84 0 0
WorkspacePathResolver.resolveExistingWithinWorkspace 2 0 0

✅ Pass Rate: 100.0%

Job results and report availability
Job Result Report artifacts
lint success 1
test-action-deploy-jekyll-jampack success 2
test-action-release-get-configuration success 1
test-action-release-prepare-and-plan success 2
test-action-release-summarize-changelog 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 10, 2026 •

Copy link
Copy Markdown
Contributor

Internal - Pull request - Continuous Integration - Code coverage

Workflow run and full reports · Commit 5857a0b

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

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

Coverage details

Coverage results

ci-reports-1-test-action-deploy-jekyll-jampack-actions-deploy-jekyll-9ad7a3a0-b2c8-493b-a30e-23708cb19efd/lcov.info

Coverage

Metric Covered Total Percentage
Lines 638 707 90.24%
Branches 74 114 64.91%
Functions 45 45 100.00%

Overall: 90.24% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩⬜⬜

ci-reports-1-test-action-release-get-configuration-actions-release-get-configuration-27943d73-9581-4ddd-b312-a348a2c0a346/lcov.info

Coverage

Metric Covered Total Percentage
Lines 75 81 92.59%
Branches 18 21 85.71%
Functions 4 5 80.00%

Overall: 92.59% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩⬜

ci-reports-1-test-action-release-prepare-and-plan-actions-release-plan-cfcdf65d-bd37-4df7-9084-bd1a7aca0435/lcov.info

Coverage

Metric Covered Total Percentage
Lines 93 93 100.00%
Branches 34 34 100.00%
Functions 3 3 100.00%

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

ci-reports-1-test-action-release-prepare-and-plan-actions-release-prepare-c5d72fcb-155a-4d70-aab0-9a5f3f9adc22/lcov.info

Coverage

Metric Covered Total Percentage
Lines 4961 9032 54.93%
Branches 633 1074 58.94%
Functions 224 485 46.19%

Overall: 54.93% 🔴
🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥⬜⬜⬜⬜⬜⬜⬜⬜⬜

ci-reports-1-test-action-release-summarize-changelog-actions-release-summarize-changelog-5ec37be8-6938-4964-996b-afccfb8d7b91/lcov.info

Coverage

Metric Covered Total Percentage
Lines 624 808 77.23%
Branches 79 115 68.70%
Functions 33 37 89.19%

Overall: 77.23% 🟡
🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨⬜⬜⬜⬜⬜

Job results and report availability
Job Result Report artifacts
lint success 1
test-action-deploy-jekyll-jampack success 2
test-action-release-get-configuration success 1
test-action-release-prepare-and-plan success 2
test-action-release-summarize-changelog 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 10, 2026 •

Copy link
Copy Markdown
Contributor

Internal - Pull request - Continuous Integration - Lint results

Workflow run and full reports · Commit 5857a0b

Jobs: 5 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
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 ✅
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-deploy-jekyll-jampack success 2
test-action-release-get-configuration success 1
test-action-release-prepare-and-plan success 2
test-action-release-summarize-changelog 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 perf/bundle-action-dependencies branch 3 times, most recently from a92b5d7 to 70cd901 Compare November 10, 2026 09:38
@neilime
neilime force-pushed the perf/bundle-action-dependencies branch from 70cd901 to 902c0c3 Compare November 10, 2026 09:58
@neilime
neilime merged commit a707c70 into main Nov 10, 2026
100 of 101 checks passed
@neilime
neilime deleted the perf/bundle-action-dependencies branch November 10, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: performance Improves performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant