Repository navigation
[Sync] Update project files from source repository (3438a4b) - #357
Merged
mrz1836 merged 1 commit intoAug 31, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR syncs CI automation updates from the source repository, focusing on making test-result validation robust to corrupted JSONL summaries, improving Dependabot auto-merge workflow resilience when a PAT isn’t configured, and bumping a few tool/action versions.
Changes:
- Add
summary_is_corrupthelper and use it in the validate-test-results composite action to count invalid JSON summaries as failures (instead of silently coercing fields to 0). - Update Dependabot auto-merge workflow to skip approve/auto-merge when
GH_PAT_TOKENis unavailable (instead of failing the workflow). - Bump CodeQL action pins and a few tool version env vars.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| .github/scripts/test-result-helpers.sh | Adds summary_is_corrupt helper for detecting invalid JSON summary lines. |
| .github/actions/validate-test-results/action.yml | Uses summary_is_corrupt to treat corrupted JSONL summaries as failures in validation, aggregation, and summary output. |
| .github/workflows/dependabot-auto-merge.yml | Skips optional approve/auto-merge behavior when no PAT is available. |
| .github/workflows/fortress-test-matrix.yml | Clarifies comment about set -e behavior inside command substitution assignments. |
| .github/env/10-pre-commit.env | Bumps GO_PRE_COMMIT_GOLANGCI_LINT_VERSION. |
| .github/env/10-mage-x.env | Bumps MAGE_X_VERSION, MAGE_X_GOLANGCI_LINT_VERSION, and MAGE_X_BENCHSTAT_VERSION_LATEST. |
| .github/workflows/codeql-analysis.yml | Bumps pinned CodeQL action SHAs (init/autobuild/analyze). |
| .github/workflows/fortress-security-scans.yml | Bumps pinned CodeQL upload-sarif action SHA. |
| .github/workflows/scorecard.yml | Bumps pinned CodeQL upload-sarif action SHA. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
github-actions
Bot
deleted the
chore/sync-files-go-bitcoin-20260831-151355-3438a4b
branch
August 31, 2026 15:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Changed
summary_is_corrupthelper function in.github/scripts/test-result-helpers.shto detect when a non-empty JSONL summary line is invalid JSON.github/actions/validate-test-results/action.ymlto usesummary_is_corruptin three locations (aggregation loop, failure counting, and summary output) to explicitly detect and count corrupted summaries as failures instead of allowing jq to silently coerce fields to 0.github/workflows/dependabot-auto-merge.ymlto gracefully skip approve + auto-merge when noGH_PAT_TOKENis available instead of failing the workflow.github/workflows/fortress-test-matrix.ymlcomment to clarify thatset -edoes not abort on failures inside command substitution assignmentsGO_PRE_COMMIT_GOLANGCI_LINT_VERSIONfromv2.13.1tov2.13.2in.github/env/10-pre-commit.envMAGE_X_VERSIONfromv1.26.4tov1.26.5in.github/env/10-mage-x.envMAGE_X_GOLANGCI_LINT_VERSIONfromv2.13.1tov2.13.2in.github/env/10-mage-x.envMAGE_X_BENCHSTAT_VERSION_LATESTfromv0.0.0-20260819171926-ebcb4798430dtov0.0.0-20260825160852-19be9d8e6c70in.github/env/10-mage-x.envgithub/codeql-action/*fromdb488ddef3bf6cb639b32c2e9a7c0a7ea8271d28(v4.37.8) tocdf488f595d80d6e07e03d4674febd5ab45fa938(v4.37.9) across codeql-analysis.yml, fortress-security-scans.yml, and scorecard.ymlWhy It Was Necessary
Testing Performed
summary_is_corruptfunction correctly identifies non-empty invalid JSON and returns false for empty summariesGH_PAT_TOKENis unavailableImpact / Risk