Skip to content
This repository was archived by the owner on Nov 3, 2026. It is now read-only.

fix: take commands and paths as lists; never run a shell - #11

Merged
gold-silver-copper merged 4 commits into
mainfrom
fix/run-commands-as-argv
Oct 25, 2026
Merged

gold-silver-copper merged 4 commits into
mainfrom
fix/run-commands-as-argv

Conversation

@gold-silver-copper

@gold-silver-copper gold-silver-copper commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Part of the meta fix for fuzz findings fuzz-2026-10-24-01 (shell re-parsing of arguments) and -21 (substring --include/--exclude). Main PR with the full description and verification: gitkb/meta#113 (other PRs: gitkb/meta_plugin_protocol#6 gitkb/loop_lib#14 gitkb/loop_cli#13 gitkb/meta_cli#40 gitkb/meta_git_cli#31 gitkb/meta_rust_cli#16 gitkb/meta_project_cli#18 )

meta_exec / meta_batch_execute take command as an argv array and never use sh -c (meta_exec runs meta exec -- <argv>). meta_git_add takes files as a list of paths, passed after --.

All PRs share branch fix/run-commands-as-argv and are tested together by gitkb/meta CI.

@coderabbitai

coderabbitai Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 3d5f5a3d-78f4-4469-a482-f954e9f1d906
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

gold-silver-copper and others added 2 commits October 25, 2026 04:59
meta_exec and meta_batch_execute take the command as an argv array and
run it without sh -c; meta_exec runs meta exec. meta_git_add takes
files as a list of paths passed after --.

Implements [[tasks/harmony-2756]]
meta_batch_execute takes an argv, so the scripts in these tests run as
sh -c <script>.

Implements [[tasks/harmony-2756]]
t added 2 commits October 25, 2026 05:08
An empty list used to mean '.', which stages everything.

Implements [[tasks/harmony-2756]]
Implements [[tasks/harmony-2756]]
@gold-silver-copper
gold-silver-copper merged commit c586106 into main Oct 25, 2026
7 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant