Skip to content

Install jq in make tools instead of printing a note#222

Merged
jeremy merged 2 commits intomainfrom
fix-make-tools-jq
Mar 23, 2026
Merged

Install jq in make tools instead of printing a note#222
jeremy merged 2 commits intomainfrom
fix-make-tools-jq

Conversation

@jeremy
Copy link
Copy Markdown
Member

@jeremy jeremy commented Mar 23, 2026

Summary

  • make check depends on jq (via sync-api-version-check), so leaving it as a NOTE meant make setup wouldn't fully bootstrap the repo
  • Now installs jq via brew, pacman, or apt-get with a fallback error

Follow-up to #219.

Test plan

  • make setup on a machine without jq installs it
  • make tools skips jq if already present

Summary by cubic

Install jq during make tools so make setup fully bootstraps the repo. Prevents make check failures when jq is missing and tidies install output.

  • Bug Fixes
    • Auto-installs jq via brew, pacman, or apt-get; skips if present; errors if none.
    • Adds pip3 fallback for zizmor and only prints "Installing..." when actually installing.

Written for commit 09388a1. Summary will update on new commits.

jq is required by make check (sync-api-version-check), so leaving
it as a note meant make setup wouldn't fully bootstrap the repo.
Copilot AI review requested due to automatic review settings March 23, 2026 22:26
@github-actions github-actions bot added the enhancement New feature or request label Mar 23, 2026
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 800bb1c624

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the repo bootstrap flow so make tools actively installs jq (a make check prerequisite) instead of only printing a note, improving “fresh clone” setup completeness.

Changes:

  • Add jq installation to make tools using brew/pacman/apt-get with an error fallback.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- Add pip3 fallback for zizmor so apt-based distros aren't blocked
- Move "Installing..." echo inside conditionals so it only prints
  when actually installing
@github-actions github-actions bot added bug Something isn't working and removed enhancement New feature or request labels Mar 23, 2026
@jeremy jeremy merged commit 1bf08c7 into main Mar 23, 2026
44 of 45 checks passed
@jeremy jeremy deleted the fix-make-tools-jq branch March 23, 2026 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants