Skip to content

ci: adopt Hoverkraft Go CI and DevX conventions - #51

Open
neilime wants to merge 35 commits into
mainfrom
ci/refresh-actions-and-workflows
Open

neilime wants to merge 35 commits into
mainfrom
ci/refresh-actions-and-workflows

Conversation

@neilime

@neilime neilime commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Adopt Hoverkraft Go CI and DevX conventions, preserving Coveralls, validated multi-platform images, Docker Hub publication and Harbor charts.

  • Keep detailed Go runtime results, with lint and line coverage once on the highest version. Publish through official Coveralls and native GitHub coverage when available; Coveralls owns coverage comments.
  • Validate image authentication/health and Helm against the built digest. Preserve the separate Container #1001 promotion dependency for additional registries and verified signatures/provenance.
  • Keep job-scoped permissions, CHANGELOG_SUMMARY, the pinned devcontainer, Make targets and hardened image/chart defaults.
  • Keep Dependabot primary and restrict Renovate to embedded tools. Preserve synthetic Checkov Helm values without suppressing scanner findings.

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.

All external Common calls use Common 5.0.0, pinned to 26f3d6878844ec53849eec6ac75af8d14ea402e9 with the release tag comment. Go checks use Go #14 at 388094568fd032e8745c061821d3f94ff9f791ad. The separate Container #1001 promotion dependency remains pinned to its latest head. Release both dependencies and replace candidate pins with released SHAs and tag comments before merging. Common publishes lint and test comments; Coveralls keeps its coverage comment.

Validation for this update: configured Super-Linter passes on all changed files, and shared action/workflow calls match the referenced manifests. 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.

@neilime
neilime force-pushed the ci/refresh-actions-and-workflows branch 3 times, most recently from e26f215 to f1e48b2 Compare November 15, 2026 21:52
@neilime neilime changed the title ci: align actions and workflows with current stable releases ci: promote tested images and prepare chart releases Nov 15, 2026
@github-actions github-actions Bot added the type: maintenance Performs maintenance work label Nov 15, 2026
@neilime
neilime force-pushed the ci/refresh-actions-and-workflows branch 3 times, most recently from 17e0584 to 3a211c2 Compare November 17, 2026 06:27
@neilime
neilime force-pushed the ci/refresh-actions-and-workflows branch from 3a211c2 to 619f4fb Compare November 17, 2026 10:31
@neilime neilime changed the title ci: promote tested images and prepare chart releases ci: validate Go and promote tested images Nov 24, 2026
@neilime neilime changed the title ci: validate Go and promote tested images ci: adopt Hoverkraft Go CI and DevX conventions Nov 24, 2026
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Pull request - Continuous Integration - Test results

Workflow run and full reports · Commit e7d8adc

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

Test: 5 passed · 0 failed · 0 skipped.

Test details

Test results

Test Results

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

✅ Pass Rate: 100.0%

Job results and report availability
Job Result Report artifacts
lint success 2
test 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 24, 2026 •

Copy link
Copy Markdown

Pull request - Continuous Integration - Code coverage

Workflow run and full reports · Commit e7d8adc

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

No coverage reports available for this attempt. See the job results and workflow logs.

Job results and report availability
Job Result Report artifacts
lint success 2
test 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 24, 2026 •

Copy link
Copy Markdown

Pull request - Continuous Integration - Lint results

Workflow run and full reports · Commit e7d8adc

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

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

Lint: 0 errors · 0 warnings in 1 diagnostic report(s).

Lint details

Lint results

Lint Checks

Severity Count
❌ Errors 0
⚠️ Warnings 0
Total 0
Super-Linter details

Super-linter summary

Language Validation result
BASH Pass ✅
BASH_EXEC Pass ✅
BIOME_FORMAT Pass ✅
BIOME_LINT Pass ✅
CHECKOV Pass ✅
DOCKERFILE_HADOLINT Pass ✅
EDITORCONFIG Pass ✅
GITHUB_ACTIONS Pass ✅
GITHUB_ACTIONS_ZIZMOR Pass ✅
GITLEAKS Pass ✅
GIT_COMMITLINT Pass ✅
GIT_MERGE_CONFLICT_MARKERS Pass ✅
GO_MODULES Pass ✅
JSCPD Pass ✅
KUBERNETES_KUBECONFORM Pass ✅
MARKDOWN Pass ✅
MARKDOWN_PRETTIER Pass ✅
NATURAL_LANGUAGE Pass ✅
PRE_COMMIT Pass ✅
RENOVATE 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 2
test 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.

Comment thread .github/workflows/main-ci.yml Resolved
Comment thread .github/linters/.checkov.yaml Resolved
Comment thread .github/workflows/__shared-ci.yml Resolved
Comment thread .github/workflows/__shared-ci.yml Resolved
Comment thread .github/workflows/pull-request-ci.yml Resolved
Comment thread .github/workflows/release.yml Resolved
Comment thread .github/workflows/stale.yml Resolved
Comment thread .github/renovate.json Resolved
@coveralls

coveralls commented Nov 30, 2026 •

Copy link
Copy Markdown

Coverage Report for CI Build 47397117685

Warning

No base build found for commit 9100920 on main.
Coverage changes can't be calculated without a base build.
If a base build is processing, this comment will update automatically when it completes.

Coverage: 52.632%

Details

  • Patch coverage: 2 uncovered changes across 1 file (16 of 18 lines covered, 88.89%).

Uncovered Changes

File Changed Covered %
src/github.com/hoverkraft-tech/http-header-authenticator/main.go 18 16 88.89%

Coverage Regressions

Requires a base build to compare against. How to fix this →


Coverage Stats

Coverage Status
Relevant Lines: 57
Covered Lines: 30
Line Coverage: 52.63%
Coverage Strength: 1.14 hits per line

💛 - Coveralls

@github-actions

github-actions Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

CI report

Workflow run and full summary · Commit baf1480

Lint

Passed checks: 2

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

Tests

11 passed · 0 failed · 0 skipped

Successful test checks (3)
Check Project Context Result Passed Failed Skipped
Go tests . runtime: go1.27.4 ✅ Passed 5 0 0
Container image tests tests/container-image engine: goss, platform: linux/arm64 ✅ Passed 3 0 0
Container image tests tests/container-image engine: goss, platform: linux/amd64 ✅ Passed 3 0 0

Totals count test executions, including runtime variants.

Coverage destinations: Coveralls. Measurements are also in the Actions summary.

Workflow jobs
Job Result
lint success
test success
docker-build-images success
test-image success
chart-testing success

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

Comment thread .github/linters/Dockerfile Resolved
Comment thread .github/workflows/__checks.yml Resolved
Comment thread .github/workflows/__checks.yml Outdated
Comment on lines +35 to +36
codeql-languages: ""
lint-all: true

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why these values?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

codeql-languages: "" avoids a second CodeQL setup: GitHub's default setup is already configured for Go, which I verified through the repository API. lint-all: true checks all files in this small repository, including related configuration outside the diff. Both choices now have comments beside them.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right about the lint scope. baf1480 removes lint-all: true here, and 0d2b1bd does the same in the syncer. All four pilots now inherit Common's policy: changed files on PRs, all files on other triggers. CodeQL still differs because GitHub-managed scanning is enabled for Go/Python but disabled in the Node repositories. GitHub rejects workflow uploads while default setup is enabled. I have asked which CodeQL setup should be the common strategy and am keeping this thread open until that choice is applied; the existing scans remain active.

Comment thread .github/workflows/__checks.yml Resolved
Comment thread .github/workflows/__checks.yml Resolved
Comment thread .github/workflows/__checks.yml Resolved
Comment thread Makefile Resolved
Comment thread .github/workflows/__checks.yml Outdated
Comment on lines +35 to +36
codeql-languages: ""
lint-all: true

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Labels

type: maintenance Performs maintenance work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants