feat: preflight GitHub Check writeback#1
Merged
Conversation
- An old pinned CLI no longer hard-fails the job: cli-version < 8.12.0 now falls back to the non-detached mode with reason cli_version_too_old, skipping the preflight entirely. - The preflight fetch gets a 10s AbortSignal timeout so a slow backend can never stall the customer's job before tests run. - The preflight command substitution tolerates a non-zero node exit (OOM/kill) instead of aborting the whole action under set -e. - The preflight-sourced reason is sanitized to [a-z0-9_] before being interpolated into ::warning:: workflow commands and the step summary, closing a workflow-command injection surface. - resolve_github_repository/sha run once and feed both env configs, dropping four redundant node forks per run; configure_github_report loses its unreachable duplicate boolean validation. - README/action.yml copy updated; tests cover the old-CLI fallback and the invalid-boolean error. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
thebiglabasky
marked this pull request as ready for review
July 4, 2026 08:38
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.
Summary
Updates the packaged Checkly GitHub Action to preflight GitHub Check writeback before invoking the CLI.
This PR includes:
github-reportfallback behavior: detached runs only when backend writeback is availableCHECKLY_GITHUB_*metadata export for the CLIenvironment_urlpropagation toENVIRONMENT_URLwhen unsetLinear
Validation
./scripts/test.sh