Skip to content

fix(ci): repoint codeql-action at a SHA that exists - #56

Merged
hyperpolymath merged 6 commits into
mainfrom
fix/codeql-action-sha
Jul 28, 2026
Merged

fix(ci): repoint codeql-action at a SHA that exists#56
hyperpolymath merged 6 commits into
mainfrom
fix/codeql-action-sha

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Jul 28, 2026

Copy link
Copy Markdown
Owner

github/codeql-action@29b1f65c1f735799893313399435a59f54045865 is pinned here but exists in no repository — the GitHub API returns 422 for it.

CodeQL therefore could not start: the run graph fails to build and the job reports startup_failure, so this repository has had no CodeQL scanning at all.

Repointed at 4187e74d05793876e9989daffde9c3e66b4acd07, which is what the v3 tag currently resolves to (v3.37.3), verified against the API.

Found while auditing the estate: the same non-existent SHA was pinned in 104 repositories, so CodeQL was dead across nearly all of them.


Summary by Gitar

  • CI & Workflow Updates:
    • Updated codeql-action references in workflows to a valid SHA
    • Added actions: read permission across multiple GitHub workflow configurations
  • Project Configuration:
    • Updated guix.scm metadata package definition from preference-injector to squisher-corpus
    • Removed duplicate GOVERNANCE.adoc in favor of GOVERNANCE.md

This will update automatically on new commits.

hyperpolymath and others added 5 commits July 26, 2026 14:50
github/codeql-action@29b1f65 is pinned here but exists in no
repository -- the GitHub API returns 422 for it. CodeQL therefore could
not start: the run graph fails to build and the job reports
startup_failure, so this repository has had no CodeQL scanning at all.

Repointed at 4187e74d05793876e9989daffde9c3e66b4acd07, which is what the v3
tag currently resolves to (v3.37.3), verified against the API.

Found while auditing the estate: the same non-existent SHA is pinned in
over 100 repositories, so CodeQL is dead across nearly all of them.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
@gitar-bot

gitar-bot Bot commented Jul 28, 2026

Copy link
Copy Markdown
CI failed: Multiple CI workflow failures across jobs due to missing target files for Deno lint, CodeQL configuration mismatch for non-JavaScript codebases, policy violations for ReScript files, and missing Node.js dependency lock files.

Overview

Analysis of 5 CI logs revealed 4 distinct failure patterns causing build and workflow failures: a Deno lint target path error, a CodeQL analysis failure due to missing JavaScript/TypeScript files, an estate policy violation regarding ReScript files, and a missing Node.js dependency lock file.

Failures

Deno Lint No Target Files (confidence: high)

  • Type: tooling
  • Affected jobs: 90324442167
  • Related to change: unclear
  • Root cause: The deno lint command was executed without specifying any target files or paths, and none were discovered automatically.
  • Suggested fix: Provide explicit target paths to deno lint in the workflow configuration (e.g., deno lint .).

CodeQL Analysis Configuration Error (confidence: high)

  • Type: configuration
  • Affected jobs: 90324443821
  • Related to change: yes
  • Root cause: The CodeQL workflow is configured for javascript-typescript, but the repository contains no source code in those languages, resulting in a fatal database initialization exit code 32.
  • Suggested fix: Update .github/workflows/codeql.yml to remove javascript-typescript or adjust the languages matrix to match the repository's contents.

Estate Policy Violation: ReScript Files Found (confidence: high)

  • Type: build
  • Affected jobs: 90324442337
  • Related to change: yes
  • Root cause: ReScript files (.res) exist in the repository, violating the estate policy that requires AffineScript instead of ReScript.
  • Suggested fix: Remove or convert all ReScript (.res) files to AffineScript as required by repository policy.

Missing Node.js Dependency Lock File (confidence: high)

  • Type: dependency
  • Affected jobs: 90324442544, 90324442588
  • Related to change: unclear
  • Root cause: The workflow step expected a dependency lock file (package-lock.json, npm-shrinkwrap.json, or yarn.lock) in the workspace, but none was found.
  • Suggested fix: Add the appropriate dependency lock file to the repository or adjust the workflow steps.

Summary

  • Change-related failures: 2 failures related to CodeQL language configuration mismatch and ReScript estate policy violations.
  • Infrastructure/flaky failures: 0 infrastructure or flaky failures.
  • Recommended action: Address the policy violations by removing/converting ReScript files, update CodeQL workflow language settings, and ensure Deno lint and Node.js dependency lock files are properly configured.
Code Review ✅ Approved

Updates CodeQL action references to point to a valid SHA, adds missing read permissions to GitHub workflows, and cleans up duplicate governance and project configuration files. No issues found.

Auto-approved and auto-merge armed: No blocking issues found.
Please see Auto-approve Docs for details on setting custom approval criteria. — merges when pipeline and required approvals pass.

Tip

Comment Gitar fix CI or enable auto-apply: gitar auto-apply:on

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@gitar-bot

gitar-bot Bot commented Jul 28, 2026

Copy link
Copy Markdown

⚠️ Gitar auto-approved this PR but could not enable auto-merge: auto-merge is disabled for this repository — enable "Allow auto-merge" in the repository settings.

@gitar-bot gitar-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Gitar has auto-approved this PR and enabled auto-merge (configure)

@gitar-bot gitar-bot Bot added the gitar-approved Added by Gitar label Jul 28, 2026
@hyperpolymath
hyperpolymath merged commit 155e63f into main Jul 28, 2026
18 of 26 checks passed
@hyperpolymath
hyperpolymath deleted the fix/codeql-action-sha branch July 28, 2026 17:11
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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

Labels

gitar-approved Added by Gitar

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant